[Subject] Feasibility of PHP + browser development of local applications local application ajax php
Use a browser as the GUI and AJAX as the communication means. It is not suitable for large applications and small and medium applications.
I think the main problem to be solved is the problem of AJAX communication. Consider using ajax persistent connections. Whether the event trigger mechanism can be found.
Reply to discussion (solution)
Since it is a "local application", who can communicate with AJAX?
This local program is first integrated with a php environment, so ajax communicates with servers in the environment, such as apache ....
The implementation is certainly okay. as for communication, it is estimated that it is only a simulated call.
My company used php to develop, store, store, and store CRM and financial software.
Since it is a "local application", who can communicate with AJAX?
Without ajax, it is not easy to connect virtual machines and browsers. apache cannot be used if necessary.
The main idea is that this local program first integrates a php environment, so ajax communicates with servers in the environment, such as apache... yes.
The implementation is certainly okay. as for communication, it is estimated that it is only a simulated call.
The main problem is how to solve the performance overhead of the continuous display output.
My company used php to develop, store, store, and store CRM and financial software.
I use a browser as a GUI to solve the performance overhead of continuous display output.
Feasibility analysis:
1. the versatility is extremely weak and can only be applied to specific users.
2 .......
If a web server is required, it cannot be called a local application"
If you need a web server, you cannot call it a "local application". you can only open a service process.
Isn't it the same as general website development?
Is there any technical difficulty?
Isn't it the same as general website development?
Is there any technical difficulty? Interaction is required in a page. Play the role of javascript in RIA
Local application? Is it possible for users to compromise and use the latest browser, which means to support websocket?
Then I used the nodejs + socket. io Library with less than 20 lines, and a simple server pushed a multi-user chat system was born.
The 20th lines refer to the code used to create a server in nodejs.
Local application? Is it possible for users to compromise and use the latest browser, which means to support websocket?
Then I used the nodejs + socket. io Library with less than 20 lines, and a simple server pushed a multi-user chat system was born.
I even killed the socket. io of csdn. so far I dare not restore it ......
Local application? Is it possible for users to compromise and use the latest browser, which means to support websocket?
Then I used the nodejs + socket. io Library with less than 20 lines, and a simple server pushed a multi-user chat system was born.
I even killed the socket. io of csdn. so far I dare not restore it ......
Your browser does not support websocket. if it does not, socket. io will go back to the old round-robin path.
Local application? Is it possible for users to compromise and use the latest browser, which means to support websocket?
Then I used the nodejs + socket. io Library with less than 20 lines, and a simple server pushed a multi-user chat system was born.
I even killed the socket. io of csdn. so far I dare not restore it ......
Php local application is feasible. you can check the Tide development tool to package a lot of scripts and server suites. there is very little php. It's still unclear how he operates.