DaboDev: un framework python pour développer des applications 3-tiers portables sur GNU/Linux, Windows ou OSX
Posted by patrick sur février 8, 2009
« Dabo is the easy to use, cross-platform, 3-tier, open source desktop database development framework. »
– http://dabodev.com/ (‘ Desktop applications. That’s what Dabo does. It’s not YAWF (yet another web framework). There are plenty of excellent web frameworks out there, so if that’s what you are looking for, Dabo isn’t for you. But there are almost no desktop application frameworks out there, and if you want to create applications that run on Windows, OS X or Linux, Dabo is for you!
- 3-Tier Design
Dabo is a 3-tier, cross-platform application development framework, written in Python atop the wxPython GUI toolkit. And while Dabo is designed to create database-centric apps, that is not a requirement. Lots of people are using Dabo for the GUI tools to create apps that have no need to connect to a database at all.’)
- http://dabodev.com/download ( »Download and decompress the file. It will create a folder named ‘dabo‘, which will contain 4 main things: the dabo module itself (in a subdirectory also named ‘dabo’), along with folders containing the visual tools (‘ide’), the DaboDemo program (‘demo’), and the code for running Dabo apps across the web (‘daboserver’). First, we need to install the module. To do this, change to the main directory created when you decompressed the downloaded file, and issue:
python setup.py install
Of course, if your Python installation is in a protected location, you will need to run the above command as a user with admin rights.
If you have trouble with setuptools, or you don’t want to install the Python Egg for any reason, you can instead extract Dabo anywhere you like, and then put a dabo.pth file in your Python site-packages directory pointing to the directory that contains the Dabo Readme file. This method has the advantage that you can keep the Dabo module in an unprivileged location, where you can keep it updated using the Web Update feature.
After installing the module, you should then copy the ‘ide‘ and ‘demo‘ directories to whatever location you prefer, as these are applications written in Dabo, and do not need to be installed. If you plan on creating Dabo web applications, you need to create a Pylons app named ‘daboserver’ and replace its ‘daboserver’ subdirectory with the ‘daboserver’ directory you downloaded‘)