Entries for the JOK Chasing Sprint closed this evening which was a great relief. This was to have been the year of the Web 2.0 entry system but, in reality, other commitments meant that my annual rewrite of the system only got as far as a stateless interface. This should stand me in good stead for next year though… Rails still continues to be a pleasure to use and the more I learn (I splashed out on the PDF version of the soon to be released Agile Web Development with Rails: Second Edition) the better it gets. New improvements to the development process this year were Git for version control and Capistrano for deployment. These certainly gave me more a lot more confidence in making updates to the live system.
Archive for the ‘Ruby on Rails’ Category
Entries close
Friday, February 20th, 2009Rails update
Saturday, November 15th, 2008It’s that time of year where I get my online orienteering system out of mothballs ready for the next JOK Chasing Sprint. My first task was to update the application to the latest Rails 2.1.2 which proved to be harder than I had anticipated. I’m used to working with enterprise software where it’s a given that you can’t break users’ existing applications.
Ruby and Zero
Sunday, October 7th, 2007Out of the box, Project Zero supports PHP and Groovy as scripting languages but, as this developerWorks article demonstrates, extending Zero to support other languages is pretty trivial. In this instance, they show how adding support for Ruby (specifically JRuby) can be achieved with one simple class. Now Rails developers have no excuse not to take a look at Zero!
Rails Overview: View
Friday, July 20th, 2007Having covered the Model and Controller aspects of Rails in previous posts, that really means it has to be View next. I’ve already touched on the basics: the controller method renders a template, either explicitly or simply by exiting and allowing the default template for the action to rendered, and the attributes of the controller class setup by the action method are then available to the template.
(more…)
Rails Overview: Controller
Wednesday, July 4th, 2007In the previous entry of this series I covered the model part of the MVC support in Rails. The view and controller support is very tightly linked (more so than in, say, Struts) but I’ll start with the controller just to be contrary.
(more…)
Rails Overview: Model
Thursday, June 21st, 2007This overview of Rails has become a little more sporadic than I had anticipated but hopefully I’ll be able to get some momentum going again now! In my introductory post I covered the basics of what Rails is and how easy it was to set up a development environment. The Rails programming model is built around the Model-View-Controller architectural pattern and in this post I’ll cover the first of those aspects: the model.
(more…)
Rails Overview: Intro and Getting Started
Thursday, May 24th, 2007So, here goes… there’s plenty to say so my overview of Ruby on Rails is going to be a multi-parter. Note, this isn’t going to be a tutorial – there are plenty of those about. This is my view on what makes Rails hot and where it’s not based on my experiences as a Rails newbie. My background, for reference, is with J2EE professionally, and PHP on the side.
(more…)
Hosting by the slice
Wednesday, May 23rd, 2007A couple of months back I was looking for somewhere to host a Ruby on Rails app (of which more in another post shortly). In the end I settled for a Virtual Private Server from US firm Slicehost (who are themselves Rails developers). For just over £10 a month I get 10GB of storage, 100GB of bandwidth and 256MB. Bargain! I’d love to use a host in the UK but I’d easily be paying twice that and getting half the spec (unless someone out there can point me at a good deal I’ve missed).
(more…)