A new feature for SilverStripe should be ...

Add before and after filters to controllers

Laravel currently does this very well and it's a great feature, more and more am I needing this extra layer of logic.

E.g. Exclude all posts marked as deleted on ALL queries rather than having to add an exclude to each quert which can get very hard to maintain.

5 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    Myles BeardsmoreMyles Beardsmore shared this idea  ·   ·  Admin →

    7 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...

      Feedback and Knowledge Base