NYC Titanium User's Group - tiConf US Revisited

20
NYC Titanium User’s Group NYC Titanium User’s Group July 23 rd , 2013 1 TOPICS Organizer announcements Feature: tiConf Revisited Lightning talks, announcements, call for assistance,etc. Wednesday, July 24, 13

description

John Oliva provides a summary of topics and announcements from tiConf US held in Baltimore in June 2013. Some of the topics include: Titanium product direction, Ti.Next, URL Schemes, Alloy, better Javascript, Plantino for Titanium mobile gaming, Internet of Things.

Transcript of NYC Titanium User's Group - tiConf US Revisited

Page 1: NYC Titanium User's Group - tiConf US Revisited

NYC Titanium User’s Group

NYC Titanium User’s GroupJuly 23rd, 2013

1

TOPICS

Organizer announcements

Feature: tiConf RevisitedLightning talks, announcements, call for assistance,etc.

Wednesday, July 24, 13

Page 2: NYC Titanium User's Group - tiConf US Revisited

NYC Titanium User’s Group

Titanium News and Meetup Tidbits

Titanium NewstiConf US was held in Baltimore, MD 6/28-6/29Appcelerator has raised another $12.1million in capital to accelerate its push into the enterprise. The total funding thus far is $63 million.Lanica is offering the Plantino game engine beta to widespread testing and has released licensing terms and pricing.

Meetup TidbitsAlmost certain that our next meetup will be on August 27th, with Ricardo Alcocer providing a talk on Appcelerator Node.ACS.AlleyNYC has been raising the rate significantly for the meeting space. It would be good if we could secure a free or lower cost space in NYC. Can you help??

2

Since June meetup

Wednesday, July 24, 13

Page 3: NYC Titanium User's Group - tiConf US Revisited

NYC Titanium User’s Group

tiConf US Revisited

3

Wednesday, July 24, 13

Page 4: NYC Titanium User's Group - tiConf US Revisited

NYC Titanium User’s Group

tiConf US Revisited

tiConf US held in Baltimore, MD 6/28-6/297 videos from conference currently on Vimeo

https://vimeo.com/channels/548740

Topics to cover today:Keynote by Jeff HaynieURL SchemesAlloyBetter JavascriptTitanium GamingInternet of ThingsQuick Bites

4

Wednesday, July 24, 13

Page 5: NYC Titanium User's Group - tiConf US Revisited

NYC Titanium User’s Group

Haynie Keynote

Jeff Haynie (Appcelerator CEO)Video: https://vimeo.com/70765123

Slides: http://bit.ly/ticonf_haynie

iOS7 UpdateSupport for enhanced iOS background processingAuto Layouts - originally introduced in iOS6Fullscreen appsJavascriptCore included - eventually won’t need to bundleAppcelerator preparation‣ First priority - make sure current APIs and Apps work‣ iOS5 support will be deprecated‣ Update available ASAP after iOS7 public release

5

Wednesday, July 24, 13

Page 6: NYC Titanium User's Group - tiConf US Revisited

NYC Titanium User’s Group

Haynie Keynote

3.1.2 SDK update in Augustbug fixes + minor features

3.2 SDK update in FalliOS7 supportSignificant Android animation improvementsTitanium Studio improvementsExpanded CLI capabilities

ACS + Node.ACSSignificant adoption - especially by large companies‣ approaching 1 billion API calls‣ autoscaling to about 3500 virtual serversWhat’s Next?‣ synchronization‣ more enterprise data connectors

6

continued

Wednesday, July 24, 13

Page 7: NYC Titanium User's Group - tiConf US Revisited

NYC Titanium User’s Group

Haynie Keynote

Appcelerator Focus ItemsDeveloper productivity‣ speed of development‣ application execution performance‣ looking for ways to simplify getting development environment

setup (e.g. something like Cloud9)

