[ALOY-412] Create a few standalone samples for Alloy apps
GitHub Issue | n/a |
---|---|
Type | Story |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-02-13T12:00:30.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Alloy 1.1.0, 2013 Sprint 04 |
Components | Documentation |
Labels | notable, qe-closed-3.3.0, qe-testadded |
Reporter | Michael Xia |
Assignee | Tony Lukasavage |
Created | 2012-12-03T21:32:31.000+0000 |
Updated | 2014-06-19T11:03:14.000+0000 |
Description
The samples could then be shown in the Studio. Ideally each sample will have its own git repository, e.g. the Titanium samples are in the respective git://github.com/appcelerator-developer-relations/Sample..git repos.
The apps will be housed in the "templates" folder at the top-level of the alloy folder. The apps will be organized by named folders and contain only the contents of the "app" directory, just as the templates. Alloy will also expose a new "alloy info" option to allot TiStudio to get a listing of sample apps and all important information about them:
alloy info samples
This will return a JSON listing of information just like the "alloy info templates" command
format of the "alloy info samples" command
Verified FIXED using : Mac :10.9.3 Appcelerator Studio, build: 3.3.0.201406171619 SDK 3.3.0.v20140617161713 acs-1.0.15 alloy@1.4.0-rc npm-1.3.2 titanium@3.3.0-rc titanium-code-processor-1.1.1 Following information is displayed : deeptis-mini:~ deepti.pandey$ alloy info samples [ { "name": "mapping", "label": "Geocoder", "Description": "A sample app that uses native maps to plot locations. With it you can forward geocode addresses and add them as annotations to the map.", "icon": "app.png" }, { "name": "rss", "label": "RSS Reader", "Description": "A sample Master/Detail app that creates a RSS reader. With it you can pull live RSS feeds from the internet, list them along with thumbnails, then drill down to the article itself.", "icon": "app.png" }, { "name": "todo", "label": "Todo List", "Description": "A sample application that creates a basic todo list. With this app you can maintain a listing of tasks to be completed, add to that list, and mark tasks as done, all powered by Alloy models and collections.", "icon": "app.png" } ] Hence closing.