January 2007
With just one week of vacation remaining, I’m beginning to consider both my personal and business objectives for 2007. The beginning of a new year is, of course, a great time to look at last... Read More
Two of the conference presentations I gave last year are now online in multimedia formats, so you can get the virtual experience while sitting at home in your underwear (or take me with you on your... Read More
The following is republished from the Tech Times #156. If support for web standards in browsers is improving slowly, then support in email clients is moving at a glacial pace. Attempts to document... Read More
Make your pages load faster by combining and compressing javascript and css files With the combination of a few URL rewrite rules and a PHP script, you can automate the process of combining,... Read More
What is character encoding? And which form of encoding should you use? Displaying humble text online has its challenges, but as Tommy explains, good character encoding practice takes no more than a... Read More
Code Generation Rather than having us create all of our application code from scratch, Rails gives us the facility to generate an application’s basic structure with considerable ease. In the... Read More
Database Tables We’ve already created a database for each of our environments (development, testing, production), but there aren’t any tables in those databases yet. Tables are the... Read More
The Model-view-controller Architecture The model-view-controller (MVC) architecture that we first encountered in Chapter 1, Introducing Ruby on Rails is not unique to Rails. In fact, it pre-dates... Read More
Database Configuration Configuring the database for a Rails application is frighteningly easy — all of the critical information is contained in just one file. We’ll take a look at it now,... Read More
Chapter 4, Rails Revealed As you might have gathered from Chapter 1, Introducing Ruby on Rails, quite a bit of thought has been put into the code base that makes up the Rails framework. Over time,... Read More
Running Ruby Files For the simple Ruby basics that we’ve experimented with so far, the interactive Ruby shell (irb) has been our tool of choice. I’m sure you’ll agree that... Read More
Ruby Core Classes We’ve already talked briefly about the String and Fixnum classes in the previous sections, but Ruby has a lot more under its hood. Let’s explore! Arrays We use... Read More
Object Oriented Programming in Ruby Let’s build on the theory that we covered at the start of this chapter as we take a look at Ruby’s implementation of OOP. As we already know, the... Read More
In between holiday events and cocktail hours, it is traditional for some to make sweeping predictions about the world to come and then write about them. Read on for my musings.Read More




