Angular Introduction: What It Is, and Why You Should Use It
In this post, we going to understand some basics of Angular2.
Angular2 is a TypeScript-based, web application development platform which uses component-based approach to web development.
So let’s get started…
What is Angular?
- Angular is frontend/Client-side JavaScript Framework
- Created & maintained by Google
- Angular is an opensource JavaScript Framework, use to develop SPAs in a maintainable way.
- Used to build powerful single page applications(SPAs)
- Part of the very powerful MEAN STACK
What should you know?
- HTML
- CSS
- Basic JavaScript
- Programming Fundamental(Like Functions, conditionals, loops, etc)
What is SPA?
Before Angular 2 most of the application was MPA-Multi Page Application means you have to create multiple pages for the website then upload it to run.
But now Using Angular 2 we can build single page application(SPAs) means it has only one index page and all other content will be changed on user request through component without reloading page. So it makes our application very faster.
Where a standard web app or website load the page on every click on navigation and links, the single page application load all the necessary code and modules on initial page load and changes the view and data on user clicks and actions without any page reload.
Even if it required to communicate to the database, it fetches or exchanges the data behind the scene and sync the data using Ajax without reloading the page.
GMAIL is the very popular example of SPA
Why Use Angular?
- Rapid development and code generation.
- Code organization & Productivity
- Dynamic Content
- Cross Platform
- Unit Testing Ready
Now in next article, we will learn How to install Angular 12 – Tutorial.
Conclusion:
Thanks for reading.
Do let me know If you face any difficulties please feel free to comment below we love to help you. if you have any feedback suggestion then please inform us by commenting.
Don’t forget to share this tutorial with your friends on facebook, twitter, and Google+.