The past, present and future of ECMAScript
You can have a look at Tom’s presentation on http://t.co/Phwpx3Ig13.
Boo(s)t your app development
Stéphane Nicoll enlightened us with a Spring Boot talk. He exactly had one slide, but blew us away with a full-packed demo of what Spring Boot’s auto-initialization features can mean for your project. Starting point is https://start.spring.io/, were you can kickstart a Spring project by checking and unchecking technologies. It’s as simple as that. When you’re working with IntelliJ, you can even do it inside your IDE with a wizard. Both result in the same project however.
After creating a simple
@RestController with a
@RequestMapping and a
Hello world, he added the JPA dependency, created an
@Entity and a Spring Data repository. Now we only have to add a database to the project. Just by adding the H2 dependency in the
pom.xml file, Spring Boot creates a database for you and attaches the created Repository classes to that database instance. It is able to do this by scanning for DataSource classes on the classpath.
Actuator endpoints allow you to monitor and interact with your application. Spring Boot includes a number of built-in endpoints. For example, Spring Boot can automatically create a health status endpoint where you can check the health of your database, JMS queue or any other component that is registered with the Spring Boot system. You can even write your own.
He also deployed the application to Cloud Foundry, Pivotal’s cloud platform. He demonstrated the possibility to remotely install another database on that server and bind this database instance to the application. Then he even demonstrated hot code replacement in the cloud… That’s really amazing!
We can conclude that Spring Boot makes Java development as it should be. By following the convention-over-configuration approach, we can achieve very much in very little time.
A sneak peek at the new Angular 2.0
Finally, Pascal Precht from Thoughtram gave some insights on Angular 2. Attention! You shouldn’t say AngularJS 2, but simply Angular 2. Pascal gave us a quick tour of Angular 2’s new syntax for property- and event binding. You will need to use square brackets around HTML attribute names for property binding and parenthesis for event binding, which looks a bit weird at first. You can read more about Angular 2’s syntax in his blog post Angular 2 Template Syntax Demystified. Angular 2 will also support Web Components, a new standard in developing custom components for web applications.
On the question whether Polymer and Angular 2 weren’t tackling the same problems, Pascal replied that Polymer focuses more on Web Components whilst Angular 2 claims to be an end-to-end framework to build applications.
Actually, at first the syntax seems frightening, but after hearing the reasoning behind it, it seems to me that the only difference is that Angular will embrace the standard DOM element properties instead of keeping their own in sync like in the previous version… And that’s why you could say that we don’t have two-way databinding anymore in Angular 2. Interesting things, but we’ll have to wait until 2016 to see the final syntax, because everything we saw… can already be different as we speak.
On the question when Angular 2 would be production ready, he opened up his browser and opened Is Angular 2.0 ready?. That tells enough. Pascal’s feeling is that a beta version will be released Q1 2016, but this was a non-official statement.