KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I'm pretty confused. I've asked a few developers on Reddit to review my codes. It looks like this. Template::load('register', array('error_message' => Language::translate('username_in_use')); So it loads register.php, replaces {error_message} with translation. (Sorry, this username is in use. Please pick another.) They said using too many static calls is a bad practise. Yet they suggest Laravel framework, which completely gets rid of $this and uses static calls. Can someone explain me how come if this is bad practise, Laravel being a classy framework?
Tags (comma-separated)
Save Edits
Cancel