• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: D2W - Custom forms generated from XML
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: D2W - Custom forms generated from XML


  • Subject: Re: D2W - Custom forms generated from XML
  • From: Flavio Donadio <email@hidden>
  • Date: Thu, 17 Jan 2013 11:16:13 -0200

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 <email@hidden> 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      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: D2W - Custom forms generated from XML
      • From: Jesse Tayler <email@hidden>
References: 
 >D2W - Custom forms generated from XML (From: Flavio Donadio <email@hidden>)
 >Re: D2W - Custom forms generated from XML (From: Paul Hoadley <email@hidden>)
 >Re: D2W - Custom forms generated from XML (From: Flavio Donadio <email@hidden>)
 >Re: D2W - Custom forms generated from XML (From: Jesse Tayler <email@hidden>)
 >Re: D2W - Custom forms generated from XML (From: James Cicenia <email@hidden>)
 >Re: D2W - Custom forms generated from XML (From: Flavio Donadio <email@hidden>)
 >Re: D2W - Custom forms generated from XML (From: Jesse Tayler <email@hidden>)
 >Re: D2W - Custom forms generated from XML (From: Paul Hoadley <email@hidden>)

  • Prev by Date: Re: D2W - Custom forms generated from XML
  • Next by Date: best way to create date/time
  • Previous by thread: Re: D2W - Custom forms generated from XML
  • Next by thread: Re: D2W - Custom forms generated from XML
  • Index(es):
    • Date
    • Thread