Loïc,
On 08/28/2011 07:18 PM, y...@free.fr wrote: > Hello, > I'am wondering if qooxdoo could answer some of my office needs: we developp > web applications and want to create a basis made of certain > functionnalities, and need third-party developpers to have the ability to > integrate their "plugins" in our application *easily*, maybe without > recompiling the whole application. > Think about adding a new entry in a menu allowing to use a new fresh > functionnality. > How qooxdoo deals with that ? > It seems to me from the docs and searches I made in the forum that there is > no official way to "dynamically" extend an existing app, and that is what I > would do, more or less. You're exactly right, in that there is no official way to achieve that. The programming model of qooxdoo has a distinct build and deploy step. But as we consider our build step "lightweight" (!), maybe you want to reconsider your approach. You could have the plugins be developed as qooxdoo libraries, and would need only some code in the main application that integrates any new plugin. But they could be developed, tested and documented completely independent. After a new plugin is delivered, you recompile the app. If you utilize qooxdoo's part concept, and can make an individual part of each plugin library, you should see that only a few of the generated scripts change with a new plugin. That means all other scripts can be cached and re-used on the client side. To take advantage of a new plugin, the client would just have to reload the app. Does that sound feasible?! Having said that, I know of projects that realized what you want on a custom level, and maybe some of their proponents will add to this thread. Some are running the generator on the server, to dynamically create the new application on the fly. One project maintains meta information about what you call "plugins", all being qooxdoo libraries, having pre-compiled scripts for each on the server, and then doing the "loading and linking" dynamically in the client. This requires some decent infrastructure, so e.g. the client can request a plugin from the server, and then it is calculated on the fly which dependencies the client already has, and which need to be fullfilled by sending corresponding code down to the client. But as I said, these are custom endeavours and we from the core team do not support these approaches directly. HTH, Thomas ------------------------------------------------------------------------------ EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel