Issue #44

Last Update March 2, 2006

Technology Agile Web Development by Sten Grynir December 18, 2005   Web development used to be the province of professionals and power users. Today, a large number of ordinary computer users have websites, and many of these users are inexperienced in the art of web design and website building. There are many tools available to make the process easier, which accounts for the explosion in personal websites, blogs, wikis, retail vendor sites and small corporation informational sites. Along with the tools come the books that teach web design and the use of specific design tools. Books for popular packages like DreamWeaver are considered after-market books, supplementing and expanding upon the packaged manual. For some professional tools, the books fill a vital purpose, providing documentation and instruction where the original manuals are non-existent or skimpy. Where several packages are used in combination to produce the desired result, these books show how the tools fit together, and provide examples of their joint use. Agile Web Development with Rails, by  Dave Thomas and David H. Hansson (The Programmatic Programmers LLC, 2005) is an excellent example of this last category. 

Ruby is an object-oriented scripting language, developed in Japan, which has become quite popular recently. It is platform independent, and is comparable to other scripting languages such as Perl, Python, PHP or Java. While Agile Web Development is not a Ruby text, it has an appendix that serves as a brief but clear introduction to the language. The bulk of the book is taken up with describing and using Rails, a Model/View/Controller architecture written in Ruby, to build web pages, forms, and reports, and communicate with back-end database packages such as MySQL, Oracle, PostGRES, DB2, SQL-Server and many others. The authors claim that Ruby has the advantages of agility (more on this later), maintainability, instant feedback, and the ability to create professional-looking web sites, complete with “wow” factor, with minimal effort. In fact, it is the speed and ease of development that makes Ruby and Rails the ideal tool for both prototyping and final development. 

Rails is an application builder whose default settings permit the programmer to shape the application without reaching down to a level of detail that requires time-consuming coding. The defaults give you a reasonable approximation of your objective; since the modules that result are Ruby code, however, the quick and easy default-driven application can easily be prettied up and made more sophisticated. 

Agile Web Development with Rails takes the reader through the application development process, using a realistic web shopping cart example to ease you into Rails coding. At each stage, the sophistication of the application is ratcheted up, until, by the end of the book, you should be able to build a professional web-based application with database back-end, data entry forms, queries and reports. While spending most of the book on server-side tools, a portion of the text is devoted to Ajax, the client-side tool that improves application throughput and reduces bandwidth demand. 

In addition to the programming instruction, the book also covers such useful topics as testing, security, and deployment. Ruby, Rails and Ajax are all available for free downloads on a variety of platforms. Anyone interested in quickly creating sophisticated web database applications should get these tools, and use this well-written and well-organized book as a guide. 

Agile Web Development with Rails, by Dave Thomas and David Heinemeier Hannson. The Pragmatic Programmers LLC. 2005. ISBN 0-9766940-0-X

 

New York Stringer is published by NYStringer.com. For all communications, contact David Katz, Editor and Publisher, at david@nystringer.com

All content copyright 2005 by nystringer.com

Click on underlined bylines for the author’s home page.

Click here to send Events Listings

Click here to send us email.