Traditional Culture Encyclopedia - Hotel accommodation - How to make it easier for programmers to develop Web interfaces?

How to make it easier for programmers to develop Web interfaces?

This question is quite interesting. Programmers must use the code itself to design and write the Web interface, so accelerating the development process is definitely accelerating the code writing process. In addition to improving the proficiency of programmers, the most important method is component reuse. There are several ways to improve development efficiency and quality:

Use some very mature front-end frameworks, here mainly refers to the way of HTML+CSS, JS we will talk about later. Now there are Bootstrap, Foundation, SemanticUI and many well-known front-end frameworks. These frameworks usually contain CSS code base and JS code base. Copy the required styles into your own CSS file, and you can quickly generate a rich and vivid front-end interface without writing it yourself.

The JS framework is used. What I want to learn is that there is no front end that doesn't touch Jquery, although there are quite a few black spots in this thing. On the other hand, compared with native JS, Jquery has improved a lot in writing efficiency. Developers can quickly write JS codes of complex functions, and Jquery itself supports Ajax and other functions, which makes it widely used. In addition, some frameworks supporting other functions, such as AngularJS and ReactJS, have played an important role in the realization of Web front-end functions. There are also many interesting JS frameworks, such as TheaterJS, which can achieve interesting keyboard input effects, and ElighterJS can add beautiful styles and highlights to your code, which can reduce the cost for developers to write code.

Use some very effective coding methods. Of course, this coding mainly refers to the template of HTML. Just now, we mentioned that it is very convenient to operate CSS and JS through the framework. Similarly, HTML itself has many ways to generate code quickly. There are erb (Native Template), haml and slim in Rails, and these templates themselves speed up the writing of HTML, so it is unnecessary for developers to write a lot of examples, such as

New technologies, such as some derivative versions of JS, such as TypeScript or CoffeeScript, use elegance at most, which may be completely different from the original JS, but there is an alternative beauty (2333).

A good editor is the foundation of all program development. Sublime, Atom, Visual Studio code, and of course, heavyweight editors such as Vim and Emacs will be more comfortable than using Notepad.

Go to the community more, good things will not become popular immediately, but will be publicized in the community first. There are many codes on Github that are worth learning, whether it is CSS, JS or HTML. You can view the code while using it, or you can learn a lot from the side.

Never mention your proficiency in DreamWaver. . .