"Project" PHP + browser development of local application feasibility

Source: Internet
Author: User
Locally Applied Ajax PHP

The browser is the GUI, with Ajax as the means of communication. Not suitable for large applications, small and medium-sized is OK.
I think the problem to solve is mainly the problem of Ajax communication. You can consider using an Ajax long connection. Whether the event triggering mechanism can be found.


Reply to discussion (solution)

Since it is "local application", then who does AJAX communicate with?

The landlord's meaning should be that the local program first integrates a PHP environment, so Ajax and environment within the server such as Apache communication ....

Implementation must be no problem, as for communications, it is estimated that only analog calls

My original company is to use PHP development invoicing, CRM and financial software

Since it is "local application", then who does AJAX communicate with?

No Ajax is not easy to get through the virtual machine and browser, if necessary to use Apache also can not.



The landlord's meaning should be that the local program first integrates a PHP environment, so Ajax and environment within the server such as Apache communication .... Yes.

Implementation must be no problem, as for communications, it is estimated that only analog calls
The main problem is how to solve the performance overhead of continuous display output.


My original company is to use PHP development invoicing, CRM and financial software

I use the browser as the GUI, how to solve the continuous display output performance cost problem.

Feasibility Analysis:
1. Very weak versatility, only for specific users
2 .....

If you need a Web server, you can't call it a "local app."

If you need a Web server, then you can not call it "local application" there is no way ah, can only open a service process.

Isn't that the same as normal web development?
Is there any technical difficulty?

Isn't that the same as normal web development?
Is there any technical difficulty? One page requires interaction. The role of JavaScript in Ria

Local app? Can let users compromise, with the latest browser, meaning to support websocket kind of
Then on the Nodejs + Socket.io library, with less than 20 lines, a simple server push multiplayer chat system can be born.

20 lines specifically Nodejs the code that creates the server.

Local app? Can let users compromise, with the latest browser, meaning to support websocket kind of
Then on the Nodejs + Socket.io library, with less than 20 lines, a simple server push multiplayer chat system can be born.

I killed Csdn's socket.io, so far I dare not revive it ...


Local app? Can let users compromise, with the latest browser, meaning to support websocket kind of
Then on the Nodejs + Socket.io library, with less than 20 lines, a simple server push multiplayer chat system can be born.

I killed Csdn's socket.io, so far I dare not revive it ...
Should your browser does not support WebSocket bar, if not support that Socket.io will go back to polling the old road.


Local app? Can let users compromise, with the latest browser, meaning to support websocket kind of
Then on the Nodejs + Socket.io library, with less than 20 lines, a simple server push multiplayer chat system can be born.

I killed Csdn's socket.io, so far I dare not revive it ...

PHP local application feasible, you see tide This development tool, you can put a lot of scripts and server suite package, a few PHP. It's not clear how he works at first sight.

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.