Upload
sencha
View
4.264
Download
0
Tags:
Embed Size (px)
DESCRIPTION
This session will discuss the “TouchForums” mobile app, which is built with SenchaTouch and currently in development. The app combines features available in the Sencha forums and the support portal. In its current state, the app runs on Sencha Touch 1.1.1, but will be migrated to Sencha Touch 2.0 in the near future. From an architectural level the app is built using MVC, and incorporates history support and unit tests run via Jasmine/JsTestRunner.
Citation preview
Wednesday, November 2, 2011
Arthur Kay, Sencha@arthurakay
Mitchell Simoens, Sencha@msims84
TouchForums App
Wednesday, November 2, 2011
What Is TouchForums?
Wednesday, November 2, 2011
Sencha Forum Browser &Support Portal Tool
SearchingProfilesSubscriptionsMessages
Support TicketsEtc...
Concept
*Currently in development...No release date available.
Wednesday, November 2, 2011
Some Background...Originally an excuse to learn Sencha Touch - Based on Ext JS “Forum Browser” Example
Side Project of Professional Services - Playground for ideas
We spend a lot of time on the forums... ...even on our phones and tablets.
Wednesday, November 2, 2011
Technical DetailsBuilt with Sencha Touch 1.1.1
MVC Architecture
SASS Template
Loading graphic built with Sencha Animator
History Support
Unit Testing with Jasmine/JsTestDriver
PHP API
BBCode Parsing
Wednesday, November 2, 2011
vBulletin Mobile API
BBCode Parsing
Unit Testing
Multiple Databases
Time & Resources
Challenges
Wednesday, November 2, 2011
Future PlansMigrate to Sencha Touch 2.0
Integration with Support Portal
Automated Unit Tests
Rewrite of API using Node.JS
Adding Touch Charts for reporting
Public launch!
Wednesday, November 2, 2011
Acknowledgments
Thank You!
Wednesday, November 2, 2011
David KanedaDoug HendricksHyle Campbell
Acknowledgments
Thank You!
Wednesday, November 2, 2011
MVC Architecture
Wednesday, November 2, 2011
Architecture
Wednesday, November 2, 2011
Sencha MVC pattern
Data described in ModelsPresentation in ViewsAll logic in ControllersUtility classes for reuse
Allows for easy unit tests!
Architecture
Wednesday, November 2, 2011
Model
Wednesday, November 2, 2011
View
Wednesday, November 2, 2011
Controller
Wednesday, November 2, 2011
Store
Wednesday, November 2, 2011
SASS
Wednesday, November 2, 2011
SASS
Wednesday, November 2, 2011
Unit Testing
Wednesday, November 2, 2011
Jasmine / JsTestDriver
Wednesday, November 2, 2011
Unit Tests != Integration
Wednesday, November 2, 2011
Environment
Setup/Teardown
Mocks/Stubs
...something we struggle with!
Unit Tests != Integration
Wednesday, November 2, 2011
Unit Tests
Wednesday, November 2, 2011
JsTestDriver
Wednesday, November 2, 2011
API
Wednesday, November 2, 2011
vBulletin Mobile API
Wednesday, November 2, 2011
Not helpful
Originally why we chose PHP
Manual SESSION and SQL
Handle both JSON and JSONP
vBulletin Mobile API
Wednesday, November 2, 2011
Rewrite in Node.JS
Wednesday, November 2, 2011
PHP... is lame
Unit test via same framework
Unity in client/server development
Rewrite in Node.JS
Wednesday, November 2, 2011
Wednesday, November 2, 2011
Q&A
Wednesday, November 2, 2011