
By Jarkko Laine, workshop teacher and author of the Apress book Beginning Ruby on Rails E-Commerce
Modern web developers have learned to organize their server-side code into model, view, and controller.
Your front-end development can also benefit from organization into content and behavior, which is much easier to accomplish than you might think. Dare I say that it makes front-end web programming as easy as Visual Basic’s object and event hooks?
Jarkko Laine steps through the features of Dan Webb’s Low Pro library to help you attach functionality to HTML elements and events. You’ll see how Prototype.js can drive a full-featured application and give you organizational tools to keep your Javascript code maintainable.
Chapters include:
Refactoring your front end code will make it easier to work with, easier to extend, and easier to use. Get the scoop with this PeepCode PDF book.
Available to all PeepCode Unlimited subscribers or as a single purchase for only US$9.



Assumes basic knowledge of Rails and of the basic concepts of Javascript programming (variables and functions).
Revision 2 (Notes) · Updated: Nov 26, 2008 · Length: 47 pages · 1 MB
“PeepCode is awesome!” Tim O'Reilly, O'Reilly Media
“These things are fantastic and the price is a steal. I strongly urge you to support this effort and buy the episodes. What a terrific way to learn!” Scott Barron, Rails Core Committer
“Emacs screencast from PeepCode was great. A ton of information in 50 minutes, but good overview of all the features.” Joe Fiorini
“Your last screencast about Emacs is fantastic!” Oscar Del Ben, Developer and Entrepreneur
“The moment I saw the title I knew I had to buy it. I'm definitely going to try out the suggestions in the screencast; productivity is very important to me. Thank you for publishing this screencast and keep up with your excellent work on PeepCode!” Hongli Lai, Co-Founder, Phusion
Login or signup and enter the code on your account page. If it is still valid you will be able to browse the list of products and redeem an episode.