Visage -> Pivot

3 views
Skip to first unread message

William

unread,
Jan 19, 2011, 5:25:56 PM1/19/11
to Visage Developers
Hi for all.

I recently started to use Pivot in an internal application. Seems good
and fast, even than Flex! But I'm not the most friendly guy with XML
for UIs...

I believe it's possible to make Visage -> Pivot.

The question is that is easy to wrap Visage to Pivot like Stephen is
doing to Android or like we will do to JavaFX 2.0?

If this is possible could someone indicate some good reading about
starting a project to wrap Visage to Pivot. Only a starting and I'll
work hard on make Visage -> Pivot...

François Rey

unread,
Jan 20, 2011, 5:37:39 AM1/20/11
to visag...@googlegroups.com, William

I'm not a jfx/visage compiler developer but my guess would be that you'll need to plug into the AST generated by the compiler, before it gets transformed into bytecode. I don't know if the current codebase has a plugin architecture, if not it certainly will be needed in order to target multiple platforms and languages. The jfx compiler wiki has a short description of the compiler architecture.

You could also get inspired by how groovy handles elegantly xml to the point of having a direct mapping between groovy code and xml. For example you could look at:

Groovy extensions and examples for Apache Pivot

Griffon Pivot Plugin

Nick Apperley

unread,
Jan 22, 2011, 5:45:00 PM1/22/11
to Visage Developers
William - my advise would be to wait until Visage for Android comes
out where you can see how Visage is being ported to other platforms.
Steve Chin would be the best person to talk to about the Visage
compiler since he works with it extensively. Much of the information
on the JFX Compiler wiki is hugely out of date (only applicable to
early versions of JavaFX Script < 1.0).

Do note that Apache Pivot directly uses the Java platform which Visage
targets already, therefore it would make better sense to have Visage
provide proper integration with the Pivot APIs. Again wait for Visage
for Android to be released so you can see what Steve Chin is doing (in
terms of creating wrapper APIs for example).
Reply all
Reply to author
Forward
0 new messages