How do you create maintainable web widgets?
Right now, I allow my web users to create web widgets via a simple interface, and all the javascript, css, and html needed for that widget gets saved in a database table cell, which is very unmaintainable.
Is there are better way of allowing people to create widgets, yet make them maintainable by the website admin?