|
|
|
|
|
by spankalee
4322 days ago
|
|
The advantage here is that you can take a common JS codebase, abstract the platform APIs that you use out, and run it on the web and iOS. The platform layer developers will probably need to understand Cocoa and iOS well, but the other application developers might not need to so much. |
|
For example, if your web app is using JS prototypes, and those don't work on the iOS platform (I don't know if Cupertino.js supports this or not, just an example) you're going to have (major?) refactoring to do and all of the application developers are forced to conform.
If you instead decide to run the app's JS in the interpreter, now we're simply talking about a hybrid app (like PhoneGap).