Community Code: Macadamian

1,397 views

Published on

Daniel Menard, Macadamian Technologies
Software developer, web enthusiast, general optimist. I create killer software products at Macadamian Technologies.

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,397
On SlideShare
0
From Embeds
0
Number of Embeds
59
Actions
Shares
0
Downloads
12
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Community Code: Macadamian

  1. 1. Community Code: MacadamianConfidential 11/2/11 1
  2. 2. And you are…?Dan MenardSoftware DeveloperMacadamian Technologies@dan_menardwww.dan-menard.com@macadamianlabswww.macadamian.com 2
  3. 3. How to build really, really big,complex applications withSencha Touch. 3
  4. 4. We’ll cover:  Extending Sencha Touch with PhoneGap  Demo #1: Hello World Patient  Practical Limits of HTML5  Demo #2: Caching with Core Data  Performance 4
  5. 5. Extending Sencha Touch WithPhoneGap 5
  6. 6. Why? 6
  7. 7. How? 7
  8. 8. Practical Limits Of HTML5 8
  9. 9. Caching in HTML5 9
  10. 10. Caching with Core Data 10
  11. 11. Encryption 11
  12. 12. NSString *storePath = // Path to your NSPersistedStore. NSURL *storeUrl = [NSURL fileURLWithPath:storePath ]; NSError *error = nil; NSDictionary *fileAttributes = [NSDictionary dictionaryWithObject:NSFileProtectionComplete forKey:NSFileProtectionKey]; [[NSFileManager defaultManager] setAttributes:fileAttributes ofItemAtPath:storePath error:error]; Source: https://nickharris.wordpress.com/2010/07/14/core-data-and- enterprise-iphone-applications-protecting-your-data/ 12
  13. 13. Performance 13
  14. 14. Ensure.js  http://ensure.codeplex.com  Loads JS/HTML/CSS dynamically.  Really, really useful. 14
  15. 15. Write better CSS  Super-fancy CSS3 operations are also super-expensive.  This: div.header span  Is slower than this: div span.header 15
  16. 16. Other Tips  Don’t use big images!  Follow JavaScript/Sencha best practices. 16
  17. 17. That’s all folks!My name is Dan Menard.Follow me on Twitter: @dan-menardCheck out my blog: www.dan-menard.comI work for Macadamian Technologies.They also tweet: @macadamianlabsLearn more about us: www.macadamian.com 17

×