1. The name is as uniform as possible.
Naming has a lot of places, such as how to name the page, if you use WordPress to build a station, naming should follow the WordPress file naming specifications, such as the article page single.php, category page category.php, search page search.php. Page naming to the main theme clear, such as the work page is works.php, about the page is about.php. Before doing the site to check this kind of article, on their own site page planning.
There is also a name is the code inside the name, such as the various structure of the page, CSS style, JS naming. This is very difficult, need to slowly habits to form, but also can see you are not professional, anyway I did not do.
2. Consider the performance of your site throughout your entire build process.
The images used can be compressed without any prior damage. To see what performance optimizations are, Yahoo performance is military. For example, like me, has not been considered in advance, so the site performance is not very good, open time is very long.
3. Control the rhythm of making websites.
Take control of the time, don't drag it too long. I am a typical slow person to do things, this is too amateur also a bit of a relationship, there is no stubble to do, drag too long, the code in front, although it is written by themselves, but also very likely to forget, it is very troublesome, do the site to plan a good time, have a schedule the best.
4. Try to use new technologies and innovative ideas.
It's a sense of accomplishment to be done. Otherwise, do a website, also practice less than how many skills. Of course, my idea is to do a website, can have business value of consideration, but also can exercise their own technology, is to consider this dual purpose.
This is I made a number of sites after the biggest feeling, I do many are using their own very skilled way to achieve the results, the newly learned technology often do not have any opportunity to use, finish will find the feeling of acid cool basically no, the sense of accomplishment greatly reduced.
5. From design front-end to back-end to operation, the entire website is able to cultivate the ability to become a full stack engineer.
I used to think that I was interested in the front end, not interested, is this, so my goal of self-cultivation is this, but later found that those social division of labor, the light has the front-end technology can not do the site, especially depressed, should try to cultivate themselves into a full stack of engineers.
In fact, I think the main difference is not the standard of professional technology, but the result as a unit of measurement, such as the completion of a website, an app, so as to plan their own self-study courses. In order to complete a website independently, I should learn which languages, such as css3,jquery,bootstrap,php or node, probably must understand some, do not prematurely in the social division of occupation position themselves.
6. Do not think about the full functionality, leaving room for future upgrades.
If you make a website for yourself, do it slowly, and don't be impatient. Don't try to realize all the functions at once, think or realize the basic function first, after almost done, began to adjust the details.
Of course, if you use the blog site, I recommend every time to upgrade the function, keep and popular synchronization, not to a long time to find their own blog whether the design or function are old decay. But I think most of them are finished.
7. There is a teacher, at least one does not know how to do, there is a person to ask.
For the first time, it would be helpful to have a chat with someone who is experienced and probably know what details they will consider. You will find that after the chat, your ideas will be very different. This is very important.
8. Try not to have the possibility of refactoring later.
You will find that refactoring is a particularly troublesome thing, even if let others do, people will be with you more money, pick up less, most people do not like two times development, gnawing old bones, so the beginning of a global view, think clearly.
Some related to the first, take my example, I am now mainly in the optimization, mobile phone-side optimization, but found that because of the name of the problem, CSS when the writing process is clear and clean, and then optimize the time, because are as far as possible to do not adjust the CSS style, do not change the original structure, are used JS to do, CSS did not write when the original, should be independent of some of the style of writing in a class inside the write, it is not easy to do.
For example, the structure of the article List page is generally similar to the structure of the article details page, when writing CSS will probably share a style, this is not a good way to deal with, you will find that if you want to modify this style, because the style associated too much, the page changed, the page does not want to change, so when the static page, Finish to check to see, from the long-term after the consideration, the style in the end should not separate writing, how to separate, not to write JS or refactoring later too laborious.
9. There are several ways to implement an effect, how to choose
Choose which method to achieve, depends on your own level and the location of your site, the level needless to say, the location of the site and compatibility with some relationship, but also with the cost of the site construction costs, particularly complex ways to achieve contributions to energy.
For example, the same effect of a circular image, large sites will generally choose the two-layer graph overlay, so compatibility will be better. Small, such as their own blog site, use CSS3, discard those low version of IE Bar.
My own site, because the first location is a small audience site, so in order to later I can use some very cool new features, low version of compatibility, I did not do, let people upgrade the browser.
10. Try to do a website to operate it
Take a flow and know all the things in between. It's not uncommon to make a website, run a website and learn more.
This article is from the "Programmer's Caprice" blog, please be sure to keep this source http://cxykz.blog.51cto.com/11696626/1787409
Do you consider these 10 things before you make a website?