cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joseph Schmidt (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CAY-155) More object-centric modeling tool
Date Thu, 26 Mar 2009 14:15:55 GMT

    [ https://issues.apache.org/jira/browse/CAY-155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12689494#action_12689494
] 

Joseph Schmidt commented on CAY-155:
------------------------------------

Please split (or re-edit this issue) to contain only the first paragraph of text (to be in
sync with the title - since this issue is about being object-centric, so it has nothing to
do with CAY-762 ).

I think an object-centric feature is just what Cayenne Modeler is missing.
This would mean that for the user to work and think only about it's objects (ObjEntites) -
similar like in RubyOnRails or other frameworks where the users works only with the Object
Model (and the framework takes care of the rest).

How could it work for the user.
#1. On the Welcome Screen, there could be new button: New Object-Centric Project (or a better
naming), or a project/tool setting for this "object-centric" mode.
#2 Click-ing it (or having that setting), the project would be in "object mode", i.e. no database
info will be displayed in the screens, or those fields should be read-only (and filled/updated
automatically by Cayenne).
#3 Reverse engineering a database (with default settings) fills everything correctly right
now too. In object-centric mode, the DB related fields in those screens would be just read-only.
#4 Adding a new Object Entity, would auto-generate the corresponding DBEntites and Fields
and mapping - the same way it's done for reverse engineering. So this issue is mainly about
having automatic *forward engineering* in CM.
#5 Editing/deleting attributes and relationships of existing ObjEntites would also update
automatically the DB fields (the same way it happens at reverse engineering).
#6 Calling generate database schema would of course generate everything like it does right
now too.

Thanks,
Joseph.



> More object-centric modeling tool
> ---------------------------------
>
>                 Key: CAY-155
>                 URL: https://issues.apache.org/jira/browse/CAY-155
>             Project: Cayenne
>          Issue Type: New Feature
>          Components: CayenneModeler GUI
>    Affects Versions: 1.2 branch
>            Reporter: Claudio Rosati
>            Assignee: Andrus Adamchik
>
> For DB-unaware users that want to *CREATE* a new DB and its object model, the GUI modeling
tool sould let the user to model just ObjEntities not DbEntities, automatically creating DB
entities and relationships as needed.
> The best will be having a GUI that lets user to manipulate UML-like objects and relations
(maybe using open source graph libraries like JGraph or Piccolo for graphics): ObjEntities
can be created, class hierarchies and relationships defined drawing lines between ObjEntities
and so on.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message