bramu.ss-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2008-Oct-15 06:49 UTC
Move from PHP to Rails
Hi, Recently I designed a web application where I used the technologies ExtJS and PHP. I didnt use any framework for PHP, I started with small framework for DB. Now I want to move that application from PHP to Rails and I want to continue with the same ExtJS. So I dont want to change any of the javascript files for the UI. Anybody knows about how I can do this migration simply. Thanks, Ramu. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On Oct 15, 2:49 pm, "bramu...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" <bramu...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi, > > Recently I designed a web application where I used the technologies > ExtJS and PHP. I didnt use any framework for PHP, I started with small > framework for DB. Now I want to move that application from PHP to > Rails and I want to continue with the same ExtJS. So I dont want to > change any of the javascript files for the UI. Anybody knows about how > I can do this migration simply. > > Thanks, > Ramu.You''re going to be needing the Prototype/Scriptaculous adapter, so if you built your own custom ExtJS, you''re going to have to rebuild it with the adapter in place. Going to the UI code, how do you populate your forms? Are they loaded inline, or fetched via AJAX calls? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On 15 Oct 2008, at 10:35, Erol Fornoles wrote:>> Recently I designed a web application where I used the >> technologies >> ExtJS and PHP. I didnt use any framework for PHP, I started with >> small >> framework for DB. Now I want to move that application from PHP to >> Rails and I want to continue with the same ExtJS. So I dont want to >> change any of the javascript files for the UI. Anybody knows about >> how >> I can do this migration simply. >> >> Thanks, >> Ramu. > > You''re going to be needing the Prototype/Scriptaculous adapter, so if > you built your own custom ExtJS, you''re going to have to rebuild it > with the adapter in place.I don''t see why to be honest. Nowhere in Rails have I seen a dependency on Prototype/Scriptaculous and I know for one that quite a few people are using other libraries (e.g. JQuery) instead. If you want to use the Rails AJAX helpers, something I wouldn''t do if you have already made a whole ExtJS application anyway (since you clearly know your way around Javascript). Best regards Peter De Berdt --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---