Author: Ralf Sternberg

There have been many notable changes to the Tabris.js codebase since Beta 2, and today we are happy to present the first release candidate of Tabris.js 2. In the last six weeks, we've been focused on finalizing the API for Tabris.js 2.0. But we also deliver some nifty new features, a performance improvement, and a useful addition to the developer console. New CollectionView and Picker API The...

Read More

The latest version of JavaScript (ES2015, or commonly called ES6) is packed with modern features, including classes, lambda expressions (“arrow functions”), block scoping, template strings, and much more. Using a transpiler like Babel, you can use these features in your Tabris.js app today. Quick Start The fastest way to a working ES6 project setup is to generate it. Just install Yeoman, a popular project generator for JavaScript,...

Read More

When you need rich text editing in a RAP application, things are getting easier. You may know that there is a RichText component in the RAP Incubator. It's around for a long time and we found it's time for this component to graduate. Interestingly, the Nebula project also provides a RichText editor for SWT, that even works with RAP. Just like the CkEditor widget from the...

Read More

Some languages, such as Arabic and Hebrew, are written from right to left. The different reading direction not only affects texts, but most UI elements. Preparing software for use in those languages obviously requires a lot more work than just translating texts. We're currently adding right-to-left (a.k.a. “RTL”) support in RAP. For example, if you check the Wikipedia in Hebrew, you'll find the globe logo and the...

Read More

The dynamic typing in JavaScript allows for more flexibility, but it comes at the price of weaker tool support. Explicit type definitions in your code can support editors to provide more exact suggestions as you type … … and to discover problems earlier … TypeScript is a superset of JavaScript that adds type information to the language. It is compiled to regular JavaScript, so it can be...

Read More

This week, the third major version of RAP, the Eclipse Remote Application Platform, has been released. As a major release, RAP 3.0 cleaned up deprecated API, allowing us to change and to optimize internals. I'm happy to report that we achieved a significant performance boost compared to 2.3. Before I go into details, let's look at some results. Performance Tests To evaluate the performance of RAP 3.0,...

Read More

Today, the RAP project delivers the final milestone build on the way to RAP 3.0. With this new major release, we clean up deprecated API, include some new components, optimize performance and modernize the framework to make it ready for 2015. With the new support for re-parenting, RAP can now better support the E4 workbench renderer that uses this feature excessively. By removing support for antiquated browser...

Read More

When you test components of a RAP application, you have to simulate the environment that RAP UI code normally runs in. Thanks to a new API, this becomes easier in RAP 3.0. In an earlier post, my colleague Johannes explained how to write unit tests for RAP 2.x. This approach required more boilerplate code to set up and tear down the RAP environment in every single...

Read More