CDO=R(DB)CP ? [message #87350] |
Mon, 25 June 2007 21:09 |
Eclipse User |
|
|
|
Originally posted by: gxquarel.txin.it
I watched this demo http://www.eclipse.org/emft/doc/cdo/demo.html
and it looks like what I want to get from Eclipse.
My goal is to define a model of data and a model of a navigation tree and
with just few clicks I would have tables created on my DB (e.g. Postgresql)
and a Rich "DB" Client Platform application with eventually a server like
that seen in the above demo.
The RCP application will have a navigator, a view with a TableViewer and a
"detail" view just like a property view to edit record.
Clicking on tree nodes you query the DB to populate the virtual TableViewer;
virtual because I don't want to load thousands of records but only the
visible ones and some others...
I am new to EMF and to a lot of projects that in some case seem overlapping,
so I am trying to understand if a project exists whose goal is my goal.
If in the CDO demo you hide some EMF concepts and add a TableViewer, you
have a good DB client...
Is this true?
Can anybody give me some suggestions?
Thanks in advance
Giovanni
|
|
|
Re: CDO=R(DB)CP ? [message #87807 is a reply to message #87350] |
Sun, 01 July 2007 05:54 |
Eclipse User |
|
|
|
Originally posted by: stepper.sympedia.de
Giovanni,
Sorry that I could not reply earlier.
I'm not very sure about your question. Please see my answer below...
Cheers
/Eike
Giovanni schrieb:
> I watched this demo http://www.eclipse.org/emft/doc/cdo/demo.html
> and it looks like what I want to get from Eclipse.
>
> My goal is to define a model of data and a model of a navigation tree and
> with just few clicks I would have tables created on my DB (e.g. Postgresql)
> and a Rich "DB" Client Platform application with eventually a server like
> that seen in the above demo.
> The RCP application will have a navigator, a view with a TableViewer and a
> "detail" view just like a property view to edit record.
> Clicking on tree nodes you query the DB to populate the virtual TableViewer;
> virtual because I don't want to load thousands of records but only the
> visible ones and some others...
>
> I am new to EMF and to a lot of projects that in some case seem overlapping,
> so I am trying to understand if a project exists whose goal is my goal.
> If in the CDO demo you hide some EMF concepts and add a TableViewer, you
> have a good DB client...
> Is this true?
>
Hard to say since I don't know which of the EMF concepts you plan to
hide and what you expect a "good DB client" to be. One thing that comes
into my mind is that you might not be content with how CDO stores
references in the DB. In general CDO is not designed to give you total
control over how the DB tables are layed out although can have a certain
degree of influence on that. It concentrates more on really
transparently connect your models to a model repository without
requiring you to change your client code.
> Can anybody give me some suggestions?
>
I'm not sure what kind of suggestion you expect. If you have questions
with respect to CDO don't hesitate to ask them here.
|
|
|
Re: CDO=R(DB)CP ? [message #87833 is a reply to message #87807] |
Sun, 01 July 2007 21:12 |
Eclipse User |
|
|
|
Originally posted by: gxquarel.txin.it
"Eike Stepper" <stepper@sympedia.de> ha scritto nel messaggio
news:f67fib$3fu$1@build.eclipse.org...
> Giovanni,
>
> Sorry that I could not reply earlier.
> I'm not very sure about your question. Please see my answer below...
>
> Cheers
> /Eike
>
>
> Giovanni schrieb:
>> I watched this demo http://www.eclipse.org/emft/doc/cdo/demo.html
>> and it looks like what I want to get from Eclipse.
>>
>> My goal is to define a model of data and a model of a navigation tree and
>> with just few clicks I would have tables created on my DB (e.g.
>> Postgresql) and a Rich "DB" Client Platform application with eventually a
>> server like that seen in the above demo.
>> The RCP application will have a navigator, a view with a TableViewer and
>> a "detail" view just like a property view to edit record.
>> Clicking on tree nodes you query the DB to populate the virtual
>> TableViewer; virtual because I don't want to load thousands of records
>> but only the visible ones and some others...
>>
>> I am new to EMF and to a lot of projects that in some case seem
>> overlapping, so I am trying to understand if a project exists whose goal
>> is my goal.
>> If in the CDO demo you hide some EMF concepts and add a TableViewer, you
>> have a good DB client...
>> Is this true?
>>
> Hard to say since I don't know which of the EMF concepts you plan to hide
> and what you expect a "good DB client" to be. One thing that comes into my
> mind is that you might not be content with how CDO stores references in
> the DB. In general CDO is not designed to give you total control over how
> the DB tables are layed out although can have a certain degree of
> influence on that. It concentrates more on really transparently connect
> your models to a model repository without requiring you to change your
> client code.
>
I see that focus on models is stonger than I supposed. In fact I need models
only to project my RCP application (basically a data editor) and to define
tables on a DB (I don't have models to store at runtime).
>> Can anybody give me some suggestions?
>>
> I'm not sure what kind of suggestion you expect. If you have questions
> with respect to CDO don't hesitate to ask them here.
My first idea was to use CDO server as a middle-tier, but now I think to
study Spring to develop my own.
Thanks
Giovanni
|
|
|
Re: CDO=R(DB)CP ? [message #608618 is a reply to message #87350] |
Sun, 01 July 2007 05:54 |
|
Giovanni,
Sorry that I could not reply earlier.
I'm not very sure about your question. Please see my answer below...
Cheers
/Eike
Giovanni schrieb:
> I watched this demo http://www.eclipse.org/emft/doc/cdo/demo.html
> and it looks like what I want to get from Eclipse.
>
> My goal is to define a model of data and a model of a navigation tree and
> with just few clicks I would have tables created on my DB (e.g. Postgresql)
> and a Rich "DB" Client Platform application with eventually a server like
> that seen in the above demo.
> The RCP application will have a navigator, a view with a TableViewer and a
> "detail" view just like a property view to edit record.
> Clicking on tree nodes you query the DB to populate the virtual TableViewer;
> virtual because I don't want to load thousands of records but only the
> visible ones and some others...
>
> I am new to EMF and to a lot of projects that in some case seem overlapping,
> so I am trying to understand if a project exists whose goal is my goal.
> If in the CDO demo you hide some EMF concepts and add a TableViewer, you
> have a good DB client...
> Is this true?
>
Hard to say since I don't know which of the EMF concepts you plan to
hide and what you expect a "good DB client" to be. One thing that comes
into my mind is that you might not be content with how CDO stores
references in the DB. In general CDO is not designed to give you total
control over how the DB tables are layed out although can have a certain
degree of influence on that. It concentrates more on really
transparently connect your models to a model repository without
requiring you to change your client code.
> Can anybody give me some suggestions?
>
I'm not sure what kind of suggestion you expect. If you have questions
with respect to CDO don't hesitate to ask them here.
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
|
|
|
|
Powered by
FUDForum. Page generated in 0.03156 seconds