SlideShare une entreprise Scribd logo
1  sur  14
Backbone Sync and 
Appcelerator Alloy 
Aaron K. Saunders 
CEO Clearly Innovative Inc 
Co-Founder Startup Middle School
Who Am I 
 Founder & CEO Clearly Innovative Inc 
 Clearly Innovative Inc 
 Full Services Digital Agency, Web & Mobile Solutions 
 Built Award Winning Solution for Queens Public Library 
 Multiple solutions & clients over last 4 years using 
Appcelerator Titanium 
 Former Appcelerator Platform Evangelist 
 Author of upcoming book on Appcelerator Alloy 
and Appcelerator Cloud Services
Shameless Plug
Appcelerator Titanium Alloy 
 MVC Framework for building Apps with Titanium 
 Borrows heavily from BackboneJS for Model and 
Collection Framework 
 Model & Collection binding integrated into View 
functionality of Alloy 
 Model & Collection functionality === Seperation of 
Concerns in applications
Backbone 
Backbone.js gives structure to web 
applications by providing models with key-value 
binding and custom events, collections 
with a rich API of enumerable functions, 
views with declarative event handling, and 
connects it all to your existing API over a 
RESTful JSON interface.
Backbone In Alloy 
 Models 
 Keep track of your data 
 Collections 
 Manage lists/arrays of your data 
 Sync Adapter(s) 
 Local Storage, SQL, Properties, extendable
Backbone Sync Adapter 
 Support for managing application data/content 
 Based on common REST verbs 
 GET > READ 
 PUT > UPDATE 
 POST > CREATE 
 DELETE > DELETE 
 Can be integrated with local or remote data 
stores
Connecting to REST 
Endpoint 
 IBM Bluemix REST Data Store sample JSON format
Added Promises to 
Adapter 
 Better way to manage asychronous calls in code 
 Removes this from code
Why Should You Care 
 Apps spend A LOT of time getting data 
 Apps spend A LOT of time integrating with REST 
APIs 
 Having common pattern for interacting with data 
is a good thing 
 Its easy to do !! 
 Lots of information on Backbone Models available
Added Promises to 
Adapter 
 Better way to manage asychronous calls in code 
 Removes this from code
SAMPLE CODE TIME
Final Thoughts 
 Code with Readme and Presentation 
 https://github.com/aaronksaunders/tiConnectSampl 
eApp 
 Information on Promises 
 https://github.com/kriskowal/q 
 Slides
Thanks 
@aaronksaunders 
http://www.clearlyinnovative.co 
m

Contenu connexe

Plus de Aaron Saunders

StackMob & Appcelerator Module Part One
StackMob & Appcelerator Module Part OneStackMob & Appcelerator Module Part One
StackMob & Appcelerator Module Part One
Aaron Saunders
 
Modeveast Appcelerator Presentation
Modeveast Appcelerator PresentationModeveast Appcelerator Presentation
Modeveast Appcelerator Presentation
Aaron Saunders
 

Plus de Aaron Saunders (10)

Quick Way to work with Models and Alloy in Appcelerator Titanium
Quick Way to work with Models and Alloy in Appcelerator TitaniumQuick Way to work with Models and Alloy in Appcelerator Titanium
Quick Way to work with Models and Alloy in Appcelerator Titanium
 
Simple Unit Testing in Appcelerator Titanium Alloy
Simple Unit Testing in Appcelerator Titanium AlloySimple Unit Testing in Appcelerator Titanium Alloy
Simple Unit Testing in Appcelerator Titanium Alloy
 
DC Titanium User Group Meetup: Appcelerator Titanium Alloy jan2013
DC Titanium User Group Meetup: Appcelerator Titanium Alloy jan2013DC Titanium User Group Meetup: Appcelerator Titanium Alloy jan2013
DC Titanium User Group Meetup: Appcelerator Titanium Alloy jan2013
 
modeveast 2012 Appcelerator Alloy & Cloud Services Presentation
modeveast 2012 Appcelerator Alloy & Cloud Services Presentationmodeveast 2012 Appcelerator Alloy & Cloud Services Presentation
modeveast 2012 Appcelerator Alloy & Cloud Services Presentation
 
Introduction to Module Development with Appcelerator Titanium
Introduction to Module Development with Appcelerator TitaniumIntroduction to Module Development with Appcelerator Titanium
Introduction to Module Development with Appcelerator Titanium
 
Alloy Simple App Demonstration
Alloy Simple App DemonstrationAlloy Simple App Demonstration
Alloy Simple App Demonstration
 
Clearly Innovative Inc Capabilities
Clearly Innovative Inc CapabilitiesClearly Innovative Inc Capabilities
Clearly Innovative Inc Capabilities
 
PaaS + Appcelerator = WIN
PaaS + Appcelerator = WINPaaS + Appcelerator = WIN
PaaS + Appcelerator = WIN
 
StackMob & Appcelerator Module Part One
StackMob & Appcelerator Module Part OneStackMob & Appcelerator Module Part One
StackMob & Appcelerator Module Part One
 
