Detailed introduction to XMLHTTP objects

巴扎黑
Release: 2017-06-11 14:15:34
Original
1927 people have browsed it

1. Background In today’s websites, there are more and more access channels, and the technology is becoming more and more advanced, such as WAP, SMS, EMAIL, traditional Web, Socket, etc. If even databases and LDAP are In terms of access, the space that needs to be expanded in the design must be very good to ensure that when adding new channels, no more code modifications or even code changes are required. But is it possible? It is impossible to think about it, but is there any way to better solve the perfection of this multi-channel access framework? 2. Architecture When all the existing accesses have been used, the designers are dazzled. If it is to get a share, then these programs can be written in any way, and they can definitely be implemented, but it will be difficult to maintain. It's more painful, but let's go back to the question, how can we achieve more perfection? During the architectural discussion of the project team, the idea of ​​routing was raised. The core of connecting all these channels is the XMLRouter, the head of the octopus. The role of the Router here is to communicate with all channels, realize data routing, and strive for the scalability and flexibility of the system in the architecture. The benefits will be many. It is called XMLRouter because if it is not

1.

Introduction: In fact, the main purpose of writing this article is to show a framework I applied when doing a project in Switzerland last year for everyone to share, but I am a little worried My expressive ability cannot express the ideas I used in it well

Detailed introduction to XMLHTTP objects2.

How to use XML to realize the structure of multi-channel access website

Introduction: In today’s websites, there are more and more access channels, and the technology is becoming more and more advanced. , WAP, SMS, EMAIL, traditional Web, Socket, etc. If even databases and LDAP are considered to be connected, then the space that needs to be expanded in the design must be very good to ensure that new channels are added. In this case, there is no need to modify the code more or even no changes to the code.

Detailed introduction to XMLHTTP objects【Related Q&A recommendations】:

The above is the detailed content of Detailed introduction to XMLHTTP objects. For more information, please follow other related articles on the PHP Chinese website!

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!