Development
Project Page
http://github.com/massimo-zaniboni/Asterisell
Symfony Framework
Asterisell uses the Symfony PHP framework, that is a well designed and documentated framework.
Installation
Asterisell distribution contanins a “snapshot” of the Symfony framework.
If you want to use the most recent version of Symfony framework you can install it through the PEAR PHP Extension and Application Repository
pear channel-discover pear.symfony-project.com pear install symfony/symfony
In order to upgrade to new versions of symfony:
pear upgrade symfony/symfony
Do not forget to clear the Asterisell cache executing in the Asterisell directory:
symfony cc
Patch Application
Up to date a patched version of Symfony 1.0.5 is used, so you must apply the patch inside the directory “symfony-patch”.
Consult the README file for details on how to apply the patch.
Asterisell Development Version Usage
In order to enable the development mode execute
symfony enable asterisell dev
If Asterisell project is in the “/var/www/asterisell” directory and your local apache server is listening on port 3000, then you must open the web page:
http://localhost:3000/asterisell/web/asterisell_dev.php/login
Asterisell Localization
If you want to support a new language / culture you must:
- add to “apps/asterisell/config/app.yml” the new currency and culture;
- copy “apps/asterisell/i18n/messages.it.xml” to “apps/asterisell/i18n/messages.your_culture_code.xml”;
- replace all Italian translations with your locale translations;
- execute “sh configure.sh” in order to clear the cache and view the new messages;
2010 March 05