Is it possible to package controllers, models and views in a plugin?
tutorials for plugins seem rather sparse at the moment…
I’ve written a form “widget” that I’ve been using as a partial that I
like to reuse in other projects. I was thinking about making a
out of it, but I need to be able to access some of the form data that it
saves in my application’s models, so that wouldn’t work. I suppose that
would be possible to do all of the display as a component and then write
plugin that just the models of my app can interact with to get the data,
this doesn’t seem like the most elegant of solutions.
So to sum it up I’m hoping that it is possible for mvc’s to be used
plugins so I can package form widget as one. I’d greatly appreciate it
somebody would point me in the right direction.
Thanks for the help,