Various	
  Tips	
  &	
  Tricks
Marke&ng	
  &	
  
Developing
Apps
By Raef Akehurst & David Sullivan
Some of our Ti Projects
10	
  Tips
For	
  Developing	
  Apps
By David Sullivan
Alloy is Magic
1.	
  alloy.js
• Loaded before any other controller or any
UI is compiled
• Perfect place to declare global variables
or t...
2.	
  Global	
  Styles
index.tss
"Window":{
backgroundColor: 'blue'
}
"Label":{
top: 20,
left: '25dp',
right: '25dp'
}
"#s...
3.	
  Pla<orm-­‐Specific	
  
Resources
// Any device that does not fit any of the below platforms
"Label": {
backgroundColo...
4.	
  Pla<orm-­‐Specific	
  
Resources
• app
• controllers
• android
• index.js
• index.js
• views
• ios
• index.xml
• inde...
5.	
  Alloy	
  BuilEns
• Backbone.js
• Underscore.js
• Moment.js
• Animations
• Dialogs
• Measurements
• Time
• Social (Tw...
6.	
  Widgets
• Awesome way to not only reuse code but
to share code
• Have their own views, controllers, styles
and asset...
7.	
  Data	
  binding
<Alloy>
<Collection src="book" />
<Window class="container">
<TableView dataCollection="book" dataTr...
8.	
  Accessibility
“Here, then, lies the answer to how to tell whether some
developer you’ve just met (or are interviewing) is serious
about ...
10.	
  Sublime	
  Text	
  +	
  CLI
Bonus	
  1.	
  Outside	
  of	
  Ti
• Make use of TestFlight - and use their SDK
to get the full value
• Use Google Analyti...
Bonus	
  2.	
  Ti	
  Community
• Twitter
• #TiAlloy
• @tonylukasavage, @FokkeZB, @nappdev
& Co
• Github
• AlloyLove.com
10	
  Tips	
  
For	
  Marke&ng	
  Apps
By Raef Akehurst
1.	
  Have	
  a	
  good	
  app	
  
2.	
  Reviews.	
  Get	
  Them.
3.	
  App	
  Store	
  	
  
	
  	
  	
  	
  OpEmisaEon
4.	
  Use	
  ExisEng	
  
	
  	
  	
  	
  Database
@
5.	
  Old	
  Fashioned	
  PR
6.	
  Social	
  Media	
  
	
  	
  	
  	
  Campaigns
7.	
  Online	
  AdverEsing
8.	
  Landing	
  Page
9.	
  TradiEonal	
  Media
10.	
  Push	
  Updates
3
Bonus:	
  Smart	
  App	
  
Banners
Gratuitous	
  Plug
http://projectproject.com.au/ticonf/presentation.pdf
ProjectProject's Presentation for TiConf 2013
ProjectProject's Presentation for TiConf 2013
ProjectProject's Presentation for TiConf 2013
ProjectProject's Presentation for TiConf 2013
ProjectProject's Presentation for TiConf 2013
ProjectProject's Presentation for TiConf 2013
ProjectProject's Presentation for TiConf 2013
ProjectProject's Presentation for TiConf 2013
Upcoming SlideShare
Loading in …5
×

ProjectProject's Presentation for TiConf 2013

814 views

Published on

Raef Akehurst and David Sullivan of ProjectProject talk about various tips and tricks
marketing and developing apps.

0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
814
On SlideShare
0
From Embeds
0
Number of Embeds
55
Actions
Shares
0
Downloads
19
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

ProjectProject's Presentation for TiConf 2013

  1. 1. Various  Tips  &  Tricks Marke&ng  &   Developing Apps By Raef Akehurst & David Sullivan
  2. 2. Some of our Ti Projects
  3. 3. 10  Tips For  Developing  Apps By David Sullivan
  4. 4. Alloy is Magic
  5. 5. 1.  alloy.js • Loaded before any other controller or any UI is compiled • Perfect place to declare global variables or to start calling any data Alloy.isTablet = function(){ return !(Math.min(Ti.Platform.displayCaps.platformHeight, Ti.Platform.displayCaps.platformWidth) < 600); }
  6. 6. 2.  Global  Styles index.tss "Window":{ backgroundColor: 'blue' } "Label":{ top: 20, left: '25dp', right: '25dp' } "#subtitle":{ width: Ti.UI.FILL, textAlign: Ti.UI.TEXT_ALIGNMENT_CENTER, font: { fontSize: '16dp', fontWeight: 'bold' }! ! } app.tss "Window":{ backgroundColor: 'white', layout: 'vertical' } "Label":{ color: 'gray', textAlign: Ti.UI.TEXT_ALIGNMENT_LEFT, backgroundColor: 'transparent', font: { fontFamily:'Helvetica', fontSize: '12dp', fontStyle: 'normal', fontWeight: 'normal' }! } index.xml <Alloy> <Window titleid="story_title" modal="true" exitOnClose="true"> <Label id="subtitle" color="orange" textid="story_subtitle" /> <Label top="25" color="white" textid="story_content" /> </Window> </Alloy>
  7. 7. 3.  Pla<orm-­‐Specific   Resources // Any device that does not fit any of the below platforms "Label": { backgroundColor: "#fff", text: 'Generic' }, // iPhone "Label[platform=ios formFactor=handheld]": { backgroundColor: "#f00", text: 'iPhone' }, // iPad and iPad mini "Label[platform=ios formFactor=tablet]": { backgroundColor: "#0f0", text: 'iPad' }, // Android handheld and tablet devices "Label[platform=android]": { backgroundColor: "#00f", text: 'Android' }
  8. 8. 4.  Pla<orm-­‐Specific   Resources • app • controllers • android • index.js • index.js • views • ios • index.xml • index.xml if (OS_IOS) { $.window.leftNavButton = closeButton; } if (OS_ANDROID) { $.window.fullscreen = false; }
  9. 9. 5.  Alloy  BuilEns • Backbone.js • Underscore.js • Moment.js • Animations • Dialogs • Measurements • Time • Social (Twitter only) • String manipulation
  10. 10. 6.  Widgets • Awesome way to not only reuse code but to share code • Have their own views, controllers, styles and assets and are laid out the same as the app directory in the Alloy project.
  11. 11. 7.  Data  binding <Alloy> <Collection src="book" /> <Window class="container"> <TableView dataCollection="book" dataTransform="transformFunction" dataFilter="filterFunction"> <!-- Also can use Require --> <TableViewRow title="{title}" /> </TableView> </Window> </Alloy> • Update views as your data is updated • Available for TableView,Views, ButtonBar, CoverFlowView, ScrollableView, ToolBar,TabbedBar and ListView
  12. 12. 8.  Accessibility
  13. 13. “Here, then, lies the answer to how to tell whether some developer you’ve just met (or are interviewing) is serious about their craft in five seconds flat: borrow their device, and triple-click the home button. If you don’t hear “VoiceOver on”, or get prompted aboutVoiceOver, consider that −3 points on the SteveTest.” - Stephen van Egmond 9.  Accessibility
  14. 14. 10.  Sublime  Text  +  CLI
  15. 15. Bonus  1.  Outside  of  Ti • Make use of TestFlight - and use their SDK to get the full value • Use Google Analytics or similar • Always expect things with Apple to take longer than planned • Android can be a bag of hurt - target the popular devices first
  16. 16. Bonus  2.  Ti  Community • Twitter • #TiAlloy • @tonylukasavage, @FokkeZB, @nappdev & Co • Github • AlloyLove.com
  17. 17. 10  Tips   For  Marke&ng  Apps By Raef Akehurst
  18. 18. 1.  Have  a  good  app  
  19. 19. 2.  Reviews.  Get  Them.
  20. 20. 3.  App  Store            OpEmisaEon
  21. 21. 4.  Use  ExisEng          Database @
  22. 22. 5.  Old  Fashioned  PR
  23. 23. 6.  Social  Media          Campaigns
  24. 24. 7.  Online  AdverEsing
  25. 25. 8.  Landing  Page
  26. 26. 9.  TradiEonal  Media
  27. 27. 10.  Push  Updates 3
  28. 28. Bonus:  Smart  App   Banners
  29. 29. Gratuitous  Plug http://projectproject.com.au/ticonf/presentation.pdf

×