Symfony 2 and Memcached: A new Bundle

Introduction

So, I started work on a personal project of mine that I wanted to be able to use Memcached. The project is using the Symfony2 PHP framework, so I decided to look around a little bit to see if I could find a bundle that does what I needed.

I stumbled upon the LswMemcacheBundle at first, and it looked quite nice, having features like Anti Dog Pile, and Profiling attached to the Web Profiler Toolbar. I started looking at the code however, and it had a lot of bloat that I didnt want, some of the terminologies werent right, and it was missing a feature that I wanted. So I took it and decided to write my own.

The Result

So now, I give you the AequasiMemcachedBundle! This takes a lot of the core logic, and features of the LswMemcacheBundle, but removes the ability to use the Memcache extension, and the compatibility with Memcached versions below 2.0.

Features

  • Cluster Support
    undefined
  • Doctrine Support
    undefined
  • Session Support
    undefined
  • Injectable Service
    undefined
  • Mysql Key-Map support
    undefined

Installing

To install this bundle, check out the source here, and follow the instructions in the readme.

Related Posts

jQuery: Roll to Next Input

I was looking for a way to have an input, that when you change, would roll to the next input. The project I'm working on has a page based system, so each page has its own fieldset. When the last field is completed, I wanted it to automatically roll to the next page. I also wanted functionality for zip code, and phone number fields, that would roll to the next input after 5 digits on zip, or roll to the next piece of the phone number field.