Hi,

my app uses plugins to extend its functionality. So far, the plugins aren't
really plugins, because they are part of the app's namespace, but will be
loaded on-demand as scripts. This creates all kind of problems, for example,
the translations cannot be separated from the main app's translations, and
the on-demand loading has to be done manually, using the ScriptLoader.

I would like to replace this system with one that uses separate libraries
and parts. This seems to be an ideal combination. Creating plugins as
qooxdoo libraries separates the development of the main app from the plugins
(so that third-parties can create and contribute plugins) and using parts
ensures that the app will load only the plugin code that is actually enabled
and used by the main app. To be sure, it is still necessary to build the app
with all plugins present (in order to create the parts), they cannot be
distributed and installed separately without the build step. But that is
acceptable, given the obvious advatages that qx libraries/parts provide.

At the moment, I am stuck with an error that I have reported separately here
[1]. Maybe someone can figure out what is wrong. The relevant parts of my
config.json [2] are:



Maybe my setup is wrong. I am using qooxdoo v3.5.1. The error occurs in the
qx/Part.js, line 253, and a step-by-step debugging showed that the
this.__parts array contains one element with value undefined.

Thanks for any advice!

C.



[1]
http://qooxdoo.678.n2.nabble.com/qooxdoo-Stacktrace-problems-td7586130.html
[2]
https://github.com/cboulanger/bibliograph/blob/master/bibliograph/config.json



--
View this message in context: 
http://qooxdoo.678.n2.nabble.com/Application-plugins-with-parts-tp7586137.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to