Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Best examples of javascript coding

2 views
Skip to first unread message

aoshi

unread,
Aug 31, 2010, 5:02:54 PM8/31/10
to
Hi

What js libraries are the best example's to look at for javascript
coding practices?

aoshi

Garrett Smith

unread,
Aug 31, 2010, 9:45:45 PM8/31/10
to
An example of code that I wrote that came out good is EventPublisher!
Also, I like APE.createFactory and APE.createCustomFactory.

What you should really be asking in adjunct is why? Why is it good, or,
better yet, ask what's wrong with it. You may also have some feedback or
questions about the code guidelines doc:
<http://jibbering.com/faq/notes/code-guidelines/>

What's wrong with these?
createFactory:
<http://github.com/GarrettS/ape-javascript-library/blob/master/src/APE.js#L192-194>

<http://github.com/GarrettS/ape-javascript-library/blob/master/src/EventPublisher.js>
--
Garrett

Michael Haufe ("TNO")

unread,
Sep 1, 2010, 3:36:43 AM9/1/10
to


I would suggest many of the examples shown here: http://www.dhteumeuleu.com/

ge1doot may not be flawless, but he's been building some beautiful
things with JavaScript by hand since before Ajax was a word.

williamc

unread,
Sep 1, 2010, 7:20:38 AM9/1/10
to

Holy Cow! That's inspiring. Thanks for providing the link.

--

-williamc

David Mark

unread,
Sep 2, 2010, 12:48:38 AM9/2/10
to

http://www.cinsoft.net/ has the freshest browser scripting content on
the Web. Yes, it's my site, but nevertheless... :)

The main library is a lot to take in, but the various stand-alone
primers demonstrate unique solutions for common browser scripting
issues (e.g. detecting event and style support, measuring the
viewport, determining element positions and dimensions, monitoring the
keyboard, etc.)

0 new messages