Posts tagged with "javascript"

Apr 12th, 2013

The D.I.Y. RAP Client Construction Kit

raplite-website2

Since RAP 2.0 has fully implemented the JSON-based RAP Protocol I was eager to test it’s full potential myself. The Tabris clients for Android and iOS already exist and others may follow, but as I’m mostly at home in the browser that’s where I would like to use it. The Vision My idea was to [...]

Leave a Comment
Apr 2nd, 2013

Writing JavaScript Tests with Jasmine for RAP

jasminegraph

If you are writing unit tests for your Java code, then you should also write them for any other code you wrote for the same project. Otherwise these tests only give you a false sense of security. RAP 2.0 provides a new JavaScript API to extend the framework with custom components, as you can read [...]

Leave a Comment
Dec 17th, 2012

RAP ClientServices explained

clientervices

One of the bigger changes in the RAP 2.0 API is the introduction of client services. These are features that interact with the client, but aren’t directly related to the widget toolkit. Since there are now multiple types of clients that can be connected (mainly our default WebClient, Tabris for iOS and Tabris for Android), [...]

Leave a Comment
Nov 12th, 2012

Eclipse RAP on Windows 8: First Impressions

ie10_metro_css3

Along with the release of Windows 8 also came the new Internet Explorer 10. (It has not yet been released for Windows 7.) While IE9 was an impressive (but overdue) technical improvement over IE8, IE10 is – naturally – a much smaller step forward. Significant for RAP are especially the improvements in CSS3 support, and [...]

2 Comments
Oct 8th, 2012

How to deal with whitespaces in the Eclipse IDE

spaces2e

Whatever your project’s specific policy on whitespaces is (tabs vs. spaces, etc), the most important rule should always be consistency. Not just to make your code look nice, but also to avoid issues with patches and your version control system. Changes to whitespaces may be more or less invisible to the naked eye, but Git [...]

1 Comment
Sep 3rd, 2012

Why should we always program in English?

Want to be a developer, but your English is really, really bad? Are you learning some other language and want to practice while doing your job? Or do you just want drive your colleagues insane with code that only you can read – because you happen to know Hindi? If you are a Javascript developer, [...]

2 Comments
Aug 14th, 2012

Debugging JavaScript on Android and iOS

usband2

Overall, mobile browsers are an appealing alternative to native applications: They support most modern web standards like HTML5 and CSS3, and you don't have to set up and learn using multiple SDKs. The technical limitations that do exist  will hopefully get fewer as time goes on (or get patched otherwise), while performance and stability will [...]

Leave a Comment
Jul 30th, 2012

Scrolling in mobile Web-Apps

I love Android, but its default browser is terrible. For relatively simple, static websites it’s okay, but i’m talking about complex HTML(5)/JavaScript applications here. And while Safari for iOs is considerably faster, it’s has almost as many quirks and bugs.  A great alternative to native apps or Flash this ain’t (yet). My frustration comes from [...]

Leave a Comment
Jul 3rd, 2012

Creating interactive wireframes with Inkscape and JavaScript

object-properties-window

In this post I will show you how to create interactive wireframes the open source way using Inkscape and JavaScript. Wireframes are blueprints of how a website or other UIs of graphical applications will look. They allow for creating a simple prototype at a very early stage of development (actually before development kicks in). Introduction Sometimes [...]

3 Comments