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

Twitter4j: a Java library to interact with the Twitter API

The Twitter API is one of which I love the most. Its simplicity and richness of functionalities make it a worthwhile experience for a programmer to do.

First and foremost you need to import the library into your Java project, you can do it with Eclipse via Maven, or you can use your preferred IDE, you can also import the library in your Android application through Gradle. Here is how to do it:

Twitter the social network

On your pom.xml on Eclipse:

Continue reading