Forum: Ruby on Rails Move from PHP to Rails

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
(Guest)
on 2008-10-15 10:50
(Received via mailing list)
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.
Erol F. (Guest)
on 2008-10-15 12:36
(Received via mailing list)
On Oct 15, 2:49 pm, "removed_email_address@domain.invalid" 
<removed_email_address@domain.invalid> wrote:
> 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?
Peter De Berdt (Guest)
on 2008-10-16 11:44
(Received via mailing list)
On 15 Oct 2008, at 10:35, Erol F. wrote:

>> 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
This topic is locked and can not be replied to.