• PHP Symfony versioning and composer

    Lately I’ve been switching to new versions and upgrading Symfony for client projects that I cannot reveal, but what I would like to share in this simple and short post is what combinations worked for me after many hours switching versions and dependancies. Symfony 4 This is the easiest one since is the last version…

  • Postman self documenting tests and runner import

    Postman self documenting tests and runner import

    I’ve been working on the last days doing extensive API testing and needed to find an easy way to document my tests. Postman offers already something very useful that uploads your tests documentation to their website. But sometimes we need just a simple HTML that can be privately delivered to the client. That’s where this…

  • How routing internally works in Symfony 4 framework

    At the moment of writing this I’m testing the Symfony 4 Framework after reading the following article and also Fabian’s latest posts on Medium.  I’m testing weather the not yet officially released version, will be a future candidate for some new project or not. But the interesting part of this research is that I already…

  • Integrating SSO in a project using Shibboleth authentication

    Shibboleth is an open-source identity federation solution that’s used in research and education communities worldwide. Basically is a federating agent that consists of 2 components: 1- Service Provider (SP) which request attributes, represented in this implementation als storage.luckycloud.de using Apache2-mod-shib 2- Identity Provider(IDP) which broadcasts attributes, and will be implemented in the Login-logic of the…

  • Tippgeschwindigkeit Composer (Making it faster)

    Tippgeschwindigkeit Composer (Making it faster)

    Nach letzes composer update, ich kriege immer diese Meldung nach update /install : “You are running composer with xdebug enabled. This has a major impact on performance and will break your balls” So ich habe die richtige Lösung gefunden und wurde mit euch teilen: $ php -i | xdebug Guck mal welche config ist schuldig,…

  • Good architecture and why not to render Controllers inside Views

    In Symfony, Zend and other frameworks you can rend a controller inside a view like this: {{ render(controller(‘AcmeArticleBundle:Article:recentArticles’, { ‘max’: 3 })) }}  Creating and Using templates documentation here. Just because there is a possibility to render(ControllerMethod,{ params}) in a template doesn’t mean you have to use it. Doing so leads almost always to a…

  • Symfony Bundles that come always handy for Admin Panels

    After a quite accidental start with the Framework I’m enjoying a lot developing stuff with their Form component. Using bootstrap and almost without any front-end javascript one can build great Admin-dashboard forms, using only a : {{ form_start(form) }} {{ form_end(form) }} Where you want the form to be rendered in the twig template. As…

  • Symfony2 Best Practices resume

    Today I come across this Best practices in Symfony PDF: http://symfony.com/doc/download-best-practices-book/ And I though about my own practices and where to apply some of this seen in the Best practices book. Here is a brief 3 points summary of things I would like to change in my next projects: Using Constant instead of variables in…

  • Crud in 5 minutes per Table using Sonata and Doctrine ORM

    Create, read, update and delete is something you need to manage in any Project. UPDATE: I took the decision of taking down the sonata example, since I consider now a much better way to do this with Symfony directly without using Sonata at all. To see an example of a custom admin in action please refer…

  • OOP Fundamentals

    There are many different takes on object oriented programming. I’ve saw this video of “Uncle Bob” latest week and I wanted to write a post about the fundamentals of OOP programming. I like the way he explains OOP, interfaces, polymorphism and other related areas of object oriented methodology. So before starting with my post series…