Category Archive: PHP

PHP dev

Jan 16

Plevin : routing mechanism

Introduction In this article I’ll present the routing mechanism inside my home-made php framework : Plevin. The routing mechanism inside Plevin is quite simple. Every controller (named here handler) is market with an annotation and a file is generated at website initialisation. Controller (handler) class Here you can see a simple example of controller. The …

Continue reading »

Jan 13

Checkout management bundle for Symfony 2

Introduction I actually work, on my spare-time, on an e-commerce website. As I had to implement Paypal ExpressCheckout payment method and because I didn’t found any CheckoutBundle matching to my needs, I decided to create one and to provide it with Apache 2 licence. Thus was born ElendevCheckoutBundle. This bundle is still under development and …

Continue reading »

Jan 11

Image management bundle for Symfony 2 / Twig

Introduction During works on some websites, I often encountered the necessity to create thumbnails of existing images. Its allways the same problem : I need to save thumbnails on some specific directories, manage thumbnails creations on file upload and so on. So I decided to create the ElendevImageBundle for Symfony 2. The template designer specify …

Continue reading »

Dec 21

A home made PHP framework : Plevin

Introduction Plevin means Plug Evolution In. It’s a little bit pretentious but when I started working on it I had a lot of ambitions. I’ve done a lot of great work around my home made MVC framework in PHP but I had a severe lack of time. The framework have never been finished but there …

Continue reading »

Dec 13

Use a database as a translation provider in Symfony 2

Introduction This article explain how to use a database as translation storage in Symfony 2. Using a database to provide translations is quite easy to do in Symfony 2, but unfortunately it’s actually not explained in Symfony 2 website. Creating language entities At first, we have to create database entities for language management. In my …

Continue reading »

» Newer posts