Re: Altering EOModel

2010-03-12 Thread Sacha Michel Mallais
On Mar 12, 2010, at 10:23 AM, Chuck Hill wrote: > On Mar 12, 2010, at 7:23 AM, Kieran Kelleher wrote: > >> Hi Chuck, >> >> Resurrecting this old thread >> >> What do you mean by "moderate"? For example a virtual table with 20 fields, >> half being numbers and half being varchar255 strings,

Re: Altering EOModel

2010-03-12 Thread Chuck Hill
On Mar 12, 2010, at 10:23 AM, Chuck Hill wrote: On Mar 12, 2010, at 7:23 AM, Kieran Kelleher wrote: Hi Chuck, Resurrecting this old thread What do you mean by "moderate"? For example a virtual table with 20 fields, half being numbers and half being varchar255 strings, how many virt

Re: Altering EOModel

2010-03-12 Thread Chuck Hill
On Mar 12, 2010, at 7:23 AM, Kieran Kelleher wrote: Hi Chuck, Resurrecting this old thread What do you mean by "moderate"? For example a virtual table with 20 fields, half being numbers and half being varchar255 strings, how many virtual records would be regarded as too much? It is

Re: Altering EOModel

2010-03-12 Thread Kieran Kelleher
Hi Chuck, Resurrecting this old thread What do you mean by "moderate"? For example a virtual table with 20 fields, half being numbers and half being varchar255 strings, how many virtual records would be regarded as too much? Regards, Kieran On Jan 19, 2009, at 3:22 PM, Chuck Hill wrote:

Re: Altering EOModel

2009-01-20 Thread Elim PDT
Yes. if model changes can be made by data changes, we're done. So we want to make eomodel somewhat more abstract and move model details into (relational)database as data. In that way, we want to make eo evolvable. Every eo has its native class defined by eomodel. But we can assign a runtime c

Re: Altering EOModel

2009-01-20 Thread John Ours
On Tuesday, January 20, 2009, at 05:50AM, "Susanne Schneider" wrote: >There is a lot of advantage of beeing mostly generic, but there are >restrictions too. For example the implementation of "simple" new >features, like a new report, can be more complex than desirable. ...but still simpler

Re: Altering EOModel

2009-01-20 Thread Anjo Krank
Am 18.01.2009 um 17:44 schrieb Stamenkovic Florijan: A question to the rest of the list: has anyone ever even tried doing this with WO? And I don't mean just fiddling with the in- memory model, but also saving the model, changing the DB schema on the fly etc... One can do that, but you'd

Re: Altering EOModel

2009-01-20 Thread Guido Neitzer
On 20.01.2009, at 11:50, Susanne Schneider wrote: funny: our system is for healthcare too ;-) Our software is for creating, managing and data collection of clinical studies where the customers can do everything from setup to export on their own without any programming needed from our side.

Re: Altering EOModel

2009-01-20 Thread Susanne Schneider
John Ours schrieb: On Jan 19, 2009, at 2:33 PM, Stavros Panidis wrote: my customer is a major department in a public hospital. Each time they decide to perform an experiment and take in account different measurements. No one can predict this. So they need to have the ability to create and/o

Re: Altering EOModel

2009-01-19 Thread Chuck Hill
On Jan 16, 2009, at 12:20 PM, Stavros Panidis wrote: Hi all, I am developing an application where I want to give to the end user the ability to alter EOModel and database, that is to add fields in a table, or to add a new table and to be able to insert and/or edit data on this table. I

Re: Altering EOModel

2009-01-19 Thread John Ours
On Jan 19, 2009, at 2:33 PM, Stavros Panidis wrote: my customer is a major department in a public hospital. Each time they decide to perform an experiment and take in account different measurements. No one can predict this. So they need to have the ability to create and/or alter existing

Re: Altering EOModel

2009-01-19 Thread Pascal Robert
Well, EOF coupled with a "standard" SQL RDBMS is not the same thing as Access, FileMaker or 4D. FileMaker and Access was build for non- technical people so that they can build small databases themselves. But why don't you store extra information in plist or XML stored in a single field in a

Re: Altering EOModel

2009-01-19 Thread Guido Neitzer
On 19.01.2009, at 20:33, Stavros Panidis wrote: Hi Susanne, I fully understand! But it is hard to accept that I can do it very easily with ACCESS or 4D and not with WebObjects. Imagine, my customer is a major department in a public hospital. Each time they decide to perform an experimen

Re: Altering EOModel

2009-01-19 Thread Stavros Panidis
Hi Susanne, I fully understand! But it is hard to accept that I can do it very easily with ACCESS or 4D and not with WebObjects. Imagine, my customer is a major department in a public hospital. Each time they decide to perform an experiment and take in account different measurements. No

Re: Altering EOModel

2009-01-19 Thread Susanne Schneider
Hi Stravros, having done this I would rather recommend not to go this road unless you are really shure there is no other way. You will find a lot of pitfalls you did not even imagine now ;-) At least, yes: it is possible. The API of EOF allows you to dynamically create or alter any EOModel o

Re: Altering EOModel

2009-01-18 Thread Stamenkovic Florijan
On Jan 16, 2009, at 16:20, Stavros Panidis wrote: Hi all, I am developing an application where I want to give to the end user the ability to alter EOModel and database, that is to add fields in a table, or to add a new table and to be able to insert and/or edit data on this table. I am

Re: Altering EOModel

2009-01-18 Thread Mark Ritchie
On 18-Jan-09, at 9:16 AM, Mike Schrag wrote: not to mention if you alter the model, presumably you have to then REWRITE the model at runtime, which presents all sorts of weird security implications. And that even if you do update and save the new model, having the application use this upd

Re: Altering EOModel

2009-01-18 Thread Camille Roux
What about using a semantic database? Relationnal databases are defined by a fixed schema, and they are not made to have a changing schema. A good alternative is to use semantic databases. You can't use them with the EOModel (I think), but they are powerful for this kind of work. You can "ad

Re: Altering EOModel

2009-01-18 Thread Mike Schrag
Are you really sure that you want to alter the MODEL on the fly? I have really seen a need for something like that as it can normally be done in better ways by making the model generic enough to handle additional information or so. Every application that does for example surveys does things

Re: Altering EOModel

2009-01-18 Thread Guido Neitzer
On 16.01.2009, at 21:20, Stavros Panidis wrote: Hi all, I am developing an application where I want to give to the end user the ability to alter EOModel and database, that is to add fields in a table, or to add a new table and to be able to insert and/or edit data on this table. I am su

Re: Altering EOModel

2009-01-17 Thread Ray Kiddy
Stavros - The documentation on this should really be pretty clear. Look in the API references. Do you want to change the model? Look at the EOModel class (full name = com.webobjects.eoaccess.EOModel). That will lead you to other classes, for example, EOModelGroup, EOEntity, EOAttribute,

Altering EOModel

2009-01-16 Thread Stavros Panidis
Hi all, I am developing an application where I want to give to the end user the ability to alter EOModel and database, that is to add fields in a table, or to add a new table and to be able to insert and/or edit data on this table. I am sure that there is a way to do it but as with the wh