|
Sponsored Link
|
Discussion on the PHP mail lists and IRC channels in the past few
days has been looking positive about an alpha release of PHP 5.4
soon. This will be taken from the "trunk" branch of PHP. The exact
feature list is under discussion but the mood seems to be
"ship what we currently have" though a couple of features are
slated to be deferred until later.
A paragraph from a post by
Rasmus Lerdorf on PHP's "internals" mail list is worth re-broadcasting.
Rasmus is more than willing to grant PHP karma to...
This is a post for the "so I can find it again" category. (It is also a test for the new blogging infrastructure that Oracle migrated to last week).
After an upgrade to Ubuntu 11.04 on one 32 bit machine, my simple custom script to build PHP 5.3 from source failed. The script isn't complex, pulling in a couple of extensions that I use for sanity checking the OCI8 extension. I use the GD extension to generate some simple graphs.My configuration command was like:./configure ... --with-gd --with-jpeg-dir...
On PHPBuilder.com there's a new article showing you how to create a dynamic username validator with the combination of PHP, MySQL and jQuery to do some of the front end work.One of the easiest ways to streamline the registration process is by providing the user with real-time feedback regarding username availability. This is accomplished by monitoring the registration form's username field and immediately following the user's completion of this field, rather than waiting for the user to complete all...
DevShed has a recent post looking at a handy feature PHP includes to let you be a bit more flexible with your session handling - the custom handlers that can be used for fun things like MySQL session handling.Now the default PHP session management functions work just fine for most uses, and there is no reason to create a custom session handler if all you have is one server with a moderate amount of traffic and session use. However, remember that session data is stored locally on your server's hard drive....
On the PHP On Windows section of the DZone.com site Giorgio Sironi has a new post looking at the process (and script he's created) to create a UML diagram with PHP from a project's current class structure.Sometimes you need to share a design with your colleagues. You can walk him through the code, and explain which classes and interfaces you created, but there are higher abstracted models that you can show to him to make him grasp the picture quickly. One of these tools is UML, and in particular class...
We had the PHP Content Repository workshop at Liip in Zurich earlier this week. During the time we also discussed some other code reuse, like utilizing parts of the Symfony2 framework in Midgard. The Liip guys mentioned Silex, a cool micro-framework written on top of Symfony2. It greatly resembles the ExpressJS framework that we already use in some of our Node.js projects.
Here is a simple example of registering a route and displaying something when it is called:
get('/hello/{name}', function($name) {...
RubySource's resident PHP developer Mal Curtis delves into the differences between PHP's property visibility and Ruby's attribute accessor visibility. Read on to learn about how fundamentally different Public, Protected, and Private visibility is between the two languages.Read the full article-Confessions of a Converted PHP Developer: On Visibility and Privates-over on RubySource.
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
|
|