开发者

Ruby on Rails: how to extract part of web-app?

开发者 https://www.devze.com 2023-01-06 18:52 出处:网络
I have a big application and I need to extract part of this application to separate small application. I\'m going to develop big application, but I want to small app to be up to date.

I have a big application and I need to extract part of this application to separate small application. I'm going to develop big application, but I want to small app to be up to date.

What should I use for this p开发者_开发百科urpose?

P.S. I use Ruby on Rails 3


There are two approaches you could consider.

  • Rails Engines
  • Rack Middleware

The new router in Rails 3 offers some very powerful facilities for routing to rack applications embedded with the application

0

精彩评论

暂无评论...
验证码 换一张
取 消