In any component-based framework you’ll need to implement component
communications. The main principle is that components should be loosely
coupled hence reusable hence testable. The mediator design pattern allows you
to arrange component communications via “the man in the middle” so a
component A never communicates with the component B directly. If a component
needs data, someone will provide the data via bindings to the component’s
input properties. Who’s this someone?Ain’t no business of the component.
If a component needs to provide some data to the external world, it’ll emit
events (with the data payload). Emits to whom? Ain’t no business of the
component. Let whoever needs the data listen to the events from this
component.
The mediator pattern is one of the ways to arrange a loosely coupled
communication between components. In the following video I show an ex... (more)
In Defense of Java
By Kevin Goldberg
So we have an eBook, The Top 10 Java Performance Problems, that we tweet out
from time to time. Without exception, a few people reply with some version of
“the problem is you’re using Java.” Java, apparently, is constantly
criticized, and people have been predicting its demise for some time. Sure,
it’s not as cool, flexible, or fun as some of the newer, more dynamic
languages such as Python, Node.js, or Ruby; however, Java remains an
important language for applications everywhere.
Migrating from Java seems like a good scapegoat “quick fix,” bu... (more)
This article was excerpted from the book “Angular Development With
TypeScript” (see http://bit.ly/1QYeqL0).
The Angular 2 framework is a re-write of popular framework AngularJS. In
short, the newer version has the following advantages over AngularJS.
The code is simpler to write and read It performs better than AngularJS
It’s easier to learn The application architecture is simplified as it’s
component-based
This article contains a high-level overview of Angular highlighting
improvements comparing to AngularJS. For a more detailed architecture
overview of Angular visit product do... (more)
Why Java Developers Will Embrace Angular 2 and TypeScript
Most of the Java developers I know don’t like JavaScript. Initially. They
would give you different reasons why, but the real one is simple: too much to
learn to make it work. For many Java developers creating the front end of a
Web application in JavaScript is a chore to write and a burden to maintain.
Nevertheless JavaScript rules in Web development and the new version of
JavaScript (ES6) will make it even more popular.
ES6 offers classes, standardized module definition, arrow expressions
(lambdas), predictable “this” and... (more)
Lots of things are happening there. As of today it’s the liveliest software
ecosystem. The last time I’ve seen such an interesting gathering was 15
years ago in Java.
The Past
Fifteen years ago Java developers were looking down on the JavaScript folks.
It was assumed that JavaScript was only good for highlighting menus and
making an impression that the Web site is current by displaying a running
clock on the page. Mobile phones still had buttons with one digits and three
letters. There were no App stores. Java was promising “Write once run
everywhere”, but now we can see that Ja... (more)
What's Exciting About Java 9 and Application Performance Monitoring
By Aakrit Prasad
In today's modern computing age, constant enhancements in software
innovations are driving us closer to an era of software revolution. Perhaps
in the distant future, that may be how the 21st century is remembered best.
Among the popular software languages out there, however, Java continues to
have the largest industry footprint, running applications around the globe
producing combined annual revenue in trillions. That's why keeping up on the
JDK is a high priority. Despite having a massive API to ... (more)