I have a web app that is hosted on a web server that was created using NodeJS (http://www.ruffle.us). What I want to do is make this web app into a mobile application gaining access to the contact list to enter phone numbers. I have looked at technologies such as phonegap/cordova for this task but am still unsure from the documentation. Any experience or input on this would be appreciated.
Cordova provides a browser environment, so you can't run Node.js in it. But you can of course run your web frontend inside Cordova and use it to get access to device APIs like the contact list and communicate with your server.
Related
Is it possible use have a web-browser control inside a UWP app that connects to a local web server?
I can have the app connect to a live service, but some users need to be able to get access to web pages while working off-line.
Ideally, I'd like to replicate the feature on a local service, but I can't find anything to support this sort of feature. My guess is, it breaks the sandbox rule for UWP apps, but I thought there may be somebody that has been able to make this happen.
I finished a website with Rails, Heroku & Salesforce and now i must create the same but as mobile application.
In the website project, Heroku was usefull to access Salesforce data with Heroku Connect and Heroku Postgress. I want to know if it's possible to use them for a mobile app.
I guess no, i did not fount lot of documentation about it and it's focus on iOs. I want to create hybrid app on Ionic
Is it possible do to it ?
Or a second idea is to create a REST API in Node as they suggest here to send Json to a connected mobile app dev with Ionic cordova. Another way to create an app connected to the Salesforce Data
I tried Salesforce MobileSDK but I always encouter issues.
What do you think is the best solution ?
if you have some ideas do not hesitate. I'm still "in the sandbox"
Yes, you can expose your Rails app as REST endpoints that your custom / Ionic mobile app can talk to. However, if you just want a mobile UI for the Salesforce parts then you can use Salesforce1 or the MobileSDK for custom mobile apps that just use Salesforce.
I wanted to make mobile app from existing webapp. My webapp is nodejs-exressjs REST API server, with HTML/JS client.
I wanted to leverage API from my REST server, and swap out client with phonegap/cordova based mobile app.
Till now, the only feasible solution seems to be use CORS, and have phonegap/cordova server and nodejs servers running separately.
Is there a way I can use same server to deploy both my REST Server, and Phonegap/Cordova Client ?
No sorry, Cordova apps rely on having the front client in local, and perform calls to server in REST, so your first thought is correct. You can share the REST server for both applications, but the code of the cordova app client is going to be in the devices locally, without need of a server.
I'm trying to run a MongoDB (using NodeJS and Express) on the Azure Server as a server side part of my ionic app.
Once placed on Azure I'd like to access it with my Ionic App using CRUD operations.
What steps do I go through after acquiring a Azure Portal account? Do I take Mobile Services or a simple Web Api?
Is there something specific that I need to add to the NodeJS server?
Generally, the app using Node and MongoDB as the backend for mobile client hosted on Azure App Service, such as WebApps, Mobile Apps (recommended).
Based on my understanding, I think there are some documents that may be helpful for you, please see them below.
For Web Apps, you can refer to the tutorial Get started with Node.js web apps in Azure App Service.
For Mobile Apps, I think your ionic app was based on cordova, there is a tutorial for getting started with cordova Create an Apache Cordova app. And Two related blogs shown a sample of Node + MongoDB on Azure for mobile, please see below.
Exposing MongoDB collections on the node.js backend
Querying MongoDB collections via the Azure Mobile Service node.js backend
To deploy the app to Azure App Service, you can try to publish it via FTP, git, or IDE like VS, please see https://azure.microsoft.com/en-us/documentation/articles/web-sites-deploy/.
Hope it helps. Any concern, please feel free to let me know.
i need to create a web service to connect to an oracle database from a mobile application
i found some tutorial about creating a web service by using NODE.JS
my question : is it possible to create a REST web service with Node.js to connect to oracle database from my mobile apps ??
if you have an other idea how to create a rest web service using php plz tell me
Php is one thing: a language; NodeJS is another thing: a software platform used to build network applications in JavaScript. I assume you want to develop in JavaScript and not Php.
Yes, it is possible to do what you want. Look into the following packages:
oracle db driver: driver to connect from your node.js app to the oracle db
express: a web development framework
In summary, express will serve as your web server, it will define the REST service endpoints, receive the mobile client's requests, fetch the data from the Oracle db with the help of the aforementioned db driver, and return this data to the mobile client.
You can get started fast with express by generating a base skeleton app just by running:
$ express myAppName
Absolutely. For the REST server side of things, you might be interested in express or restify From the REST server / application you can use something like node-oracle to connect to the Oracle database.