 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Ronaldo Rezende Vilela Lu Guest
|
Posted: Tue Jul 15, 2003 12:34 pm Post subject: model of development |
|
|
I agree that the best pratice to do is develope the system using an design
pattern such MVP and a OPF. My problem is the OPF. I'm developing in Kylix.
I don't have time and money to create or by an OPF. So, I'm developing with
ClientDataSets, DataModules and CLX Data Controls.
Each of my object has:
two datamodules (server and client. but in real world my application has
only two phisical tier. My application will create only one
serverDataModule and one ClientDataModule for each object created.);
* a register property (clientdataset with all fields used by formEditor, to
insert and edit records. This cds requires the primary key to locate the
record or null values when is used to insert record.);
* a index property (clientdataset with only fields necessary to find a
record. e.g.: the name of the customer. this is used by the SearchForm);
* a form used to edit and insert records;
* a a form used to locate records; (in this form, several objects of the
same class can be created, to create several EditForms.
When I create forms, I pass the DataSource of the object as parameter to
form. So, the form will use the dataSource of the object that is creating
the form.
So, in this model that I'm trying to create, the object has the form, and
not the form has the object. Each "DBForm" will have the DataSource, that
will receive as a parameter of DBForm's constructor.
Is there any sugestions or comments in this model of development?
--
Ronado Rezende Vilela Luiz
Uberaba, MG - Brazil
|
|
| Back to top |
|
 |
Cosimo De Michele Guest
|
Posted: Wed Jul 16, 2003 6:23 am Post subject: Re: model of development |
|
|
Take a look to DePO.
http://sourceforge.net/projects/depo
Best regards
Cosimo De Michele
"Ronaldo Rezende Vilela Luiz" <ronaldinho79 (AT) bol (DOT) com.br> ha scritto nel
messaggio news:3f13f3a3 (AT) newsgroups (DOT) borland.com...
| Quote: | I agree that the best pratice to do is develope the system using an design
pattern such MVP and a OPF. My problem is the OPF. I'm developing in
Kylix.
I don't have time and money to create or by an OPF. So, I'm developing
with
ClientDataSets, DataModules and CLX Data Controls.
Each of my object has:
two datamodules (server and client. but in real world my application has
only two phisical tier. My application will create only one
serverDataModule and one ClientDataModule for each object created.);
* a register property (clientdataset with all fields used by formEditor,
to
insert and edit records. This cds requires the primary key to locate the
record or null values when is used to insert record.);
* a index property (clientdataset with only fields necessary to find a
record. e.g.: the name of the customer. this is used by the SearchForm);
* a form used to edit and insert records;
* a a form used to locate records; (in this form, several objects of the
same class can be created, to create several EditForms.
When I create forms, I pass the DataSource of the object as parameter to
form. So, the form will use the dataSource of the object that is creating
the form.
So, in this model that I'm trying to create, the object has the form, and
not the form has the object. Each "DBForm" will have the DataSource, that
will receive as a parameter of DBForm's constructor.
Is there any sugestions or comments in this model of development?
--
Ronado Rezende Vilela Luiz
Uberaba, MG - Brazil
|
|
|
| Back to top |
|
 |
Cosimo De Michele Guest
|
Posted: Wed Jul 16, 2003 7:18 am Post subject: Re: model of development |
|
|
I'm working on it, in september there will be new version with complete
documentation!!!
Best regards
Cosimo De Michele
"Paul Nicholls" <paul-nicholls (AT) hotmail (DOT) com> ha scritto nel messaggio
news:3f14f8bf (AT) newsgroups (DOT) borland.com...
| Quote: | Is there an English version of the 'DePO How to'? The only one I can find
is in Italian...
"Cosimo De Michele" <cdemichele (AT) tiscalinet (DOT) it> wrote in message
news:3f14f03d$1 (AT) newsgroups (DOT) borland.com...
Take a look to DePO.
http://sourceforge.net/projects/depo
Best regards
Cosimo De Michele
|
|
|
| Back to top |
|
 |
Paul Nicholls Guest
|
Posted: Wed Jul 16, 2003 7:25 am Post subject: Re: model of development |
|
|
Thanks, and I'm not trying to rush you :-)
"Cosimo De Michele" <cdemichele (AT) tiscalinet (DOT) it> wrote
| Quote: | I'm working on it, in september there will be new version with complete
documentation!!!
Best regards
Cosimo De Michele
"Paul Nicholls" <paul-nicholls (AT) hotmail (DOT) com> ha scritto nel messaggio
news:3f14f8bf (AT) newsgroups (DOT) borland.com...
Is there an English version of the 'DePO How to'? The only one I can
find
is in Italian...
"Cosimo De Michele" <cdemichele (AT) tiscalinet (DOT) it> wrote in message
news:3f14f03d$1 (AT) newsgroups (DOT) borland.com...
Take a look to DePO.
http://sourceforge.net/projects/depo
Best regards
Cosimo De Michele
|
|
|
| Back to top |
|
 |
Ronaldo Rezende Vilela Lu Guest
|
Posted: Wed Jul 16, 2003 10:31 am Post subject: Re: model of development |
|
|
Cosimo De Michele wrote:
I already have a look in DePO some months ago.
In my opinion, the ClientDataSet has many advantages
such work with all data in the client with no transaction
open in server. Another advantage is the facility to
migrate to 3 tier model.
The DePO can be used in Kylix?
If I decide to use DePO I must spent time coding it?
Or DePO already can be used in projects ?
--
Ronado Rezende Vilela Luiz
Uberaba, MG - Brazil
|
|
| Back to top |
|
 |
Cosimo De Michele Guest
|
Posted: Wed Jul 16, 2003 11:34 am Post subject: Re: model of development |
|
|
| Quote: | The DePO can be used in Kylix?
Yes, it is used |
| Quote: | If I decide to use DePO I must spent time coding it?
DePO is incomplete! But the sql engine core is stable. |
| Quote: | Or DePO already can be used in projects ?
DePO is used in almost two project! |
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|