Are Engines really any good for distribution of functionality including
views?
That is I have an engine I downloaded and have working, however the
first thing I want to do is alter the view pages in terms of how it lays
thiings out. As soon as I do this however (as I do this in the engine
install area under plugins) I assume I’m breaking the concept for
upgrade.
a) So assuming you’re the type that wants to tailor/adjust the views is
Engines really a good way to handle this?
b) If one is going to adjust an Engine is it potentially better just to
import it directly into your own applicaiton working area and
acknowledge there’s been a lot of view changes?
c) Or is it best to leave it in the vendor area then at least it could
be a re-usable engine from the point of view of your own applications
(assuming the view layout changes you made would be those which you’d be
happy to have across all your applications)
I was under the impression that Engines were perfect for this kind of
thing,
mainly in that to change the files an Engine uses, you just create your
own
in your apps app/views/engine_name. The engine should pick up those
files
and use them instead of its own.
oh…must have missed this…sounds good for a small number of tweaks.
What do you think however if you want to tweak just about every view
(i.e.
*.rhtml) from the engine to give it the look and feel you want?
good points - actually I’m not sure how much I want to tweak things, but
just I don’t really like the layout at the moment - I should look more
closely at CSS as a possibility agreed
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.