Symfony and multi-tenant apps: sharding

In part 1 of this series we stated that Nuvola is a multi-tenant software and using a single db for every tenant can quickly become a problem as your data grow. Let’s dig a bit about pros and cons about multi-tenant sharding. Pros Scalability Splitting each tenant data in its storage can easily…

The subtle difference of Prophecy doubles

Did you know that “under the hood” PHPSpec use Prophecy as library to create doubles? If you did not, now you do! If you read Prophecy documentation you may end up with some questions, so this guide is meant to be a quick tutorial to let you start working with the library:…

Symfony and multi-tenant apps: Nuvola

This article starts a series of posts regarding a case-study about Symfony and multi-tenancy. Subject of the case-study is our flagship software Nuvola, a multi-tenancy product for schools, used since 2013 by more than 1 thousands Italian schools. Nuvola let them fulfill their administrative tasks, teachers completely accomplish their work online (grade…

SymfonyDay Italy: videos

Hello everybody, we are pleased to announce that finally videos of SfDayIT2016 have been posted by GrUSP onto Vimeo channel. If you don’t know that we were selected as speakers for that event, well, now you are aware  😀 Below you can find Matteo’s talk about scaling with Symfony (we suggest to read…

What’s new in PHP7.1

Introduction If you have not read yet our blog post about new features in PHP7, we highly recommend to do so before continue reading. In this post we’re going to analyze new features proposed by PHP7.1 that have “seen the light” 2 October 2017. Nullable types Function’s argument type and return…

What’s new in PHP7

Haven’t you switched to PHP7 yet? If not, you should read “How Badoo saved one million dollars switching to PHP7” and consider to change your version. Moreover, remind to update at least to 5.6 version: it’s now the only minor 5.x release that will be supported and not dismissed. http://php.net/supported-versions.php Ok, maybe (probably)…

Symfony form pills – Value object

Suppose that we have a value object or, more in general, an object where its data has been set in the constructor

and its FormType

Let’s assume that bar and foobar are taken from HTTP POST values (so, basically, we need those values to be posted in order to instantiate a Foo object). Question How can I create…

Rome AWS Meetup day

Saturday the 15th of October we leaved the comfort of our couches (have we already said we are a distributed team from all around Italy?) to leave to the glorious destination of Rome! The ancient town best known for the engineers of the Roman empire, was once again at center…

Scaling Symfony sessions with Redis

In the Scaling Symfony sessions with Memcached article we focused on scaling our Symfony session with Memcached. Memcached is very easy to set-up and use but it lacks of persistence and some other cool stuffs we can find in Redis. What’s Redis? Redis in an in-memory data structure store. It is very…

1 2 3