DEV Community

loading...

Front End Architecture 101

sauravkhdoolia profile image Saurav Khdoolia ・1 min read

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

Discussion (0)

pic
Editor guide