Angular Introduction: What It Is, and Why You Should Use It
In this post, we going to understand some basics of Angular2.
Angular 2 is a TypeScript-based, web application development platform which uses component-based approach to web development.
So let’s get started…
What is Angular?
-Created & maintained by Google
-Used to build powerful single page applications(SPAs)
-Part of the very powerful MEAN STACK
What should you know?
-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
-Unit Testing Ready
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.