Expo and Rails API [closed] - ruby-on-rails

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I am thinking of this stack to create my first mobile app.
My question is, does Expo has a documentation for integrating third-party API, in my case a Rails API. And if no, it should not be a problem at the stage when you export the project as "Standalone project" to integrate a Rails API right?

Backend and mobile development are different things. Expo is just a library on the top of react native that just uses javascript.
The backend language is just a detail.. does not matter if the project is made with Rails, Laravel, or other framework, because in general they use a HTTP endpoint to create a integration based on a REST architecture
So, the integration is the same compared with other JS projects.
To integrate you just need to make a HTTP request to your API, using the built-in fetch method or a library like axios
Check this link for more details: https://codeburst.io/integrating-react-native-apps-with-back-end-code-using-fetch-api-8aeb83dfb428

Related

PHP // MYSQL // JAVASCRIPT needed for a native iOS online app? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I'm thinking of developing an app where you can look at each other's profiles (basically a Job-Finding Application) and I would like to know if you needed any knowledge of PHP, MYSQL for the databases and would you need any knowledge of Javascript to develop the application.
I'm currently looking at Google Firebase and also didn't know if that required any PHP knowledge?
All of the Firebase SDKs that you would use in your client app do not require any programming language knowledge other than what's required for your client platform. If you want to write entirely in swift, that's fine.
The only exception is Cloud Functions, which requires that you learn JavaScript to run on the backend.
iOS apps are built in Swift or C#, typically not javascript and never php.
You can build a PWA (progressive web app) that acts like an ios app using javascript Libraries such as react.
However, MySQL is a database that can be used with any number of applications and programming languages, so you should probably learn that.
My guess is that if you are asking this question, you probably should consult the Apple developer documentation before asking on this form.

What's the intended way working with angular and ruby on rails [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
I've just startet my first project with angular in combination with ruby on rails. There isn't that much documentation outside. After some research I'm confused about this combination.
In a normal angular project you would server the content and the style via angular. But in rails this doesn't seems to work out of the box, so there must be an other intention.
Is it really meant to serve the templates and styles using rails views and than add only the client logic using angular?
Angular is not really meant to work with any kind of backend templating. Angular is meant for Single Page Applications (SPA) that work on their own. Usually, you would have one or more APIs to communicate with your Backend (usually via REST, sometimes GraphQL). Templatiting, Styling and Bindings should be done by Angular alone.
So in your case you would only supply a REST Based API using Rails and do all of the frontend work in your Angular application, which in turn communicates only via REST with your Rails Backend.

Build a Windows Desktop Application from a Rails App [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I have build a fairly decent sized Ruby on Rails Application that works just fine. It exposes data via Rest API calls to the users, that is authenticated via token based authentication and Devise.
But now a few clients are wanting to have the application on-premise. They want their developers(windows developers) to work on the data, but in offline mode.
I have no idea if a Ruby on Rails App can be converted to a Windows Desktop App. Or do I have to build the desktop App from scratch? The Desktop App will NOT have a GUI, as the client just needs the data in Json format(Just like API calls during web-app).
The Desktop App will also have a license information too that needs to be stored in an encrypted way.
I am a complete newbee to desktop apps so please pardon me if this question seems really stupid.
Actually there's a project to do what you want to do. http://enclose.io will allow you to package your app for windows clients.

web scraping for mobile apps [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 1 year ago.
Improve this question
I have a question regarding web scraping/web parsing with mobile applications (an iOS 7 app as of now...). For example, I want to have images from various websites retrieved and aggregated to a device based on user inputs/preferences. I want the user to be able to select and store those images on the device with offline viewing capabilities as well. I have heard that using jQuery and JSON for parsing and programming through the server-side rather then the front-end is supposed to be more efficient...correct?
What type/s of algorithms/code that I should use for performing website parsing and aggregating content into a mobile app? I apologize for being quite broad, I am in the early development stages. Thanks.
You can build a hybrid mobile app using Cordova/PhoneGap using just HTML/JavaScript/CSS and do an XMLHttpRequest or use jQuery's $.ajax to get the data from the website and parse it with jQuery selectors.
I would however recommend you do the web scraping in a service, so that if anything changes on the website you're scraping, you'll only have to update the service.

PrestaShop import items to show in iOS application [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 years ago.
Improve this question
I have a new project in which I need to work on PrestaShop and create a universal mobile application. I am not getting anything anywhere about how you use it in an iOS application to get the items in different categories, Search API for items, etc.
PrestaShop implements a full-featured RESTful web service.
You need to enable the web service in Advanced Parameters > Web Service, then to use the guides and how-to located at http://doc.prestashop.com/display/PS15/Using+the+PrestaShop+Web+Service
You also have an example library on github: https://github.com/PrestaShop/PrestaShop-webservice-lib

Resources