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

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

Ruby to S3, an introduction guide to its AWS SDK

And finally we land into the world of Ruby, which has one of the most richest and finest SDKs when it comes to AWS.

This tutorial is based on Ubuntu WSL, the subshell for the Redmond’s OS, and you can download it easily from the Microsoft store.

Although recommended for the purposes of this guide, I think you can make it even if you are on a vanilla Ubuntu installation or virtual machine.

The Ruby programming language

The first thing is to install Ruby on WSL, I chose RVM to install and manage different versions of the language on the same operating system. Once you’re logged on WSL, issue the following commands, and everything should work fine:

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

Node.js to AWS S3, my introduction guide to the SDK

Dynamic languages may seem to be error prone in some ways because they often don’t have something like a compile time check and so on.

Take the case of Node.js, it has a high level of abstraction (you don’t have to face the bare metal of your machine) and its simplicity and conciseness of syntax allow us to write a lot less code.

The JavaScript programming language

Verbose code like the one written in Java leaves not doubt about what the program intends to do yes, but it can be tiring to write or even to read; although many IDEs can help with their autocomplete.

Continue reading

Java and EC2: the AWS SDK in a few words

Welcome back you guys for this tutorial, and I’m super excited to present you the AWS Java SDK for EC2.

Java is a statically typed language and allows us to take control over insidious bugs that otherwise would be evident only at runtime: leaving you guys no other choice than working for long hours on a friday night, if something goes wrong in that particular day. And if it can… it will!

The Java programming language

This tutorial is based on Intellij Idea, a super smart IDE that contains a lot of features and useful stuff that can make life easier for all of you, even if you are an experienced one.

Continue reading

Go Lang, an AWS S3 SDK quick and simple tutorial

And here we go again. We will continue this tour of AWS SDKs. This is the turn of Go, the Go programming language.

Now, first let’s consider a few links in which you will find some useful information about the language and the SDK. Take note of the followings: homepage for the Go language , here you will find how to install it. Then we have the reference API for the AWS sdk.

The Go programming language

Here is how to check if the installation went all right:

Continue reading