The earliest software was run on the mainframe, and software users landed on the mainframe with "dumb" terminals to run the software. Later with the rise of the PC, the software began to run mainly on the desktop, and the database such software running on the server side, this client/server mode abbreviated CS architecture.
With the rise of the internet, it is found that the CS architecture is not suitable for the web, the biggest reason is that the Web application is modified and upgraded very quickly, and the CS architecture requires each client to upgrade the desktop app, so the Browser/server mode is popular, referred to as the BS architecture.
In the BS architecture, the client only needs the browser, and the logic and data of the application are stored on the server side. The browser only needs to request the server, get the Web page, and display the Web page to the user.
Of course, Web pages are also highly interactive. Because Web pages are written in HTML and HTML is extremely expressive, and the server-side upgrade allows the client to use the new version without any deployment, the BS architecture quickly becomes popular.
Today, in addition to heavyweight software such as Office,photoshop, most of the software is available in Web form. For example, Sina provides news, blogs, Weibo and other services, are Web applications.
Web application development can be said to be the most important part of software development at present. Web development has also gone through several stages:
Static Web page: By the text editor directly edit and generate static HTML page, if you want to modify the content of the Web page, you need to edit the HTML source files, the early Internet Web page is static;
CGI: Because static Web pages cannot interact with users, such as users filling out a registration form, static Web pages cannot be processed. To handle the dynamic data sent by the user, a common Gateway Interface, called CGI, was written in C + +.
asp/jsp/php: Because Web applications are frequently modified, low-level languages such as C/s + + are very unsuitable for web development, and scripting languages are rapidly replacing CGI patterns because of their high development efficiency and close integration with HTML. ASP is Microsoft's introduction of VBScript Scripting Web development technology, and JSP Java to write scripts, PHP itself is open-source scripting language.
MVC: In order to solve the problem of poor maintainability caused by embedding HTML directly in scripting languages, Web applications have introduced Model-view-controller patterns to simplify web development. The development of ASP to asp.net,jsp and PHP also has a lot of MVC framework.
At present, Web development technology is still developing rapidly, asynchronous development and new MVVM front-end technology are emerging.
Because node. JS introduced JavaScript to the server side, it was necessary to use other languages such as Php/java/c#/python/ruby to develop the server-side program, which can now be developed using node. js!
Developing a Web server side with node. JS has several notable advantages:
One is the back-end language is also JavaScript, previously mastered the front-end JavaScript developers, now can write the backend code at the same time;
Second, the front and back end of the unified use of JavaScript, there is no barrier to switch language;
Three is the speed fast, very fast! This is due to the innate asynchronous nature of node. js.
In just a few years after the birth of node. JS, there are countless web frameworks, ORM frameworks, template engines, test frameworks, automated build tools, and many more, even JavaScript drivers.
Common web frameworks include: Express,sails.js,koa,meteor,derbyjs,total.js,restify ...
The ORM framework is less than the Web framework: Sequelize,orm2,bookshelf.js,objection.js ...
Template Engine Pk:jade,ejs,swig,nunjucks,dot.js ...
The test framework includes: Mocha,expresso,unit.js,karma ...
The build tools are: Grunt,gulp,webpack ...
Currently, more than 300,000 open source node. JS modules have been released on NPM.
Have a choice of phobia friends, see here can wash and sleep.
The good news is that this tutorial has been selected for you, you just need to follow the tutorial a path to black on it.
Web Development History Lesson