• 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: Advice on dynamic graphics with WO
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Advice on dynamic graphics with WO


  • Subject: Re: Advice on dynamic graphics with WO
  • From: Michael Engelhart <email@hidden>
  • Date: Wed, 31 Dec 2003 17:51:09 -0500

This is generally a bad idea in my opinion. There's much more overhead in retrieving image data from a database then there is in just letting Apache serve up the image. Apache has been highly optimized just for this purpose. Databases generally have not.

My suggestion is to just store a URL for the image in the database and write that URL to the dynamic page. Or if you know the path is always going to be the same you could simply store the filename.

Mike
On Dec 31, 2003, at 4:52 PM, Kieran Kelleher wrote:

I know that Apache is the way to go for vending static page graphics that have been designed into my HTML pages, however, should I be storing variable graphics, such as dynamic page graphics (database photos, artwork files, etc.) in my database?

Has anyone got a strategy on how to handle this? Is this a feasible strategy: Put a single "VariableDocs" directory on my network with a symbolic link to it in the web server Apache Documents folder, so that I only have to write once to one folder and multiple web servers will see the graphic files via the symbolic link ("shortcut")?? ..... any and all advice is appreciated.

-Kieran
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Advice on dynamic graphics with WO
      • From: Robert Walker <email@hidden>
References: 
 >Advice on dynamic graphics with WO (From: Kieran Kelleher <email@hidden>)

  • Prev by Date: Advice on dynamic graphics with WO
  • Next by Date: Re: can I use fetch spec to filter an array?
  • Previous by thread: Advice on dynamic graphics with WO
  • Next by thread: Re: Advice on dynamic graphics with WO
  • Index(es):
    • Date
    • Thread