I love blogs. A year ago today, I tried to start a sort of blogging revival. To my great surprise and delight, it kinda worked. For a while, I could find really interesting stuff to read every day by just browsing through my planet or #ideasofmarch on Twitter. It was great.
As time passed, commitment waned. When I noticed it was almost that time of year again, I decided this was a tradition worth keeping, so here I am. I'm using this opportunity to renew my commitment to blog more, and hopefully this...
A year ago, I posted about Ideas of March, which Chris got rolling.
In it, I pledged to blog more.Today, I am not so proud to say that I have mostly failed to do so. If I had to come up with a reason, I'd have to say that, personally, 2011 turned out a whole lot different than I was expecting, back then-and not in a good way.Over the last year, however, I did post a few things that I think were interesting, and worth of a re-read (at risk of making this post into a clip show):
PHP Community Conference...
Volker Dusch has a new post reminding us about what the "unit" part of "unit testing" means - small chunks of testable parts in an application.What does the word UNIT in unit testing stand for? Think of an answer and read on! So? Did you say "A method! Because we test methods!"? If so let me offer another perspective.He suggests that, rather than about just the methods in the class, it's more about testing the "observable behaviors" of the class. That is, anything that you could publicly use the class...
It's March 15th and you know what that meansa.only a month left for the procrastinators to do their taxes in the US. Well, actually, that's not what I'm really talking about here. Last year a whole host of people write up posts titled aoIdeas of Marcha and this year's no different. Several members of the PHP community are jumping in with there thoughts on blogging - here's some of mine.
Blogging is great, don't get me wrongaI love it when I can Google for something and find that someone, somewhere has...
Here's what was popular in the PHP community one year ago today:NetTuts.com: The ABCs of Web Development
Rob Allen's Blog: Zend Framework View Helpers
Chad Lung's Blog: A quick intro to using PHP PDO with MySQL
Community News: "Ideas of March" Kicks off a "Blogging Revival"
Kenny Katzgrau's Blog: Video: How GetSparks.org Uses CodeIgniter Sparks
9Lessons: Payment System with Paypal
Freeaqingme's Blog: PHP, JS & Service layers: Blend like never before
Gonzalo Ayuso's Blog: Real time notifications with PHP...
The Voices of the ElePHPant podcast has posted their latest episode - an interview with Chris Hartjes, author of the "The Grumpy Programmer's Guide To Building Testable PHP Applications", advocate of application testing and podcaster in his own right.Cal's "three questions" for Chris revolve (mostly) around his testing emphasis:
Which unit testing framework do you recommend and why do you choose it over other options?
What is "enough" when it comes to testing your applications?
What's the biggest...
The Lone Star PHP Conference (happening in June in Dallas, Tx) has officially announced their schedule and the sale of Early Bird tickets for this year's event!The Call for Papers has been wrapped up, the speakers have been selected and we're happy to announce that the schedule for this year's event has been posted!Topics for this year's event include: Building testable applications, PHP extensions, Database testing, ElasticSearch, Mentoring developers, RESTful APIs. If you want to get in on the Early...
The CICONF, the CodeIgniter conference, had a great success with it's UK event and now it's coming back to the US in August to San Francisco.Following on from the success of our recent event in London last month we're happy to announce that the CodeIgniter Conference is back for more CodeIgniter-based antics! This time we'll be in San Francisco! We've got a new site, a new set of wonderful sponsors and early bird tickets will be ready shortly for those of you know just can't wait to reserve your place....
On the NetTuts.com site today there's a new tutorial from Sahan Lakshitha about creating forms in FuelPHP, the PHP 5.3-centric framework.Thanks to FuelPHP's fieldset class, working with forms couldn't be easier. With a few lines of code, you can easily generate and validate a form. Today, we're going to learn how to do just that!He starts with guiding you through a simple install of the FuelPHP framework and configuring it to connect to a MySQL database. He shows how to set up a model, specify its...
On CodeIgniter.com there's a new post looking at Sparks, reusable code components/packages for the CodeIgniter framework.On the back of a CIConf in London last month, I would like to delve a little into a common theme amongst CodeIgniter developers. Speeding up development through simple automation. To do that we're going to take a look at the CodeIgniter Sparks project and how it can drastically speed up your development. To demonstrate, I will walk through building a little portfolio that leeches off...
On the Nefarious Designs blog there's a (very complete) guide to Vagrant and using it to set up easily reproducible versions of your development environment.In case you've been living under a rock for the past couple of years, Vagrant is the latest development in easily controlled virtualised environments. [...] Vagrant automates creation and provisioning of virtual machines within VirtualBox via the command line, whilst also allowing for easy distribution and reuse across multiple projects. In this...
Image merger combiner
MySQL to CSV file formatter
I've published some vanilla PHP 5.4.0 RPMs to make new feature testing
Along with all the PHP 5.4 goodies, the php-fpm "FastCGI Process
Manager" is available for the first time on oss.oracle.com. Php-fpm
is an alternative FastCGI interface to PHP with various extra features
such as load dependent spawning of processes. (For other features,
see php-fpm.org). Php-fpm
has been getting more and more traction in the PHP community and the
EXPERIMENTAL flag was removed in PHP 5.4. You might want to...
I've published some vanilla PHP 5.4.0 RPMs to make new feature
testing easier for Oracle Linux 5.x 64 bit users. The standard set of
RPMs is at oss.oracle.com/projects/php. The OCI8 extension is also
available (this requires the free Oracle Instant Client 11.2 from ULN or OTN.)
Some of the features of PHP 5.4 are:
Improved memory usage and performance. Some impressive
preliminary reports of the benefits include:
On PHPMaster.com today there's a new tutorial posted (from Martin Psinas) about using role-based access controls in PHP-based applications. His method isn't based in any specific framework, so it's easily portable to just about any app out there.In this article I will discuss my personal favorite approach: role based access control (RBAC). RBAC is a model in which roles are created for various job functions, and permissions to perform certain operations are then tied to roles. A user can be assigned one...
Pádraic Brady has written up an exhaustive guide to using htmlspecialchars correctly and securely in your applications (though it's technically how "not to use it"). This is part one of a series looking at preventing cross-site scripting in PHP applications.While it's no harm poking fun at ourselves, in PHP we do have a serious problem. Cross-Site Scripting (XSS) remains one of the most significant classes of security problems afflicting PHP applications. Despite years of education, community awareness...
Brian Swan (of Microsoft) has a new post to his blog talking about what SQL Server 2012 means for PHP developers - what the latest version of this MS database has to offer and how to get a basic install up and working in your environment.Last week, Microsoft held a virtual conference to announce the availability of SQL Server 2012. The conference included a number of events (speakers, videos, training activities, etc.) that focused on the new functionality available in this release. Now that most of the...
In this new post Gonzalo Ayuso talks about "using eval without using eval" in PHP applications - executing PHP code without having to use the eval function to do it.Yes I know. Eval() is evil. If our answer is to use eval() function, we are probably asking the wrong question. When we see an eval() function all our coding smell's red lights start flashing inside our mind. Definitely it's a bad practice. But last week I was thinking about it. How can I eval raw PHP code without using the eval function, and...
Anthony Ferrara has started a new series of posts to his blog that will introduce you to the source behind the project - the code that makes PHP tick. In this first part of the series, he gives more of an overview of things like where you can find the source and some basic C concepts.In this post, we'll walk through the basics of the PHP application: where to find it, the general structure of the codebase and a few really fundamental concepts about the C language. To be clear, the goal of the series is...
On 7php.com today they've posted their latest interview with a well-known PHP community member - Lorna Mitchell:In this edition I talked with Lorna Jane Mitchell, the Project Lead of Joind.in - built with PHP and proud to be Open-Source. She is the first female PHP programmer I'm interviewing on 7php.com and this makes it a special one. Lorna is a highly respected and highly looked-upon PHPer in the PHP Community with all her active contributions, writing so many insightful PHP articles, co-author of the...