fsheikh / sample_code

Some sample code snippets
1 stars 1 forks source link

Make a compraison of front-end technologies for a multi-lingual blogging website #1

Closed fsheikh closed 1 month ago

fsheikh commented 2 months ago

Document pros and cons of React and Angular front-end technologies under the wiki: https://github.com/fsheikh/sample_code/wiki/Deurdu:-A-multilingual-blogging-website

MuhammadTaha01 commented 2 months ago

React:

Pros:-

Cons:-

Angular:

Pros:-

Cons:-

Conclusion: Both React and Angular are front-end technologies and both works on server and client side. Both supports component based architecture. Both supports i18next framework which we are going to be needed in-case of adding "Internationalization" feature in our website. The only major thing which differs React from Angular is developer's support. Else are minor thing's, they will not disturbed the working and data-flow time of our website.

fsheikh commented 1 month ago

Please format the pro and cons as a table and put them in the appropriate wiki section

MuhammadTaha01 commented 1 month ago

Comparison of React and Angular

Feature React Angular
Supports Single Page Applications Yes Yes
Component-based Architecture Yes Yes
Easy to be Adopted for Beginners Yes Yes
Highly Scalable Yes Yes
Huge Developer Support Yes No
Supports Internationalization Frameworks Yes (e.g., i18next) Yes (e.g., i18next)
Good for Large Scale Applications No Yes
Requires Additional Libraries for Routing and State Management Yes (e.g., Redux, React Router) No (built-in solutions available)
Might be Difficult for Beginners No Yes (due to TypeScript)

Conclusion

Both React and Angular are front-end technologies that support single-page applications and component-based architectures. Both also support internationalization frameworks like i18next, which is necessary for adding the "Internationalization" feature to our website.

The primary difference between React and Angular is the level of developer support. React has a larger community and more support. Other differences, such as requiring additional libraries for routing and state management in React or the complexity of Angular for beginners due to TypeScript, are relatively minor and should not significantly impact the working and data flow of our website.

fsheikh commented 1 month ago

Analysis completed