Michal Čihař a écrit :
Hi
On Thu, 02 Nov 2006 13:02:00 -0500 Marc Delisle Marc.Delisle@cegepsherbrooke.qc.ca wrote:
If I have a look at the code proposed for the new designer, I find some issues we must address:
- handling of the needed additions to pmadb
We don't handle creating of pmadb either (but we should allow this in setup).
Yes, but there are other issues like a working control user.
- handling of additional configuration parameters for the plugin
Hook in config.default?
- integration of the new messages (to stay easy to translate)
Messages need to be separate, maybe support for additionally loading file from extension/lang/... matching current language?
Hmmm I don't know. Having one file per language for all features certainly made things easier.
- integration of the new images
Images are not a problem, but there might be problem with themes...
Sorry to ask more questions than offering answers. Also, I'm not sure if the plugin interface would be popular enough, or would be general enough to accept other people's code. AFAIK we did not get any contributions for transformations, export or inport, but maybe a plugin interface can help improve the structure.
All those parts now allow only dropping file in place and it will work. The only problem is lack of documentation. I started to write something about export/import in wiki, but it is far from being complete...
I see the plugin interface as long-term. For short-term we have this piece of code (designer) and we could benefit from merging it, but it obviously was not written in order to respect our future plugin interface :)