DMS\\Filter Library 1.0.1 and Bundle

  • PHP
  • February 2, 2012

The past weeks I finally had some time to invest in the DMS library again, so i got busy with a few things. I also had to fix a big problem which had gone unnoticed to me, so i have to thank Mr. Guilherme Blanco for pointing it out.

Sadly this means a BC break, so please follow and make adjustments.

The BC break: ->filter() becomes ->filterEntity()

The reasoning here is simple, PHP still supports legacy from PHP4 meaning a function with the same name as the class is understood as a constructor. This generates a few nasty notices, and it made enough sense to rename the function, making it clear like the other ones.

The DMSFilterBundle

Along with this i had time to work on building a Bundle so you can plug filtering into Symfony 2 just as you would with validation.

Composer support

This bundle is also available on Packagist, making it easy to install, i’ll also add the DMS and Filter library as standalones to this soon.

Tags

I finally tagged the releases as 1.0, or rather 1.0.1 as i quickly found a few fixes to put in.

The rest remains, here are the links:

DMS Library: github

DMS Filter Library (sub-tree split): github

DMS Filter Bundle (sub-tree split): github | packagist/composer | knpbundles page (please recommend it if you like it)

comments powered by Disqus

Related Posts

A study on RSS - Part 2: The RSS format

A study on RSS - Part 2: The RSS format

  • September 18, 2006

In the last article I made a simple introduction to what is an RSS Feed and showed the path to creating XML files in PHP. Now it’s time to explain the RSS file structure along with some basic history.

Read More
php|tek09: Day #3

php|tek09: Day #3

  • May 22, 2009

The beeping alarm begun another exciting day at php|tek09.

My usual breakfast buddies were around once again for a great meal to start it out right. The first session was High performance APC with Brian Shire from Facebook, and it was really interesting to see the APC improvements and what is in their roadmap, influenced by Facebook and their needs, working as a boost for APC development, defintively gonna kick our testing server into apc mode to run some tests. Parallel to this session Sara Golemon gave a PHP 5.3 session.. and from what i hear, those slides are golden! go find them! (i’ll post a link if i find them myself)

Read More
PHP Community: Of Leaders, conferences and Union

PHP Community: Of Leaders, conferences and Union

  • February 24, 2012

Note: This article was originally published on the march/2011 issue of php-architect. If you like it keep a close eye on the Community Column in the magazine, where i get the chance to write alongside other awesome community people.

Read More