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