Micro front end - front end projects dismantling DESCRIPTION

1, due

1, large systems, involving a plurality of roles, role each string, resulting in the relationship between the function and the function is not clear

2, the corresponding page is divided into the role is not clear, between the system and the system mixed together

3, the front end of the project is too large, poor front-end performance

4, members and more difficult project management

 

2, after the dismantling of the expected

1, the advantages

1, role clarity, role function clearly belongs

2, project decoupling, easy maintenance and management

3, the project line, will not affect existing functionality

4, to further enhance performance

5, when the disassembled sufficiently fine particle size, the frame will not be limited to the technology, the demand for diversification can talents

 

2, Weaknesses

1, the conventional sharing, shared difficult to achieve, resulting in redundancy code (the iteration is continued need to do)

2, third-party packages introduced multiple times, turnkey project increase (after dismantling function, the corresponding character has a corresponding function, most users do not need or do not have permission to load all of the content, the overall package load should be reduced )

3, project management requirements increase, a clear series between the various systems

4, to enhance the overall function of the difficulty of modifying (bit)

5, is heavily dependent component library (inferior 4), dependent on the inherent norms, such as publishing process (post-precipitation is very important for their own set of patterns)

6, is very dependent on the pre-planning or experienced person

 

3, dismantling dimension

1, dismantling the system will be the level of dismantling

2 to the user's role as a subsystem dismantling

3, sub then dismantling, dismantling project as a separate module

4, Project Jump is the way projects address routing + jump (again large directory system, corresponding to the lower module directory, and not confusing)

 

4, item dismantling resolve

Currently the industry is not a perfect solution, now more solutions are: iframe mode, multi-page mode or another, advantages and disadvantages, there is no silver bullet. Specific implementation, not described one by one.

Guess you like

Origin www.cnblogs.com/baimulan/p/11700795.html