Why are Angular Components more Successful than JSF Components?

Posted on 5 CommentsPosted in Angular2, JSF, simpliying JSF

At first glance, there are many similarities between Angular and JSF. Both offer a decent abstraction layer from the DOM, both offer two-way binding (yes, I know it’s optional since Angular2), and both use components as building blocks of the application. Even better, both frameworks offer a way to create your own custom components. The […]

ngx-translate and ngx-translate-extract – Internationalization Made Easy

Posted on Leave a commentPosted in Angular2

It’s a bit surprising that there so many libraries offering internationalization for Angular applications. It’s surprising because there the Angular cookbook describes a well-thought approach to internationalization. Unfortunately, ng-xi18n was broken last time I checked, so let’s explore another library today. ngx-translate is a simple but useful library for supporting multiple languages. And ngx-translate-extract makes […]

UI Survey 2017: Java vs. JavaScript

Posted on 4 CommentsPosted in Angular2, AngularJS, BootsFaces, Javascript, JSF, Spring, UI survey, Uncategorized, web design

Recently, I’ve seen a number of surveys covering the popularity of Java and Java UI frameworks. Most surveys show that either Spring or Java EE is more popular. However, they don’t answer two important questions: is Java becoming more or less important? Currently, I’m mostly interested in UI frameworks, so the next logical question is: […]

UI Roundup 2017: Polymer

Posted on Leave a commentPosted in Angular2, web design

Two years ago, Polymer looked like an equal competitor to AngularJS. At the time, it wasn’t clear which one would win the race. Truth to tell, it’s not clear today. The JavaScript world is incredibly volatile and capricious. But the numbers I collected clearly indicate Angular (nowadays without JS) is much more important. At the […]

Angular Takes the Sting out of Writing Components

Posted on Leave a commentPosted in Angular2, architecture, developer productivity, TypeScript

It’s astonishing how simple writing web components is with Angular. In a way, this shouldn’t be a surprise: components are the building blocks of every Angular application. However, last week we wrote a component I already knew to be difficult to implement in merely an hour or two. That was really a surprise. Our choice […]

Electron Brings JavaScript to the Desktop

Posted on 1 CommentPosted in Angular2, desktop GUI, Javascript, TypeScript

Let’s continue my “Java on the desktop” series with something that’s not Java, but interesting nonetheless. Electron is a framework wrapping your HTML5 application in a native window of your operation system. Other than most projects in the JavaScript universe, Electron does not follow a “mobile first” approach. Quite the contrary, it’s fairly opinionated in […]

Java on the Desktop

Posted on Leave a commentPosted in Angular2, application servers, BootsFaces, Browser, desktop GUI, web design

For some reason, the vast majority of developers has accepted the browser as the operation system for their applications. While there are some good reasons for this, I never really bought into it. HTML5 has eliminated most of the pain point of web applications, but I still insist that most customers don’t really want to […]

Angular2 Component Libraries

Posted on 2 CommentsPosted in Angular2

A good third-party component library can give your application development team a boost. This article collects a list of popular UI component libraries for Angular2. It goes without saying that this list can never be complete, so it’s probably going to change and expand over time. If you know of a useful Angular2 widget library, […]

TypeScript and ES2016 Decorators vs. Java Annotations

Posted on 1 CommentPosted in Angular2, Concepts of programming languages, ECMAScript, Java 8, TypeScript

Consider this TypeScript snippet. It’s a very simple Angular2 component. It looks almost like a Java class, doesn’t it? In particular, the @Component looks like a Java annotation. In fact, it plays the some role as a Java annotation. It tells the Angular2 framework that this class is not an ordinary POJO, but something special. […]

Getting Started With AngularJS 2.0: Forms (Part I)

Posted on Leave a commentPosted in Angular2, AngularJS

Let’s continue our journey into the universe of Angular2 with exploring forms. Actually, that’s something odd: many articles and tutorials on Angular2 spend a lot of time explaining that the old two-way-binding of AngularJS 1.x has been replaced by something different, something superior. Putting it in a nutshell Forget about that. You can learn about […]