Old stationmaster personal experience talk about the problem of website structure

Source: Internet
Author: User

Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall

I recently often in the major webmaster station to see various types of articles, suddenly I found that the site of the structure of this tutorial is very rare, and some just repeat the same to be reasonable, how a reasonable method does not see what the following. Just right, I have some experience in this area. Because I have independently developed a game complete station program, is still in use, function is already close to the CMS. But I did not think seriously at the beginning of design. So I'm having a very poor extensibility program. At this time I understand why software should have design this profession, a good design is also a very important step of website optimization, it is like people, if you are strong but lack of an active heart consequences is unimaginable.

Although most webmasters may use the majority of CMS. It seems that you don't need to worry about the structure of the program, but I think it's a habit to design a reasonable structure. So today I will use my own Web site architecture development log, to lead you to understand the site structure of some of the problems, of course, this is not all! Just to do an extension of the role.

I was about 1 years ago, decided to do a new game card publishing system. At that time I just to give myself use, so design my preliminary set for the following several aspects: column management, game introduction, card number management procedures. These three main features. decided to start making. When the production is finished. I have found that if only these three functions are unreasonable, because the game has a distributor, you must need a level of column to do not treat the problems of each game. So, I have to part of the Improvement Program code from single column design to two classification of the design. After dealing with the problem in the background of this program, it's your turn to page. Because the original idea is simple, the foreground uses is the dynamic display, later because wants the better development therefore decided to change to the static display. So this has spawned a problem, the program template will be implemented in what way, at the very beginning without thinking carefully, I directly in the database to define the template. When the site becomes larger, the trouble comes again. Because there was no serious thinking structure. The problem of the template increasingly shows the irrationality of the design. First, in the database to define their own template code, visibility is poor, can not be directly modified. Second, if my first level column, such as the grand game needs a separate template that can not be solved. In such as the two-level column such as the Grand Tower of the eternal also need a template how to solve?

In addition, the content management, in the scale of the site has attracted a huge problem. First of all, I designed a class two classification, but in my site's long-term development on this is unfavorable. For example, a column in the Grand Game of the Eternal Tower, I would like to release an independent of the eternal Tower of the experience, then can not achieve the three level classification. If you still need to subdivide the three-level classification in the future, the program will be less configurable. Of course, here you can say change ah, please remember that, when your site is growing in size, the site architecture changes will have many problems to deal with, the time spent is huge. Second we 7474.html "> grassroots webmaster, although more time." But the need to deal with all aspects of the site problems, energy is not enough. We don't need to spend a lot of time on the program. Unless you don't want to develop your site.

Of course, there are a lot of small details I will not say, whether this space is too long. Or take my own game program to say it! After the toss of it. Let me have a little understanding of the structure of the program. Here also say to let everybody analogy.

Architecture design must fully consider the future. How will you develop in the future, according to this idea to design a large frame, do not follow the sex and for, today think of a little do. Of course, in the content page also want to fully consider how navigation should be designed. Don't underestimate that. Because the static HMTL is now used. You'll be in a lot of trouble if you don't deal with it well. The program should be at the beginning of the design to consider the issue of extensibility, who can guarantee that I will not be big? Set up a good program interface, the future improvement directly through the interface. A common type of Web site, the core code is actually that paragraph. Like my game program, the core code is now in the "page label" piece. Of course, it is also very troublesome to leave the interface. Because your core code will be nested into all aspects of the program. And the code is huge. such as my "page label" code this piece, over 1600 lines. This is only to better match the template to do data and display separation. There are more than n external functions. If you think about it, it's equivalent to redesigning the program. If the structure is done well, is there no such problem?

Well, that's it for today. The first game pioneer http://www.key28.cn/

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.