DEV Community

Saurav Khdoolia
Saurav Khdoolia Subscriber

Posted on Edited on

Front End Architecture 101

Focus on Entities first, Then use cases then go the Presentation layer.

Loose Coupling, High Cohesion.

Coupling: The degree of direct knowledge that one element has of another!

High Cohesion: Keep similar & related things together!!!

Do front end as Loose Coupling, High Cohesion!

--
Alt Text

As you look in the image above, Start from Entities, Then Use Cases and then the UI! It's a good practise... Do remember the dependency rule.

Check this talk by Nir Kaufman @ ReactNYC

Top comments (0)