cayenne-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <and...@objectstyle.org>
Subject Re: JavaFX and Boutique
Date Tue, 13 Dec 2016 17:51:41 GMT
Buddha (and others who wanted to join the fun) -- 

As you see it is taking us a bit of time to get the JavaFX Modeler project setup. Though we
are getting there. If you feel like digging inside other parts of Cayenne in the meantime,
I posted a broad TODO list for the next release recently [1]. Perhaps you can give us a hand
on some of those tasks?

A good candidate (if you work with Gradle at all) may be #10 - providing Gradle versions of
Cayenne tools: 

* cgen - template-based class generator.
* cdbimport - DB to ORM synchronization tool. 
* cdbgen - ORM to DB generator tool.

These tools work from the Modeler, and are also integrated into Ant and Maven [2]. The Gradle
option currently is to call the Ant tasks. We'd like to provide "Gradle-native" plugins instead.
There are a few options for writing those. We lean towards using Java (to isolate us from
the whole Groovy vs. Kotlin thing going on in the Gradle world).

Other tasks from my list [1] are #6 and #7. They are isolated and mostly well-defined, though
will require a bit more discussion and delving into Cayenne runtime stack.

So what do you think?

Andrus


[1] https://lists.apache.org/thread.html/b69fa0eb0457507d5720103a9627252c696b2faec0b71db52762a7c7@%3Cdev.cayenne.apache.org%3E
[2] http://cayenne.apache.org/docs/4.0/cayenne-guide/including-cayenne-in-project.html#maven-projects



> On Dec 12, 2016, at 11:52 PM, Michael Gentry <blacknext@gmail.com> wrote:
> 
> A new Git repository is still on my to-do list.  Been a relatively busy
> time, so it's been bumped below other more important things.
> 
> mrg
> 
> 
> On Sat, Dec 10, 2016 at 12:55 PM, Andrus Adamchik <andrus@objectstyle.org>
> wrote:
> 
>> I just committed my first experiment with JavaFX and Bootique [1]. It
>> enables injection into JavaFX controllers [2] and gives access to DI from
>> the Application class. The implementation is a bit invasive (requires
>> framework superclass of Application), as we can't easily take over the
>> startup sequence, but otherwise works fine. At least in my simple example :)
>> 
>> My total exposure to JavaFX is a total of 2 hours, so I am pretty sure I
>> overlooked other useful things we can do between Bootique and JavaFX. But
>> that's a start. This code will likely become the future bootique-javafx
>> module.
>> 
>> Mike, were we able to get a new Git repo for the JavaFX modeler?
>> 
>> Andrus
>> 
>> [1] https://github.com/andrus/jfxsandbox
>> [2] https://github.com/andrus/jfxsandbox/blob/master/src/
>> main/java/com/foo/RootController.java


Mime
View raw message