>
> Maybe it is not that complicated. It certainly is not in PHP. It may be, 
>> but I don't see how, but it may that there are some pitfalls, which are 
>> more likely to be present with a complete application, but I don't see 
>> this. I am just open to the idea that these pitfalls might exist.  In any 
>> case, the way to do that will not change, it would still be a simple 
>> include.
>>
>
Not sure if there are other common approaches, but some quick searching 
turned up these methods in Laravel and Symfony:
https://laravel.com/docs/5.0/middleware
http://symfony.com/doc/current/cookbook/event_dispatcher/before_after_filters.html

Anthony

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to