I've always wanted a nice Javascript library that I could use as a framework for everything I build. Prototype and Script.a.cul.ous are nice but not sufficient to give the look and feel of a desktop app. So I've decided to implement Ext JS for my solution and to share this experience. There are basically 2 solutions if you want to integrate ext js in your application, the usage of a plugin called ext-scaffold (very easy to use) or the hard-way (manual coding).
Note : The current Rails 2.1 changes the way that rails renders json format. Therefore the plugin ext-scaffold will cease to work out of the box with rails 2.1. This plugin is still functionning perfectly with rails 2.0.2 and remains the fastest way to start playing with ext js and rails.
The plugin gives a good starting point and is functional for simple CRUD application. if you are looking for a quick way to provide a user interface to your tables without exposing the database, it's perfect.
From there, the need to do more complex things arise and then, you guessed it, it's time for the manual coding.
Progress on the Block Protocol
-
Since the 1990s, the web has been a publishing place for human-readable
documents. Documents published on the web are in HTML. HTML has a little
bit of… Re...
1 year ago
2 comments:
I've been working on using Aptana Rad Rails and trying to use Ext JS. Have you updated Rails and made this work so that you can provide some insight? Thx for any help you can provide.
BTW I'm trying to hook to a MSSQL back end.
Any thoughts on connecting to an MS SQL Server DB with Extjs on Rails?
...it works great through the console. But I get a whole bunch of nasty errors when it tries to serialize the json data. Wondering if you'd worked through this?
Post a Comment