Wednesday, September 11, 2013

Custom fields in plugins

Hello everybody!

I have several plugins in my central repository that I developed. Are plugins to ease repetitive tasks as system news, product registration, etc..

I have dozens of sites that use these plugins.

However, each client has a different need. These needs are reflected in additional fields in the database tables of plugins. But many times, a particular field would only be useful for one client, and not for others.

Do not think it's interesting that the tables of plugins has dozens of unnecessary fields.

So what would be the best way to add or remove fields from a particular plugin, especially for a customer without breaking compatibility and is easy to upgrade in the future??

Ideally, it would add and remove fields to a particular plugin database table, without having to change the plugin code. However, when i upgrade this plugin in particular customer, have to know that it has custom fields.

Any idea?

Sorry my English.

Thanks!

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: