Blog of Ferenc Züllich
Welcome to my blog! Here I share my thoughts and ideas with the world.
While working with mapped associations in Doctrine I came upon the problem of serializing proxies. Imagine you have a REST service that returns some objects with an associated collection. E.g. a list of dishes that have a list of ingredients associated.
This weekend I ran into a problem which took me way too long to fix. I was missing a mapped column in my database. Unfortunately Doctrine didn’t want to update my schema according to the entities, even though all the annotations were present. After using the Google search without success I was about to check-in on IRC when I noticed the problem.
Published: 13 Mar 2016
In this post I’m going to explain how to inject a specific entity repository into a controller defined as a service. We assume that you already created a Doctrine entity and a repository (we are calling it MyEntity here).
Just recently my mobile data connection was throttled and I was faced with uber-slow download rates. As a consequence it is almost impossible to check links shared by my friends. But I am a friend of performance and a small footprint. So I took this opportunity to check my site. Here is how I improved the performance of my site.
If you are opening pull requests for other projects it might happen that you are asked to reduce the amount of commits of your pull request in order to refine the history of your contribution. That usually means that you squash together existing commits and you might even change some commit messages to be more meaningful or precise. That kind of workflow is supported by
Recently I tried to contribute to the Robotframework project on Github. Specifically to their project RIDE which is a IDE to write Robotframework-style tests. For the development I wanted to use a virtual environment using virtualenv. Unfortunately it is not possible to install the required version wxPython 126.96.36.199 via pip or easy_install. Instead you either have to build it from source or using your own os’ package manager.