logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

action chaining and redirects for inserts/updates: msg#00108

Subject: action chaining and redirects for inserts/updates
Quick question for anyone who wishes to share: 

Now that we have the ability to chain actions (via the updated process()
method and the _aActionsMapping array), do you use this to display the
results of an insert or update; in other words, do you have an
_aActionsMapping array that looks like this _aActionsMapping('insert' =>
'insert', 'list')? Or do you still use SGL_HTTP::redirect(), with the
_aActionsMapping array looking like this: _aActionsMapping('insert' =>
'insert')?

I was thinking of rewriting some code to use chained actions to reduce the
number of requests--_aActionsMapping('insert' => 'insert', 'list')--but
without the redirect, users can easily make multiple inserts/updates by
hitting refresh, etc.

Thoughts?

Andy




-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt


<Prev in Thread] Current Thread [Next in Thread>