Titanium & Alloy – Why it will blow your mind



Titanium & Alloy – Why it will blow your mind

0 0


why-titanium-alloy-will-blow-your-mind-devlink-2013

why-titanium-alloy-will-blow-your-mind-devlink-2013 talk

On Github Sophrinix / why-titanium-alloy-will-blow-your-mind-devlink-2013

Titanium & Alloy

Why it will blow your mind

By Andrew McElroy / @CodexLabs @sophrinix

WHO am i

Background

Who's ever done mobile development. Titanium, Alloy, Backbone?

Mobile is Massive

Mobile is Diverse

There is an expectation for good UX

source:http://www.uxbooth.com/blog/12207/

Enter Titanium

Open Source

Apache 2 License

Github.com/appcelerator/titanium_mobile

Problems with traditional Titanium

Quick side note b2i lets you build apps straight to an iphone without going through iTunes. :-) https://github.com/Sophrinix/xcode-build-to-device

Ti.Platforms

Titanium 3.0 - iOS, Android, Blackberry 10, Mobile Web, Tizen (OS_IOS) || (OS_ANDROID) || (OS_BLACKBERRY) || (OS_MOBILEWEB) || (OS_TIZEN) Titanium 4.0 (Codenamed Ti.Next) 3.x targets - Plus Windows 8 Mobile

Ti.next will be super ambitious, they plan to bridge to LLVM Bytecode directly. Which according to Jeff Haynie (appcelerator CEO) will alloy titanium to run faster in some cases than developing in Obj-C in the first place. We'll see.

ALLOY

https://github.com/appcelerator/alloy

Goodies

A collection of my favorite things Alloy* brings to the table

Either Alloy, Titanium 3.0, or the community in all fairness. I'm ignoring the Enterprise stack in this talk.

The Licensing

Alloy and Titanium are both Apache Public License, version 2 licensed.

There are no secrets. You can figure out how anything along the stack works.

this may seem like a cop out, but this is critical. You will never get stuck in titanium. You can always bring along module native functionality.

MVC

Controllers

Controllers are also where you can do any "traditional" titanium development if there isn't an XML or otherwise "alloy way" to do things. This prevents you from ever being boxed into Alloy.

Views

TSS Styles

Historically, Titanium 1.x and later supported JSS, but no one knew about it and/or used it. That's a real shame.

Themes

Widgets

Migrations

Sync Adapters

Built-ins

node build, package.json, backbone, Underscore, animations, momentjs

List Views

Native Modules

Ti Shadow

Unit Testing

Actual real Jasmine unit testing. Here's how. more to come. Drillbit also still seems to be used.

Cucumber Testing

WIP - work in progress

Community Resources

END

Special Thanks to Also, We have a September Titanium TCD and TCE class in nashville and online.

September 16 - 20, 2013 TCD & TCE https://www.eventbrite.com/event/8087023505

Questions?