Design and implementation of micro-channel platform borrow books website intermediate layer based on Node.js

1 Introduction

Since entering the information age, the Internet has brought to people's life has undergone enormous changes, the Internet is no longer simply just by providing convenient and efficient information services to enrich our lives. Emergence of the Internet to break the monopoly of the pattern of many traditional industries, Internet access for its wide range, even if the information, and so that everyone can participate in nature, quickly integrated into people's lives, and has become an indispensable part of society as a whole. About five years ago the Internet is part of the PC era, when people's lives, including shopping network Post Bar, see the information, write blog, download multimedia files as well as online shopping and so on. The Internet is a moment in the development of the industry, the speed of its development is unmatched by most traditional areas, partly because of the Internet, although the idea has been for nearly 30 years, but compared to the traditional industries, this year with almost or just babies born about the same. So the Internet there is a very broad space for development, on the other hand due to the technical nature of the Internet itself in terms of belonging to a science, a large number of higher technical personnel at home and abroad are constantly improve the scientific foundation of the Internet field. From small to computer hardware performance upgrade from generation to generation, to access the coverage of large routing switching network environment more widely, faster and faster, and then to now machine learning, artificial intelligence, distributed computing, distributed storage the spread, the Internet field gradually formed a large collection includes computer science, software engineering, and so on the field. Before people can not do things have come slowly to realize through the machine. For the Internet field, only it makes sense for the user's application is valuable. With the popularity of the Internet and the development of mobile devices, mobile terminal market is currently growing at rapid speed to penetrate into users were to go. People through smart phones, smart tablet readily available, and even e-readers, and many other devices can easily access the Internet at any time via mobile 4G network. Speed ​​mobile 4G and Wifi network to enhance public and gradually spread deepened people's lives and lay a good start for the mobile Internet. More and more people start using mobile end devices to access the Internet enrich everyday life. From online shopping, online ordering, reservations, ticketing, to access and exchange information daily.

Mobile Internet is a branch of traditional Internet, but put aside its run at the end of this movement, the mobile Internet, there is no difference with the traditional Internet. However, only the mobile terminal to run this regard, it is enough to reflect the huge difference between mobile Internet and traditional Internet. First, consider the user's usage scenarios, access methods in general, is generally the traditional Internet PC browser on the client seat, facing the computer screen to obtain Internet information. While mobile Internet users do not have so much time, they may be the way to work out a cell phone, you may want to send a selfie meal, the most common is their instant messaging with friends, share their feelings in a moment, and so on . These things have in common is the operating time is short, use a free place. Mobile Internet because of its easy accessibility requirements more completely sold out. Users in the use of smart devices to access mobile Internet access is not sitting by the PC desktop web browser on the desktop so patient, so that mobile Internet users were able to enjoy fast service anytime, anywhere.

However, re-mentioned common mobile Internet and traditional Internet, you have to return to the technical level, although that is changing the Internet access mode, but the technology is still based architecture without any changes, when a user on a mobile device when accessing the Internet, and access to the back-end through a browser on a PC without any difference in service. So after the traditional Internet field does not have to overcome the technical problems will be taken advantage of the opportunity to develop the mobile Internet field. This is very troubling, before, due to the traditional Internet access methods are typically broadband access, network speed and stability is guaranteed, so developers can sacrifice some speed in exchange for new energy and a good user experience. However, when faced with the mobile Internet, mobile developers who want to face the end of the network environment is unstable, the speed can not avoid delay. Also, because the mobile terminal typically do not have a good advantage of the PC processing power and storage space, thus the need for higher performance requirements of the mobile terminal development. In addition, there is an irreconcilable contradiction, is the influx of mobile end our lives, is a good thing for the user, they can obtain more convenient services through more channels. But the scale of business services and amplification for developers, but it is a headache difficult, because the traditional Internet have not been able to solve the problem well before and after the end of the coupling. As the front-end access devices become more complicated and increase the types of business scale, resulting in a strong need for us to the front decoupled from the back end, the front and rear end does not make nearly unwound from the operating platform, more importantly, from the code design and the architecture achieve complete decoupling.

On these bases, the former in order to achieve the front and rear ends of the decoupling summed up many practices, but each to solve a problem often introduce new problems. This paper is an attempt to introduce a new model in order to achieve complete decoupling from the fundamental front and rear ends. Achieve real example of a book lending platform through the development of micro-channel public number in order to verify the feasibility of the method and structure of the proposed new model.

 

 

 

 

Guess you like

Origin blog.csdn.net/asdJJkk/article/details/93377219