symfony

warning: Creating default object from empty value in /var/drupal/modules/taxonomy/taxonomy.pages.inc on line 33.

Symfony2 controller as a service and the service_container

NOTE from 1.5 years later: This is not best practice. If you want a testable controller or write a reusable bundle, you should take the effort to inject the services you actually need, instead of extending the symfony base controller. For rapid development however, i would still recommend this as the base controller methods are very convenient.

I often want to have my controllers be a service so you can inject some information. But at the same time i like to extend the base controller Symfony\Bundle\FrameworkBundle\Controller\Controller to have the convenience methods like $this->render. Now if you just create a service from your controller, you won't be able to use the methods anymore. You will get exceptions about calling get() on a non-object.

A frontend editor for Symfony2 CMF with the help of VIE

I repost some of my blog posts made @ liip. Please see here for the original post and comments: http://blog.liip.ch/archive/2011/09/27/a-frontend-editor-for-symfony2-cm...

Yesterday we started working on an editor for the Symfony2 Content Management Editor, the LiipVieBundle. We use VIE and - until something non-GPL comes along - the Aloha editor. VIE is a piece of javascript on top of backbone.js that handles storing data with a REST backend. In Symfony2, this is a breeze thanks to the FOSRestBundle. Sounds complicated? Its actually quite simple, at least for the user. I made a short video to show how it looks.

Symfony CMF Camp Italy wrap-up

I repost some of my blog posts made @ liip. Please see here for the original post and comments: http://blog.liip.ch/archive/2011/08/04/symfony-cmf-camp-italy-wrap-up.html

Last week, Lukas and me went to Italy to join the CMF Camp. Thanks a lot Ideato for hosting and organizing the event! Apart from meeting friendly people from Italy and Germany, eating lots of pizza and other great italian food, we discussed the Symfony content management framework and did a lot of coding on the second day.

Liip presentation: Varnish - A caching reverse proxy

Venue: Liip AG
Title: Varnish - A caching reverse proxy (joint talk with Stefan Paschke)
Links: Slides

Introducing the varnish caching proxy and explaining how to interact with it from Symfony, including efficient authorization handling (paywall).

Liip Workshop: Symfony2

A Liip internal workshop to learn Symfony2 for people with PHP experience but no prior knowledge of Symfony. This was a full-day workshop including a small demo project. (No slides available, sorry. But I would be happy to do another improved workshop if you are interested.).

Liip presentation: Assetic - Painless asset management in Symfony

Venue: Liip AG
Title: Assetic - Painless asset management in Symfony
Links: Slides

Explaining many aspects of the assetic asset management system to handle javascript and css files.

Recap Symfony Live Conference in Paris

I repost some of my blog posts made @ liip. Please see here for the original post and comments: https://blog.liip.ch/recap-symfony-live-conference-in-paris.html

Last week, there was the Symfony Live conference in Paris. The conference was surprisingly big, about 500 developers came together in the impressing building of Cité Universitaire Internationale. The main topic was of course the upcoming Symfony2 release. We had two days of talks and a hackday on Saturday, and lots of fun every night. The topics are on the conference website, some discussion and slides are on joind.in.

Hackday for Symfony2 CMF

I repost some of my blog posts made @ liip. Please see here for the original post and comments: https://blog.liip.ch/hackday-for-symfony2-cmf.html

Last week we had a hackday on the Symfony2 CMF. We played with the first CMF sandbox and made it do some basic things. You can see the result with some simplistic cms at our sandbox clone. It just shows a node (at route /cms/<path>), assuming you first created some nodes (at /admin). Along with the node itself, we show the breadcrumb and child nodes, to demonstrate how the hierarchy can be used.

PHP Content Repository: Full implementation in sight

I repost some of my blog posts made @ liip. Please see here for the original post and comments: http://blog.liip.ch/archive/2010/12/03/php-content-repository-full-imple...

Recently, I put a finishing cleanup on the PHPCR API, the port of the Java Content Repositry API (JCR) to PHP. PHPCR is implemented by Jackalope, which got a whole team at Liip working at it to fix the failing tests and fill in missing bits.

You might have heard that we started to port the Java Content Repository (JCR) standard to PHP. If not, read the Jackalope post from last year.

Syndicate content