Angular2

Published on 27 December 2016

Angular2 – from HR view until a short time ago just another mystic term. But even the non-technical departments noticed this must be a great thing. Therefore, we organised an internal Angular2 Workshop shortly – by experts for experts. I consider you are also an expert therefore I talked to two Angular2 experts in PBS, our Head of Web & Mobile and our Head of Backoffice, about their different views.

 

What is the biggest advantage of Angular2 for yourself respectively what is the biggest difference to the previous version?


Back Office:

A big advantage of Angular generally is that it is supported and hosted by a big player (Google). Angular is a framework. So it wins it terms of consistency with any library as has everything one need to develop the web application (Dependency injection, http service, pipes, view and templating engine, router, testing facilities). Angular2 has with its component model a better performance on change detection.

Another asset is the integration in good engineering methods, support for unit tests and so on has been very well considered. Angular2 supports AOT (Ahead Of Time) compilation, that means that the Angular2 compiler is not delivered to the client. And you serve the small application that is needed for the application to work. Built with typescript and the language that is used for building Angular2 apps is mostly TypeScript. I think one of its benefits is that one can start developing a web application without diving deep into javascript. So the developer can switch to Angular2 from .net or java faster, than to the other framework or library built with javascript.


Web & Mobile:

First of all, we’ve never used Angular1, so it’s difficult to compare these frame works for our use cases. Generally speaking, when you are developing new products you need to decide which frameworks best meets your requirements, and this wasn’t Angular in the past. Typically, you would evaluate features like productivity, feature richness, performance, browser support or testability. Certainly also a big benefit is that Angular is already very long-living and supported by a big community. Furthermore, developers prefer to work with Angular or React so it’s also easier to hire new people. On the other side it’s also an asset for the developers when they’re working with state of the art technologies.

 

Regarding your daily work – which are typical fields for Angular2?


Back Office:

Angular2 is well suited for applications with user interaction because it’s very easy and quick to write a first interface. So it’s extremely good for agile development – you can draft a user interface within a day and play around easily.


Web & Mobile:

That’s easy – everywhere in the field of digital products. We’ve also used it for our newest app, which is a web hybrid app. We are using Angular2 in a native web view element and wrap the application with Ionic and Cordova (other popular frameworks) in order to get access to the device’s hardware. Using a hybrid app architecture, we also need to write code once and still have the possibility to deploy the app to different platforms like iOS and Android.

 

Do you have any questions?

Write a comment or send an email.

Yours,
PBS-Blogger

Comments:

  1. pepperoni pizza limassol says:

    Hi, very nice post. I was looking for something similar to this. Thanks for this useful information.

    1. PBS-Blogger says:

      Hi,
      you are very welcome.
      We’re glad you like it!

      Cheers,
      Alex

Leave a Reply

Your email address will not be published. Required fields are marked *

Register for
our Newsletter