Bart Ogryczak wrote:
> What are the best practices concerning this?
> First the tables. Is there any standard when the should be created? In
> the setup script? Some 'first-run' script?

Take a look at the IEnvironmentSetupParticipant [1] in trac.env

> How about JQuery-UI? Including it in every plugin which would need to
> use it seems waste, so what other alternatives are?

You could create a plugin that simply handles adding the JQuery-UI and
have your plugin depend on that.  Perhpas it could become the standard
way for people to include JQuery-UI.  Other than that, simply using
add_script() in the process_request() method of the plugin is the
standard way to add stylesheets.

-John


[1] http://trac.edgewall.org/browser/branches/0.11-stable/trac/env.py#L40

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/trac-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to