This is one of those things that seems like a helpful idea & then you end up in situations where you start to remember why we all turned our back on interwoven request-centric code at every level of the app.
Ben Tucker —
This is realy bad idea! Dont!
madsheep —
This is a very bad practice, sorry.
Boundrose —
All he’s doing is allowing the Observer to access the current user to track who is modifying the model. How else are you going to do this? Duplicate all that code across controllers? No, that’s what Observers are for.
Comments
This is one of those things that seems like a helpful idea & then you end up in situations where you start to remember why we all turned our back on interwoven request-centric code at every level of the app.
This is realy bad idea! Dont!
This is a very bad practice, sorry.
All he’s doing is allowing the Observer to access the current user to track who is modifying the model. How else are you going to do this? Duplicate all that code across controllers? No, that’s what Observers are for.
Post a comment