Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jaytaph/sencha-touch-commander-2
Conversion of Sencha-Command to the Sencha Touch 2 framework
https://github.com/jaytaph/sencha-touch-commander-2
Last synced: 22 days ago
JSON representation
Conversion of Sencha-Command to the Sencha Touch 2 framework
- Host: GitHub
- URL: https://github.com/jaytaph/sencha-touch-commander-2
- Owner: jaytaph
- Created: 2011-11-09T18:59:42.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2011-11-09T14:27:15.000Z (almost 13 years ago)
- Last Synced: 2023-03-11T01:23:34.593Z (over 1 year ago)
- Homepage:
- Size: 4.39 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sencha Command
Sencha Command is a set of utilities that helps automate many parts of project development
Sencha Touch version: 2.0.0 PR1
## Generators
### Applications
To generate a new application:
./sencha generate app MyApp /optional/path/to/generated/app
### Models
To generate a model:
./sencha generate model User id:int name:string active:boolean
This creates a model called "User" with the given fields. It also creates an empty Jasmine spec
file for the model, and inserts script tags for the new files into the appropriate index.html file.### Stores
To generate a store:
./sencha generate store UserThis creates a store called "User" based on the model "User".
### Controllers
To generate a controller:
./sencha generate controller users list create update
This creates a controller called 'users', which has actions 'list', 'create' and 'update'. It also
creates an empty Jasmine spec file for the controller, and inserts script tags for the new files into
the appropriate index.html file.## Builder
The builder builds your application into a deployment-ready folder by combining all JavaScript into a
single file and minifying it. Building is simple:./sencha build
The built application is placed in the 'deploy' folder.
## Coverage
Runs code coverage analysis on your application based on the application's test suite. Code coverage
data is saved to the 'coverage' folder../sencha coverage
## Autotest
This doesn't exist yet, but will look like the following:
./sencha autotest
## Test
This doesn't exist yet, but will look like the following:
./sencha test
## Update
This doesn't exist yet, but will look like the following:
./sencha update /path/to/sencha/sdk