Re: Eclipse Cayenne plugin

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Wed Aug 24 2005 - 07:19:50 EDT

  • Next message: Øyvind Harboe: "Re: Eclipse Cayenne plugin"

    Hi there,

    Cayenne Eclipse plugin is a good idea. I toyed with it a while back,
    but decided it wasn't realistic given my other commitments. So the
    hope is in the community....

    > - Be like Spindle.

    Why? No offense to Spindle (without it Tapestry development would've
    been a *real* pain), but you'd use XML editor so often not because it
    is so good, but rather cause there is no WYSIWYG editor.

    Anyway if I were to write one, I'd go in a different direction.
    Namely integrating Eclipse with CayenneModeler. If we are to follow
    analogies taken from the Tapestry community, I'd go with
    "JettlyLauncher approach" rather than the "Spindle approach" - take
    an existing working tool and make sure it plays nice with Eclipse.

    A plugin that would start a Modeler whenever you click on cayenne.xml
    in Eclipse (something you can already setup manually of course), but
    would also refresh Eclipse project whenever you save it in the
    Modeler and maybe also regenerate DataObject classes. And then spend
    the time saved on skipping development of a plugin GUI on things like
    visual representation of an entity graph in the Modeler and such ;-)

    But of course if there are volunteers to start work on such plugin,
    they may have an entirely different vision.

    Andrus

    On Aug 24, 2005, at 2:35 PM, Øyvind Harboe wrote:

    > I've been using Cayenne, Tapestry, Spindle & Eclipse for a little
    > while
    > now and here is a quick dump of what a Cayenne Eclipse plugin might
    > address.
    >
    > While the Cayenne GUI is great, any self-respecting OR mapper should
    > aspire to have an Eclipse plugin these days. :-)
    >
    > - Be like Spindle. Anyone who are thinking about creating a Cayenne
    > Eclipse plugin should take Spindle for a spin. It basically smartens
    > up the editing of Tapestry .xml/.html files by coloring, ctrl-space
    > completion and various other operations. Using the same approach
    > shold also realize synergy effects w/Spindle+Tapestry.
    >
    > - Add outline view w/add+rename+delete fields/relations, etc.
    > operations
    >
    > - refactoring with roundtripping support.
    > By this I mean the ability to e.g. rename a database field and have
    > the Cayenne files be updated, or vice versa.
    >
    > - add database field to table. This should update the classes,
    > database and Cayenne xml files.
    >
    > Are there any Cayenne Eclipse plugin efforts underway?
    >
    > --
    > Øyvind Harboe
    > http://www.zylin.com
    >
    >
    >



    This archive was generated by hypermail 2.0.0 : Wed Aug 24 2005 - 07:19:52 EDT