Nexen.net has a new look today at something most people take for granted - some of the default extensions loaded (and how often they are) in a PHP installation.
Since PHP 5.2.3 has been published, over 9700 tests were sent to the Quality Assurance Team. In those tests reports, we can find the list of failed tests, and an anonymous PHPinfo(), that helps the PHP team to understand the origin of the errors. With such a number of phpinfo(), it is tempting to get some stats about compilation choices.
Damien has graphed out a few different data sets - the extensions included in most default installations, other popular extensions that may or may not be compiled in, the list of rare extensions (a long list) and how often they show up and, finally, the graphing of all extensions included in any PHP install anywhere. Links to more information about these extensions can be found immediately following the graph.
From Justin Laing over at Merchant OS there’s a new tutorial on creating a simple link scraper with the help of PHP and the cURL extension.
In this tutorial you will learn how to build a PHP script that scrapes links from any web page. You learn how to use cURL, call PHP DOM functions, use XPath and store the links in MySQL.
You’ll have to have PHP5 and the cURL extension enabled on your web server to make it all work, but the code is all there ready for you to cut and paste. The application grabs the page with cURL (including the possibility to fake your user agent), parses through the HTML with the DOM and XPath functionality to grab the links and uses the MySQL methods to store them into your database.
Nick Halstead has posted part three of his series looking at interviewing programmers (here’s part one and part two) with more of a focus on the details of the individual including their knowledge of code and general abilities.
In the murky past I wrote two article about interviewing programmers. The first covered the basics of interviewing itself and gave (hopefully) a good grounding for those who have never had to interview before. The second was all about the kind of testing you can do to filter out candidates before you commit to doing a full interview. [...] At the time I then promised to write a third section on what types of tests to use during the interview. Well I finally got round to finishing it off.
This time, he suggests things like specific language testing for your company’s language of choice, an IQ test, seeing how they “pseudo code” and some psychometric testing. Basically, this boils down to measuring both the individuals potential and how good they will be in the position you’re interviewing for.
In a new post today, Justin Silverton points out a PHP library that makes available the full set of features that Microsoft previously only had for its ASP.NET language.
Microsoft has released their AJAX library package for non-windows systems which contains a complete set of client JavaScript components that are included in the full ASP.NET AJAX installation. Developers over at Codeplex have developed a library that allows you to integrate your PHP applications with this package.
The code example included shows a simple client/server interaction with a “hello world” sort of message. The library that makes it possible comes from
No Comments | Read the rest of this entry »
Dave Dash has shared his tips on moving things smoothly from your development to production environments when using symfony and the Apache mod_rewrite module.
I think a common problem for some symfony developers that aren’t too familiar with Apache’s Mod Rewrite is when they move from a development environment that uses an explicit controller (e.g. frontend_dev.php is requested from the server explicitly) to their production app which implicitly calls index.php (e.g. ‘/’ or some other route is passed to index.php) things stop working.
To combat the situation is easy - it’s a simple update to the .htaccess file default to symfony to add a LoadModule line to start up mod_rewrite.
Sean Coates writes today about an update to the schedule for the php|works conference - they’ve filled in some spots that were open in the schedule.
Especially of interest are our Thursday keynotes on “PHP 6: The Future” by Andrei Zmievski, and “PHP 4 is dead! Migrate your code” by Chris Shiflett. We’ve also added a tutorial session on Flex and PHP by Mike Potter, of Adobe, for those who opt to take part in the tutorial day.
For more information on the conference and to check out the rest of the schedule, head on over to the official conference website and check it out. You can also register today to reserve your spot at this great three day conference (one day packed with tutorials and two full of talks from great speakers on great topics).
>
Dev Shed: August 15, 2007, 9:00 am by Open Source Web Development Tutorials - RSS Feeds
The GD library comes bundled with both PHP 4 and PHP 5. While it is a popular library that has been around for a while many web developers do not take full advantage of its capabilities. In this five-part series we will take a close look at what the GB library can do for you especially in the area of dynamically-generated graphics….
Designed to Inspire, Educate & Instill Creativity Learn to build an effective email marketing campaign at the ClickZ Email Marketing Forum (NY) -Oct 2
DevShed has a new article posted today - a tutorial walking you through a sort of brief history of SOAP support in PHP and some working examples of each - NuSOAP, PEAR::SOAP and PHP’s SOAP extension.
SOAP (Simple Object Access Protocol) provides a flexible communication layer between applications, regardless of platform and location. As long as both the server and the client speak SOAP, they can communicate. A PHP-based web application can ask a Java database application to get some information. In this article we will try to focus on different methods of developing SOAP web service clients in PHP.
They start with a look at NuSOAP and the creation of both a client and server (as well as an example on how to use some of its debugging. Next up is PEAR::SOAP, a powerful package that simplifies much of the same functionality NuSOAP has to offer. Finally, they get to the most recent SOAP functionality for PHP, the PHP SOAP extension that comes loaded with PHP5 installations by default. This includes a brief overview of its API and code examples that, in a few lines, do what takes the others twice as much.
Latest PHPClasses.org Releases: