I'm sure there are more options and I' love to hear some feedback. I do eventually want to create engines for affiliates, a blog, reports, and anything else I can think of in the future.
Dave
One of the main reasons I started this project was because I thought spree's upgrade process was broken. You could upgrade spree but the process was extremely painful. Originally I started ror-e to behave like a normal rails app that people can use as there own project. This would mean that when you start a project you own the code. The changes you make would branch from the ror_ecommerce base app. Hence I felt it was your responcibility to take your project the direction you want it to go.
- Make ror_ecommerce a gem. (this hides code and makes figuring things out painful in my opinion
- Make ror_ecommerce an engine. (this hides code and makes figuring things out painful but is probably better that a gem)
- stop making many changes to ror_ecommerce and future upgrades will come mostly from engines. (this was my original thought)
Torsten
That said I know there is a solution that can make upgrading easy and keep the code looking and feeling like a rails app. I'll be thinking...
This need a bit of thought. It's also more work than i have from the next few months.
http://confreaks.com/videos/863-railsconf2012-rails-engines-patterns
I don*t know. That wasn't soo good I thought. There are definitely better ways to work with the app/engine inclusion. Especially when more engines are used (I use 8) using git submodules is much quicker and easier. As the engine sits in a path in the main apps root folder, switching work between the app or within the engine is really quick. and since one can have the app running and reload engine parts his problem of seeing the error later is not happening.