• 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: Best method to provide a file dynamically?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Best method to provide a file dynamically?


  • Subject: Re: Best method to provide a file dynamically?
  • From: Dave Elsner <email@hidden>
  • Date: Wed, 15 Sep 2004 12:12:11 +1000

This is my spin on things


I would like to provide a dynamic link to a file in a WORepetition. The archives of this and the Omni lists have provided me with the following ideas for how to solve the problem:

1. Get the file from the database
Con: Slower as more connections/work is needed, and can't steam file straight to the browser, also can't go to the file and modify it directly
Pro: Easy to implement and if you ever have to move your app to a different machine you only need to copy the DB across, not worrying about change folder paths etc, securely stored the file


2. Get the file from the file system via a data object
This is mine and I believe most people preferred option
Con: Slightly more work to implement
Pro: files can be streamed to browser and can be stored in a secure location



3. Directly link to the file using a hyperlink
Con: Files must be stored in a web accessible folder so not very secure
Pro: Easy to implement and fast file downloads and perhaps you want all your files accessible from the web


What are the pros and cons of the various choices?

David

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden


This email sent to email@hidden



_______________________________________________
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


References: 
 >Best method to provide a file dynamically? (From: David Holt <email@hidden>)

  • Prev by Date: Best method to provide a file dynamically?
  • Next by Date: WOMailDelivery problems
  • Previous by thread: Best method to provide a file dynamically?
  • Next by thread: WOMailDelivery problems
  • Index(es):
    • Date
    • Thread