Let's Start To Learn Angular
Let's Start To Learn Angular
What is angular? Angular is a tool to help you build interactive websites. It is also a
framework.
What are the difference between AngularJS and Angular? AngularJS is a package of older
version of angular starting from version 1.x to 1.7. Angular is starting with all version from 2.x
to current version of Angular. Difference between AngularJS and Angular are very even,
Angular is just more modern and he is adapted to current standards and Angular is more
performant than AngularJS.
What is semantic version? Semantic version is a way to five a version number to project,
MAJOR MINOR PATCH (M.M.P.). Major means a big patch which implements new
incompatible API. Minor means new functionality that are compatible with current API. And
Patches means compatible bug fixes.
Angular 3? Angular 3 doesn’t exist, because angular 2.0 worked on router 3.0 so when the
angular team increments router to version 4.0 they decided to skip angular 3.0 and make angular
4.0.
How to run an angular aplication in CLI? To run a application we need to write ng serve –
allowHosts
One way data flow? One way data flow is an arhitectural construct that allow us to execute a
change detection cycle. For example we have an „Parents State” that was changed, so the child
states would check its state, after the components are rerendered whit new state.
\
Rendering Needs? Rendering needs it’s an need to run our application on more devices.
CLI? It’s an tool that allow us to improve our efficiency. For example to do a web application
by hand we need to do Module Handling, Shims, Bundling, Transpilation and Change Detection,
that costs a lot of time. CLI handle all this stepts for us, it allow us to not think about that. CLI is
a very usefull tool whit him we can build New Application, New Components, New Services,
Serving up the Application, Linting, Testing and Building for production.
Server-side Rendering? Server-side rendering is reducing initial download size, its render time,
that is boost our performance. Also Server-side Rendering has operation modes like Full Pre-
Render, Dynamic Pre-Render, Client-Side Switch.
Mobile frameworks? In angular we have 2 frameworks for building mobile apps: Ionic and
NativeScript.
Testing Tools? Karma and Protractor.
RxJS? It handle asynchronous operation and replace promises.