[Baypiggies] off topic: JavaScript: DOM vs. innerHTML, Server-driven vs. Client-driven

Shannon -jj Behrens jjinux at gmail.com
Fri Aug 21 06:59:57 CEST 2009


I've written a blog post here:
http://jjinux.blogspot.com/2009/08/javascript-dom-vs-innerhtml-server.html.
 The first paragraph is below:

"What's the best approach to architecting JavaScript, and which
frameworks best support that approach? Is it best to build the app
mostly on the client like Gmail and Google Maps, or is it better to
provide a normal HTML page, but with lots of Ajax mixed in like
YouTube? Which approach leads to the fewest bugs when the client and
server get out of sync? How does your server respond to Ajax requests?
Does it serve up JavaScript code to run, JSON or XML data to digest,
or pre-rendered HTML?"

I know this is a bit off topic, but it's a crucial decision I'm making
right now for my app.  I've talked to some of you about it before.
I'm completely fascinated by this subject.  If you are too, read the
rest of the post above and leave a comment :)

Happy Hacking!
-jj

-- 
In this life we cannot do great things. We can only do small things
with great love. -- Mother Teresa
http://jjinux.blogspot.com/


More information about the Baypiggies mailing list