Hi,

More questions to converting a Rails app to a Radiant extension.

Currently, in Rails 2.3.5, it is almost possible to mount a Rails app
as a plugin and have all the routes, helpers, etc. just work.

If I am going to convert my Rails app to a Radiant extension, I need
to have the following issues resolved.

- I have all my text used in view, flash messages and emails in the
I18n file 'en.yml', containing lots of ActiveRecord and other
translations as well.  How do I move these to the Radiant app?

- I have several routes in my current app (in config/routes.rb).  How
do I move these to the Radiant app?  If I simply move them into the
Radiant app, won't upgrading the Radiant app become more difficult?

- Will mailers just work?

- Things like RSpec specs and Selenium tests are currently run by
doing a 'rake spec' or 'rake test:acceptance' , but they rely on the
Rails app - if I dismantle the Rails app, how will I cause these to
still run?  Again, if I simply move them into the Radiant app, won't
upgrading the Radiant app become more difficult?

Any hints to help me speed up the transition would be appreciated, as
I believe I have already under-quoted the client because of guilt that
I should have developed the app in a Radiant extension from the
beginning since I knew they would eventually want a CMS anyway.

Thanks
_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to