Is there a development guide for best practices when making reusable
components?
For example, none of the login generators fit my requirements, and I
want to write my own. But after I’m done, I’ll want to share it with
multiple applications.
Is there documentation for the right way to go about doing this?
–
- Adam
** Expert Technical Project and Business Management
**** System Performance Analysis and Architecture
****** [ http://www.everylastounce.com ]
Building your own generators. This is not hard to do. Check out
Rails’ migration generator for a simple example.
Building a plugin.
Sharing code with svn:externals or something similar
Another approach would be to place a generator inside of a plugin.
This would allow you to easily install/uninstall the generator across
many projects. We have used this approach with some success at PLANET
ARGON.