Hey,
Hi!

As I'm plannning to write a client application, in order to drive my KNX¹
installation, I was searching for a high-level javascript framework, and
found qooxdoo, which fits all my needs:

- great OO implementation
- python/java-like dev. approach
- lots and nice widgets
- very good documentation

Congratulation to the dev. team, this is great work!
Thanks. :)

A few years ago, I also wrote a small javascript application for a photo
club, which allows our members to upload, then select/vote for the best
photos; we still use this application each time we want to make a
selection, for national contests. Js part of the code is here:

   http://www.gbiloba.org/download/vote/

This small app. is very basic, and lacks some admin features (I often have
to use phpmyadmin to modify datas!). It was written using 'prototype'
framework, which only provides basic OO pattern. When I see qooxdoo, I
think I could reduce the code size by a order of magnitude!

So, as an exercice, I want to migrate this app.
Sounds like a good idea!

My question is: how should I organise my code, in order to have robust
design? I want to use MVC pattern, and split things. In my codes (I also
wrote a panoramic control software, using PyQt²), for each screen/window, I
write a model, a view and a controller. The controller handles all the
logic between the model and the view (signal handlings, data
modifications and so).
qooxdoo does not force the developer to use any kind of MV* patter in their 
applications. So basically you can do whatever you like using the standard 
pattern based on OO principles. The tooling will take care of the dependencies 
between the classes!

How to do that with qooxdoo? I read the documentation, and
examples/tutorials, but I don't have yet an overall view of all
tools/features. For example, I don't see yet how to integrate provided
controllers and models with mines…

Do you have some example code of a more complete application than the
tutorial 'tweets' one, showing a robust structure (what dirs/files to
use...)?
Sure, just check out the feed reader demo app [1] which also uses data binding. 
This is a powerful feature which helps to keep the views up to date!

Regards,
Martin

[1] https://github.com/qooxdoo/qooxdoo/tree/master/application/feedreader
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to