Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: D2W and Direct Actions



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:
http://lists.apple.com/mailman/options/webobjects-dev/email@hidden

This email sent to email@hidden
References: 
 >D2W and Direct Actions (From: Lachlan Deck <email@hidden>)
 >Re: D2W and Direct Actions (From: Guido Neitzer <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.