In a new post to her blog, Vanessa Vasile has a reminder about a built-in PHP function that can help quite a bit when you're working with SSL certificates - openssl_x509_parse.PHP has a nifty little function for parsing an x.509 SSL certificate into an array to easily pull out the elements: openssl_x509_parse. Essentially, all you need to do is load up the contents of the certificate, either through a file or POST value, and enclose it in the array.She includes a code snippet that pulls in the...
Lorna Mitchell has a new post to her blog with a quick example of how to get namespaced values with SimpleXML out of a properly formatted XML file.Recently I was working with some google APIs and needed to retrieve some namespaced elements from the result set. This confused me more than I expected it to so here's my code for the next time I need it (and if you use it too, then great!) I was reading from their analytics data feed API, this returns a few key fields and then multiple tags, each with...
As is mentioned in this message to the php-dev mailing list from Derick Rethans, there's a desire to start on the next alpha release version for PHP - the 5.4.x series.We're a bit further along now; and with the typehinting resolved
(http://thread.gmane.org/gmane.comp.php.devel/62298/focus=62858) I want
to start started with PHP 5.4 with the first alpha on Wednesday,
November 24th. There are a few things that need sorting
out and/or clarification: Annotations, Lemon rewrite, APC in trunk.
Keep in mind...
On Qafoo.com there's a new tool that's been introduced to help you keep track of the current Call for Papers that are currently happening for PHP conferences. The start of the PHP conference season is in full swing, and sometimes it can be hard to keep up. Their Call for Papers Manager can keep that information at your fingertips.The tool works quite simple: You can add CFPs you know about and which are relevant for the PHP community through a simple form. In order to remember the CFPs, you can configure...
Here's what was popular in the PHP community one year ago today:Developer.com: Managing File Uploads with the Zend Framework
NETTUTS.com: Book Review: Zend Framework 1.8 Web Application Development
PHPFreaks.com: Template based document generation using LiveDocx and Zend Framework
Phil Sturgeon's Blog: CodeIgniter "2.0": Rumours, facts and requests
Brandon Savage's Blog: Why Every Developer Should Write Their Own Framework
SitePoint.com: The Easy Way To Install PHP on Windows
Elliot Haughin's Blog:...
My slides for the "Hidden Features of PHP" talk that I've given at ZenCon 2010 are now available at:
Thanks to everyone for listening, and I look forward to feedback at: http://joind.in/talk/view/2270
Ahmed Shreef has a post he's written up about using SOAP services in PHP (specifically in a CakePHP-based application using some Zend Framework libraries) and drops in a helpful hint at the end about getting .NET clients to play nicely with it.Last week, I was working on implementing a SOAP server for one of our projects at work, this web service was built to be consumed by some other software that is built using .Net . It wasn't that easy and I faced some problems that made me go crazy for some hours...
If you've ever wanted to do any split testing in your PHP-based application (show one group one thing, a different group another - gather statistics), you might want to check out a newly released tool from James Sylvanus called PHPScenario.I recently wrote up a bunch of split testing code for an application of mine (listy.us) and decided to round out the code, smooth the edges, and make it available under a BSD license. The result is phpScenario (http://www.phpscenario.org), a free object-oriented split...
Amit Singh has a recent post to his blog with step-by-step instructions on how to get PEAR, PHPUnit and a WAMP installed and working on Windows 7.In the project that i am currently working on, we decided to use PHPUnit for doing our unit testing, and i found that it was not a straight forward thing to install that I had thought it would be. I had to start by installing Pear, and as soon as i type 'go-pear' in command prompt and pressed enter key I got my first error. So here are the steps needed to...
If you've been looking for a great way to start branching out into the Model-View-Controller world of PHP frameworks, but have been intimidated by the learning curve of some of the others, you might consider CodeIgniter. The Lear-CodeIgniter.com site has "posted a new screencast that can help you get started down your road to understanding it.This is our first episode in our CodeIgniter Basics training series. This episode explains to you what CI is, what MVC is, and the overall structure of CI, as well...
A litte tardy, but better late then never. The slides from my talk on Memcached extension are now up and can be downloaded from here:
Thanks to all the people who attended the talk and I really am looking for your feedback via Join.in .
According to a new article on the W3Tech.com site today, around three quarters of all websites are based on PHP. They've run their own survey to gather the results about the use of several different languages like ASP.NET, Java, Ruby and, of course, PHP.Our server-side programming language survey shows that a very remarkable 74.9% of websites use PHP, slightly increasing in the last year. ASP.NET technologies (presumably mostly C#) come in second, and a few percentages are left for Java. That's about it....
In a new post to the techFounder blog today, Eran Galperin shares a tool that he's created to make life outside of the Zend Framework simpler. It's a simple script that, when they're needed, grabs the Zend Framework libraries from the remote SVN and drops them in place.Reusing Zend Framework based code can be a bit of a pain - you do not want to include the entire framework just for a few classes, yet tracking down the dependencies needed to run your code can be time consuming and it's hard to tell if...
On the Zend Developer Zone there's a recent article about using APIs, specifically on how to use the Digg API with the Services_Digg2 PEAR package.A few weeks ago, a client asked me to add a feed of interesting news stories to his Web application. Naturally, my thoughts turned immediately to Digg, which invariably has something interesting to read and which also offers a Web service API [...] A little Googling, and I found the PEAR Services_Digg2 class, which exposes a neat little PHP interface to the...
YouTube URL parser
Simple GMap API
DB Backup Class
HTML form generator and submit
Easy Hit Counter
te-edu Input Sanitize
PHP MVC and AJAX
Cubic Equation Solver
CSS sprite class
Do you speak at PHP conferences regularly? Or do you plan to do so? Do you occasionally forget when the call for papers for a conference starts or ends? So, you have a similar problem than we have. And we hacked up a simple solution: The Call For Papers manager (qaCFP) a€¦
Recently I was working with some google APIs and needed to retrieve some namespaced elements from the result set. This confused me more than I expected it to so here's my code for the next time I need it (and if you use it too, then great!)
I was reading from their analytics data feed API, this returns a few key fields and then multiple tags, each with namespaced children. The entry tags look something like: gd:etag="W/"Ak8EQX47eSp7I2A9Wx5VFks."" gd:kind="analytics#datarow"A ...
The PHP Rio User Group
is pleased to announce their second edition of
the PHP'n Rio conference. It will be held on November 20th,
2010, at the PUC Rio university,
Rio de Janeiro. It is a one day conference aimed on providing
experienced developers and beginners a chance to learn more about PHP
frameworks, web applications built in PHP, and the art of testing
No fees or subscription required. Participation is entirely free!
Whether you live here or are around just enjoying the marvelous...
Giorgio Sironi has started up a new series on DZone.com about some practical testing patterns you can use when writing up unit tests (and other types of testing in some cases) for your applications - the Test Strategy Patterns.The list so far includes the patterns for:
Test automation frameworks
Keep an eye on this great series. There's more to come that can be quite helpful when you're trying to generate those tests and procedures around them.
If you were a fan of the PHP quizes that Mark van der Velden has posted in the past, you'll be happy to know he's come back with part four of the series after a bit of a hiatus.It has been a while, but here is part 4 of the PHP Quiz series! A few questions to crack your brain about, or perhaps you know them all? Try them and find out! Also do read the idea behind these quizzes, here: The PHP Quiz seriesIn this quiz he tests your knowledge of class visibility, fluent method handling, class extension,...