On 04 Apr 2008, at 13:25, GregH wrote:

> actually Ext JS looks excellent however it isn't doesn't really align
> the best with Rails/Prototype, but is more of it's own Javascript
> frame.  But check out an example of an Ext JS datagrid example here
> ( http://extjs.com/deploy/dev/examples/grid/edit-grid.html ).  Looks
> excellent no?
>
> There's no prototype/rails equivalent that has the same level of
> finishing/user experience I suppose?  (I've already had a look at
> active scafford & tablekit)

To straighten things out: it does integrate well with prototype (and a  
number of other javascript libraries out there like jquery, yui etc).  
You load the correct adapter and it will use prototype instead of its  
own DOM/ajax library:

     <script src="javascripts/extjs/ext-prototype-adapter.js"  
type="text/javascript" charset="utf-8"></script>
     <script src="javascripts/extjs/ext-all.js" type="text/javascript"  
charset="utf-8"></script>

And with the latest prototype, it has actually become quite performant  
(the previous prototype version has awful performance with extjs, you  
were better off using its own library).

Integration with Rails is perfectly possible and Martin Rehfeld has  
stepped up to the plate with his extjs scaffold plugin to provide some  
basic rails helpers and mixins. Tighter integration is only possible  
if someone else is willing so wrap all of the functionality (or for  
example the editable grid feature) into a Rails plugin.
I sometimes get the feeling some people view rails plugins as buying a  
pack of chicken breasts in the supermarket: not knowing they came from  
a living chicken, that was killed, cut apart and then packed and  
transported to the supermarket. A plugin is something someone (most of  
the times) extracted from a live project, cleaned up, invested some  
expensive time in to make more generally usable and well tested and  
then made available as a courtesy to the community.


Best regards

Peter De Berdt


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to rubyonrails-spinoffs@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to