• 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 and Direct Actions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: D2W and Direct Actions


  • Subject: Re: D2W and Direct Actions
  • From: Denis Frolov <email@hidden>
  • Date: Thu, 31 May 2007 10:23:08 +0400

On May 30, 2007, at 5:55 PM, Guido Neitzer wrote:

On 29.05.2007, at 22:05, Lachlan Deck wrote:

Naturally I can subclass and provide a defaultPage(WOContext) but I'm wondering how much of the D2W components/framework require a session to work?

All of them. There is no D2W without a session. So, D2W is a good choice for anything where the situation requires a session and where you can live with the somewhat hard to change layout of D2W pages - not that you can't change it, but it's not easy to get a nice looking application.

You actually don't have to change layout of framework's D2W pages. I usually start a project by subclassing all the D2W-pages (InpsectPage extends ERD2WInspectPage, ListPage extends ERD2WListPage, MessagePage extends ERD2WMessagePage, etc) and use project-specific html markup. Java files for these pages most often have no logic at all.


So, all our projects have both admin and front-end driven by D2W. I also agree with Anjo saying that having session is not a problem since it's just memory and thinking about saving memory on the early stages of project sounds like a premature optimization to me. You normally get much more in return.

--
Denis Frolov
Design Maximum MA

Tel: +7 863 2648211
Fax: +7 863 2645229
Web: http://www.designmaximum.com



_______________________________________________
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 and Direct Actions
      • From: Guido Neitzer <email@hidden>
References: 
 >D2W and Direct Actions (From: Lachlan Deck <email@hidden>)
 >Re: D2W and Direct Actions (From: Guido Neitzer <email@hidden>)

  • Prev by Date: Re: Nested Editing Contexts
  • Next by Date: Re: Nested Editing Contexts
  • Previous by thread: Re: D2W and Direct Actions
  • Next by thread: Re: D2W and Direct Actions
  • Index(es):
    • Date
    • Thread