Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Phonegap with node.js

I'm developing an IOS app using phone gap and I'd like to use node.js for part of it. Is it feasable to get phonegap to run an instance of node.js along side the rest of the app?

like image 543
devnill Avatar asked Jan 24 '13 23:01

devnill


1 Answers

Phonegap is a client-side solution only with JavaScript/CSS/HTML running on the browser-app of the phone. The JavaScript Phonegap API talks to the native phone interface and browser interface which gives you options to work natively and as a normal web page would with enhanced permissions. Node.js would only serve you as a data connection for JSON or whatever else you would need to pull/push with a network call.


UPDATE: @Turion had a great comment and made me look a little deeper. Here's what the stack and google came up with:

Native IOS app and node.js

and direct YouTube link to neu.Node (Node runnning on iphone!!!) http://www.youtube.com/watch?v=xzFH80-HYTo

like image 91
King Friday Avatar answered Sep 24 '22 00:09

King Friday