AngularJS and the future of web programming: a talk with Vittorio Conte (February, 4th 2015)

angularjsintro2.jpg

(This post is part of a serie on GDG Rome DevFest 2014)

Agatino Grillo: Hi Vittorio. Could you introduce yourself?

Vittorio Conte: I am a software developer at Engineering Ingegneria Informatica SPA a multinational company leader in Italy in software and IT services. I live in Rome and I love travels/girlfriend/family/dogs.

Agatino Grillo: What is AngularJS?

Vittorio Conte: AngularJS is a JavaScript framework, designed to simplify the web developer’s experience. It provides a very structured approach and several feature to easily and quickly develop web sites and applications.
Created by Google developers, today is an open source project powered by Google and with hundreds of open source contributors around the world.

Agatino Grillo: The web programming scene is every day more crowded: why Google proposed another framework?

Vittorio Conte: There are a lot of alternative but most of these frameworks use an imperative approach for DOM manipulation. Through their usage the code maintenance and organization is not so simple. AngularJS, instead, is based on MVC pattern and gives you a mental model for “where to put what”. It’s provides a declarative approach to extend the HTML functionalities, improving code reusability and maintenance.
Developing a single-page application is, than, fast and easy.

Agatino Grillo: What is a single-page application?

Vittorio Conte: A single-page application (SPA), is a web application or web site that fits on a single web page with the goal of providing a more fluid user experience akin to a desktop application. In a SPA, either all necessary code – HTML, JavaScript, and CSS – is retrieved with a single page load or the appropriate resources are dynamically loaded and added to the page as necessary, usually in response to user actions. The page does not reload at any point in the process, nor does control transfer to another page, although modern web technologies (such as those included in HTML5) can provide the perception and navigability of separate logical pages in the application.

Agatino Grillo: What about data binding?

Vittorio Conte: In traditional web frameworks the controller combines data from models and mashes templates to deliver a view to the user. This combination reflect the state of the model at the time of the view rendering.
AngularJS takes a different approach. Instead of merging data into a template and replacing a DOM element, AngularJS creates live templates as a view. Individual components of the views are dynamically interpolated live. This feature is one of the most important in AngularJS and allows us to write less JavaScript Code.

locandina2-devfest-2.png

Agatino Grillo: At Rome Google Developer Group (GDG) Fest on 8th November 2014 your code-lab was dedicated to getting started with AngularjJS. What did you propose?

Vittorio Conte: GDG DevFest’s codelabs are hands-on lab sessions to allow attendees to learn Google technologies by practical examples from experts sharing their knowledge and passion. You can find slides and code of my AngularJS here. I proposed a rapid overview of AngulaJS features and how you can have a simple Angular apps in minutes thanks to its features like 2-way binding, directives, dependency injection, etcetera. I would thank my friend Alessandro Relati who get the codelab with me.

Agatino Grillo: Google already announced AngularJS 2.0 release?

Vittorio Conte: The next version of AngularJS is currently in a design and prototype phase. As per Google, AngularJS 2.0 will focus on mobile apps but desktop architecture will be supported too.

Agatino Grillo: Thanks Vittorio

Vittorio Conte: Thanks to you

VittorioConte31.jpg

How to contact Vittorio Conte

Slides and code

Links

Connected posts