DEV Community

John Peters
John Peters

Posted on • Updated on

Angular 11.0 Good Stuff

AngularJs was a dive into super-highly-opinionated-frameworks. It literally high-jacked JavaScript to the point that it was treated as a https://en.wikipedia.org/wiki/Domain-specific_language (DSL). It was subserviant to Angular.

AngularJS' popularity was the result of the Javascript world seeing a MVVM pattern for the first time. MVVM was already 10+ years old in C# at the time. The pattern worked perfectly for Javascript.

AngularJS was terrible due to how it was implemented, it went overboard on concepts such as Dependency Injected and subverted the concept that the language itself should be able to freely grow on its own.

When the new Angular came along, they corrected these issues, and today with Angular 11 here, It has become a very nice work of art. Does it take a super long time to learn? It depends on where you are. JavaScript itself can be argued to take a long time to master. It's all relative.

Bottom line, if you want a very good front-end framework that allows you to contain state in any component you want (directly) then Angular is for you.

Top comments (6)

Collapse
 
katnel20 profile image
Katie Nelson

Any suggestions for online tutorials to learn Angular & TypeScript?

Collapse
 
jwp profile image
John Peters

Hi Katie,
Unfortunately to me, the Angular.io site is not really great in getting a person started from scratch.

I had the advantage of already understanding binding from the MVVM world in C#.

The best way, in my opinion is to get Angular onto your system and use the Angular command line interface to create a project. You will be able to serve it up using the command "ng serve". From there just start experimenting by changing what is displayed. Then learn the concept of Binding using the *ngFor stuff in the HTML.

Once you get that, your interest will explode because you have an actual lab that you own and control. The key to getting going in new stuff is to maintain super-high interest. If you can do this with Angular your skills are super-marketable now.

Collapse
 
katnel20 profile image
Katie Nelson

Thanks Javaman2.

I have already installed Node.js, Angular 8 and VS Code. I played with some of the structural directives and used the interpolation syntax. Now I need to put it all together with form elements and data binding.

I guess I was looking for some project example or tutorial that I could step through and see how it all fits.

Thread Thread
 
negue profile image
negue

I'd say just think of a little app and then add piece by piece.

But I have some project examples:

As for tutorials the tour of heroes is quite good for beginners.

Thread Thread
 
jwp profile image
John Peters

Awesome Katie...
The problem I found with pre-made projects is that they are usually outdated and not maintained. That's why creating your own project is better. You don't have to use reactive binding now (that'll come later) you can just use *ngFor in html to do the binding.

e.g.

To move into Forms this is Angular's way of implementing form validation, ultimately you relinquish control of the values to the Forms components. It's a good tool but requires a bit of study.

Collapse
 
ehsan profile image
Ehsan Azizi

Angular is simply amazing I enjoy working with it more than any other framework or library.
For me learning Angular was pretty much straight forward maybe that's because I have a C# background and Typescript is very familiar to me.