Delphi Multi-Tier DB Application Code Generator
Bear
Code Generator Main Window
We need input at least there parameters: Template Directory, Output Directory and UDL filename.
Here the Database.udl connect to MS SQL Server Northwind database.
Click "Help" button for more information.
Click "Generate Project Source Code" button to geneate source code.
It will generate two directories in the output directory.
One is for application server and another is for the Client GUI program.
You can open the app server project in Delphi and run it directly! (do this first to register the application server)
You can open the client GUI project in Delphi and run it directly!
Now you can copy what you need in the two projects into your real projects.
It will save you a lot of time of : dragging and dropping components, renaming components, connecting components, setting captions ....
Generated projects
App Server:
Run Time:
It will connect to database via Database.udl with exe file.
Design Time:
GUI Client:
Run Time:
It can use DCOMConnection, :SocketConnection or WebConnection.
Please config this in Config.ini
Design Time:
Enjoy it.
2006.5