Hi Fabian, We're using our own Java based framework which uses JS in a few specific places so we don't have a serious server side JS framework to speak of (so far). Narwhal particularly seems a suitable place to start although it does mean a steeper learning curve than I expected, and there isn't any documentation on embedding Narwhal.
Am I right in saying that the generator doesn't apply to Qxoo? If it's a given that the server only needs to load code once and then keeps it, would this mean that the generator has little benefit in a server-side environment? John -----Original Message----- From: Fabian Jakobs [mailto:[email protected]] Sent: 23 November 2009 10:11 AM To: qooxdoo Development Subject: Re: [qooxdoo-devel] Using Qooxdoo core in a non-Web environment Hi John, which server side JS implementation are you using? I have tested the qooxdoo code only with "narwhal" but in theory it should work with any ommonJS complient implementation. Best Fabian > > Hi JB > > Weve been using server-side JS for a while now, it forms the glue > between pages and also the server side of the apps that we build. Each > app is defined in XML and then compiled into Qx code for the client; > the properties are kept synchronised between the client and the users > session on the server, events fired on the client can be caught by the > server, and functions can be called on the client by the server (or > vice-versa). The widgets bind automatically to XML documents which are > persisted in the database. > > Up until now, the server side JS for the Qx apps has been strictly > procedural programming i.e. functions only, and reuse is by > including other .js files. There has always been scope to really > improve server side integration by building smart objects rather than > being restricted to just a function call, but its been a low > priority. Now that at least one app is getting particularly complex > its more justifiable to look at it again. > > The app is for use on our customers extranet by external suppliers so > we know our users quite well and were confident that scalability > wont be a problem worst case is that we have to buy a couple of > extra Gb of RAM J > > John > > *From:* Jean-Baptiste BRIAUD -- Novlog [mailto:[email protected]] > *Sent:* 20 November 2009 8:06 AM > *To:* qooxdoo Development > *Subject:* Re: [qooxdoo-devel] Using Qooxdoo core in a non-Web environment > > HI John, > > I didn't try it but I'm thinking to it since long time, at least for > some part of the server code. > > I would be very interested to know the context of your project. > > How did you arrive to that idea ? > > What are the big figures of your project : number of end-user, do you > have a database, do you have SQL ... > > How will you address the persistence of the data manipulated by the qx > application ? > > Concurrency on server side ? > > Scalability ? > > Regards, > > JBB. > > On Nov 19, 2009, at 17:34 , John Spackman wrote: > > > > Hi guys, > > We have some server side code that is written in Javascript and is > executed by Rhino; I am **so** pleased to have a proper object model > when developing client code but the more complex the server side gets > the more I want to develop server classes in the same way. > > Has anyone experimented with a non-GUI, server-only version of the Qx > framework? > > Id be really interested to know if anyone has experimented with this > before, and/or what the potential issues might be in making Qx > server-side compatible. For example, my (completely uninformed) guess > is that the generator would work just fine except that the bootloader > it produces would need to work differently (i.e. loading of scripts > etc), and potentially there might need to be a way to exclude some > classes or packages. > > On a possibly related note, how does the qx.application.Native get used? > > Regards > > John > > ---------------------------------------------------------------------------- -- > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > trial. Simplify your report design, integration and deployment - and > focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. > http://p.sf.net/sfu/bobj-july_______________________________________________ > qooxdoo-devel mailing list > [email protected] > <mailto:[email protected]> > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > > ------------------------------------------------------------------------ > > ---------------------------------------------------------------------------- -- > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > ------------------------------------------------------------------------ > > _______________________________________________ > qooxdoo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > -- Fabian Jakobs JavaScript Framework Developer 1&1 Internet AG - Web Technologies Ernst-Frey-Straße 9 · DE-76135 Karlsruhe Telefon: +49 721 91374-6784 [email protected] Amtsgericht Montabaur / HRB 6484 Vorstände: Henning Ahlert, Ralph Dommermuth, Matthias Ehrlich, Thomas Gottschlich, Robert Hoffmann, Markus Huhn, Hans-Henning Kettler, Dr. Oliver Mauss, Jan Oetjen Aufsichtsratsvorsitzender: Michael Scheeren ---------------------------------------------------------------------------- -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
