This is a small demo made using React and Boostrap. It’s a list page which contains some of the Avengers, with the possibility to access a show page with details for each character.
By default SonataAdminBundle doesn’t come with a PDF export functionality. Since this is a nice feature to have in your application here’s a way to add PDF export to the CRUD pages. The example works with the standard Symfony2 installation and the AcmeDemoBundle. The PDF will be generated using KnpSnappyBundle.
“Beautiful strings” is one of the proposed problems on Facebook Hacker Cup 2013 Qualification Round. The presented PHP solution was already validated.
In a Symfony2 project, Doctrine entities can be used inside Twig templates with the help of Twig extensions.
The example works with the standard Symfony2 installation and the AcmeDemoBundle.