Programming Advices

Everyone - especially the more advanced programmers - should report important informations/problems/advices regarding code structure of our "on top framework" (BaseController, BaseModel, generic Views) and interdependencies with the laravel framework.

Feel free to start with an unordered list!

  • Exceptions & Errormessages: return \View::make('errors.generic')->with('message', 'Following error occured ...');
  • Migrations: to drop a table always use dropIfExists() to avoid exceptions on rollbacks
  • Observer: use observer_enable variable if Observer shall not run in specific situations

Logging

what? when? target-file?

Â