Crossplatform layouts on Titanium Framework

Titanium Framework allows you to develop cross-platform applications using one code base. In particular Titanium Mobile allows to develop apps for iOS, Android and Blackberry devices. Mobile applications on Titanium are coded with JavaScript and built to almost native binaries for each platform.

The problem is that they all have different screen resolutions and ui customs. Happily starting from version 1.5

Read More »

Android friendly translation strings in Titanium

Titanium has lots of pitfalls, hope they will disappear in nearest future.

I just spent some hours on finding out why my Titanium app won't build for android. The reason is that you can not use non-alphabetical letters symbols in translation string names  and event spaces. This mean that you should have L('hello_world') instead of L('Hello World') in your multilingual crossplatform

Read More »

Dealing with Android emulator slow starting

The Android emulator is starting slow. So if you are developing with Titanium framework you probably had the following messages:

[ERROR] Timed out waiting for emulator to be ready, you may need to close the emulator and try again

The solution is simple: just do not close the emulator between coding & building, your app will be restarted when it necessary within

Read More »

Effective JavaScript for Liferay

The State of JavaScript in Liferay

Liferay's Javascript is based on library named AlloyUI that has Yahoo UI framework and bootrstap (starting from version 6.2 underlying. Besides lots of stuff from YUI it has many own improvements and portal specific features. Alloy brings JQuery like API that makes it easier for frontend developers to learn. You can compare and reffer to

Read More »

Modern and Modular JavaScript

On the way of investigating the state of JavaScript modularity we found that only ECMAScript 6 brings reasonable methodology to achieve this. It's also importand that it brings short and familar to other technologies class definition import and export syntax. As an approach for module loading in browser SystemJS looks as the most coprehensive solutions nowdays as among ES6 styled

Read More »

ES7 JavaScript for Backbone

By recent moment Backbone was not really ready for modern ECMAScript (ES) standards as current ES6 haven't implemented class properties. It is described here in detail:

But a plugin was added recently to babel transpiler (es6-7 to old standard translator) that implements this feature so we can write the code in modern ways:

import Marionette from 'backbone.marionette'; import

Read More »

Angular 2 dynamic bootstrap

Sometimes you’re not able to bind framework as the root page element as some html/js infrastructure already exists or you just have outside content rendered with other technologies. But you still can gain benefits of frameworks development and get functionality from subset of well-designed and working components. Angular 2 is more modular than predecessors and allow use to only some

Read More »

Building Crossplatform Mobile Apps with JavaScript 2015 with Babel and Angular2 for NativeScript

NativeScript is a thing that allows you to develop mobile applications for Android and iOS with JavaScript compiled to kind a native code instead of executing inside WebView like in some frameworks. This means you can theoretically write once and just recompile your code for supported platforms. One more good thing is that it allows familiar things from JavaScript world

Read More »