Re: WO and Search Engines

"Pierce T. Wetter III" <[email protected]>
Newsgroups gmane.comp.web.webobjects.devel
Message-ID <[email protected]>
On Mar 15, 2006, at 8:44 AM, David Griffith wrote:

> Yes I was just thinking a bit more about it.  Like I said, I have  
> changed some of the site to use direct actions already.  However I  
> have been using session() to basically generate a session right  
> away if there is not one already.  This is because the conversion  
> to use direct actions had (at the time) more to do with bookmarking  
> than the problem I am experiencing now.  Thanks for the tips, I  
> have some thoughts now on how to proceed, although I think it is  
> going to be a big job to change things.

Tip:

  Assuming you have a superclass that all your components and pages  
share you can add existingSession(), which can check hasSession() and  
return Null if one doesn't exist.

  Another tip:

   Override performActionNamed() to use pageWithName() in  
WODirectAction to make a one-to-one mapping between direct action  
names and page names. You can then use direct actions everywhere that  
isn't a form. That's what we do: http://www.marketocracy.com

  If you have the Wrox WO book, read Chapter 7, I wrote it and have  
some suggestions in there for making DAs easier to use then regular  
actions.

  Pierce
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.