How to use a mysql database in firefox os? - php

I have an instant messaging application on the web with its database and almost finished M2S. I want to make an application for firefox you without having to go through my website and I can do it if I have to call the mysql database?

Since Firefox OS is comprised of HTML5 technologies, it is currently not possible to connect directly to a MySQL server using the tools available at this time.
See here:
Related Post

Related

How to make PHP web application work online and offline?

I am new into web development. I have PHP web application which I created using some Rapid Development Tool. For now I can run it on the server with online database and as well i can run it on my local machine with local database (offline, using XAMPP).
The question is: How to make web PHP application that will be:
stored locally
be able to easily update somehow on different devices
will work with online database when internet is here. Once internet is not here, database will be switched to local one.
databases will be synchronized as well
Is there any software that can handle all of this? Or should I do it manually? Since I am new here, I have completely no ideas on how to realize that.

PHP Web App - local and online synced versions

I developed a PHP driven Web App with a MySQL backend. New requirement is to have it available offline too at a client's office, once there is an lnternet connection, the two should sync so that both local and online versions are the same. Any advice on how best to implement this?
I found MySQL database Master-Master Replication helpful.
https://www.linode.com/docs/databases/mysql/configure-master-master-mysql-database-replication
no need to write code

How to install web app within my network, without using XAMPP?

I am creating a webpage using PHP, it is going to be used only in LAN. For some internal reasons I can not use XAMPP (I was going to use phpmyadmin as a tool for my database), so which would be the best way to do this by using PHP as a scripting language and MySQL for my database?
Is Ms Access Database one of the options?

data automatically synchronizing the remote database php mysql

I am developing an inventory management web application using PHP and MySQL. This application will run both locally and remotely. If not connected to the internet, data will be stored in the local database however, when the internet is available, the application will automatically synchronize to the remote database. Does PHP/MySQL support these sort of local and remote capabilities?
This sort of application is doable using PHP and MySQL. A good solution would be to use cURL connections using API Keys or tokens with jSON service requests and receipts. This kind of application would be fairly extensive to create. The local machine would obviously need to be running a webservice and have PHP and MySQL installed.
Here is the cURL manual:
http://php.net/manual/en/book.curl.php
Here is some info on jSON:
http://php.net/manual/en/book.json.php

Windows Embedded Handhel 6.5 app development synchronize windows PC

What is the best alternative to synchronize an app on Windows Mobile 6.5 with SQL Server Compaq with an php aplication on a PC server.
The phone does not always have internet access beacouse coverage issues, also can be connected to a PC via USB.
The data are in a table in SQL Server Compaq on the phone, the data are text and a number, associated through an identifier. This is updated from time to time where there is no internet connection. Then this data update a database in SQL Server 2008 on a server that has internet access.
There is also the possibility to update the phone's data table from the server to add more data to be updated in the field.
I hope you understand me because English is not my native language.
I was thinking of using exchange to send emails with updated data or use a service like dropbox to keep an updated file and that file is processed.
Which approach is better?
I hope you can guide me.
thank you very much.
If you are running a SQLClient on the CE device that connects to a SQL server, the best solution is to use the SQL synchronization options. This is also called RDA, see for example: http://etutorials.org/Programming/building+solutions+with+the+microsoft+net+compact+framework/Part+II+Essential+Architectural+Concepts/Chapter+7.+Data+Synchronization/RDA/
If the databases on the device and on the server are not connected, the automatic ID generation on the device and the server create different unique IDs. These will result in a conflict, when you update the data from multiple sources. If you do not need to handle conflicts with multiple sources updating the same database, you may simple send the updates between the server and the client and vice versa on regular intervals using http GET/POST or simple socket server/client.
Usually sometimes disconnected devices use http or another network protocol to pull and push updates. Files are rarely used for push/pull updates.
As you used the php TAG for this question too, using http with a php server with a database in the background, you can use php to extract data sent via GET/POST and also provide data back to the device using xml (or another format).

Categories