Android design mode one: EIT modelling

Source: Internet
Author: User

Preface: First of all, we should study the formula.

Thinking back in the 17th century, Newton proposed a simple formula: F=ma, so that people can easily understand the complex < relationship > of object Motion.

Again, at the beginning of 20th century, Einstein published a simple formula: E=MC squared, allowing people to understand the complex relationship between mass, energy and the speed of light.

Seemingly complex astrophysical operations, as long as the formula is found to be simple.

For the same kind of problem, we can solve the set formula of original AIM if we find the running law. So the formula here is styling.

1, what is modeling?

Modeling can be regarded as a suitcase, which can be loaded with a variety of things, can be seen as an abstraction.

The class is a minimal shape, if the leaves are installed, is the leaf shape;

class like atoms, all kinds of atoms, hydrogen atoms, oxygen atoms ...., can also have a variety of shapes.

The code is shaped at the atomic level, and the design pattern is molecular. Code styling can be combined into a variety of design patterns,

In addition, can be combined into a framework, the larger is can be combined into a platform. This is the real power of code-level-based styling.

And the EIT model is the naming of a thing.

2, what is the EIT model?

EIT modelling, a new style of code that is larger than the range of classes and slightly smaller than the pattern.

3. Modelling model

EIT is a basic structure (Structure), a concept (Concept); We call it "EIT form".

Similarly, the circle, ellipse and so on are the basic geometrical structure, all is the concept, is called the Archimedes geometry shape.

In the same way, atoms (atom) are basic material structures and concepts, and are the basic shapes of physics.

Similarly, the seven-word quatrains of Tang poetry is the basic structure of the article, is also the concept, is the basic shape of poetry.

Similarly, container (Container) is the cargo structure of logistics shipping, is also the concept, is the basic shape of logistics.

Similarly, the category of software (Class) is the basic software structure, is also the concept, is the basic shape of the software.

Similarly, Maple leaf, cherry blossom is a basic structure, is also a concept, is to appreciate the maple leaf, flowers in the heart of the basic shaping.

Android design mode one: EIT modelling

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.