DEV Community

Saurav Khdoolia
Saurav Khdoolia

Posted on

1

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)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay