tabris.js Tag

Warning! This article is outdated and might not represent the current state of Tabris.js. The CollectionView is one of the most powerful widgets on iOS. On Android, there's a similar widget called RecyclerView. Both widgets implement the same idea: they display a data set by creating only as many cells as fit on the screen and mapping the visible data items to these cells. The cells...

Read More

Recently we introduced a cloud JavaScript editor as a playground for Tabris.js - we are calling it Scratchpad. In todays world it is really important to give developers an easy path to trying things out, and it is quite amazing what cloud editors can do. Our editor is based on CodeMirror and tern.js, and with just about 200 lines of code (plus 750 lines of JSON...

Read More

Tabris.js is a new framework to develop mobile apps in JavaScript. For a general introduction, check out this post: Native Mobile Apps in JavaScript with Tabris.js. Version 0.9.0 is now online and the updated Developer App is published in the App Store / Play Store. Exciting new features are in - be sure to try them out yourself! It's easy, just follow the 3 minute tutorial....

Read More

If you have three minutes and access to an iOS or Android device, you can develop your first cross platform, native, mobile application with JavaScript, using Tabris.js. 1. Request an invite to Tabris.js Ok, this might take a few minutes, but if you request an invite and ping me on twitter to let me know, I'll do my best to process it quickly for you. 2. Install the Developer...

Read More

Tabris.js implements a module system as outlined by Common.js and supported by npm. Modules are a great way to organize your application code into isolated units. Unlike conventional scripts they keep the global namespace clean and are automatically loaded in the right order. Script modules The most common way to create a module is to use a single JavaScript file. There are some important differences to conventional...

Read More

Developing mobile apps, especially when targeting multiple platforms, can be cumbersome and time-consuming. The time to compile and deploy an app to a mobile device really adds up. In this post we introduce you to a much faster development cycle using Tabris.js to write mobile apps. The experience is comparable to web development except there is no HTML involved. Tabris.js apps consist of JavaScript files that...

Read More

Developing mobile apps in JavaScript / HTML5 holds a great promise. Getting started is easy, Cross Platform is a given and the ecosystem of components and libraries is huge. Still, most apps today are developed using native code or as hybrid apps, combining native code and web technologies. Hybrid apps have emerged out of the need to combine the flexibility of HTML5 and server side...

Read More

Over the past 4 months I've been working on integrating Java and JavaScript in a highly efficient manner. Rhino and Nashorn are two common JavaScript runtimes, but these did not meet our requirements in a number of areas: Neither support 'Primitives'. All interactions with these platforms require wrapper classes such as Integer, Double or Boolean. Nashorn is not supported on Android. Rhino compiler optimizations are not supported on...

Read More