• 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…

  • 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…

  • 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…

Create a website or blog at WordPress.com