• 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: Converting to a static site.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Converting to a static site.


  • Subject: Re: Converting to a static site.
  • From: Jake MacMullin <email@hidden>
  • Date: Tue, 26 Feb 2008 08:17:43 +1100

James,

I've done this before and in some cases it can be quite simple. If for example you have a master-detail style catalog and your detail pages are designed to take a single 'product' and then display the detail, you could do something like this:

Get all the 'products' out of the DB

Iterate through the list, passing each 'product' to an instance of your 'detail' page before calling its 'generateResponse' method and saving the response to a sensible location on disk (perhaps using some combination of product name and identifier).

Modify your 'master' page to link to the location of your detail pages on disk rather than using WOHyperlinks.


HTH,

Jake


On 26/02/2008, at 5:51 AM, James Cicenia wrote:

Hello -

I thought I had remembered a document somewhere on the web on instructions on
how to convert a simple webobjects site to a static one, say, for publishing on a cd.


I have a simple catalog site that I would like to do this with. Is this possible or does
someone have the link with the instructions.


Thanks
James Cicenia

_______________________________________________
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

_______________________________________________ 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: 
 >Converting to a static site. (From: James Cicenia <email@hidden>)

  • Prev by Date: Re: Line-breaks in String-values in Bindings broken?
  • Next by Date: Re: Converting to a static site.
  • Previous by thread: Re: Converting to a static site.
  • Next by thread: Re: Converting to a static site.
  • Index(es):
    • Date
    • Thread