Easymode is an aspect oriented toolkit that helps making xml based flash websites easy.
The tools easymode provides are centered around the concept of hierarchy. The basic structure of a flash frontend is hierarchical, because of the hierarchical nature of the display list. The data that feeds such a frontend, then will become hierarchical very quickly, should a site need to be mostly dynamic.
To enable a fully dynamic flash website, the technology used should support:
When sites need to be internationalized, a fifth requirement forms:
The last statement says individual components because the entire hierarchy need not change amongst different localizations, only the components in the hierarchy.
Django provides requirement 1,2 and 3:
Easymode provides requirement 4 and 5:
Ofcoure, easymode also streamlines some of the things django provides, by integrating models, hierarchy by foreign key relations and admin support.
The benefits of using django with easymode to create flash backends are:
The best way to learn how easymode works, is to read the above topics in sequence and then look at the Example.
You can download easymode from:
http://github.com/LUKKIEN/django-easymode/downloads/
Or you can do:
Or: - pip install -e git://github.com/LUKKIEN/django-easymode.git#egg=easymode
Note the version number in the top left corner and use:
Which, if the version was v0.1.0 would become http://github.com/LUKKIEN/django-easymode/tarball/v0.1.0.
Easymode comes with an example app which is available from github:
http://github.com/LUKKIEN/django-easymode/
To run the example app, you must clone the repository, install the dependencies and initialize the database:
git clone http://github.com/LUKKIEN/django-easymode.git
cd django-easymode
pip install -r requirements.txt
cd example
python manage.py syncdb
python manage.py loaddata example_data.xml
python manage.py runserver
open http://127.0.0.1:8000/
The following features, which django supports, are not supported by easymode:
All these features are not supported because the ammount of work to have them was greater than the benefit of having them.