In a new post Matthew Weier O'Phinney talks about autoloaders in the Zend Framework and the changes they've made from ZF1 to ZF2. He also includes a link to a package you can try out if you'd like to backport the ZF2 autoloaders to your ZF1 application.
Interestingly, I've had quite some number of folks ask if they can use the new autoloaders in their Zend Framework 1 development. The short answer is "yes," assuming you're running PHP 5.3 already. If not, however, until today, the answer has been "no."...
Keith Casey has a new post to his blog today talking about an event happening at this year's php|tek conference, a hackathon in the after-hours of the second conference day (the 26th for those keeping track).So I'm proud to say that at php|tek this year, we've managed to gather a bunch of these people to come to show what they're building at our third annual Hackathon. On Thursday night (May 26th), we'll have over a dozen projects represented by some of the best and brightest out there. Even better,...
Create Recurring Payments Profile
Mutex
jqmPhp
PHP One Line Enum
ROW Simple Form
MySQL Function Class
PHP Sweet PDO
SQL class PHP
Eastern
Christofides heuristic
IPv6Net
Database class extending PDO
IPv6 Net
The Voices of the ElePHPant podcast has posted their latest interview with a member of the PHP community today - Giorgio Sironi.Cal's "three questions" for Giorgio about his work in unit testing:
Can you quickly define what "designing for testability" and how it's different from normal application design?
Can you define the "take a shower" methodology as it relates to TDD?
Can you talk a little bit about test maintainability and what do you do to make sure your tests are maintainable?
You can listen to...
On the Zend Developer Zone today Cal Evans points out a podcast he thinks the software developers out there should give a listen to - SitePoint's latest "Six Pixels of Seperation" episode, How to Get Serious About Your Creativity.The interview with Steven was Episode #251 of Six Pixels, "How to Get Serious About Your Creativity". I really enjoyed the episode and since creativity is a big part of software development, I think you will too.As with most podcasts, you can either listen to the episode via an...
Padraic Brady has a new post looking at a cross-site scripting issue he came across when working with CodeIgniter 2.0.2 and some fixes and recommendations he has about correcting the situation.EllisLabs' news release for CodeIgniter 2.0.2 makes mention of "a small vulnerability". This small vulnerability is mentioned no where else (not even the actual changelog for 2.0.2). In reality, I reported seven distinct vulnerabilities across two classes. These vulnerabilities might allow an attacker to inject...
Lorna Mitchell has a quick post related to some of the OAuth work she's done on both sides, consumer and provider. This latest post relates to the OAuth pages and endpoints that are needed as a part of the authentication process.This article uses the pecl_oauth extension and builds on Rasmus' OAuth Provider post. [...] OAuth has a little more baggage with it than just passing a username and password to an API.She lists the five things you'll need for your service and talks a bit about the registration...
The last blog post about the Google Panda update was written by Michele, a new author for the Web Development Blog. Because she is the first author beside me, we thought it's important to provide some information about Michele below each blog post. We explain in this a€obeginnera€¯ WordPress tutorial how-to place the author's biography [...]
Lars Strojny has posted the second part of his look at dependency injection and the refactoring it makes possible. If you'd like to start from the beginning, you can read about part one here.He breaks it up into two sections (really three, but he advises to ignore the third):
Introducing a parameter in to the dependency injection container's configuration
Setting it up to allow for checks against the environment (development, production, etc)
Code samples and example XML configurations are included for...
On the PHP on Windows site (a part of DZone.com) Svetoslav Marinov has a quick new post looking at how you can set up your Windows PHP installation to be able to send emails similar to its linux cousins.You'll need a server that you can use SMTP on to send the emails to, but outside of that, the setup is pretty painless. He recommends using the sendmail for Windows tool to do the backend lifting. He includes the settings, both for sendmail and PHP, and configuration changes you'll need to get it all...
In the past six weeks, I've delivered both a webinar and a tutorial on Zend
Framework 2 development patterns. The first pattern I've explored is our new
suite of autoloaders, which are aimed at both performance and rapid application
development -- the latter has always been true, as we've followed PEAR
standards, but the former has been elusive within the 1.X series.
Interestingly, I've had quite some number of folks ask if they can use the new
autoloaders in their Zend Framework 1 development. The...
If you haven't figured out by now, I attend quite a few conferences and catch a lot of presentations from numerous speakers. I've found that most presenters have a sweet spot. They're good at expressing a concept but don't get into the code. Others can build ridiculously powerful applications but couldn't describe the concept if their lives depended on it.
In the middle, there's a special kind of person. They're the ones that can explain a concept and whip up some demo code. Or alternatively, they can...
Latest PECL Releases:
txforward 1.0.7
pecl_http 1.7.1
PDO_CUBRID 8.4.0.0001
CUBRID 8.4.0.0001
As many of my readers know, I have a keen dislike for regular expression based html sanitisation. Regular expressions simply do not understand html's nested nature and the numerous possible html/CSS standards it must abide by. The result is that far too many developers try to program this understanding (and unfortunately their lack of comprehensive understanding) into home grown sanitisers using as little code and tests as possible.A It's a horrendous and reprehensible practice that has created a large...
I've been working with OAuth, as a provider and consumer, and there isn't a lot of documentation around it for PHP at the moment so I'm sharing my experience in this series of articles. This relates to the stable OAuth 1.0a spec, however OAuth2 has already started to be adopted (and differs greatly). This article uses the pecl_oauth extension and builds on Rasmus' OAuth Provider post.
OAuth Pages and Endpoints
OAuth has a little more baggage with it than just passing a username and password to an API....
I am a podcast junkie, maybe that is why I keep starting them. I listen to a lot of podcasts covering a variety of topics. One of them recently posted an episode I enjoyed so much, I thought I would share it with you. Click on inside, I've got the details and links.
On the Web Builder Zone (a part of DZone.com) there's a recent post from Giorgio Sironi reviewing the Mockery library, a mock object framework created by Padraic Brady.Mockery is a mock object framework (more properly Test Double framework) from @padraicb, independent from testing frameworks like PHPUnit. It can be used to quickly prepare Mocks, Stubs and other Test Doubles to use inside your unit tests. I've tried Mockery via a PEAR installation and I must say its expressive power is higher than that of...
On the Query7.com blog today Logan shows you how to create a simple wiki with the help of the Kohana framework, a HMVC PHP5 framework that includes several tools (including UTF-8 suport and a cascading filesystem) to make a developer's life easier.In this tutorial you will learn how to create a simple wiki using the PHP framework Kohana version 3.1. Several years ago Siddharta Govindaraj created a screencast demonstrating how to create a wiki using Django, this is essentially the Kohana version of that....
Webshell
is a console-based, JavaScripty web client utility that is great for
consuming, debugging and interacting with APIs.
I use Firefox as my primary browser.
The main reason I've been faithful to Mozilla is my set of add-ons. I use
Firebug regularly, and I'm not sure
what I'd do without
JSONovich.
Last year, as I built Gimme Bar's
internal API, I found myself using Curl,
extensively, and occasionally
Poster,
to test and debug my code.
These two tools have allowed me to interact with HTTP, but not...
Gonzalo Ayuso has a new post to his blog today looking at a method you can use for real-time monitoring of your PHP applications with a combination of websockets and Node.js. The trick is to handle the PHP errors and send them over to a Node.js server for processing.The inspection of the error logs is a common way to detect errors and bugs. We also can show errors on-screen within our developement server, or we even can use great tools like firePHP to show our PHP errors and warnings inside our firebug...
|
Latest PHP Tweets
|