Re: [qooxdoo-devel] Application plugins with parts

2014-09-05 Thread panyasan
Just had a great collaborative debugging session with Mustafa on https://c9.io and we could locate the source of the problem: it is the way qx.io.PartLoader.require works. There is some hidden magic that involved a lookup in the code syntax tree that is not obvious if you don't know it. Thanks, Mu

Re: [qooxdoo-devel] Application plugins with parts

2014-09-05 Thread panyasan
Hi Mustafa, thank you for taking time to look into this. Creating the right development environment for my project is in fact a bit tricky, because you need a working backend with php/apache/mysql all configured. The frontend does not work without setting up the backend first, which might requi

Re: [qooxdoo-devel] Application plugins with parts

2014-09-05 Thread Mustafa Sak
raph.org] Gesendet: Freitag, 5. September 2014 09:09 An: qooxdoo-devel@lists.sourceforge.net Betreff: Re: [qooxdoo-devel] Application plugins with parts Hi, the whole config.json is here: https://github.com/cboulanger/bibliograph/blob/master/bibliograph/config.json and you can see the plugin

Re: [qooxdoo-devel] Application plugins with parts

2014-09-05 Thread panyasan
Hi, the whole config.json is here: https://github.com/cboulanger/bibliograph/blob/master/bibliograph/config.json and you can see the plugin classes here: https://github.com/cboulanger/bibliograph/tree/master/bibliograph/plugins and the mentioned plugin class is here: https://github.com/cboul

Re: [qooxdoo-devel] Application plugins with parts

2014-09-04 Thread Mustafa Sak
üngliche Nachricht- Von: panyasan [mailto:i...@bibliograph.org] Gesendet: Donnerstag, 4. September 2014 16:22 An: qooxdoo-devel@lists.sourceforge.net Betreff: Re: [qooxdoo-devel] Application plugins with parts Oh. I posted it on Nabble, probably didn't translate well into an email: http:

Re: [qooxdoo-devel] Application plugins with parts

2014-09-04 Thread panyasan
Oh. I posted it on Nabble, probably didn't translate well into an email: http://qooxdoo.678.n2.nabble.com/Application-plugins-with-parts-tp7586137p7586143.html Hi, now my config.json contains the following: ... "parts-config": { "packages" : { "parts" : {

Re: [qooxdoo-devel] Application plugins with parts

2014-09-04 Thread Mustafa Sak
qooxdoo-devel@lists.sourceforge.net Betreff: Re: [qooxdoo-devel] Application plugins with parts Hi, now my config.json contains the following: plugins/csl/Plugin.js contains this: when I run ./generate.py, I get this: Unsurprisingly, I'm still getting the same error. Thus the setup i

Re: [qooxdoo-devel] Application plugins with parts

2014-09-04 Thread panyasan
Hi, now my config.json contains the following: plugins/csl/Plugin.js contains this: when I run ./generate.py, I get this: Unsurprisingly, I'm still getting the same error. Thus the setup is still wrong. Any ideas? Thanks! -- View this message in context: http://qooxdoo.678.n2.nabble.

Re: [qooxdoo-devel] Application plugins with parts

2014-09-04 Thread Mustafa Sak
Gesendet: Donnerstag, 4. September 2014 11:23 An: qooxdoo-devel@lists.sourceforge.net Betreff: Re: [qooxdoo-devel] Application plugins with parts Hi Mustafa, thank you for the clarification! Since I want to minimize the amount of places where information has to be added in order to add a plugin, an ad

Re: [qooxdoo-devel] Application plugins with parts

2014-09-04 Thread panyasan
Hi Mustafa, thank you for the clarification! Since I want to minimize the amount of places where information has to be added in order to add a plugin, an additional separate class in the main app's namespace wouldn't be ideal. Is it also possible to include one class of the library, which then pul

Re: [qooxdoo-devel] Application plugins with parts

2014-09-04 Thread Mustafa Sak
afa Sak Applications & Integration 1&1 Internet AG Ernst-Frey-Straße 10 DE-76135 Karlsruhe -Ursprüngliche Nachricht- Von: panyasan [mailto:i...@bibliograph.org] Gesendet: Donnerstag, 4. September 2014 08:44 An: qooxdoo-devel@lists.sourceforge.net Betreff: [qooxdoo-devel] Applic

[qooxdoo-devel] Application plugins with parts

2014-09-03 Thread panyasan
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 translatio