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…
Category: Programming
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…
PHP TorControl, a library to control TOR
I have just released TorControl, a PHP library to control a Tor server. This library implements the Tor Control protocol. It supports: Connect to a Tor server through network socket, SSL network socket or UNIX socket Null, password and cookie file authentication methods Automatic authentication for null and cookie file methods Multi-line replies It is…
Diaporama diffusé lors du workshop sur le référencement avec HTML5
Voici le diaporama qui a servi de support au workshop sur le référencement avec HTML5 que j’ai animé jeudi 31 janvier pour La Coopérative des Tilleuls : Ce sont le thème Prestashop HTML5 optimisé pour le référencement et l’implémentation de TodoMVC avec Symfony et Backbone.js qui ont servi de support. Le prochain workshop de cette série sera…