Can I use Laravel and Ionic with the same database? - android

I have a few questions about Laravel and Ionic.
Can I use the same database with a Laravel project and an Ionic project? If yes, what type of database can I use MySQL, PostgreSQL, MongoDB, Firebase)?
Can I make a website with Ionic (and convert the website to apps, too)?

Database is server side while ionic is a front-end framework. So they are not related.
The basic is as follow: you retrieve data from database by your back-end services (laravel), you change the data according to your design and you send them to the front-end (ionic) with json format. The database is not that important and you can pick which one you are comfortable with.
And as for your second question, ionic is a framework to build apps. But since it uses Angular it can be used for website, but it is not practical.

Related

How to interact with python script on local server in Android

How to send user text for processing to python script running on a local server and get JSON object back and display that in our app.
This question is not about android studio. If I were you, I would look to python web frameworks which can help you to create a REST API. I usually use Django for big and complex projects, Flask for simple http, Tornado for websockets. In your situation I'd rather use Flask with Mongo no-sql database.
You can also use something like Ngrok to share your local api through the internet.
Here is the tutorial about flask, there are many of them in google, you can choose any.
https://medium.com/python-pandemonium/build-simple-restful-api-with-python-and-flask-part-1-fae9ff66a706
If you have big project with complex backend, my advice will be to use Django and Django REST Framework, there is a lot of information about them in official docs, and also there are good courses on Udemy by Justin Mitchell.
Just follow some flask tutorials and it will be simple to implement what you want

Web Application with Back4App database

I develop an android application with Back4App database.
Now I want to develop an Admin Panel for the Application.
Back4App is the central Database of my project.
It is Object Oriented.
So Which one is the best option to develop an Admin Panel of my android app.
Admin Panel is in Web.
Asp.Net with Back4app
Codeigniter with Back4app
Core PHP with Back4app.
Any other, Your Best Suggestion?
Back4App is powered by Parse Open Source and the SDKs available to use are:
iOS
Android
Javascript
.NET + Xamarin
MacOS
Unity
PHP
Arduino
and use REST API ...
Check more information here.
Just to show you more options... The Back4App offers examples to use Node.JS environment or JS frameworks, they're:
Ionic Template
React Template
Angular Template
And the good point is that you can use the Back4App subdomain to host your web application, but the options that you sent are great too.
As you mentioned Asp.Net in 1 the closest thing to it would be Xamarin, I guess..
You could bridge B4A somehow with PHP like in 2 & 3 but it is a lot easier to work with the technologies Back4App offer out of the box, right?
So 4 my best suggestion is to go with node/express/react. It is what I`m doing.

Using .Net backend for Android and IOS apps

I'm able to create MVC5 .Net applications for the web. I just need clarification on how I can proceed with developing Android and IOS apps. I was considering Xamarin, but I've decided to go with Android(Java) and Swift. My question is can I use .Net MVC5 with the mobile platforms for the backend?
AND followup question and this might be dumb, but I"m just not sure, If the answer is no to my first question, then if I were to learn to use SQLite to push data to database, can I push it to same database that was initially created with .Net MVC5 if the database was hosted on a server or would that database be restricted to being manipulated with the .Net Web API only? Basically can I use .Net and SQLite on the same database, but different platforms?

Using Database(SQLIte or others) in Cordova Application for android/IOS/Windows in VS2015

I am trying to make an android application using Cordova template in Visual Studio 2015. Since Cordova is for HTML,js and other plugins, how can we store data from the cordova android app in any database?
I found the compatibility of SQLite with cordova apps but not working.
Can any one suggest steps to integrate SQLite or other database in cordova VS2015?
Typically, you wouldn’t connect directly to a SQL Server Database directly from a mobile device. Instead, you’d access REST APIs via a web service. If you have data stored locally on the device, you can use either Web SQL or Indexed DB. Most developers recommend against Web SQL since the standard has been deprecated. Indexed DB, therefore, is the recommended path. I personally recommend using this Cordova plugin: https://www.npmjs.com/package/cordova-plugin-indexeddb

Which type of database should I use?

I have a question about which database I should use for my android and iOS apps. I have not messed with servers before so please excuse my ignorance.
Anyways, I am developing apps for a website that doesn't have a mobile version. The website has a MySQL database and uses phpMyAdmin as a control panel.
I need to figure out how to hook into the server. I know that java provides full support for SQLite databases and I know that they server hosters can install SQLite on the server for me.
What do you all think? MySQL or SQLite?
You should be using SQLite for any local databases to the Android app (CoreData for iOS).
Any interaction with your websites MySQL database should be handled through API calls.
There is a good PHP framework called Slim PHP that will make building your API extremely simple. It's documented very well. Slim PHP doesn't offer any form of ORM so I'd also recommend integrating with Idiorm/Paris, again their documentation is rather good so you shouldn't have a problem piecing this all together.
Of course you can opt for a larger PHP framework that has all of this in one place, such as Symfony.

Categories

Resources