1. #1
    Ext User
    Join Date
    Mar 2007
    Posts
    14
    Vote Rating
    0
    j_l is on a distinguished road

      0  

    Default Rails devs using Ext - what to do?

    Rails devs using Ext - what to do?


    So our app is coming along nicely using Ext. In fact, it's made all the difference. However, we use Rails on the back end and it's tied in tightly with Prototype, specicifally via RJS.

    Ext uses YUI and jQuery, obviously. At some point, for a Rails developer wanting to use Ext, this can be a lot of js to dowload to the client. The main reason I passed over Dojo for Ext was the fact that Dojo is a bloated mess.

    I know with Ext and YUI you can selectively choose what js files/components to use. After a while, it's sometimes not only easier to just include everything, but depeneding on what you use, it becomes necessary to almost just include all Ext js files (or one big one). I don't think there's any getting rid of Prototype/Scriptaculous in Rails (altho, I am looking to see how an Ext plugin could change that) either.

    So I guess I'm just sorta trying to see how others are dealing with this issue, if at all. It's going to become more important for me in the future when I move to Ext 1 and end up using more of the library than I am now. I'll probably want to cut out jQuery (if possible) all together. For my app, the goal is less js libs on startup, which minimizes load time.

    Anyway, thoughts? Comments?

  2. #2
    Sencha User
    Join Date
    Apr 2012
    Location
    Austin, Texas
    Posts
    2
    Vote Rating
    0
    brian.moeskau is an unknown quantity at this point

      0  

    Default


    If you search the forum, there was another Rails thread where someone mentioned they had "commented out" proto-taculous in Rails and were using Ext, but I don't know the details.

  3. #3
    Ext User
    Join Date
    Mar 2007
    Posts
    14
    Vote Rating
    0
    j_l is on a distinguished road

      0  

    Default


    Good to know. I'll search and see what I can find. I think it would be possible to sorta reqire RJS via a plugin. But this is a whole issue in itself. Thanks.

  4. #4
    Sencha User jack.slocum's Avatar
    Join Date
    Mar 2007
    Location
    Tampa, FL
    Posts
    6,955
    Vote Rating
    16
    jack.slocum will become famous soon enough

      0  

    Default


    Keep you eyes open for an Ext for prototype too.

  5. #5
    Ext User hunkybill's Avatar
    Join Date
    Mar 2007
    Location
    Montreal
    Posts
    67
    Vote Rating
    0
    hunkybill is on a distinguished road

      0  

    Default


    Hi,

    My bud Chris seems to have dropped PHP Framework (with YUI-ext .33 wrapped into a very sweet ajax machine) for RoR. He now has EXT working pretty slick, although he does not use Rails quite the way it was intended (his words). My only point is that the RoR/EXT application I've seen works great (much faster than PHP for callbacks).

Similar Threads

  1. Rails/YUI-Grid Question
    By rmarmer1 in forum Ext 1.x: Help & Discussion
    Replies: 1
    Last Post: 25 Aug 2007, 6:31 AM
  2. Any chance of SVN build help for a Mac devs?
    By haibijon in forum Ext 1.x: Help & Discussion
    Replies: 2
    Last Post: 13 Jan 2007, 4:19 AM
  3. HouseMath 2.0 - A YUI-EXT/Ruby/Rails site - Real Estate Math
    By sheynkman in forum Community Discussion
    Replies: 6
    Last Post: 9 Dec 2006, 12:35 PM
  4. Any other .NET devs using yui-ext?
    By brian.moeskau in forum Community Discussion
    Replies: 8
    Last Post: 7 Dec 2006, 6:11 AM

Thread Participants: 3