Category: symfony

Building an Image Gallery Blog with Symfony Flex: Data Testing

In the previous article, we demonstrated how to set up a Symfony project from scratch with Flex, and how to create a simple set of fixtures and get the project up and running. The next step on our journey is to populate the database with a somewhat realistic amount of data to test application performance. Note: if you ...

Building an Image Gallery Blog with Symfony Flex: the Setup

This post begins our journey into Performance Month’s zero-to-hero project. In this part, we’ll set our project up so we can fine tune it throughout the next few posts, and bring it to a speedy perfection. Now and then you have to create a new project repository, run that git init command locally and kick ...

Symfony Flex: Paving the Path to a Faster, Better Symfony

Symfony Flex is a modern replacement for the Symfony Installer, and not the name of the next Symfony version. As the intro text says: Internally, Symfony Flex is a Composer plugin that modifies the behavior of the require and update commands. When installing or updating dependencies in a Flex-enabled application, Symf...

Introducing the Neo4j Symfony Bundle

There is no such thing as disconnected information, no matter where you look – people, events, places, things, documents, applications and the information about them is all heavily connected. As the volume of data grows, so does the number and dynamicity of its connections. And if you’ve tried in the past t...

Twig – the Most Popular Stand-Alone PHP Template Engine

Twig is a template engine for PHP. But isn’t PHP itself a template engine? Yes and no! Even though PHP started as a template engine, it didn’t evolve like one, and while we can still use it as one please tell me which version of “Hello world” you prefer: <?php echo "<p> Hello " . $na...

How to Set up an Online Multi-Language Magazine with Sulu

We previously demonstrated the proper way to get started with Sulu CMS by setting up a Hello World installation on a Vagrant machine. Simple stuff, but can be tricky. If you’re a stranger to Vagrant and isolated environments, our excellent book about that very thing is available for purchase. This time we’...

Getting Started with Sulu CMS on Vagrant The Right Way™

In this tutorial, we’ll learn how to get started with Sulu CMS the right way – meaning, we’ll deploy a Sulu “Hello World” instance using Homestead Improved and be mindful of performance issues and configuration values while we’re at it. We’ll also cover some common pitfalls, al...

Web App Performance Testing with Siege – Plan, Test, Learn

Building a simple web application today isn’t that hard. The web development community is friendly, and there are lots of discussions on Stack Overflow or similar platforms, and various sites with lessons and tutorials. Almost anyone can build an app locally, deploy it to a server, and proudly show it to your friend...

Re-Introducing Symfony Console – CLI PHP for the Uninitiated!

“The console component eases the creation of beautiful and testable command line interfaces.” This is how we are welcomed when we visit the Symfony Console component tool page. As software developers, we often feel the need to resort to command line tools. These kinds of tools are helpful when we need to do...

Upgrading Sylius the TDD Way: Exploring Behat

Last time, we developed some new features on top of Sylius’ core to indicate which products and their variants are low on stock and need replenishing. Now, we move on to seeing our changes in the UI, which means we will need to do a bit of StoryBDD testing. When browsing the list of products, we want to see a new...