6. Hybrid Architecture
Pros
Write once, run everywhere.
System as black box.
Cons
Performance bound by javascript engine.
something might goes wrong
7. Hybrid Architecture
Pros
Write once, run everywhere.
System as black box.
Cons
Performance bound by javascript engine.
something might goes wrong
System as black box.
12. Hybrid Architecture
Learning Curve
Easy to produce hello world.
Easy to port static website directly into
phonegap-application.
But: application != website
UX is different
Events are different
Code will be different
16. Hybrid Deployment
Pros:
No need to update app to update
content. (Thanks… Apple…)
Cons:
Bandwidth intensive.
Phonegap is not build for this
usage, hence some barriers
introduced.
30. Break Through
platform specific plugins:
using user agent to determine what plugins to
serve. (Conditional Plugins)
security constraint:
communication via file system content.
(FS bridge)
59. RequireJS will …
Load files for you.
Provide tools to combine files for you.
Import file only once, each factory will be
executed only once.
Dependency
Injection