Wojciech Sznapka has a new post to his blog today looking at his creation of fully isolated tests as a part of a Symfony2 application. He talks about two issues he recently solved with testing services in this popular framework.The most important thing you should provide with your re-usable bundles is unit tests set. Lately I solved two major cases which Symfony2 hasn't got out of the box: testing services, defined in Dependency Injection Container and running model tests with fixtures in fully isolated...
On the PHPClasses.org blog today Manuel Lemos gives his perspective on the recently announced PHP fork by Robert Eisele that has the community buzzing with comments from both sides of the fence.A fork is a new version of a project that a separate group of developers that want to give the project a different route. A new PHP forked version was created by Robert Eisele to address needs that he felt were important.He mentions the forked version as updated with the changes Robert wanted to see made and a few...
In this post to his blog Trevor Morris talks about his own introduction to the Fuel framework and some of his investigation into working with its forms support and validating the user input that comes from them.I have been working on developing a website with the newest PHP framework on the block - Fuel, which describes itself as "a simple, flexible, community driven PHP 5.3 web framework based on the best ideas of other frameworks with a fresh start". [...] Although Fuel is a new framework, it borrows a...
As posted on the PHPNW conference's blog, they've announced the schedule for this year's event and have posted it to the site.You can now find the schedule for the PHP North West Conference 2011. We hope you like it as much as we do. The speakers have been selected via Call for Papers and hope that you share our excitement by this year's fantastic lineup! Thank you to everyone who submitted.Topics included in this year's event are things like deployment with phing, Symfony2, DocBlox, Doctrine2, Git and...
Basic SQL Injection Protection
Text Pattern Parser
New PHP Version Fork
By Manuel Lemos
A fork is a new version of a project that a separate group of developers that want to give the project a different route.
A new PHP forked version was created by Robert Eisele to address needs that he felt were important.
Read this article to know in more detail about this PHP fork.
I'm happy to announce that I'll be joining Half Off Depot, LLC as Lead Software Architect on June 27th.
Half Off Depot is a growing, promising startup here in Atlanta. As you might gather from the name, they're in the daily deals space, sort of along the lines of Groupon and LivingSocial. As of this writing, they have been focusing on the Atlanta, Georgia and Knoxville, Tennessee markets.
I'll be focusing on a number of areas, both server-side and in the mobile app arena, in addition to helping build the...
A So I spend the last two weeks in Berlin, with a short trip in between to Italy for some frisbee. Berlin was awesome, Italy too, except for the muscle I pulled at the end of the second game, but I digress. The reason why I got to hang out in my home town was the International PHP Conference Spring Edition, where I have a talk on the Symfony CMF, and Berlin Buzzwords where I got to hear all about whats happening in the NoSQL, Search and Big Data world.
IPC was in a new location from last time I...
The Zend Framework team is pleased to announce the third development release of
Zend Framework 2.0, 2.0.0dev3. It is immediately downloadable from the Zend
NOTE! This release is not considered of production quality, and is released
solely to provide a development snapshot for purposes of testing and research.
Use at your own risk.
Richard Miller has a new post to his blog today that recommends moving away from the base controller the Symfony introductory documentation has you make. He suggests an alternative that can be used more widely.In fact, it is the advised best practice for controllers in shared bundles. When you do, you will no longer have access to these useful methods, in this post I am going to look at how to accomplish the same tasks without them. I have created a simple controller for some basic form interaction with...
Andrew Johnstone came across an interesting problem when he tried to use memcached multigets with a large number of keys - it was throwing failures, but only when he tried it on Ubuntu.I Spent a little while yesterday investigating why memcached causes problems with multigets returning results and ended up comparing debian vs ubuntu. [...] A larger number of keys than 200 causes memcached to fail to return valid responses, additionally the key length greatly varies the number items you can pull back...
Volker Dusch has a new post to his blog looking at the use of references in PHP (or lack there of) and what we, as end users of the language, can do about it. His example looks at mysqli prepared statements.Even so not every PHP Developers knows WHY we don't use references pretty much every core function and every somewhat modern framework avoids them so people adapted this best practice. The leftovers in the PHP core, like sort() or str_replace(), are exceptions to the rule. So if the common consensus...
Philip Norton reminds you that the "Blind Bird" pricing for tickets to this year's PHP North West conference is almost coming to a close - the speaker list will be announced soon!According to the PHPNW11 blog they had a 50% increase in paper submissions from PHPNW10, which means there will be an excellent range of talks on offer, but also a lot of papers to review before deciding on the schedule. So if you want to get in the bargain price of Â£75 for a fantastic two day conference then you had better get...
On the Ibuildings techPortal site there's a retrospective of the Dutch PHP Conference from this year, 2011.Before our memories get swamped by our daily lives, let's take a look back at the Dutch PHP Conference 2011. For me, two things stand out when I look back on this years DPC. One was the rate at which ideas were exchanged, both during the regular conference days and at the associated social events. [...] The other thing to stand out was the fact that many talks were not about PHP.He goes on to talk...
New on ZendCasts.com today there's a new screencast showing you how to create a custom application resource for your Zend Framework application. It's the (possibly final) video in the series he's been doing with the HTMLPurifier filtering.We've taken a library that's outside the framework and want to find an elegant solution that takes advantage of the configuration tools that are already available in the Zend Framework.He takes the previously hard-coded settings for the HTMLPurifier and moves them into...
Latest PECL Releases:
Before our memories get swamped by our daily lives, let's take a look back at the Dutch PHP Conference 2011. For me, two things stand out when I look back on this years DPC.
One was the rate at which ideas were exchanged, both during the regular conference days and at the associated social events. Triggered by the talks they attended, people from many different nationalities were discussing a broad range of subjects, ranging from front-end technologies like html5, via the pitfalls of API design, to...
Spatial Indexes: Solr
Tuesday, June 14th 2011, 09:04 BST
In two previous articles I introduced the spherical Earth model, using SQLite as a geographical data storage and using MySQL as a geographical data storage. In this article we're going to have a look at importing the data into something else than a relational database: the search platform Solr. (Yes, I know I've skipped PostgreSQL, but I'll come back to that).
Solr is "the popular, blazing fast open source enterprise search...
Am kommenden Donnerstag, den 16.06.2011 findet ein weiterer A¶ffentlicher Vortrag im Mayflower-BA¼ro in WA¼rzburg statt (Pleichertorstrasse 2, 97070 WA¼rzburg, StraAYenbahn und die Haltestelle Congress Centrum). Beginn ist um 18:00 Uhr, Thema des Vortrags ist "Redis".
In dem Vortrag von Peter Voringer geht es um die FunktionalitA¤t und den Einsatzbereich/-mA¶glichkeiten von Redis, sowie die PHP Client Library Rediska.
Die Donnerstags-VortrA¤ge werden sowohl in WA¼rzburg als auch in MA¼nchen gehalten....
Keith Casey has a new post to his blog today sharing some thoughts similar to those he gave in the closing remarks at this year's php|tek conference that recently happened in Chicago.A few weeks ago at php|tek, I was lucky enough to deliver the Closing Remarks. Well.. it was less "lucky" and more of a "wait.. you haven't done anything this week, make yourself useful." So after a week of sessions, midnight hackathons, midnight unconference, tornados, power outages, a red carpet entrance, a family reunion,...