> Is that an over simplification?  Am I missing anything fundamental?

It's a simplification.. yes.  The model is a "single database entry" entry,
so to speak.  What I was hinting at with my example was an address book..
The model is a cfc containing methods for manipulating a single "person" in
the address book.  I pass in information from the form to the .cfc, and then
I create a model that represents the person being passed in, and I either
update that person in the database or create a new person based on the id
(id = 0 means add a new entry) with the form values that were passed in.
When the data is done being updated, I just cflocate to the "next" page, or
back to the "form" page or whatever.

It's a rather simple concept, but quite powerful... I highly recommend you
read Ben's explanation, as you'll get more out of that than out of my
paragraph above.  http://www.benorama.com/coldfusion/patterns/part2.htm

-d

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:138197
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

Reply via email to