Modeveast Appcelerator Presentation
Modeveast Appcelerator PresentationModeveast Appcelerator Presentation
Modeveast Appcelerator Presentation
 

Dernier

Dernier (20)

Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdfLinux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
Linux Foundation Edge _ Overview of FDO Software Components _ Randy at Intel.pdf
 
Long journey of Ruby Standard library at RubyKaigi 2024
Long journey of Ruby Standard library at RubyKaigi 2024Long journey of Ruby Standard library at RubyKaigi 2024
Long journey of Ruby Standard library at RubyKaigi 2024
 
FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...
FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...
FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...
 
PLAI - Acceleration Program for Generative A.I. Startups
PLAI - Acceleration Program for Generative A.I. StartupsPLAI - Acceleration Program for Generative A.I. Startups
PLAI - Acceleration Program for Generative A.I. Startups
 
IESVE for Early Stage Design and Planning
IESVE for Early Stage Design and PlanningIESVE for Early Stage Design and Planning
IESVE for Early Stage Design and Planning
 
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
 
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdfHow Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
 
AI presentation and introduction - Retrieval Augmented Generation RAG 101
AI presentation and introduction - Retrieval Augmented Generation RAG 101AI presentation and introduction - Retrieval Augmented Generation RAG 101
AI presentation and introduction - Retrieval Augmented Generation RAG 101
 
ECS 2024 Teams Premium - Pretty Secure
ECS 2024   Teams Premium - Pretty SecureECS 2024   Teams Premium - Pretty Secure
ECS 2024 Teams Premium - Pretty Secure
 
TopCryptoSupers 12thReport OrionX May2024
TopCryptoSupers 12thReport OrionX May2024TopCryptoSupers 12thReport OrionX May2024
TopCryptoSupers 12thReport OrionX May2024
 
WebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM PerformanceWebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM Performance
 
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdfThe Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
 
The Metaverse: Are We There Yet?
The  Metaverse:    Are   We  There  Yet?The  Metaverse:    Are   We  There  Yet?
The Metaverse: Are We There Yet?
 
Syngulon - Selection technology May 2024.pdf
Syngulon - Selection technology May 2024.pdfSyngulon - Selection technology May 2024.pdf
Syngulon - Selection technology May 2024.pdf
 
AI mind or machine power point presentation
AI mind or machine power point presentationAI mind or machine power point presentation
AI mind or machine power point presentation
 
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
TEST BANK For, Information Technology Project Management 9th Edition Kathy Sc...
 
Google I/O Extended 2024 Warsaw
Google I/O Extended 2024 WarsawGoogle I/O Extended 2024 Warsaw
Google I/O Extended 2024 Warsaw
 
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdfWhere to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
 
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
 
Overview of Hyperledger Foundation
Overview of Hyperledger FoundationOverview of Hyperledger Foundation
Overview of Hyperledger Foundation
 

Ti Connect Presentation on Appcelerator Titanium Alloy Backbone Sync Adapters/ IBM Bluemix

  • 1. Backbone Sync and Appcelerator Alloy Aaron K. Saunders CEO Clearly Innovative Inc Co-Founder Startup Middle School
  • 2. Who Am I  Founder & CEO Clearly Innovative Inc  Clearly Innovative Inc  Full Services Digital Agency, Web & Mobile Solutions  Built Award Winning Solution for Queens Public Library  Multiple solutions & clients over last 4 years using Appcelerator Titanium  Former Appcelerator Platform Evangelist  Author of upcoming book on Appcelerator Alloy and Appcelerator Cloud Services
  • 4. Appcelerator Titanium Alloy  MVC Framework for building Apps with Titanium  Borrows heavily from BackboneJS for Model and Collection Framework  Model & Collection binding integrated into View functionality of Alloy  Model & Collection functionality === Seperation of Concerns in applications
  • 5. Backbone Backbone.js gives structure to web applications by providing models with key-value binding and custom events, collections with a rich API of enumerable functions, views with declarative event handling, and connects it all to your existing API over a RESTful JSON interface.
  • 6. Backbone In Alloy  Models  Keep track of your data  Collections  Manage lists/arrays of your data  Sync Adapter(s)  Local Storage, SQL, Properties, extendable
  • 7. Backbone Sync Adapter  Support for managing application data/content  Based on common REST verbs  GET > READ  PUT > UPDATE  POST > CREATE  DELETE > DELETE  Can be integrated with local or remote data stores
  • 8. Connecting to REST Endpoint  IBM Bluemix REST Data Store sample JSON format
  • 9. Added Promises to Adapter  Better way to manage asychronous calls in code  Removes this from code
  • 10. Why Should You Care  Apps spend A LOT of time getting data  Apps spend A LOT of time integrating with REST APIs  Having common pattern for interacting with data is a good thing  Its easy to do !!  Lots of information on Backbone Models available
  • 11. Added Promises to Adapter  Better way to manage asychronous calls in code  Removes this from code
  • 13. Final Thoughts  Code with Readme and Presentation  https://github.com/aaronksaunders/tiConnectSampl eApp  Information on Promises  https://github.com/kriskowal/q  Slides

Notes de l'éditeur

  1. Don’t close yourself off to opportunites