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

Minimal Symfony Rest API Tutorial

In this tutorial I’m gonna show you some basic tricks which will allow you to write a simple RESTful API, or at least to begin to.

If you read this previuos tutorial you’ll be aquainted with Symfony‘s CRUD operations and it’s gonna be easy for me to tell you how to proceed.

Symfony the web framework

The first thing you’re gonna have to do is to setup your environment, to do that I advice you to install Xammp in order to have PHP and MySQL working on your machine.

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

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

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

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

How to create a new component in Angular 2

In this tutorial, which is meant for beginners, I’m gonna teach you the fundamentals of Angular 2, and in particular how to create a new component, the first thing when learning this framework.

The JavaScript programming language

These are the prerequisites: if you haven’t done before, go ahead and install Node.js https://nodejs.org from the main website, bundled with it you will find NPM, which is node package manager, you’re gonna need it. Then check if the installation was correct:

Continue reading

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