SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Writing Nearly Codeless Apps: Part 2


Writing Nearly Codeless Apps: Part 2

Author
Message
Cade Roux
Cade Roux
SSC-Enthusiastic
SSC-Enthusiastic (198 reputation)SSC-Enthusiastic (198 reputation)SSC-Enthusiastic (198 reputation)SSC-Enthusiastic (198 reputation)SSC-Enthusiastic (198 reputation)SSC-Enthusiastic (198 reputation)SSC-Enthusiastic (198 reputation)SSC-Enthusiastic (198 reputation)

Group: General Forum Members
Points: 198 Visits: 491
As far as auditing, I have used http://autoaudit.codeplex.com/ very successfully (code generated DML and DDL triggers). Its auditing approach is not individual archive tables, however, but a similar technique could probably be used for that paradigm.

I'm all for standardization and code generation.

There are still no silver bullets, though. The intrinsic difficulties of software engineering remain; what techniques like this do is simply stop us from shooting ourselves in the feet or dragging ourselves down with grunt work and manual errors.
ron.buchanan.us
ron.buchanan.us
Grasshopper
Grasshopper (10 reputation)Grasshopper (10 reputation)Grasshopper (10 reputation)Grasshopper (10 reputation)Grasshopper (10 reputation)Grasshopper (10 reputation)Grasshopper (10 reputation)Grasshopper (10 reputation)

Group: General Forum Members
Points: 10 Visits: 39
I have actually found that a better naming convention is as follows (using Organization as the basic entity):

Table - Organization
View - OrganizationView

Because of the way we use tables and views, this is easily enough to distinguish them and it reads well. As for your categorization of tables, I would suggest just using schemas. So, you would have "adm", "sec", and "crm" schemas. This also has the benefits of security within the schemas.
ron.buchanan.us
ron.buchanan.us
Grasshopper
Grasshopper (10 reputation)Grasshopper (10 reputation)Grasshopper (10 reputation)Grasshopper (10 reputation)Grasshopper (10 reputation)Grasshopper (10 reputation)Grasshopper (10 reputation)Grasshopper (10 reputation)

Group: General Forum Members
Points: 10 Visits: 39
Actually the generator that we use is CodeSmith and NetTiers. It is quite extensible and powerful. We have seen no issues with performance, and it is enterprise worthy. It does a great job of getting us through the ORM part of development. We focus on DB, BL, and UI design, getting the data in and out of the database is quick for us (as it should be since it is plumbing).

If you want, NetTiers also has the ability to create business rules to be applied to the entities and build workflows.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search