Hi all,
I presented a Catalyst talk at YAPC::Asia a few weeks ago. If you're familiar
with the basics of Catalyst, it's probably too introductory, but if you're
still trying to piece everything together you might find it enjoyable. You
can watch / download the video at Google Video:
Is there a way to forward to (the end point of) a chained action and run
the whole action chain again?
Simplified example:
sub instance : PathPart('') Chained('/') CaptureArgs(1) {
my ($self, $c, $data_id) = @_;
# fetch data for $data_id and put on stash
$c-stash(data =
Bernhard Graf escribió:
Is there a way to forward to (the end point of) a chained action and run
the whole action chain again?
Simplified example:
sub instance : PathPart('') Chained('/') CaptureArgs(1) {
my ($self, $c, $data_id) = @_;
# fetch data for $data_id and put on stash
Roberto Henríquez wrote:
if you end your update action with a forward, you also have another
problem. The user ends up viewing the data item under a
/data//update URL; I consider way more elegant to issue a
redirection to the view data uri right after the update. Thus, in
your case I
* Roberto Henríquez [EMAIL PROTECTED] [2007-04-24 11:00]:
if you end your update action with a forward, you also have
another problem. The user ends up viewing the data item under a
/data//update URL; I consider way more elegant to issue a
redirection to the view data uri right after the
Not only is it ugly, it also means users will bookmark the wrong
things, and if they use the back button, they will end up
resubmitting a form sooner or later.
Particularly users who have a session saver addon installed.
The moment they close their browser (or crash their browser)
with one
Matija Grabnar wrote:
_ALL_ POSTs should be followed by a redirect, ALWAYS.
I agree.
Sigh.
I don't want to be rude, but could you guys open your own thread when
you want to discuss pros and cons of forwards and redirects?
Tanks a lot.
--
Bernhard Graf
Hi
I am the technical director of Horivert Business Solutions in the UK.
http://horivert.co.uk
We have two catalyst based projects that we need developers for,
ideally as a team. One project is already started and uses Catalyst,
DBIC, TT and is a money transfer back office system. The other
On 4/24/07, Bernhard Graf [EMAIL PROTECTED] wrote:
I don't want to be rude, but could you guys open your own thread when
you want to discuss pros and cons of forwards and redirects?
This is the classic XY problem[1]. They're trying to show you that Y
is bad for solving X.
No one wants to
Nilson Santos Figueiredo Junior wrote:
On 4/24/07, Bernhard Graf [EMAIL PROTECTED] wrote:
I don't want to be rude, but could you guys open your own thread
when you want to discuss pros and cons of forwards and redirects?
This is the classic XY problem[1]. They're trying to show you that Y
* Nilson Santos Figueiredo Junior [EMAIL PROTECTED] [2007-04-24 18:05]:
No one wants to discuss the pros or cons of forwards vs
redirects (since it's an already settled debate). They're
trying to show you the proper way of solving X.
It isn’t even necessary that. Personally, I’ve found that
11 matches
Mail list logo