Tag Archive for 'symfony2'

Symfony 2: Apache vHost-configuration for OSX

Installing Symfony2 is quite easy: Just download your favorite package, unpack it, create a new virtual host and you’re ready to go. And if you want to get rid of app.php or app_dev.php in your URLs the package comes with an .htaccess-file in the web/-directory. But the manual doesn’t give you a clou how the virtual host-configuration should be.

Continue reading ‘Symfony 2: Apache vHost-configuration for OSX’

Symfony 2: Using asset inheritance in Twig

Yesterday I came up with the following problem: I wanted to add a javascripts-block in my layout. This block should be extended in a child template. Using Assetic this should be easy and plain simple. Well, in theory…

Continue reading ‘Symfony 2: Using asset inheritance in Twig’

Symfony 2: Searching multiple types at once with Elasticsearch

After a long hiatius I thought it would be a good time to write a new blog post. I’m currently in the process of rewriting the FMDB from scratch using the Symfony 2 framework which is awesome.
Inspired by the recents posts from Richard Miller regarding Symfony 2 & Elasticsearch, this post deals with the question how you can search multiple types at once using elasticsearch.

Continue reading ‘Symfony 2: Searching multiple types at once with Elasticsearch’