Jesse,

I think I am missing some messages. This is the second time in this thread that 
I don't get a message. I took this from Paul Hoadley's reply. Thanks, Paul!

On 16/01/2013, at 5:00 AM, Jesse Tayler <jtay...@oeinc.com> wrote:

> to determine which XML attribute is which during your query but I can't 
> imagine how a table based approach would perform worse -- plus, it should be 
> a lot simpler to build and to maintain. should be --


Well, my problem with the table-based approach is the number of queries that 
would be executed just to show a product on a page. With most products having 
between 50 and 70 items in their spec sheets, I can see the database being hit 
with more queries than necessary. This would be negligible on current hardware, 
though...

One other problem that I see: how can I specify which spec items belong to a 
product category and how it should be organized and ordered? I don't want my 
users having to add each item from a EditRelationshipEmbedded* when inserting 
products, because item order and consistency is important to me.

I see that, no matter which of the techniques I use, I will have a LOT of 
work...


> Anyway, I guess with this xpath technology, you don't need to worry - but I 
> wonder what it does underneath to do the same thing?

Well, I don't know about the internals, but it works. As Paul noted, XPath is a 
W3C recommendation and it's a nice way to manipulate an XML document. Since 
PostgreSQL does some sanity-checks on XML data, it should make my life easier 
too...


Regards,
Flavio
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to