First, I think that your apps are way more sophisticated then mine.  All I
have is a very basic controller (I am using Application.cfc in this role), a
presentation layer and BusinessObjects (basic cfc's like Invoice, Order,
Customer, Address, Person).  I don't have a factory (although I could since
I don't know what the heck it is).  So my use of xml in my app is passing
between Presentation Layer and 1 business object, sometimes a couple
objects.  Once in an object, I sometimes pass a node of XML to another
function, but sometimes just 1 or two values directly.

Rest of comments below...

-----Original Message-----
From: S. Isaac Dealey [mailto:[EMAIL PROTECTED] 


>       1.  Data for a particular object is "bundled" nicely
> together in a way that is very readable

I just thought I'd point out that the syntax
can often (although not always) be identical (re: very readable).

AO:  Yup.

> 2.  I can easily maintain before and after pictures
> of an object at the client and do not have to create
> session variables to do so.

Why would you want them at the client?

Is that really a big issue for online shoppers? I figured if they
didn't complete the checkout they probably weren't that interested in
the first place.

AO:  First, I am mostly a B-B site, albeit very small B to very small B.
And failed completion is not always related to abandonment.  I've been
interrupted while placing an order and by the time I got back, I've timed
out.  So I need some mechanism for maintaining state.  I like to let buyers
know when they've made a change, so I need both current and past.  This also
gives me an unwind feature, even after committing the transaction.

> 3.  Now that I've found out that I can validate
> against the schema, I don't have to maintain basic
> validation rules at both the UI and
> Business Object level.

Even without that, I'd probably still only validate at the UI.

AO:  How does the UI know what to validate?  Do you add Metadata to all of
your attributes that has size and type features?  In which case, you are
created a schema, you've just rolled your own.


> 6.  I am starting to like the way using xmlSpy
> to create schemas and xml helps me think through
> how I am organizing, validating and representing
> objects

I just write the xml out by hand... Not that xmlSpy is bad, but it's
not a big seller for me -- I find the interface actually gets in the
way more than it's an aid.

AO:  I am new, so I may stop using xmlSpy for this real soon!



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217760
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to