javascript Tag

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 improve. Sure, native apps will always have some advantages, but...

Read More

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 one specific topic I had to deal with, and that's scrolling...

Read More

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 people concentrate on the desired features of an application but neglect the...

Read More

The RAP team started working on a new feature called ClientScripting. It's still in it's infancy and will not (yet) be part of the core framework , but its already very useable. The goal is to allow adding pieces of behavior to the client-components of RAP widgets. This makes it possible to have swift, dynamic user feedback in situations that require a certain amout of...

Read More

If you ever need a WYSIWYG editor in your RAP application, look no further. I originally implemented this as an example of how JavaScript applications can be embedded in RAP as custom widgets. So if you have a similar scenario, you could also use this project as a template. The editor is fairly customizable, read the README for details. You can get the code on GitHub. Update:...

Read More

Besides all the Java code in the RAP project, we also have more than 250 JavaScript files which total up to 75k lines of code. For such an amount of code, you should have some kind of code analysis that detects common coding problems like unintentional global variables. We use the JSEclipse plug-in for JavaScript editing which detects some, but not many JavaScript problems. A while...

Read More

A few weeks ago I showed you how easy it is to integrate jQuery into RAP using the browser widget. I’d like to show you another example of what can be integrated. Last time I created a carousel widget; this time the demo is something smaller but still really cool. Yesterday I came across a github repository by Ryan McGeary. He has created a very clever...

Read More

Today, the Eclipse e4 project had its first 1.0 milestone release. This is the beginning towards sprinting for the 1.0 final release. The big new and noteworthy in this milestone is support for remote debugging of JavaScript and in particular e4 JavaScript bundles. The support is currently restricted to Mozilla Rhino, however in true Eclipse fashion, the JavaScript debug model and extension models are in place to...

Read More