Posts tagged with "javascript"

Apr 25th, 2017

Tabris.js 2.0 RC1 is here

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 [...]

Leave a Comment
Jul 26th, 2016

EclipseCon video: Node.js in a Java World

Last week I finally published the Node.js bindings for Java. These bindings allow developers to embed the Node.js runtime directly onto the JVM through the Java Native Interface. In March I gave a pre-release presentation at EclipseCon on this work, which was recorded by InfoQ. You can check it out at: https://www.infoq.com/presentations/node4j-nodejs-java. The slides are also [...]

Leave a Comment
Jun 8th, 2016

Decoding Symmetric Cyphers with Crypto-JS

Symmetric cryptographic algorithms are algorithms that use the same key for both encryption and decryption. That is, a Code + Key will produce a Cypher, and the Cypher + Key will produce the Code. Crypto-JS is a popular cryptography library which supports a number of different cryptographic algorithms including Advanced Encryption Standard (AES). Encrypting and decrypting [...]

Leave a Comment
Apr 19th, 2016

Use modern JavaScript in your Tabris.js App

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 [...]

4 Comments
Mar 29th, 2016

Announcement: Windows 10 Support coming to Tabris.js

The goal of Tabris.js is to enable you to write an app once and run it on any mobile platform you need, always using 100% native UI components. By now Windows 10 Mobile has a respectable market share in Europe, and its x86 counterpart is running on millions of tablets and laptop/tablet hybrids everywhere. Therefore [...]

Leave a Comment
Feb 29th, 2016

Tabris.js: Declarative UI in 100 lines of functional programming

Hi, as this is my first post on the EclipseSource Blog, I thought I would introduce myself. I’m Shai Alon – new employee at EclipseSource and the mobile developer evangelist for the Tabris.js technology. I am a full stack JavaScript expert and my previous job was a team leader of a full stack JavaScript team [...]

1 Comment
Sep 30th, 2015

JSON Schema Validation with Play

In this post, we introduce a way of validating JSON HTTP requests based on a given JSON Schema instead of manually implementing the validation. We were recently approached to implement validation of JSON HTTP requests based on Play’s Validation API and a JSON schema. Play already provides a great API for performing JSON validation via [...]

Leave a Comment
Sep 23rd, 2015

Write Tabris.js Apps in TypeScript

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 [...]

Leave a Comment
Aug 14th, 2015

How to find local resources in Tabris.js

The built-in, node compatible module system of Tabris.js makes it pretty easy to find and load JavaScript files within your project. NPM modules aside, all paths are relative. So even if your current module is "subProject/modules/dialogs/foo.js", you can open "subProject/modules/dialogs/bar.js" simply by calling "require("./bar");" However, aside from .js files, your Tabris.js project may also consist of images, json, [...]

Leave a Comment