This is the time of new releases! After the open-sourcing of the AngularJS CSRF protection system for Symfony and a new release of the Symfony TodoMVC sample app, a new version of CoopTilleulsAclSonataAdminExtensionBundle is available! This bundle, brought to you by La Coopérative des Tilleuls, provides ACL list filtering for SonataAdminBundle. When enabled, list screens only display data the…
Category: PHP
DunglasTodoMVCBundle compatible with Symfony 2.4
I’m pleased to announce the release of DunglasTodoMVCBundle 1.1.0. DunglasTodoMVCBundle is an implementation of TodoMVC, the popular site providing the same todo app implemented in a ton of different JavaScript frameworks. This bundle provides a REST / JSON API built with Symfony and Doctrine, and an API client built with Chaplin.js and Backbone.js. In this new release:…
DunglasAngularCsrfBundle: protect your Symfony / AngularJS apps against CSRF attacks
I create and I see more and more web applications sharing the same powerful architecture: Server-side, a REST API built with the popular Symfony framework and its ecosystem (especially FOSRestBundle, JMSSerializerBundle and sometimes BazingaHateoasBundle for hypermedia APIs). Client-side, a SPA built with Google’s AngularJS consuming the REST API provided by the server with Restangular or a similar library. These components share the same philosophy (built…
Entities and Mapping Information with the Doctrine ORM
Another free chapter of my book Persistence in PHP with the Doctrine ORM is available on the Pack Website. In this second chapter of the book, you will: Create your first Doctrine entity class Mapping it to its related database table and columns with annotations Use Doctrine Command Line Tools to automatically generate the database schema…
Building Doctrine queries with DQL and the query builder
A chapter of my book Persistence in PHP with Doctrine ORM is available for free on the Pack website. This chapter explains some interesting Doctrine concepts including DQL (the proprietary SQL-like language of the Doctrine ORM), entity repositories, the query builder and aggregate functions. Read this free chapter on the Packt website.
Persistence in PHP with the Doctrine ORM: my new book in pre-order
My new book about the Doctrine project is pre-orderable on the Packt website. It will be available in late december. A free sample chapter will be published shortly. What you will learn from this book Install Doctrine through the Composer dependency manager Configure Doctrine Command Line Tools Learn to manage relations between entities with different…
Making the Sonata Project better
As a freelancer and with my company, Les-Tilleuls.coop, I built many applications relying on Sonata bundles for Symfony. I especially recommend the Admin generator and the Media manager. As these components help me to build apps with ease and speed, it’s a fair reward to contribute back to them when I can. In addition to being the…
TodoMVCBundle is now compatible with Symfony 2.3
I’ve just updated my Symfony 2 implementation of TodoMVC using Backbone.js and Chaplin.js for the UI. It is now compatible with Symfony 2.3 (the current version and first LTS of Symfony 2). I’ve moved the decoder which converts JSON data to application/x-www-form-urlencoded directly in FOSRest. Take a look at this bundle if you want to use…
DunglasTorControlBundle, TorControl Symfony integration
I’ve just released a new Symfony bundle to use easily the PHP TorControl library with the framework. TorControl is a library I’ve wrote designed to control a Tor server using the control socket. Install the bundle using Composer. Type this command in your Symfony project directory: composer require dunglas/torcontrol-bundle:dev-master Enable the bundle, edit your app/config.yml to…
PHP TorControl, une bibliothèque pour contrôler un serveur Tor
Je viens juste de publier TorControl, une bibliothèque écrite en PHP qui permet de contrôler un serveur Tor. Elle permet de : Se connecter à un serveur Tor via des sockets réseaux (SSL ou non) et UNIX. S’authentifier en utilisant les méthodes sans vérification, par mot de passe et par cookie. La détection automatique de…