Hi Andy, nothing is really formally documented as that it changes. Any
diagram created today might be accurate for some time now though as we have
stabilized quite a bit in the past year.

Your best bet is to go through http://wiki.cordova.io for the high level
story and if you would really like to know whats going on take a look at
src exec functions in cordova.js and the corresponding bits in the native
side.

I'll give you a jump start with linkage to our ios js impls [1] and native
impl [2]

[1]
https://github.com/apache/incubator-cordova-js/blob/master/lib/ios/exec.js
[2]
https://github.com/apache/incubator-cordova-ios/blob/master/CordovaLib/Classes/CDVViewController.m#L534




On Sun, Nov 25, 2012 at 1:35 PM, Andy Grunwald
<andygrunw...@googlemail.com>wrote:

> Hey,
>
> in the last weeks, i made some expierence with PhoneGap / Apache Cordova.
> At first, it looks like a really nice framework with much potential.
> I want to say thanks for your hard work!
>
> As a student (Business Informatics) i want to take a deeper look.
> At the moment i write a small (ca. 12 pages) term paper for my university.
> For this task i`ve looking for an _official_ picture / description about
> the internal Phonegap architecture and how it is build in the different
> platforms.
>
> E.g. on iOS:
> Does ist "only" open a modified UIWebView and provide some interfaces for
> the phone APIs (through the modification)? (i know, this sounds a little
> bit "to simple").
> Or on which way it works?
> And what about the other mobile os?
>
> If you start a google search about "Phonegap architecture" [1] you find
> mane _different_ pictures.
> But i found no official _detailled_ description.
> During my research i found a blog post from Andrew Trice about "PhoneGap
> Explained Visually". [2]
> This post is a good _overview_. But this is far from a detailed
> description.
>
> Okay, i know. If i want information which are the current state, the source
> is the way to go.
> But perhaps anyone has blogged about his "way through the source"?
>
> _How_ is phonegap able to provide native mobile device features (like
> camera or device information like uuid) through the nate UIWebView (iOS)
> or android.webkit.WebView (Android)?
>
> Thanks for reading and have a nice day,
> Andy
>
> [1]
>
> https://www.google.de/search?q=phonegap+architecture&hl=de&tbo=d&source=lnms&tbm=isch&sa=X&ei=ixeyUNabApHOsga9poD4DA&ved=0CAcQ_AUoAA&biw=1440&bih=758
> [2] http://phonegap.com/2012/05/02/phonegap-explained-visually/
>

Reply via email to