The first time I heard that the middleware, I feel that this is very deep, what is "middle", what is "piece"? What is it? I feel very hard to understand (now I don't know ^ _ ^). Later he listened Some people say that IIS is the middleware, how is this inner? What is the middleware? Recently I found that it is called the middleware between the database and the user. The original C / S model applied to the client directly And database connections, now fashionable technology plus a comparison "middle" thing between the database and the client. Relative to the traditional two C / S mode, now most software is made into B / S mode In the traditional two-layer mode, the client is a customer browsing program. By linking to the database server in a variety of ways, all business logic and data processing are placed on the client program. If you write from the client program single It is very simple to make the software, tightly adding the SQL statement above, and add some stored procedures on the database, not too complicated, if it is really complicated It is the design and stored procedure of the database layer. The traditional two-story mode has the advantage of convenient development, but it has its own shortcomings, which is difficult to distribute, and the business process is complicated. Imagine if there are thousands How complicated changes in a business in the environment in use.