React.js, Elm, Cycle.js, and other UI frameworks introduced a new way of building user interfaces. By applying principles from functional reactive programming to UI development, they even changed how we think about user interfaces. In no time, these approaches have simply smashed the seemingly inevitable dominance of MVC and its siblings (MVP, MVVM etc.). This article, which is the first in a series, will give a brief introduction into this new way of building UIs and list some of the advantages it has over traditional approaches. These factors are so strong, that in my opinion there is a good chance that we are right now witnessing the end of the MVC-era.
Hendrik and myself created a RefCard for JavaFX 8, which was published today. A big thanks goes to the people at Dzone, who made this happen, and to my colleagues at Canoo, who were also a big help. You can download the RefCard over at JavaFX 8 RefCard.
Today I release an initial version of Čaj, a Java library that allows you to formulate expectations about your code in your tests.
Expectations formulated with Čaj are straightforward to read and simple to understand. Here are a few examples:
You can find out more on Čaj’s GitHub page.
I have uploaded a new version of the sample page for JavaFX in the browser, which demonstrates the functionality that was added lately: gradients, fonts, and mouse-events. http://jfx8web.netopyr.com/playground/
Lately Carl Dea and I have started a new project to bring JavaFX 8 into the browser. Today I want to introduce the first two proof-of-concepts that we created to see if this idea is feasible at all.
Continue reading “JavaFX in the browser”
During my talk “The Quantum Physics of Java” at Oredev, @holly_cummins tweeted about the beer cache hierarchy. It is an analogy with which my former colleague, Richard Thompson, came up to describe the differences between memory access times. This tweet hit a nerve with more than 1.500 Retweets and more than 900 Favorites. It also inspired quite a few people to extend the analogy to other areas. Here are some of my favorites:
In the video we talk a lot about my latest project Coffee4Java. It is a JSR 223-compliant ScriptEngine for CoffeeScript. You will find the code examples from the video with a more thorough explanation soon on this blog.