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.
Welcome, Prashanth!
-
Last March, I shared that we were starting to look for a new CEO for Stack
Overflow. We were looking for that rare combination of someone who… Read
more "W...
5 years 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