AjaxScaffold has been deprecated in favour of ActiveScaffold

Install

The easiest way to install the plugin version of Ajax Scaffold (AS) is to use the inbuilt Rails installer script. Simply run the following command from the root of your Rails app:

ruby script/plugin install svn://rubyforge.org/var/svn/ajaxscaffoldp/trunk

This will fetch the plugin into ‘vendor/plugins’. The files required by the plugin (views, css and js) will then be copied over to the app on startup.

Continue reading »

Had a great evening last night at the Web Design Meetup on Great Portland St in London. Simon Willison gave a very interesting talk (even the lack of a functioning projector didn’t detract) on the Yahoo javascript / AJAX libraries that have been open sourced for us to all enjoy (there are his notes from a previous but similar presentation here, Simon is obviously a bit of an evangalizer for the Yahoo UI libraries and why not…)

Niklas Richardson also gave a speed introduction to Flex 2, which despite my general opinion of Flash I have to admit was very impressive.

In following up on these people I then came across the Brit Pack page which has some very interesting people / sites / info. Check it out.

It was a good evening yesterday at the LRUG meeting in Clerkenwell (Skills Matter). Both of the presentations were interesting, but it was the talk by Tom Armitage on ‘Ruby on Rails from the Other Side of the tracks’ that sparked my interests most. Although, I have to admit it wasn’t really the content on designers and programmers working in perfect harmony that got my attention as much as the talk about the Rails javascript helpers and the nasty javascript that they produce. This is outlined in a good article by Dan Web‘Rails is the Devil on you Client Side Shoulder’

Tom mentioned a plugin that has recently been released by Luke Redpath and Dan Web which (in Luke’s words) “allows you to use CSS selectors to attach Javascript events to your page. This plugin allows you to make use of the event:Selectors library, but in Ruby, directly from your controller or view and have the resulting behaviour rules dynamically generated at runtime in an external javascript file.”. This seems to me to be a much nicer way of doing things, nice one Luke and Dan.

So Richard White caught up with me a couple of days ago through Technorati and we had a chat about the development of his Ajax Scaffolding as a Rails Plugin. We have agreed to work together on this (which is great) and develop the generator and the plugin in sync (As he also notes in his (kind) comments on the 3.1.3 release of the generator).

Hopefully the first release of the plugin should not to be too far away and will add a little functionality to the existing code.

Continue reading »

Jul 022006

This is a nifty scaffold generator created by Richard White (email, Height1Percent , MiniElements). It produces a CRUD AJAX table element in place of the standard Rails scaffolding.

AjaxScaffold Website

AjaxScaffold Presentation

Continue reading »