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)

SurveyJS custom survey software

JavaScript UI Libraries for Surveys and Forms

SurveyJS lets you build a JSON-based form management system that integrates with any backend, giving you full control over your data and no user limits. Includes support for custom question types, skip logic, integrated CCS editor, PDF export, real-time analytics & more.

Learn more

👋 Kindness is contagious

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

Okay