modeveast 2012 appcelerator alloy & cloud services presentation

17
Cross-Platform Mobile Development w/Appcelerator Alloy Aaron K. Saunders CEO Clearly Innovative Inc MoDevEast 2012

Upload: aaron-saunders

Post on 12-Nov-2014

2.214 views

Category:

Technology


0 download

DESCRIPTION

modeveast 2012 Appcelerator Alloy Presentation

TRANSCRIPT

Page 1: modeveast 2012 Appcelerator Alloy & Cloud Services Presentation

Cross-Platform Mobile Development w/Appcelerator Alloy

Aaron K. SaundersCEO Clearly Innovative Inc

MoDevEast 2012

Page 2: modeveast 2012 Appcelerator Alloy & Cloud Services Presentation

Who Am I

• CEO Clearly Innovative Inc.• Full stack development for mobile and web

integrations w/ javascript & nodejs• Appcelerator Platform Evangelist; Titan• IOS and Android Module Development• 2 years of Appcelerator blogging • Working on book with Appcelerator Cloud

Services and Alloy for Wiley & Sons

Page 3: modeveast 2012 Appcelerator Alloy & Cloud Services Presentation

Why Cross-Platform Mobile Development

• Ability to provide mobile solutions to multiple platforms efficiently– Reduce Time To Market– Reduce Total Project Cost– Reduce Total Project Maintenance

Page 4: modeveast 2012 Appcelerator Alloy & Cloud Services Presentation

About Appcelerator

• Open source cross-platform framework• Generates Native UI Components• IOS, Android and Mobile Web Support• Blackberry 10 Support in Beta Preview• Windows Mobile Support first quarter 2013

There’s More…

Page 5: modeveast 2012 Appcelerator Alloy & Cloud Services Presentation

About Appcelerator: Tools

• Eclipse Based IDE• Code Assist• Integrated Debugger• On device debugging• Integrated device deployment• Integrated cloud services access

Page 6: modeveast 2012 Appcelerator Alloy & Cloud Services Presentation

About Appcelerator: Cloud Services

• Library of over 20 pre-built common services that are both proven and robust, to reduce integration time and risk

• Client-side APIs for any development platform (e.g. Titanium, iOS SDK, Android SDK)

• Extensibility enabling you to build your own custom cloud services in Node.js on the Appcelerator cloud for all your mobile apps.

Page 7: modeveast 2012 Appcelerator Alloy & Cloud Services Presentation

About Appcelerator: Cloud Services

Sample of Predefined ServicesUsers Photos

Social Integration Push Notifications

Custom Objects Ratings

Reviews Comments

Chats File Storage

Places Likes

Events Checkins

Key-Value Storage Access Control Lists

Page 8: modeveast 2012 Appcelerator Alloy & Cloud Services Presentation

About Alloy

Alloy is a new application framework by Appcelerator for Titanium. It provides a nice

MVC framework for developers that are building Titanium apps.

Page 9: modeveast 2012 Appcelerator Alloy & Cloud Services Presentation

Alloy Benefits

• Alloy comes with a clean well defined XML UI markup, style sheets, and reusable widget components.

• Built-in Backbone.js and Underscore.js support

Page 10: modeveast 2012 Appcelerator Alloy & Cloud Services Presentation

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.

Page 11: modeveast 2012 Appcelerator Alloy & Cloud Services Presentation

Simple Alloy Application

Page 12: modeveast 2012 Appcelerator Alloy & Cloud Services Presentation

Here is the XML for the View

Page 13: modeveast 2012 Appcelerator Alloy & Cloud Services Presentation

Here is the code for the Controller

Page 14: modeveast 2012 Appcelerator Alloy & Cloud Services Presentation

Backbone In Alloy

• Models– Keep track of your data

• Collections– Manage lists/arrays of your data

• Sync Adapter(s)– Local Storage, SQL, Properties, extendable

Page 15: modeveast 2012 Appcelerator Alloy & Cloud Services Presentation

ACS Sync Adapter

• Connecting Alloy to Appcelerator Cloud Services

• Called every time it attempts to read or save a model to the server

• Can be written based on REST verbs

Page 16: modeveast 2012 Appcelerator Alloy & Cloud Services Presentation

Downloads for Getting Started with Alloy

• Quick Start: bit.ly/alloyqs• TiStudio/TiSDK 3.0– http://preview.appcelerator.com/studio/

• More Information– Wiki docs: bit.ly/alloy_docs– Google Groups: bit.ly/alloy_group– Github: github.com/appcelerator/alloy

Page 17: modeveast 2012 Appcelerator Alloy & Cloud Services Presentation

Aaron K SaundersTwitter: @aaronksaundersblog: http://blog.clearlyinnovative.comFacebook: https://www.facebook.com/ClearlyInnovativeIncGithub : https://github.com/aaronksaunders/SlideShare: http://www.slideshare.net/aaronksaunders/

1706 R Street, NWWashington, DC 20009

www.clearlyinnovative.com