0% found this document useful (0 votes)
21 views4 pages

Addis Ababa University

Uploaded by

abayjordan540
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views4 pages

Addis Ababa University

Uploaded by

abayjordan540
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

Addis Ababa University

Emerging Technology
ASSIGNMENT ON
THE TWO JavaScript frameworks Angular and React
AND HOW THEY DIFFER IN TERMS OF THEIR
Architecture, Functionality, and Community support

SUBMITTED BY:
Name: Yordanos abay
Section: 4
ID: ugr/6183/15

Before writing about the two frameworks of JavaScript. what is frame work?
Framework is a set of rules, standards, or guidelines that are used to create
something. In the context of software development, a framework is a set of code
that provides a foundation for building applications.
Angular and React are two of the most popular JavaScript frameworks for
building user interfaces. They both have their own strengths and weaknesses, and
the best choice for a particular project will depend on the specific needs of the
project.

Angular
 Angular is a full-featured framework that provides a lot of structure and
guidance for developers. It is based on the Model-View-Controller (MVC)
pattern, and it has a strong focus on testability and maintainability.
Angular is a good choice for large, complex projects that require a lot of
structure.
 In terms of architecture, Angular is a component-based framework. This
means that each part of the UI is represented by a separate component.
Components can be reused and combined to create complex UIs.
 In terms of functionality, Angular includes features for routing, forms,
Dependency injection, Components, and internationalization
 Angular has a large and active community of developers. There are many
resources available for Angular, including tutorials, documentation, and
code examples. Angular also has active issue trackers and forums where
developers can ask questions and get help.

Here are some of the features of Angular:

 Components: Angular components are self-contained units of code


that can be reused and combined to create complex UIs.
 Routing: Angular routing allows you to create multiple views in your
application and navigate between them.
 Forms: Angular forms provide a way to create and validate user
input.
 Internationalization: Angular internationalization makes it easy to
create applications that can be used by users in multiple languages.
 State management: Angular state management provides a way to
manage the state of your application.
 Dependency injection: Angular dependency injection makes it easy
to test your application.
 Testing: Angular testing provides a way to test your application.
 Documentation: Angular documentation is comprehensive and easy
to follow.

Angular pros:
 It is a full-featured framework with a lot of structure and guidance
for developers.
 It is based on the Model-View-Controller (MVC) pattern, which
makes it easy to organize code and test applications.
 It has a strong focus on testability and maintainability.
 It is a good choice for large, complex projects that require a lot of
structure.

Angular cons:

 It can be complex to learn and use, especially for beginners.


 It can be slow, especially for large applications.
 It is not as flexible as React.

React
 React is a more lightweight framework that is focused on building user
interfaces. It is based on the Virtual DOM, which allows it to update the
DOM more efficiently than traditional frameworks. React is a good choice
for smaller, simpler projects or for projects that need to be able to update
the UI quickly.
 In terms of architecture, React is also a component-based framework, but it
takes a different approach. React components are stateless, which means
that they do not have any internal state. This makes them easier to test and
maintain.
 In terms of functionality, React includes features for state management,
routing, and animations
 React is a declarative library, which means that you describe the state of
your application and React will take care of the rest. This makes it easy to
reason about your code and to make changes.
 React is popular because it is used by many large companies. This means
that there is a lot of support available for React, and there are many
resources available to learn how to use it.

Here are some of the features of React:

 Declarative: React is declarative, which means that you describe the


state of your application and React will take care of the rest. This
makes it easy to reason about your code and to make changes.
 Efficient: React is efficient because it only renders the parts of the UI
that need to be updated. This makes it fast and responsive.
 Flexible: React is flexible because it is a library, not a framework.
This means that you can use it with any JavaScript framework or
library.
 Popular: React is popular because it is used by many large
companies. This means that there is a lot of support available for
React, and there are many resources available to learn how to use it.

React pros:

 It is a lightweight framework that is focused on building user interfaces.


 It is based on the Virtual DOM, which allows it to update the DOM more
efficiently than traditional frameworks.
 It is easy to learn and use, even for beginners.
 It is flexible and can be used to build a wide variety of applications.

React cons:
 It does not have as much structure as Angular, which can make it difficult to
organize code and test applications.
 It is not as well-suited for large, complex projects.
 It does not have as many features as Angular.

Ultimately, the best choice for a particular project will depend on the specific
needs of the project. If you need a full-featured framework with a lot of structure,
Angular is a good choice. If you need a lightweight framework that is focused on
building user interfaces, React is a good choice.

You might also like