Ok to implement backend/shared functionality for iPhone in JavaScript?

Posted by John Wright on Stack Overflow See other posts from Stack Overflow or by John Wright
Published on 2010-05-11T16:49:39Z Indexed on 2010/05/11 16:54 UTC
Read the original article Hit count: 249

Filed under:
|
|

Is it ok to use the Webkit Javascript engine to implement cross-platform, non-GUI backend functionality on the iPhone, iPad? In my case, I was interested in re-using Javascript code that I have that works on top of SQLite. I thought I would need to re-implement the logic in Obj-C but perhaps I could just share it and expose some hooks into Obj-C using JSCocoa or straight through JavaScript core. Is this legal per Apple guidelines?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about cocoa