6. Licences Sencha Touch
Commercial Software License Open Source License
Gratuit Gratuit
Nb utilisateur illimité Utilisateur illimité
Interdit de redistribuer ou de Partage du code source
créer un générateur d'apps obligatoire sous GPL3
Commercial OEM License Commercial Software License
Payant for Embedded Devices
Possibilité d'intégrer Sencha Gratuit dans la limite de
Touch dans votre SDK ou < 5.000 apps natives / an
générateur d'apps mobiles Payant au dela
Support communautaire ou payant :299$ / an / dev
https://www.sencha.com/store/touch/
http://www.sencha.com/products/touch/license/
18. Anatomie Sencha Touch
Store = Conteneur de données Controller = Capte les actions utilisateur
Profile = Personnalisation Multi-device View = Affichage des composants
Model = Entité représentant un type de données
http://docs.sencha.com/touch/2-1/#!/guide/apps_intro
20. Sencha CMD
Créer un nouveau projet
sencha -sdk /sencha-sdk/ generate app MyApp /project/myapp
Créer un composant MVC : Ex « nouveau model User »
sencha generate model User –fields=id:int,name,email
Mettre à jour Sencha Touch
sencha app upgrade /sencha-sdk-new/
Déployer Sencha : Testing, production, ...
cd /path/to/www/myapp
sencha app build production
Créer une application Android & iOS
sencha package build -p packager.json
http://docs.sencha.com/touch/2-1/#!/guide/command_app