Kategorie: Symfony

  • XAMPP for running Symfony 3 on PHP 7 locally on Windows and Mac OS X

    If you want to run Symfony 3.1 on PHP 7 locally, XAMPP is a natural choice. But beware: The XAMPP version 7.0.6 for OS X (the latest PHP 7 based version available today) is broken. It’s so broken that it installs, but Apache doesn’t even start. Luckily, version 7.0.5 works perfectly, you can download it…

  • Symfony 3.0 ist erschienen!

    Tada, Luftschlangen, Konfetti, Party! Symfony 3.0 ist soeben erschienen! Neue Features kommen später erst, der wesentliche Unterschied zur Version 2.8 (dem letztem Release der 2.x Serie) besteht darin das nun alle veralteten Features und Kompatibilitätsschichten entfernt wurden und eine aktuelle PHP Version (5.5.9) als Minimum erfordert wird!

  • Symfony 3.0 erscheint in Kürze, Symfony 2.8 macht den Weg frei

    Symfony 3.0 erscheint bald, die erste Beta ist schon seit zwei Wochen online. Heute ist Symfony 2.8 erschienen. Diese Version ist ein wichtiger Zwischenschritt auf dem Weg zur Version 3.0, denn in Version 2.8 wurden die letzten Funktione als veraltet (deprecated) markiert, die dann in 3.0 entfernt werden. Vor dem Upgrade auf 3.0 ist es…

  • ControllerExtraBundle für alle die gern Annotations in Controllern verwenden

    Wer gern Annotations in Controllern verwendet wird das Controller Extra Bundle lieben! Die Namen der bereit gestellten Annotations sprechen Bände. Wer diese Annotations benutzen lernt, kommt in vielen Controllern mit sehr wenig PHP Code aus: @Paginator @Entity @ObjectManager @Form @Flush @JsonResponse @Log @Get @Post Noch dazu erleichtert das Bundle das erzeugen eigener Custom Annotations.

  • Symfony 2.3 LTS erreicht nachträglich 100 % HHVM Kompatibilität!

    Die Arbeit von 1,5 Jahren erreichte am 1.7.2015 ihren krönenden Abschluss: Symfony 2.3 LTS ist nun 100 % kompatibel mit der HipHop Virtual Machine (HHVM). Mehr Information über die Hintergründe gibt es im offiziellen Symfony Blog. HHVM ist eine open-source Laufzeitumgebung für PHP und Hack die den PHP Code nicht zeilenweise interpretiert sondern just in…

  • Need to create a backend with an API, e.g. for mobile clients?

    Do you Need to create a backend with an API, e.g. for mobile clients? The API Platform Project (beta, based on Symfony) maybe useful for you: https://dunglas.fr/2015/06/introducing-dunglass-api-platform-beta-the-next-generation-php-framework/

  • Symfony 2.6 Error Page Preview Feature

    Have you, too, hacked up some solution to test the different error pages your customers will see for Error 404, 500 etc.? Symfony 2.6 comes with a great new Feature for previewing error pages. All you need to do to profit from this is to import a routing file in app/config/routing_dev.yml like this: _errors: resource:…

  • Symfony 2.6 includes the brand new VarDumper component

    The VarDumper Symfony component has been released with Symfony 2.6. Details about its history can be found on Github. Now why is a new var dump variant such a big deal? There are several reasons why dump() is great: It is available in any layer of the application, including controllers, services and the twig template…

  • OXID Symfony Migration: Die neue Basis wird Symfony 2.7 LTS

    OXID ersetzt das selbst geschriebene Framework durch Symfony 2. Im Zusammenhang mit der Abwägung Symfony vs Yii habe ich schon kurz darüber berichtet. In diesem Artikel im PHP Magazin wird detailliert erklärt, warum Symfony das Framework der Wahl für die OXID Entwickler ist und wie die Migration durchgeführt werden wird. Auf der Symfony live habe…

  • Symfony 2.6 beta 2 ist heute erschienen

    Symfony 2.6 beta 2 ist heute erschienen. Die finale Version 2.6 wird in 1-2 Wochen veröffentlicht werden und enthält viele nützliche Features! Wer eine neues Projekt plant, sollte nicht mehr das LTS (2.3) nehmen sondern direkt 2.6. Diese hat nicht nur die besagten neuen Features (diese sind in einem Blogpost über die beta 1 beschrieben)…

  • Symfony 2.5: Decorated services, i.e. replace a service, keep a reference

    When I found out on Github that Symfony 2.5 added a new dynamic configuration feature for the Dependency Injection Container I got curious: Symfony 2.5 offers the new feature of keeping a reference to the previous (replaced) service when you dynamically put another one in its place. This is called decorating a service and is…

  • Symfony 2.5: Validate E-Mail against RFC rules

    When I found out on Github that Symfony 2.5 improved email validation in some way I immediately wondered how this would affect the user: Symfony 2.5 offers the new feature of strict email validation. Instead of the default behaviour (checking against a simple regex) this one uses an external (composer installable) library to perform a…

  • Symfony Live: Meine Top 3 Vorträge

    Meine persönlichen top 3 Vorträge waren: Leadership in der Softwareentwicklung Denn sie wissen nicht, was sie tun The road to Continuous Deployment Ein weiterer heißer Kandidat für einen Top Talk war: Developing People, aber an dem Vormittag hatte ich einen anderen Termin. Leadership in der Softwareentwicklung Johann-Peter Hartmann (Gründer, Chef und „Chief Tailwind Officer“ von…

  • Symfony 2.5: Dump current config

    My favorite new feature in Symfony 2.5: Now you can not only dump the default configuration but also the fully merged current configuration, yeah! The command for this is: app/console config:debug Read all about the background here.

  • Symfony Security Update Patch Versions 2.5.4, 2.4.9 and 2.3.19

    Today, patch versions for all actively maintained minor versions (2.5, 2.4 and 2.3 LTS) of the Symfony project have been published. The version numbers of the patches are: 2.5.4, 2.4.9 and 2.3.19 and you should update to the latest patch release of you Symfony version ASAP because they fix this set of CVE listed vulnerabilities:…

  • PHP Profiler by SensioLabs now in private Beta

    UPDATE The SensioLabs Profiler has been replaced by the Blackfire Profiler. The new PHP Profiler by SensioLabs is now in private beta. To register for the private beta go to: profiler.sensiolabs.com. Just curious? Watch the video, it explains and demonstrates the profiler. Personally I’m very curious whether it will work for legacy PHP apps as…

  • Contao + Symfony: Vortrag über Symfony auf der Contao Konferenz 2014

    Während meines Symfony Vortrags auf der Contao Konferenz 2014 habe ich die folgenden Schwerpunkte gesetzt: Warum Symfony für mich persönlich so wertvoll ist Dependency Injection Container: Einführung Event Dispatcher: Einführung Hier liegen die Folien zum Download bereit: Contao-Symfony-Timon-Schroeter.pdf

  • Symfony style dynamic configuration with the eZ Publish ConfigResolver

    One of the central classes in the Symfony framework is: Symfony\Component\HttpFoundation\Request The front controller instanciates this object and populates it with the properties of the current HTTP Request. Controllers can easily obtain the current Request instance. Services can have the current Request object injected either directly or via the request stack (which is also subrequest…

  • Mit Symfony 2.3.* unter Windows entwickeln: XAMPP v1.8.3 Konfiguration

    0. Vorbemerkung Dieser Artikel richtet sich an Benutzer von Microsoft Windows. Wer stattdessen auf Mac OS X oder Linux entwickelt wird einen Blick auf Vagrant werfen wollen. Vagrant funktioniert prinzipiell auch für Windows, allerdings ist es mangels NFS nicht so leicht, damit eine gute Performance zu erzielen. Daher ist XAMPP für Windows Nutzer oft die…

  • Symfony Translation Component: Talk at Symfony Usergroup

    Thank you everybody for attending the Symfony usergroup meeting at Research Gate, asking interesting questions and a lively discussion on xliff editors. My slides can be downloaded here: https://php-schulung.de/download/symfony-translation-component.pdf Two different xliff capable XML editors were named in the discussion. One of them was the opensource online tool Pootle. There was a commercial one, too,…