Posts tagged with "javascript"
The D.I.Y. RAP Client Construction Kit
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 [...]
Writing JavaScript Tests with Jasmine for RAP
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 [...]
RAP ClientServices explained
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), [...]
Eclipse RAP on Windows 8: First Impressions
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 [...]
How to deal with whitespaces in the Eclipse IDE
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 [...]
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, [...]
Debugging JavaScript on Android and iOS
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 [...]
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 [...]
Creating interactive wireframes with Inkscape and JavaScript
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 [...]






