Archive for the ‘symfony’ Category

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 t...

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 cove...

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

Posted on: No Comments
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 ap...

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

Posted on: No Comments
"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 to...

Upgrading Sylius the TDD Way: Exploring Behat

Posted on: No Comments
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 tes...

Upgrading Sylius the TDD Way: Exploring PhpSpec

The post on developing and testing new Sylius features was an introduction to the three types of tests that are used in Sylius - PHPUnit, Phpspec and Behat. In this part, we'll extend some core classes to indicate color-coded inventory status. First, w...

The State of PHP MVC Frameworks in 2017

Posted on: No Comments
A simple question prompted me to sit down and write this follow up to my article from about a year ago. Q: Any thoughts about where things are today? (2/24/2017) A: “I’d say it’s pretty much down to Laravel and Symfony at this point; when it come...

Sylius and Cutting Your Teeth on TDD

Posted on: No Comments
Sylius is an e-commerce application / framework based on Symfony. It boasts 100% code coverage, which is impressive for a PHP application of that size. In this article, we are going to walk through the different kinds of tests available and try out so...

Single-File Symfony Apps? Yes, with MicroKernelTrait!

Posted on: No Comments
A Single Page Application (SPA) offers a desktop experience to users of a web application by loading a single HTML page, and dynamically updating it as required without reloading. However, a Symfony application may have hundreds of classes, and in a b...

Sculpin Extended: Customizing Your Static Site Blog

Posted on: No Comments
If you’re a PHP developer and currently running a blog with a static site generator such as Octopress or Jekyll, wouldn’t it be great if you could use your primary language for it? Yes, it’s healthy for us developers to use more than ...