If I am to be building a UI which has standard and administrative elements in it, is it better to be written with the auth check result passed as renderInPlace or should I be using If/Else blocks.
If I am to assume correctly, the if/else is more secure because the block would never come to be unless auth is checked compared to render but not output?
I have been using the If/Else block for the very reasons you mentioned - but that being said, Yii adds a number of features which are less simple in the name of flexibility, best practices, ease of use…