SymfonyDay 2017 videos
As written before we have taken part in Symfony Day. Couple of days ago video of the event were uploaded and you can check them out here We would be happy to have feedbacks so, don’t hesitate!
As written before we have taken part in Symfony Day. Couple of days ago video of the event were uploaded and you can check them out here We would be happy to have feedbacks so, don’t hesitate!
Symfony form is a standalone component you can use to save a lot of time when developing an application that needs forms to interact with users (checkout my talk and slides from SfDayIt 2016 in Rome) As every powerful component/library/extension, power…
We are very proud to have taken part at the 2017 Symfony day. Samuele and I spoke about Behat best practices and how to integrate it in your Symfony project. Here are the slides: Video of the talk will be…
If you are a Symfony developer you can’t miss the annual SymfonyDay conference in Italy. It’s always been a great day to listen to interesting talks and do some networking. As Madisoft we strongly believe both in this amazing framework and…
In a previous post we’ve seen how leverage Doctrine sharding functionalities. But how can we tell our app to use a specific shard? A common web app has usually at least two sources: http requests and cli commands. Let’s see one at…
In the previous article we explored why sharding by tenant is a very good solution for us. In this article we dig into how to divide our Symfony app by shard. Doctrine We chose Doctrine as our ORM so let’s see what…
In this article, I’ll tell you how we migrated our databases from our previous provider to AWS RDS. Our previous DB infrastructure was already in the cloud and the entire db was sharded, so we had about 350 GB of data…
We are very proud to have been invited by Amazon at AWS Summit Milan 2017 as speakers. Our speech will focus on how we’re using AWS RDS to leverage our relation data. As you may already know, our software Nuvola…
Today we are going to tackle a problem that I’ve recently faced with Symfony form types. Scenario: I need a choice type of a certain entity (Foo) with values that follows a certain logic
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
<?php class FooChoiceType extends AbstractType { private $fooAdapter; public function __construct(FooAdapter $fooAdapter) { $this->fooAdapter = $fooAdapter; } function configureOptions(OptionsResolver $resolver) { $resolver->setDefaults([ 'required' => true, 'multiple' => false, 'choices' => $this->fooAdapter->getFoos(), ]); } public function getParent() { return ChoiceType::class; } } |
I’ve built up a FooChoiceType because…
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…