Welcome to DNN Sharp Blog


... Our fun way to keep you on top of what's happening in our world

Angular 2 – what do our developers think of it?

As you may have already heard, Angular 2 has been officially released. Here, at DNN Sharp, we stay updated with the latest developments and even implement them if we think they optimize our products. This is the case for Angular 2. We are happy to announce that one of our products, NavXP, is being revamped in Angular 2 and many more will follow.

Although Angular 1 was pretty solid, the changes in technology which happened in the last years shaped a much more complex environment and Angular needed to keep up with this (as it did).

Robert, one of our developers, thinks Angular 2 is much faster than Angular 1, but completely different at the same time. Also, quite interestingly, it appears that “even if you know Angular 1, it doesn’t really help, you have to learn Angular 2 from scratch”.

Related to working in Angular 2, Robert told us that “because of the trajectory that the JavaScript Language took in the last few years, the learning process that you need to undergo to write and understand the most basic application can be a bit scary, mainly for the complete beginners. You have to learn about the changes that were made to the language in the last two updates (ES6 and ES7), about TypeScript and transpilers, about modules and module bundlers and loaders like WebPack or SystemJS. You need to accommodate yourself with the code editors and the debugging tools”.

On the other hand, he says that “one of the advantages is the fact that it uses TypeScript, which is a superset of JavaScript that, for the first time, introduces strongly typed variables and makes working with complex objects easier. Basically, it tells you if a property is available on that object or not and it’s also easier to debug. Furthermore, the new templating language used in Angular 2 yields much more expressive view templates. It introduces a template compiler that transforms the template HTML code into JavaScript code that can be run by the browser. The compiling process can be done at runtime or as part of the deploying process, resulting in a faster application startup and operation. Another advantage is the fact that it uses the zone.js library, which records all the events in the browser and can also figure out the changes that must be made without the need to explicitly telling it by using the $apply() function (as in Angular 1).”

Bogdan, another developer, thinks that although Angular 2 may prove a bit challenging at first, it really does an awesome job at the end.

What do you think about this? Have you tried it yet? Stay tuned! You don’t want to miss NavXp in Angular 2!


photo source: https://angular.io/

Print
0 Comments
Rate this article:
4.0

Categories: General NewsNumber of views: 2129

Tags:

Alina SlapciuAlina Slapciu

Other posts by Alina Slapciu

Contact author

x

About Us

DNN Sharp is a leading provider with a proven track record in defining, designing and developing DNN Modules catering for a passionate community of thousands of users.

While our core focus is on DNN modules, our mission is to provide top quality products complemented by fast and reliable Customer support. We listen to our Customers and produce a variety of solutions to meet the complex needs of our global audience.







«March 2024»
MonTueWedThuFriSatSun
26272829123
45678910
11121314151617
18192021222324
25262728293031
1234567


Our latest news and gossips, must-reads, tutorials and how-tos, as well as other random awesomeness from across the DNN world...

Stay in the loop subscribing to our newsletter!