2013/02/14: Take care of the smarter caching system introduced in version 0.2.0. Here is how to use the SocialShare PHP library to create custom Facebook, Twitter and Google Plus share buttons including the number of share. Installing the library The first step is to install SocialShare through the awesome Composer dependency manager. If you have…
Month: January 2014
Introducing the SocialShare PHP library
I’ve released a new PHP library allowing to retrieve the number of shares of URLs on popular social networks. It currently supports Facebook, Twitter, Google Plus / Plus One, Pinterest, LinkedIn and Scoop.it!. This library is also able to generate sharing links for these networks. The main advantages of this library over traditional JavaScript share…
Connection to a MS SQL Server from Symfony / Doctrine on Mac or Linux
Microsoft provides a SQL Server driver for PDO. Unfortunately, this driver only works on Windows. Linux and Mac OS X apps must use the FreeTDS compatibility layer: an open source implementation of the MS SQL Server protocol for Unix. It’s possible to connect a Symfony app to a SQL Server instance on Unix through FreeTDS but this involve to use a Doctrine…
Le profiling commercial, kézako
Courte réponse à une question posée par un collègue développeur à la suite d’une discussion sur le bienfondé de l’utilisation des CDN externes. Question qui revient régulièrement : le profiling commercial, qu’est-ce que c’est ? C’est le fait de collecter un grand nombre de données sur les internautes et d’établir sur eux un profil qui…
New release of the ACL extension for Sonata Admin
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…
Les-Tilleuls.coop fête ses deux ans
Il y a deux ans éclosait le projet de La Coopérative des Tilleuls, un studio de développement logiciel, autogéré et éthique, qui travaille principalement autour du logiciel libre. J’ai l’honneur d’en avoir été le gérant jusqu’ici. Nous sommes désormais 8 à travailler dans notre Scop, dont 6 sont déjà coopérateurs. Après quelques tâtonnements, notre mode de fonctionnement…
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…