There is another example of architecture

Source: Internet
Author: User
Keywords Books what that is myself
Tags aliyun analysis balance demand design different example exchange

Yesterday, I was fortunate enough to invite Mr. Zhou Aimin to share "Architecture, Framework and Library" at a lazy exchange meeting. Which mentions a description of the architecture:

Architecture is the key to grasp the problem, balanced design.

Very recognized. Here is my understanding:

What is the grasp? There is a device in the martial arts session http://www.aliyun.com/zixun/aggregation/18578.html "> The training method is" shaking the big pole ": a big pole made of ash, with a pole longer than two meters, the trainer One hand to the lever, one hand holding the bottom of the bar, the whole body with both hands, the rod shake out a variety of styles. The and grip are two different actions, the direction is, the grip is the base. Master allows the stick to move freely, at will, this is to grasp. Grasping can be based on the grasp as a supplement, arbitrary, tricks. Grasping can hold the main supplement to the gas control sword What is the problem »physicist Dirac has an allusion.One day he went to a school to speak, finished, the host said:" What is the problem? You can ask Professor Dirac. At this moment, a student stood up and said: "I did not understand the equation you just wrote on the blackboard. Dirac did not answer, for a long time did not answer, so the host asked: "Professor Dirac, you can answer this question? Dirac said: "That's not a problem. Why did Dirac refuse to answer? Because the questioner can not read the equation, it's just a phenomenon, not a problem. What is the problem, and Gerald Weinberger's classic, "Is your lamp still on? The real problem of the problem. "What is the key? The key original interpretation is the latch. Off is closed, the door closed, the key refers to the mechanical parts .In modern, the key is the lock on the door.How to find the key to the unknown problem? Senior Tomb Raider encounter an unprecedented authority, the first observation, as much as possible access to information, followed by analysis, as far as possible to infer the mechanism behind the agency.And then may associate and try to use the existing crack technique to go Trying to solve the current problem. Repeated the above steps, make unremitting efforts, and other agencies to crack the moment, the tomb will understand the key to the organ. What is the balance? Douglas said everything is weighed. Architecture is good or bad, is a suitable Not suitable for the scene of the problem. Whether it is the design of the class library, or a line of code writing, good or bad, depends on Library, or line of code, under what scenario. The Google homepage can omit the html terminator, but that does not mean it's appropriate for your blog to do that. In the front end, the table layout is not guilty. If your user base there are many users are using a very old browser, table layout is the most suitable way.

For further explanation, let me give you an example.

Like reading, started a few years ago, like to collect a variety of books from the Internet:

(A few years ago the detailed classification has been lost, the above is only a few categories that the simulation can think of)

In accordance with the book finishing methods, and soon found a problem: Some books, will belong to more than one category. For example, "Dream of Red Mansions", on the "classical literature" is good, or on the "boutique novel" in the good? Obviously, this involves the classic problem of library management: If you make a reasonable and effective classification?

So began to try to reclassify from a variety of dimensions, and even went to a large library to learn from the library classification. But soon I collapsed: Chinese Literature - Classical Literature - Fiction - Qing Dynasty - Dream of Red Mansions. I am not a librarian, I just want to collect my favorite book. The perfectionist "science" taxonomy was immediately abandoned.

After a long time, my book classification has been very chaotic. Often separated by a few months, we must make major adjustments to adjust once, so that their pursuit of "perfect" spiritual temporary settlement.

Very long period of time, it is tangled a toss.

Until about a year ago, forget what was the cause of the moment, suddenly found a very satisfied with their own classification. Before giving this classification, we first "aftermath", trying to analyze from the architectural point of view:

What is the problem in this example? On the surface, how to find a reasonable book classification. But is this really a problem? Obviously not. The bibliography of a large library is absolutely reasonable. Where is the problem? A little analysis is not difficult to find, the problem is not whether the bibliographic classification is reasonable, but rather whether it is suitable for my habits, whether to meet my needs. (The initial classification problem was transformed into a demand problem, topics related to problem conversion, it is recommended to read Weinberg's books)

So, what is my demand? Why should I classify books? Think carefully, I will demand finishing as:

Newly downloaded books have a fixed directory to store. When you want to see, find it quickly. The book you are reading can be found immediately. Have read the books to be archived, after more convenient access.

From the above description, I can see that there is a timeline for my needs. My needs are organized according to the time of reading books! "Time" is the dimension I searched for for a long time in cataloging bibliographies! So the time dimension is the key to the information architecture problem! In this way, there will be a seemingly simple but can be a good solution to the problem of classification:

Everything is so simple! After reorganizing the bibles this way, feel relaxed and happy at once.

Of course, here also involves the trade-off:

What should I do if there are too many new books downloaded? Need to be classified? Have read the books, need to be classified when filing it?

The above two questions, different people have different programs. My choice is:

Newly downloaded books no longer classified, all mixed together. The advantage is that you can put an end to "bad habits" that you blindly collect books, and the provisions of the new download can not exceed 10 books. The first 11 storage, you must delete the top 10 of this one. Have read the book will be classified, but only a major classification, such as: novels / poetry / photography. And regulations from "being read" to "have been read", be very cautious, there must be reason to persuade them to save the value of the archive, otherwise deleted without pardon. In this way, there are not many books that truly value archiving a year.

This is the trade-off!

Finally give a case, my Google Reader subscriptions categories:

Must-read - Fulfill your own fabulous source feeds - Read through the look-and-feel feeds to be read - Newly discovered blogs to read all of their articles - Sources such as software updates tips

Since adopting this classification, the time for screening information has been greatly reduced, and the time for effective reading has increased a lot. Note: This category is for me, but not necessarily for you. Suitable for your classification, you can start from their real needs, careful thinking and analysis, through exploration and practice to get.

The above said that although it is a very small classification of life issues, but to say that is the information architecture, and then open to go, is the software architecture. The reason is the same. Architecture is a process that is a process of thinking, practicing, thinking again and practicing again. In the process, the following three problems are often encountered:

What's the question? What is the crux of the problem? In the current application scenarios, how to design, how to weigh?

Architecture is in a specific application scenarios, constantly asking and seeking the above process. In the process, a collection of all your decisions is architecture.

Source: http://lifesinger.org/blog/2010/03/thinking-of-architecture/

Related Article

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.