Share Button

Lire la version française

As we needed a connection between a Symfony web application and an Android application, we had to learn and understand how to create a Rest API in a simple and secured way, based on our existing entities.

We chose WSSE for security access, FOSRestBundle for datas restitution and JMSSerializerBundle for serialization. 

We also needed to separate logs for the wsse authentification errors. See our article to know how to create separated log files in Monolog

Continue reading

Share Button

Share Button

In this article about WSSE and Rest, we describe how to create a new log file/channel with monolog in Symfony2

Continue reading

Share Button

Share Button

In this post, we’ll explain how to create and maintain a database with currencies and change rates.

In order to update our changes rates, we will user openexchangerates.org solution. (Exists as free, premium and pro)

Get your own API Key. http://openexchangerates.org/signup/

Continue reading

Share Button

Share Button

Lire la version française

In this third post, we’ll explain how to create a great custom field type that uses jQuery DatePicker to handle date input, and then, how to extend it to create a datetime field type. And the best? The datepicker is localized according to the user’s locale.
Let’s start.

Continue reading

Share Button