Ti.Next (!)Next generation architectureComplete rewrite of core processing engineTitanium API compatible - mostlyOne JS engine (JavascriptCore) and core runtime for all platformsStarting with iOS, Android and Win8First alpha soon (couple months?)

7

continued

Wednesday, July 24, 13

Page 8: NYC Titanium User's Group - tiConf US Revisited

NYC Titanium User’s Group

Haynie Keynote

Ti.Next (continued)

Goals:‣ massive performance gains

• orders of magnitude faster operation• smaller application footprint• reduced garbage collection overhead• simplified threading model and context switching

‣ extensibility• leverage same JS API to create cross platform modules• new module format

Blog post on Ti.Next: http://bit.ly/ticonf_tinext

8

continued

Wednesday, July 24, 13

Page 9: NYC Titanium User's Group - tiConf US Revisited

NYC Titanium User’s Group

URL Schemes

Jason Kneen (BouncingFish)Video: https://vimeo.com/69841473

Slides: https://t.co/UYBi9xdO6Y

What is a URL Scheme?The scheme refers to the protocol used to interpret and process the resource located by the URL. (before the ://)‣ examples: http, https, ftp, ssh, svn, gitIANA maintains a registry but they aren’t required to be registered.

Some Uses:launching or resuming applicationdetecting whether an application is installedsending commands/data between applications (in a similar manner to Android intents)

9

Wednesday, July 24, 13

Page 10: NYC Titanium User's Group - tiConf US Revisited

NYC Titanium User’s Group

URL Schemes

Some Uses: (continued)

receiving data or callbacks from other appscross-promoting applicationssingle sign onSMS based push notificationsaccessing specific features of other applications

How to Use them in TitaniumiOS: registered through info.plistAndroid: registered in AndroidManifest.xmlSteps:‣ events and handling code to read URL‣ code to parse URL‣ actions, responses and callbacks to parsed URL‣ get the word out so others can use your custom schemes

10

continued

Wednesday, July 24, 13

Page 11: NYC Titanium User's Group - tiConf US Revisited

NYC Titanium User’s Group

URL Schemes

How to Use them in Titanium (continued)

InterApp Schemes for iOS: http://handleopenurl.comNeeds to be handled properly on non-mobile devices‣ use a redirect script to detect and act accordingly

11

continued

Wednesday, July 24, 13

Page 12: NYC Titanium User's Group - tiConf US Revisited

NYC Titanium User’s Group

Alloy

Tony Lukesavage (Appcelerator, Alloy Lead Engr)Video: https://vimeo.com/69811273

Slides: http://bit.ly/ticonf_alloy

Alloy 1.2 will ship with Titanium 3.1.2 SDKCurrently:‣ widgets‣ sync adapters‣ built-ins

• backbone.js (MVC)• underscore.js (utility, data structures)• moment.js (date handling, formatting)

New in Alloy 1.2‣ dynamic styling‣ ListView markup‣ platform optimizations

12

Wednesday, July 24, 13

Page 13: NYC Titanium User's Group - tiConf US Revisited

NYC Titanium User’s Group

Alloy

New in Alloy 1.2 (continued)‣ alloy.jmk (pre/post operation hooks) CoffeeScript support‣ overrides - override existing internal implementations‣ controller eventing - loosely coupled Backbone eventing for

inter-controller communications‣ view-model binding‣ source maps - enables tight integration for debugging,

exception handling and the Ti code processorFuture‣ dynamic themes‣ lighter more powerful modeling‣ native formats‣ package management ??

13

continued

Wednesday, July 24, 13

Page 14: NYC Titanium User's Group - tiConf US Revisited

NYC Titanium User’s Group

Better Javascript

Matt Apperson (Apperson Labs)Slides: http://t.co/KGFQAaQH4P

Some Tips:Avoid setTimeout(), it creates another Javascript contextUse ‘const’ to specify constantsUse hasOwnProperty() to check whether a property exists on an objectUse defineProperty() to add setter/gettersReturn ‘this’ or another object to enable function chainingMinimize code in try/catch blocks to maximize performanceDebug your Javascript code with Chrome DevTools using ‘ti-inspector’ by Oliver Morandi‣ https://npmjs.org/package/ti-inspector

14

Wednesday, July 24, 13

Page 15: NYC Titanium User's Group - tiConf US Revisited

NYC Titanium User’s Group

Titanium Gaming

Carlos Icaza (Lanica Inc. CEO)Motivation

66% of mobile revenue is games, 33% of the downloads

PlatinoTM Game Engine SDK‣ 2D and 2.5D games using OpenGL ES‣ Platino IAP: In-app purchasing module‣ AnimoTM: developer and designer tools

• Animo Code: multi-view code editting• Animo Fonts: lightweight embedded fonts• Animo Levels: level editor• Animo Particles: particle effects editor• Animo Sprites: physics and animation with spritesheets• Animo SWF Importer: Adobe Flash SWF to spritesheet converter• Animo Tiles: isometric tile map layout and editor

15

Wednesday, July 24, 13

Page 16: NYC Titanium User's Group - tiConf US Revisited

NYC Titanium User’s Group

Titanium Gaming

PlatinoTM Game Engine SDK (continued)‣ CosmoTM: cloud services to support scaling, storing

achievements, leaderboards, analytics, real-time multiplayer, in-game notifications

Lanica worked with Disney to get Disney’s Gardens of Time ported to Android using Plantino.

16

continued

Wednesday, July 24, 13

Page 17: NYC Titanium User's Group - tiConf US Revisited

NYC Titanium User’s Group

Internet of Things

Hans Scharler (ioBridge® CEO)Slides: http://bit.ly/ticonf_iot

What is IoT?IoT refers to a world where devices are connected to both people and one another in a sort of machine ‘social network’.

How do mobile apps (e.g. Titanium) factor in?Mobile apps are the UI/UX for connected products - many of which don’t have a direct UIMobile apps must be great for connected products - they are the ‘face’ of the productThere is a need to support both iOS and Android at product launch to address the broad market

17

Wednesday, July 24, 13

Page 18: NYC Titanium User's Group - tiConf US Revisited

NYC Titanium User’s Group

Internet of Things

How ioBridge supports IoT:Cloud services‣ Realtime.io - scalable SaaS web service for connecting devices

togetherFirmware and hardware (iota™) modules to integrate into productsMobile and web application development servicesSensor and actuator distributorIoT web gateway for connecting sensors and devices‣ supports Ethernet, Wifi, ZigbeeioApp mobile application for iOS and AndroidioBridge temperature widget for Android

Titanium integrationApperson Labs has released ioBridge Titanium modules to access Realtime.io‣ https://github.com/appersonlabs/rtio_titanium_modules

18

continued

Wednesday, July 24, 13

Page 19: NYC Titanium User's Group - tiConf US Revisited

NYC Titanium User’s Group

Quick BitesUsing Node.js to connect to mobile devices

Matt Schumulen (StrongLoop)Video: https://vimeo.com/69841474StrongLoop provides a supported Node.js distribution

Business of mobile developmentStephen Feather (Feather Direct, LLC)Slides: http://bit.ly/ticonf_featherMake sure to utilize services of other professionals for your business: business lawyer, accountants, etc.Use escrow.com to send/receive payments securely.

Native module developmentBen Bahrenburg (Titan, prolific module developer)Slides: http://bit.ly/ticonf_modulesStudy TiUtils before starting any module development - it has a lot of helper functions.

19

Wednesday, July 24, 13

Page 20: NYC Titanium User's Group - tiConf US Revisited

NYC Titanium User’s Group 20

Contact Info

NYC Titanium User’s Group

John OlivaOrganizer for NYC Titanium User’s Group

e-mail: [email protected]: (908) 812-3667twitter : @jolivalinkedin: http://bit.ly/joliva63website: http://olivalabs.com

Wednesday, July 24, 13