# Engines still the best option for vertical slice code reuse?

**URL:** <https://www.ruby-forum.com/t/engines-still-the-best-option-for-vertical-slice-code-reuse/80724>\
**Category:** Engines Development\
**Created:** [December 30, 2006, 5:38pm UTC](https://www.ruby-forum.com/t/engines-still-the-best-option-for-vertical-slice-code-reuse/80724 "2006-12-30T17:38:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dracos](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/ea666f/32.png) [@dracos](https://www.ruby-forum.com/u/dracos)\
**Post date:** [December 30, 2006, 5:38pm UTC](https://www.ruby-forum.com/t/engines-still-the-best-option-for-vertical-slice-code-reuse/80724/1 "2006-12-30T17:38:17Z")

</div>

Hi,

It seems like quite a while ago that I used engines or even Rails as  
I’ve been on a long JavaScript detour. Now I have time to get back to  
my long term project of building online stores and would like to catch  
up to the state-of-the-art in code reusability in the Rails world and  
productization.

Engines are really the only way I know that I could build a generic  
store application and then have a layer on top that will customize  
this application for a particular retailer. Then the generic  
application layer can easily be updated. Are there any other code  
reuse options out there worth looking at?

DHH doesn’t care for the idea of high level components but what do you  
think he would do if he had to write and maintain 20 online stores for  
small business owners? I would really like to read his answer to that  
question.

Thanks,  
Peter

---

<div class="post-metadata">

**Author:** ![dracos](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/ea666f/32.png) [@dracos](https://www.ruby-forum.com/u/dracos)\
**Post date:** [January 2, 2007, 1:14am UTC](https://www.ruby-forum.com/t/engines-still-the-best-option-for-vertical-slice-code-reuse/80724/2 "2007-01-02T01:14:25Z")

</div>

Well said. I was baffled the first time I read a negative comment  
about engines, especially from the Rails team. Without Engines, I  
might have given up on Rails for the handful of sites I had to put on  
_nearly_ identical codebases.

And yes, as far as I know, Engines is still the only solution for  
achieving this. But it is a fine one.

Justin  
[blaix.com](http://blaix.com)
