OroBAP's Twig Placeholder Tag

Poking around one of the base OroCRM templates, I came across an odd looking tag I'd never seen before. #File: vendor/oro/platform/src/Oro/Bundle/UIBundle/Resources/views/Default/index.html.twig ... {% placeholder scripts_after %} ... Some quick Googling left me stumped — I couldn't find any reference to a placeholder…

No More Editing AppKernel to Enable Bundles

I'm not sure when this landed, but I just noticed the latest OroCRM RC2 builds have a new mechanism for adding bundles to an application without directly editing the AppKernel.php file. Just add the following file to your bundle Resources/config/oro/bundles.yml with the following contents. bundles:…

Symfony, OroCRM, and Views

The concept of a "view" is a little tricky in Symfony, which makes it a little tricky in OroCRM/OroBAP. As of Symfony 2.4 (the latest version) and 2.3 (the latest version used with OroCRM), there are two primary ways for a controller action method to hand off…

Extending Symfony's Event Service

One important concept in Symfony 2 (the framework OroBAP/OroCRM is built-in/on-top-of) is the service container. Programmers create classes and class hierarchies for myriad reasons — one way of looking at a service container is it allows a programmer to say Hey, this class? It's a service. It provides an…