# Using engine technology to bring back productization

**URL:** <https://www.ruby-forum.com/t/using-engine-technology-to-bring-back-productization/54383>\
**Category:** Engines Development\
**Created:** [March 3, 2006, 12:45am UTC](https://www.ruby-forum.com/t/using-engine-technology-to-bring-back-productization/54383 "2006-03-03T00:45:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeffl](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/ea666f/32.png) [@jeffl](https://www.ruby-forum.com/u/jeffl)\
**Post date:** [March 3, 2006, 12:45am UTC](https://www.ruby-forum.com/t/using-engine-technology-to-bring-back-productization/54383/1 "2006-03-03T00:45:17Z")

</div>

I was really happy to find somebody had developed a way to productize  
applications  
([Peak Obsession](http://wiki.rubyonrails.com/rails/pages/RailsProductGenerator))  
before engines came around. Since then they’ve become out-of-date, but  
it seems like the engines code would be a good place to start to try  
and get productization working again. Anybody have any ideas on how I  
could best accomplish post rails 1.0 productization? James?

I sooo want 3-tiered applications. 😛

–  
Jeff L.  
[http://blogrium.com/](http://blogrium.com/)

---

<div class="post-metadata">

**Author:** ![jeffl](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/ea666f/32.png) [@jeffl](https://www.ruby-forum.com/u/jeffl)\
**Post date:** [March 4, 2006, 3:22pm UTC](https://www.ruby-forum.com/t/using-engine-technology-to-bring-back-productization/54383/2 "2006-03-04T15:22:52Z")

</div>

In some ways productisation and the engines plugin seem similar, but  
they are actually almost opposite. Productisation allowed a single  
application to appear like it was many applications, whereas  
developing engines lets you share distinct parts of an application  
with other ones (but these applications remaining quite distinct).

So - how to achieve post-rails productisation? Probably by writing a  
plugin, I’d imagining. If productisation means changing the template  
and views only, this shouldn’t be too tricky, and the original  
productisation patches can probably be repackaged. If you want your  
‘productised’ applications to have selective access to various  
controllers and model objects, it’s going to be a bit harder (and  
probably more work that it’s worth).

- james

On 3/2/06, Jeff L. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Jeff L.  
> [http://blogrium.com/](http://blogrium.com/)
> 
> * * *
> 
> engine-developers mailing list  
> removed\_email\_address@domain.invalid  
> [http://lists.rails-engines.org/listinfo.cgi/engine-developers-rails-engines.org](http://lists.rails-engines.org/listinfo.cgi/engine-developers-rails-engines.org)

–

- J \*  
~

---

<div class="post-metadata">

**Author:** ![jeffl](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/ea666f/32.png) [@jeffl](https://www.ruby-forum.com/u/jeffl)\
**Post date:** [March 4, 2006, 3:47pm UTC](https://www.ruby-forum.com/t/using-engine-technology-to-bring-back-productization/54383/3 "2006-03-04T15:47:01Z")

</div>

The way I see it, the ideal productization would be much like engines,  
but on the other side of the application–in a way, engines that  
override the _application_. That’s why I thought to look at engines. I  
imagine this would be a new plugin, but I figured a lot of it could be  
based on engines code.

I suppose an alternative would be to make the application that would  
be productized an engine that depended on other engines. Each instance  
would be their own application. This seems like it could work. All the  
other engines can be started in the app engine. App specific configs  
can be in the app engine… hmm, sounding better the more I type.

I guess that leaves one thing… routes. Can we figure out a clever  
way to solve the routes issue? What if engines could draw their own  
routes… then in the application route map we’d say something like  
Engines.route :my\_engine, map or even Engines.route :all, map, which  
would pass the map object to engines to apply connections to.

= )

-jeff

On 3/4/06, James A. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> ‘productised’ applications to have selective access to various
> 
> > and get productization working again. Anybody have any ideas on how I  
> > [http://lists.rails-engines.org/listinfo.cgi/engine-developers-rails-engines.org](http://lists.rails-engines.org/listinfo.cgi/engine-developers-rails-engines.org)

–  
Jeff L.  
[http://blogrium.com/](http://blogrium.com/)
