Hi Chris, only short message, I'm going to take the bus:)
Qx loader is part of qxbuild and it's accessible through svn: http://code.google.com/p/qxbuild/source/browse/trunk/qxbuild/helpers/qx-loader.js . It's small code I'm using to load qooxdoo and my .js files. 2010/1/4 Chris R. <[email protected]>: > Hi Petr, > > thanks for your reply. > What do you mean by " you need your mechanism to insert .js files into main > html file > (or to load them by some your load mechanism)." > > How can I load the external javascript file? Do you have a code snippet for > your loader? > > Thanks in advance, > Chris > > -----Ursprüngliche Nachricht----- > Von: Petr Kobalíček [mailto:[email protected]] > Gesendet: Montag, 4. Januar 2010 02:39 > An: qooxdoo Development > Betreff: Re: [qooxdoo-devel] Load class and dependency on runtime > > Hi Chris, > > I don't know if I can help you, but I written something similar with > qooxdoo. I'm working on web-application that is plugin based and each > plugin is set of java and javascript (qooxdoo) classes. This means > that I'm not using qooxdoo toolchain to process my files, but I'm > using it to create one monolithic javascript file that contains > qooxdoo framework, it's called qxbuild > (http://code.google.com/p/qxbuild/). > > The main idea is that you are completely bypassing the qooxdoo tooling > and you need your mechanism to insert .js files into main html file > (or to load them by some your load mechanism). I never had problems > with this approach so I think it will work for you (the loader is > included in qxbuild so you have starting point:)). > > If you have questions or if you encounter a problem please let me know > > -- > Best regards > - Petr Kobalicek <http://kobalicek.com> > > On Sat, Jan 2, 2010 at 6:21 PM, Chris R. > <[email protected]> wrote: >> Hi everybody, >> >> >> >> i just posted yesterday, but no response. >> >> My problem is, that I just want to load dynamically a piece of code and > run >> it (for example to create a window). >> >> It should work like a plugin architecture. >> >> >> >> Can I copy a javascript class to my applications directory and load it at >> runtime, without the knowledge about dependencies? >> >> I read about the getByName-method but do not know, if it's the right way > for >> me, because I can't check, if every dependency is available. >> >> Is it possible to load every possible dependency via the #use command? >> >> >> >> And how could I realize such an plugin architecture? >> >> >> >> Thanks in advance! I'm new to qooxdoo and everything is very confusing at >> the moment. >> >> >> >> Please help!! >> >> >> >> Best regards, >> >> Chris >> >> > ---------------------------------------------------------------------------- > -- >> This SF.Net email is sponsored by the Verizon Developer Community >> Take advantage of Verizon's best-in-class app development support >> A streamlined, 14 day to market process makes app distribution fast and > easy >> Join now and get one step closer to millions of Verizon customers >> http://p.sf.net/sfu/verizon-dev2dev >> _______________________________________________ >> qooxdoo-devel mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel >> >> > > ---------------------------------------------------------------------------- > -- > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast and easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > _______________________________________________ > qooxdoo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > > > ------------------------------------------------------------------------------ > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast and easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > _______________________________________________ > qooxdoo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > -- Best regards - Petr Kobalicek <http://kobalicek.com> ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
