tags:

views:

75

answers:

2

I've tried a few methods of keeping my JS clean / maintainable and none of them make me 100% happy.

Often, I try and check out many of the top brand sites to examine their code, and find it's been minified and/or packed. This obviously stops me from reading the code, because it's not in a human readable format.

So are there any sites which have great code to examine, or any articles out there that cover JS in a website from start to finish (not coding JS in particular, just deployment / breaking it up / namespacing etc)

+4  A: 

I suggest you check out any of the following frameworks. They will have detailed tutorials and examples on their respective sites:

hobodave
+1. If you are looking for design/organization patterns, look first to the people who have already tackled those issues for years now (and have been "voted" as the experts by the coding community).
bmoeskau
Exactly. There is so much **bad** javascript out there it's scary. I hate when I google something about javascript and the top 10 hits are from 2005.
hobodave
This might not be what OP had asked for.
andyk
Of course it is: "Is there a good website to examine for good JS code that isn’t obsfucated?"
hobodave
A: 

dynamicdrive.com!

Andrew Siemer