Adaryl,
Somewhere I interviewed or spoke with someone about this topic. It
was my understanding that the individual coders being employed were generally
not allowed to do any form of insert/update/delete into the database through
their code. They were however permitted to write Select statements to
tables and/or views. The coders were given a set of API calls
utilizing XML services internally to do the direct DB manipulation. The
idea was to force data integrity and consistency by only allowing data to be
modified through approved prebuilt modules.
A
permutation of this would be to not permit inline DB calls in your CF code and
to call all DB statements via stored procedures. I have heard this speeds
up development, improves reusability, and quality. I'm a bit skeptical of
this however. I have spent a few years writing code as the primary
developer and write my SQL code directly inside of my CF pages. At least
for small development teams with ad-hoc design standards that change frequently
I think the extra overhead of standardizing and separating the layers adds
significant complexity. However, I would love to hear from those who have
used this method in large, formal design groups. It may be the way to
go.
Ryan
|
Title: Message
- [KCFusion] deletes on database? Adaryl Wakefield
- RE: [KCFusion] deletes on database? Ryan Hartwich
- RE: [KCFusion] deletes on database? Glenn Crocker
- RE: [KCFusion] deletes on database? Misty Woodward
- Re: [KCFusion] deletes on database? Adaryl Wakefield
- Re: [KCFusion] deletes on database? Daryl Banttari
- RE: [KCFusion] deletes on database? Ryan Hartwich
- RE: [KCFusion] deletes on database? Cox, Billy W [PCS]
- Re: [KCFusion] deletes on database? Misty Woodward
- RE: [KCFusion] deletes on database? bnnwabu
- RE: [KCFusion] deletes on database? Matt Jones
- Re: [KCFusion] deletes on database? Girish_Kshirsagar