Collation
A brother said well that how spring, MVC, and ORM are layered, and how to encapsulate them make programmers feel better, in the eyes of the customer, there is no direct value-added value (at most, the speed of subsequent modifications is a little faster). Therefore, we still need to spend some time thinking about the value-added aspects of the customer, first, the enhancement of business intelligence; second, the improvement of customer experience, that is, the improvement of the performance layer.
<Website reconstruction> is a hot book. Its viewpoint is very clear and simple. It can be viewed in one afternoon. Maybe there is no need to write a book at all. However, such a simple view is very useful:
Viewpoint 1: Do not use nested and nested tables for formatting. Instead, use the intuitive <div> to make the view layer clear.
Table formatting is the original sin of HTML. Every generation of web programmers suffer from it, but as long as they make up their minds, they can immediately abandon it.
Our comrade David just sat down and worked three or two times to reconstruct the current project. The effect was remarkable.
Some people have misunderstood this book to advocate completely abandoning the table. In fact, it is not used for page layout. The content itself is also used for table.
There will also be an example of <div> typographical layout and some details.
Viewpoint 2: Completely use CSS to control the page style, so that the page style is unified and instantly changed.
No one needs CSS, but it takes some time to learn the CSS syntax to implement a good encapsulation, and then digest and design it by yourself. There is also a little introduction in the book, such as # symbol (select CSS based on the ID of the HTML node), for example, encapsulating the image into CSS, I am the first to perceive it, but it must be used to complete the encapsulation.
Our comrade David has also completed this task, and whether it is good or not remains to be tested by the project.
There is a website that is the best annotation and demonstration of the entire book:CSS zen garden
In addition, the open source brand Tigris abstracts a set of public UIS from several of its projects, you can refer to their encapsulation method: http://style.tigris.org/