Thursday, January 1, 2009

Learning Ext JS

Packt Publishing recently published a new book Learning Ext JS

This book is well written and examples are easy to follow. although they are using PHP for most of the examples, it is fairly easy to convert to rails. It is a very good and time saving introduction to the Ext JS framework before digging into the official documentation.

Ext Scaffold returns

In a previous post, I spoke about Ext Js scaffolding with the plugin written by Martin Rehfeld

The exact description is the following :

The Ext Scaffold Generator Plugin is a drop-in replacement for Rails’ standard Scaffold Generator. Accepting the very same options, it will generate views using data grid and form components from the Ext JS Javascript GUI framework as well as a controller acting as an Ext-compatible JSON web service. The generated code can be used as a starting point for further implementation and outlines solutions on how to integrate the Ext JS library with Rails as a backend.


you can now find the plugin on github

and install it in your application like this :

ruby script/plugin install git://github.com/martinrehfeld/ext_scaffold.git

More info on GL Network

The advantage of this new version is that all actions happen in the same window (in your index view). The javascript code is now explicit and does not use magic helpers anymore. This is a great improvement. It allows an easy customization of the code and is a great resource to learn how to interact with the Ext JS framework and rails. It also facilitates integration in your current application.