
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
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 one!
Save money and learn a lot, too! PeepCode Unlimited gives you access to everything we publish for a full year. A 10 Pack will save you $20 and a 5 Pack will save you $5.
Site licenses and team subscriptions are also available! Contact peepcode@topfunky.com with the number of developers you have and the number of credits you would like to buy and we will send you a personalized quote.
“PeepCode is awesome!” Tim O'Reilly, O'Reilly Media
“I suspect there are a lot of smart DF readers out there who know nothing about the Unix-y aspects of Mac OS X, would like to, but never found a good way to get started. This screencast is it.” John Gruber, Daring Fireball
“Mercurial is just what I was looking for. Happy to pay to support people making such high-quality and informative screencasts.” Jason Kottke
“Absolutely fantastic - I haven't seen a PeepCode screencast before and I'm super impressed with the level of graphics/audio...I just finished it and it really is a great intro. Well done.” David Kaneda, author of jQTouch
“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