six months on air: a look at skimmer

Post on 16-Apr-2017

3.019 Views

Category:

Technology

2 Downloads

Preview:

Click to see full reader

TRANSCRIPT

SIX MONTHS ON AIRA Look at Skimmer and Lessons Learned

Chris Black and Minh Vu

link

OUTLINE

Upfront decisionsImage cachingSQLite migrationsRe-using view componentsMemory fragmentationTips & tricksWrap up / Q.A.

WHY AIR?

Better user experienceImage cachingLocal storageNotifications

WHY PureMVC?

Developer ramp-up timeDocumentationLightweightSeparation of view from dataMore Later...

IMAGE CACHING

Loaded with images Reduce bandwidth usage Image Manager class BulkLoader Binary dataFormat type

SQLite

Store large amount of data Realtime filter search MigrationSync

SQLite Migration

SIMILAR LOOK / FEEL

PureMVC

SIMILAR LOOK / FEEL

Time is moneySwitching data sourcesFlex for AIRActionScript for webTortoisesvn

MEMORY FRAGMENTATION

Memory consumption Clean tear down of views Flex Profiler

Fragmentation in AIR Forcing GC Object Pooling

TIPS & TRICKS

ADMIN PRIVLEDGES

ADOBE AIR UPDATE FRAMEWORK

Part of AIR 1.5 SDK

Requires new installation:Change in application IDVersion number formatting 1.1 vs 01.01Security certificate

RELEASE NOTES

ERROR LOGGING

WINDOWS AUTHENTICATION

The server twitter.com at Twitter API requires a username and password.

private function twitterRequest (url : String):URLRequest{var result:URLRequest = new URLRequest (url);if (this.authorizationHeader){result.authenticate = false; // Most Important Line of Code!!!result.requestHeaders = [this.authorizationHeader];}return result;}

link

CLEARING YOUR ELS

Each Adobe AIR application has its own encrypted local store.

The encrypted local store can only be accessed from the application security sandbox.

Data persists even after un-installing the application.

http://www.adobe.com/devnet/air/ajax/articles/encrypted_local_store.html

HTML CONTENT

No chromless No alpha transparency

link

Resources

>Kick starting the garbage collector>Memory fragmentation>Blackcj.com>Thunderbolt>Fallon Brainfood: Skimmer>Skimmer Application

QUESTIONS?

Click to edit the title text format

Click to edit the outline text format

Second Outline Level

Third Outline Level

Fourth Outline Level

Fifth Outline Level

Sixth Outline Level

Seventh Outline Level

Eighth Outline Level

Ninth Outline Level

top related