More than a year ago, I wrote a few articles on Apache Pivot. Well, my enthusiasm was very limited.
We are now in the process of re-writting a Delphi based application. Ideally using Java...
We could use simply Swing. But note, that the Swing application framework went back to life before to re-die again...
We checked OpenSwing. It is a good library, which adds a lot of good things on top of Swing. Useful but the look & feel... and a lot of code for just a little app.
To ease things, I looked at Netbeans as a platform. Overkill in many cases and it solved many problem we don't have and ignore those we have... Including we need a short learning curve and among the big issue dynamic localization - language switching http://netbeans.dzone.com/multilingual-netbeans-platform-applications.
Also I spent a bit of time reading about JavaFX. Nice little language, but I cannot find anything that looks like an enterprise feature. Again the old Sun syndrom, we found a nice idea, lets market it against inacessible competition and consider our installed based as supreme idiots... bringing them features they never asked.
So I checked again Pivot - now version 1.5 and I AM IMPRESSED.
Documentation is very much improved, so that makes the purpose very much understandable. Plus you have a bunch of very good examples.
The graphical glitches are gone ! Performance looks pretty good.
Most of the things are there and well designed, Web services, binding, event handling, scripting in the UI definition (any JVM language...).
And yes, a good looking mechanism for static localization.
The design is clean and nice (not very fancy but it is good loooking). It is designed to be skinnable, so we can expect much more funny things sooner or later.
You can build GUI using a straightforward XML based language (the layout can then get transferred to the client and transformed into GUI -> yes in fact this what Open ERP Python APP does...) .
So it is a cool toolkit and it appears much more oriented towards enterprise apps than FX. So my new acronym Rich Enterprise Internet Application that fits for Pivot but no go for FX.
The unfortunate thing... it is not compatible with Swing (I can live with that) but I need a minimal kind of word processor for my app (that I have with Swing and EditorKit stuff). Too bad, nothing is perfect... But keep going Apache Pivot you are heading to the right direction. At least I am getting convinced!
Just a link so you can check (you need Java plugin to get the examples running): http://pivot.apache.org
Showing posts with label apache pivot. Show all posts
Showing posts with label apache pivot. Show all posts
Thursday, July 08, 2010
Sunday, May 03, 2009
Apache Pivot - What is it ?
So I spent a bit of time this week-end with Apache Pivot (release 1.1).
It is a completely new GUI toolkit / framework built on top of Java2D. So it is not Swing, nor native browser controls.
This puts it in my opinion in the category of LRTW software (Lets Reinvent The Wheels). As mentioned in my first post, rendition is far from perfect.
The provided elements are good for layouts and containers but lack for me a good rich text editor - I think to get Java really on the desktop and shining for little businesses we need a programmable Java written office suite.
The interface can be built in Java or using an XML Based language: WTKX. May be this is more comfortable for some designers... Event handling plumbing seems to be in Java only - there is an empty scripting section in the tutorial so may be there are possibilities to declare event handler.
Pivot also includes utilities for data-binding (the stuff we miss in Java since years and you could find in VB or Delphi since day 0) and JSON (data exchange over HTTP), internationalization is also covered (I did not check it).
So my first opinion: this seems to be an open Java based Flex a like solution.
Unfortunately the deployment of the Java plugin is not comparable to Flash and the rendition if far from what you would get with native controls -e.g with Ajax or GWT.
Event being handled locally, so Pivot falls short compared to for example ZK / Echo and I think Canoo. In the demo I could not see an example with multiple windows / MDI like interface.
The tutorial is still incomplete. My statement : good open source = good documentation (potentially charge it but please write it if you want to gain quick acceptance).
What's more I could not find an indication of which problems Pivot is supposed to solve.
At this stage I cannot imagine to use it for anything. The project is currently 'incubated'. Except if the project can jump very quickly in term of quality and server based event handling, I don't think it will make long run.
It is a completely new GUI toolkit / framework built on top of Java2D. So it is not Swing, nor native browser controls.
This puts it in my opinion in the category of LRTW software (Lets Reinvent The Wheels). As mentioned in my first post, rendition is far from perfect.
The provided elements are good for layouts and containers but lack for me a good rich text editor - I think to get Java really on the desktop and shining for little businesses we need a programmable Java written office suite.
The interface can be built in Java or using an XML Based language: WTKX. May be this is more comfortable for some designers... Event handling plumbing seems to be in Java only - there is an empty scripting section in the tutorial so may be there are possibilities to declare event handler.
Pivot also includes utilities for data-binding (the stuff we miss in Java since years and you could find in VB or Delphi since day 0) and JSON (data exchange over HTTP), internationalization is also covered (I did not check it).
So my first opinion: this seems to be an open Java based Flex a like solution.
Unfortunately the deployment of the Java plugin is not comparable to Flash and the rendition if far from what you would get with native controls -e.g with Ajax or GWT.
Event being handled locally, so Pivot falls short compared to for example ZK / Echo and I think Canoo. In the demo I could not see an example with multiple windows / MDI like interface.
The tutorial is still incomplete. My statement : good open source = good documentation (potentially charge it but please write it if you want to gain quick acceptance).
What's more I could not find an indication of which problems Pivot is supposed to solve.
At this stage I cannot imagine to use it for anything. The project is currently 'incubated'. Except if the project can jump very quickly in term of quality and server based event handling, I don't think it will make long run.
Libellés :
apache pivot,
canoo,
gui ria java,
java,
swing
Saturday, May 02, 2009
Apache Pivot
So I am having a look at Apache Pivot 1.1. I started the demo app in my browser (IE 7 - I know, I know...) just using the applet scroll bar and the entire interface went scratched.
I cannot elaborate more at this time. But Swing is a conceptually nice, complicated and frequently disappointing. Java applications suffer very often of poor renditions problems ?
In fact Pivot is not Swing based (it may looks like Swing for developpers) but is built on Java2D. But I am already sure that it exhibits similar behaviors...
I cannot elaborate more at this time. But Swing is a conceptually nice, complicated and frequently disappointing. Java applications suffer very often of poor renditions problems ?
In fact Pivot is not Swing based (it may looks like Swing for developpers) but is built on Java2D. But I am already sure that it exhibits similar behaviors...

Subscribe to:
Posts (Atom)