Opened 11 years ago

Closed 11 years ago

#489 closed new feature (fixed)

RoxPostHandler as a powerful alternative to PPostHandler

Reported by: lemon-head Owned by: lemon-head
Priority: major Milestone: Rox Framework
Component: FrameWork Keywords:


It's almost finished.

The new posthandler should do the following:

  • have all the advantages that the PPostHandler claims to have, but be easier to use, more powerful and with a cleaner architecture.
  • provide a local alternative for the global $_POST array, passed as method parameters.
  • The application programmer doesn't have to unset anything.
  • Creating a callback id happens inside the posthandler.
  • The system should do something useful and try everything to not flush any form data
    • when the same form is sent twice, or
    • when the user has been logged out while typing, or even
    • when he has logged out and back in, while the form was still open in a background tab.

The user's form input is sacred, we have to protect it by any means.

Some "forces":

  • $_SESSION does not survive long timespans. However, it is reliable to remember information in the session when doing a redirect.
  • database is not a good choice for people who are not logged in.
  • We can store a lot of stuff on the client side, encoded in the document - but we have to be careful only to reveal what the user had available anyway, before sending the form.

Change History (4)

comment:1 Changed 11 years ago by lemon-head

  • Owner set to lemon-head
  • Status changed from new to assigned

comment:2 Changed 11 years ago by lemon-head

  • Milestone changed from unassigned to Rox Framework

comment:3 Changed 11 years ago by lemon-head

  • follow_up changed from none to test

hm, not sure how to test this.. but i still mark it as "test".

comment:4 Changed 11 years ago by lemon-head

  • follow_up changed from test to none
  • Resolution set to fixed
  • Status changed from assigned to closed
Note: See TracTickets for help on using tickets.