Direct Action vs. Component Action...
Direct Action vs. Component Action...
- Subject: Direct Action vs. Component Action...
- From: Deepak Nulu <email@hidden>
- Date: Wed, 26 Jul 2006 20:11:09 -0700
Hi,
The first part of David LeBer's articles on Direct Actions (http://
david.codeferous.com/?p=63) says the following about component actions:
"each visitor will receive a relatively heavyweight Session
object, so they may not be appropriate if you expect a lot of
visitors and/or you do not need to track their state. Direct Action
are designed for these situtations."
So if I have a direct action which (1) requires a session object, and
(2) returns a WOComponent object, will it be as heavy weight as a
component action? If not, what is it that makes component actions
relatively heavyweight?
If I have a site where multiple things can be accessed via direct
actions, and if I want some of these things to be available only to
registered users, would I need a session object for these direct
actions?
Thanks.
deepak
_______________________________________________
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