Offline version of a web site [closed] - php

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
I've written a web app in PHP and MySQL that permits users to insert orders from a catalog.
The customer now asked me to create a version of the website that runs on the agent's PC even when they are not connected to the Internet. they must insert orders and then, when connected, send the orders to the DB. The agent's webserver has to be synchronized with the product images and previous orders.
Do you know what can I use to obtain this result? I've seen Server2go, but it runs only on Windows. I would like something more portable.

You'll probably need to look at html5 and client-side databases, which you can sync next time a connection is made.
You'll need to do some magic as you won't be running PHP anymore, it will all be on the client machine, so Javascript will probably be your weapon of choice.

server2go looks like it will not synchronize once a connection to the server has been made.
There may be some turn key solutions for this, however, these type of off-line web applications usually require that they be designed with this in mind.
This question offers some more insight on the topic:
Offline web application

Related

What source control is available for PHP / SQL projects [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I am working with a PHP web application that has a MS SQL back end. The development copy is hosted on a Windows server.
There will be a few developers joining me on the project, and I need some sort of source control so that (obviously) we don't over-write each other's work. But since a PHP/SQL project has to be run from the server, we can't each work with local copies and then push the updates to the server...we all have to be working on the server itself.
So I have three questions:
My initial thought was a simple check-in, check-out system, which should be ok for our small team of 3-4 programmers. So, what is (currently) a good program for that?
I also thought about each developer having his own folder in the wwwroot folder, his own full copy of the program, then pushing updates to a master copy, also on the same server. Is there a good program for doing that (file merging and conflict management)?
Which method do you think would be better?
Run servers all your local machines. There’s lots of ways of doing this. If you’re using Laravel, it has a server built in php artsian serve. PHP 7 also has its own server built in.
Use a version control system like Git. You can learn here
Do this as soon as you can!
Sadly however, this question is not a suitable Stack Overflow question, so will be likely be closed soon. Good luck!

Which is best tool to monitor web applications? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
Actually our client has N number of websites and many of the times if something went wrong like site down,loading slow or database error occured, in such cases we don't get immediate updates.
Would you please help to suggest any web monitoring tool which will do work for us and send SMS & Email notification immediately if any of the above case occurs?
Yes, Basically you are looking for monitoring tools which will monitor all your resources like your web server, cup speed and database services and etc.
For monitoring i would recommend New Relic tool for this activity. Currently we are using the same tool to monitor our live websites details and accordingly revert traffics and other services with it.
As request, it also has functionality for sending notifications via email.

Test website performance [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I have a PHP and MySQL website using the XAMPP server.
I was just wondering is there any software, online websites etc that can test (network performance, load balance, stress tests etc) for websites that are running on a localhost (local environment)?
Thanks for any help
You can't test network speed of a site on localhost, since it's going to be instant since it's local. The only thing you can test is how fast PHP can execute and there is a great extension for PHP called php_xdebug. It will tell you how long each function call takes to execute.
You can view the results using tools such as WinCacheGrind and view which function is taking up all your time.
For the network stuff, you need to first deploy your website and then run the tests for load balancing, stress testing, etc.
From my experience, most of the delay from websites is from PHP and not the web server (unless you are on a shared host).

Is it realistic to implement PHP daemon, which will keep a constant connection with websocket-server? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
The essence of the situation:
There website is a call-center (websocket-server located at a site different from the server).
The site must receive relevant information for now with this websoket server, the information received by the site is the same for all users (the number of available telephone lines).
Now it is implemented as follows: each visitor at each transition on the pages connects with websocket-server via javascript and receives the data. As a result, created a large number of compounds and websoket server drops.
Change anything on websoket server is not possible.
How should work:
On the site server running PHP daemon that establishes one connection to vebsoket server and receives every N seconds to date information and writes it to a file.
question:
Is it realistic to implement PHP daemon, which will keep a constant connection with websocket-server? If so, what additional libraries needed for this?
here is very useful lib with simple examples. Tested on real projects.
https://github.com/lukaszkujawa/php-multithreaded-socket-server
Here is example page
http://systemsarchitect.net/multi-threaded-socket-server-in-php-with-fork

Running Drupal 7 website without database [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I have developed a beautiful website in Drupal 7. During hosting it to main server, I realized that the server doesn't have any database facility in it. It has php support only. I want to host the website here.
I found some converter to convert php into html but this doesn't seems a good choice.
Somebody please tell me the better options for this scenario.
If you had another server or access to another platform that does have Database technology, you could just use that as the database host. They don't have to be located on the same host. Look up services such as: FreeMysql Hosting
A google for "mysql host" would turn up quite a few options
With that said, I'd just move host as earlier suggested
It is apparently possible to use some flat files instead of a database layer but it is not recommanded at all because of many aspects, space, performance, security, etc.... Some people are saying that every single people who has used flat files for BD and/or content management has regretted it in the end.
As choroba said, change provider to get a DB.

Categories