Laravel Rest API, the easy introduction Tutorial

This article follows another one talking about a Symfony Rest API, which we made to exemplify the concept of RESTful applications.

The Php programming language

This is the turn of Laravel, in that we are already able to write a PHP API in a simple way, but we still don’t know how easy it is with this other framework. So let’s get started.

Continue reading

Quick RESTful API with Node.js Express and DocumentDB

In this episode we’ll be continuing our journey through Node.js, looking at a simple and minimal RESTful API example with the help of Express to build it, and DocumentDB for our persistence.

The old plain JavaScript language

If you haven’t done before, take a look at this tutorial which is conceptually similar, except for the fact that persistence this time is based on a MongoDB engine, hosted on AWS, and it’s called DocumentDB.

Continue reading

Easy RESTful API with Node.js Express and MySQL

One of the modern paradigms of Software Development is the use of RESTful APIs which can simplify and make life a lot easier for engineers when it comes to building APIs and webservices.

The JavaScript programming language

This tutorial is far from explaining you all the details about REST and Microservices, nonetheless it can give you good guidance for the beginning of your learning of these technologies.

Continue reading

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.

Symfony the web 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

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

One minute Laravel and Docker Tutorial

In this short lesson we’re gonna focus on two topics we tackled some time ago in this mini series of tutorials: Laravel and Docker.

In the getting started section of the Laravel project’s documentation we can see that a vagrant box named Homestead is strongly adviced to begin with a quick and smooth developing experience.

Benedict.Cloud tutorial

Homestead is pre-packed with all the stuff necessary to begin the development of a Laravel application, but when it comes to deploying any application, Docker has many strong points that other virtual environments have not. In many cases it is a must: see this article of mine for further details.

Continue reading

Step by step Tutorial on a Rails CRUD web application

In the last two episodes we saw how to create a simple web application using either Symfony or Laravel. Let’s do the same with Ruby on Rails. In this tutorial we’re gonna combine also another competence we developed in this series of tutorials: Docker.

Fist step, install Docker following this quick guide on the official website: https://docs.docker.com/install. It might be useful (if not necessary) a post installation for Docker, follow these instructions and everthing will work out: https://docs.docker.com/install/linux/linux-postinstall.

The next thing, install Docker Compose for the purpose of completing correctly this tutorial, you will find why as you go along with this reading: https://docs.docker.com/compose/install.

The Ruby programming language

Now that you have all up and running, all you have to do is to create a Ruby on Rails stack on your computer. Let’s start by creating a Docker file, so create a directory named rails_tutorial and put the following content on a file called Dockerfile (without any extension):

Continue reading

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