 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Bear Guest
|
Posted: Mon May 22, 2006 5:15 pm Post subject: Delphi Multi-Tier Database Application Code Generator |
|
|
Hi All,
When developing MIDAS/DataSnap projects, we need develop the Application
Server and Client Application.
We need put Dataset component and Provider components for each table on
Application Server side.
We need put ClientDataSet and DataSource components for each table on Client
application side.
We need put DataAware components for each table and field on Client
application side too.
We need give each component a readable name regarding its table name or
field name.
If you have a lot of tables in database to deal with, it may take you
several days.
If you have new database projects every week or every month, it really take
your much time.
DMDACG(Delphi Multi-Tier Database Application Code Generator)
can do all of these work for you in several minutes.
The more tables you have, the more time it save for you.
You just need copy what you need from the generated projects to your real
projects.
Now I post my Delphi Multi-Tier DB Application Code Generator here:
http://blog.csdn.net/dogbear2000/archive/2006/05/21/747697.aspx ( with many
screenshots)
How to use it:
http://blog.csdn.net/dogbear2000/archive/2006/05/21/747690.aspx
You can download the tool here(this is a FREE tool):
http://www.torry.net/tools/code/codegen/DBAppCodeGenerator09.zip
I started a thread "About Entity-Relationship Diagram in BDS 2007" several
days ago here.
http://groups.google.com/group/borland.public.delphi.non-technical/browse_thread/thread/b7e49cd5c6bf29d/192a6c45c2584d2e?lnk=st&q=Delphi+About+Entity-Relationship+Diagram&rnum=1&hl=zh-CN#192a6c45c2584d2e
What I want to say is :
I expect BDS 2007 support E-R diagram and Code Generation functions (
Geneate Database Schema from ERD, DataSnap projects, ECO projects ... from
database), let the IDE do more things like a robot for the developers! (not
we working more with IDEs )
If BDS support E-R diagram and Code Generators, we can focus more on
Business Logic, and save much time on repeated things.
And I wish BDS bring more functions that can really support our daily work
much more and be much better than other IDEs.
How do you think about this?
Regards,
Bear |
|
| Back to top |
|
 |
GW Guest
|
Posted: Wed May 24, 2006 10:15 am Post subject: Re: Delphi Multi-Tier Database Application Code Generator |
|
|
That sounds brilliant Bear. I'm just about to start such a project and this
sounds like it'll save a ton of work.
Thanks you very much (in advance) for making this freely available.
Cheers,
Graham W. |
|
| Back to top |
|
 |
Bear Guest
|
Posted: Wed May 24, 2006 4:15 pm Post subject: Re: Delphi Multi-Tier Database Application Code Generator |
|
|
Thank you for your good words, Graham.
I am very glad it can save your time.
You can also customize NameFormat.ini(%s is for table name or field name):
[NameFormatStrings]
DataSetName=%s_Q
ProviderName=%s_P
DataSourceName=%s_DS
ClientDataSetName=%s_CDS
TableUnitName=frm%s
TableFormName=%s_Frm
DBGridName=%s_DBGrid
DBEditName=%s_DBEdt
LabelName=%s_Lab
DBCheckBoxName=%s_DBChk
DBNavigatorName=%s_DBNvg
DBMemoName=%s_DBMemo
DBLookupComboBoxName=%s_DBLkpCbo
regards,
Bear
"GW" <gdwfleetware (AT) netscape (DOT) net> 写入消息新闻:4474274c$1 (AT) newsgroups (DOT) borland.com...
| Quote: | That sounds brilliant Bear. I'm just about to start such a project and
this sounds like it'll save a ton of work.
Thanks you very much (in advance) for making this freely available.
Cheers,
Graham W.
|
|
|
| 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
|
|