Matthias N. wrote: > - You can define executeActionNameRequestmethod(), (e.g. > executeEditGet() or executeEditPost()) > --> Executed by execute() if such a method exists otherwise the > good old executeEdit() is executed.
That was attempted at sound point in symfony's history - it was pulled. There was probably a reason for it - Fabien ? > What do you think about this additional "execution magic" ? > It saves me from writing tons of request method checks and makes my > code more readable and gives me more flexibilities with complex > actions. My only concern is that these extra 'magic' functions require an extra 2 method_exists() to be called per request, when most people don't use it. Perhaps making this configurable removes the overhead. -- Ian P. Christian ~ http://pookey.co.uk
signature.asc
Description: OpenPGP digital signature
