Developer Resources

REST https://martinfowler.com/articles/richardsonMaturityModel.html https://alexkondov.com/tao-of-node Disagreements Prefix API Routes – I’ve found adding a /v1 to your URLs to be problematic. When people do this, what I typically see done is, If you make a breaking change to one endpoint you end up increasing the version for all endpoints. This can either: Seem like “too big of […]

HOWTO: Symfony 1.4 – Only load an plugin for a given application

Sometimes you’ll want to include a plugin, such as an admin generator, that will load stylesheets or javascript files that you may not want loaded in all applications. You could add the following to your template file: (apps/frontend/templates/layout.php) $sf_response->removeStylesheet(‘/m14tAdminGeneratorPlugin/css/admin.css’); But that just feels wrong. So instead, lets only load the plugin for the application that […]