Index
A
- addEventListener / CommonJS best practices
- android directory / Android
- app.js file / The bootstrap
- application / The application
- application architecture
- CommonJS / CommonJS
- APPNAV event / The controller
B
- bootstrap / The bootstrap
C
- callback / Callbacks
- close event / Managing memory
- code formatting / Code formatting
- code structure
- curly bracket, using / Use semicolons and curly brackets
- semicolon, using / Use semicolons and curly brackets
- eval(), avoiding / eval is evil
- curly bracket position / The curly bracket position
- non-explicit comparisons / Not all operators are created equal
- code validation / Code validation
- collection / Creating a JSONDB CommonJS module
- common elements, UI / Common elements
- CommonJS
- about / Understanding scope and the global object, CommonJS
- modules / CommonJS modules
- best practices / CommonJS best practices
- require / CommonJS require
- control directory / Control
- controller
- about / The controller
- updating / The controller updated
- cross-platform layout method
- about / Choosing a cross-platform layout method
- Ti.Platform.osname statements, using / Using Ti.Platform.osname statements
- separate UI files, developing / Developing with separate UI files
- component styles, importing from external files / Importing component styles from external files
- JavaScript stylesheet CommonJS module, building / Building a JavaScript stylesheet CommonJS module
- Stylesheet CommonJS module, using / Using the Stylesheet CommonJS module in your app
- Stylesheet CommonJS module, extending / Extending the Stylesheet module for page-specific styles
- custom menu, UI / The custom menu
D
- directory structure
- about / Directory structure
- android / Android
- iphone / iPhone and iPad
- iPad / iPhone and iPad
- control / Control
- model / Model
- ui / UI
- UI / UI
- tools / Tools
- dp / The difference between DPs and PXs
E
- e /ui/common folder / Setting up JSONDB
F
- factories / CommonJS modules
- FILL property / Ti.UI.FILL
- forEach loop
- formatting
- constructors / Formatting, commenting, and naming conventions
- consants / Formatting, commenting, and naming conventions
- funtion and method names / Formatting, commenting, and naming conventions
- variable declarations / Formatting, commenting, and naming conventions
- for statements
- variables, declaring outside / Declaring variables outside the for statements
- framework / Frameworks
G
- getNewsData() function / Creating a JSONDB CommonJS module
- GitHub / Installing the JSONDB module
- global object
- about / The global object
- window / The global object
- namespace pollution / The global object
- non-locality / The global object
- collisions / The global object
- pollution, avoiding / Do not pollute the global object
- JavaScript instance / JavaScript instance
I
- i18n directory / Directory structure
- ifstatements
- shortcuts, using / Using shortcuts for simple if statements
- ipad directory / iPhone and iPad
- iphone directory / iPhone and iPad
J
- JavaScript
- about / It's all object(ive)
- native objects / It's all object(ive)
- user-defined objects / It's all object(ive)
- JavaScript stylesheet CommonJS module / Building a JavaScript stylesheet CommonJS module
- JSLint / Code validation
- JSONDB module
- installing / Installing the JSONDB module
- setting up / Setting up JSONDB
- JSONDB CommonJS module, creating / Creating a JSONDB CommonJS module
- JSONDB queries
- using / Using JSONDB queries
L
- layout module, UI / The layout module
- loadHomeScreen function / The controller updated
M
- minorFunc function / Callbacks
- model directory
- multilingual language translation / Multilingual
- MVC / The architecture
- MVC architecture framework / Frameworks
- MyView object / Prototype
N
- naming
- points / Naming
- navHandler function / The custom menu
- new button / Creating a JSONDB CommonJS module
- New Record button / Creating a JSONDB CommonJS module
O
- onerror method / Fail gracefully
P
- prototype
- about / Prototype
- pureMVC / Frameworks
- px / The difference between DPs and PXs
R
- recursive require / CommonJS modules
S
- scope
- shift+command+F / Code formatting
- SIZE property / Ti.UI.SIZE
- standards
- about / Standards
- Stylesheet CommonJS module
- Stylesheet module
- extending, for page-specific styles / Extending the Stylesheet module for page-specific styles
- subFunc function / Callbacks
T
- Ti.include method / The controller
- Ti.Platform.osname statements
- Ti.UI.FILL
- Ti.UI.SIZE
- Titanium
- about / Frameworks
- Titanium best practices
- CommonJS / CommonJS
- code formatting / Code formatting
- code validation / Code validation
- comment meaningfully / Comment meaningfully
- global bject pollution, avoiding / Do not pollute the global object
- JavaScript instance / JavaScript instance
- CommonJS modules / CommonJS modules
- memory management / Managing memory
- tools(helpers)
- about / Tools (helpers)
- commonTools / Tools (helpers)
- tools directory / Tools, Tools (helpers)
U
- UI
- categories / UI
- about / UI
- layout module / The layout module
- custom menu / The custom menu
- common elements / Common elements
- Windows / Windows
- ui directory / UI
W
- windowHandler function / The controller updated
- Windows, UI / Windows