Symfony 4: a CRUD tutorial, second edition

This tutorial follows another guide that I made, always about Symfony, but this time we’re talking about Symfony 4.

As the framework evolves into new releases there might be some changes in methods, classes and tools. They may become deprecated or obsolete and new tools may be added, although some kind of retrocompatibility may be assured.

The Symfony Php Framework

If you want to know more about that, you can visit Symfony’s roadmap and discover how it will evolve and how long the various versions will be maintained.

Continue reading Symfony 4: a CRUD tutorial, second edition

AWS S3 Tutorial: a quick PHP SDK introduction

Beginning by this episode we will be trying to examine all the possibilities offered to us by the various AWS SDKs. This time is the turn of PHP‘s SDK, we will explore all the others in times to come.

This tutorial’s code is trivial, you wouldn’t put it into production, it has nothing to do with a modular and OOP style of programming. In spite of its simplicity, it can give you all the key concepts that can guide you through the learning of AWS SDKs.

The Php programming language

The first thing I wanna do is to give you some references to start your learning, you will find some interesting stuff in this introduction page of AWS SDK for PHP.

Continue reading AWS S3 Tutorial: a quick PHP SDK introduction

Full LAMP Docker and AWS Introduction Tutorial

During this short exercise you will learn how to create a simple LAMP example application and deploy it using Docker on the Amazon Web Services ECS platform, with the help of RDS for a MySQL database.

All the following example is based on the AWS CLI, though we could have done faster and easier using the web based console. Instead, having gained a skill with the terminal interface, allows us to better understand how each step and parameter is working. In addition we will be able to create our own automation scripts based on the CLI.

Coding and Software Engineering

The prerequites for this tutorial are the installation of the AWS CLI and the ECS CLI. If you haven’t them installed on your system, please refer to these links on how to do it: install the AWS CLI and the ECS CLI.

Continue reading Full LAMP Docker and AWS Introduction Tutorial

Quick Laravel Tutorial on CRUD operations

In the last episode we saw how to create a simple web app with the use of Symfony, now we’re going to do the same thing, but this time we’re gonna do it with Laravel.

The Php programming language

Let’s begin with the installation, if you need more informations please refer to the Laravel documentation, type these commands on your shell:

Continue reading Quick Laravel Tutorial on CRUD operations

Easy Symfony Tutorial on CRUD operations

In this brief tutorial I’m gonna show you how to build a simple Symfony CRUD Web App, fully working.

We assume you have installed Symfony 3.4 on your machine, if not, please refer to one of my previous tutorials, at the following link.

The Symfony Php Framework

Read the following, https://www.benedict.cloud/2018/02/23/mini-tutorial-about-the-symfony-bundle-generator, on how to do it.

Continue reading Easy Symfony Tutorial on CRUD operations

Short Tutorial on Docker, PHP and MySQL

In this simple tutorial I’m gonna teach you some basic tricks about a skinny LAMP application containerized with Docker.

One of the main focuses of Docker is to solve a common problem in developing and deploying complex applications, which is known as “The Matrix from Hell”.

When designing an application stack which is more than trivial, you have to take care of the compatibility between different version of tools and languages and their dependecies, which have to coexist in the same machine.

The Docker virtual environment

With Docker, you solve this problem by instantiating different light-weight machines in a single host, without the need to create real virtual machines on the cloud and spending a lot more: a Docker container consumes a lot less resources.

Continue reading Short Tutorial on Docker, PHP and MySQL

Mini Tutorial about the Symfony Bundle Generator

In this mini tutorial I’m gonna show you a little trick which can be useful in order to create a new bundle in Symfony.

If you choose to create a bundle yourself, there might not be problems, but if you want to use the bundle creator tool of Symfony, you may encounter some difficulties that can make you loose precious time.

The Symfony Php Framework

The first thing is to install Symfony, on your computer, here is the documentation: https://github.com/symfony/symfony-installer, but you can also follow this tutorial. We suppose we’re on Linux, but there’s a similar procedure on Windows:

Continue reading Mini Tutorial about the Symfony Bundle Generator