The Oracle Learning Library has posted up the latest "Oracle By Example" labs giving an introduction to PHP & Python with the Oracle Database : Using PHP with Oracle Database 11g - a basic introduction Developing a PHP Web Application...
On PHPBuilder.com there's a new tutorial showing you some of the PHP functions that you can use to interact with the network surrounding (and even vaguely related to) your application.PHP has a great many tools for interacting with a network and also with the Internet. In this article, I examine some of those tools and functions to show how exactly you can use them to make your scripts more useful in a network environment. Click here to download the accompanying source code.They show how to use fopen to...
On the SitePoint blog there's a new article from Craig Buckler stating that MySQL transactions can't be emulated in PHP and shouldn't be discounted despite many developers seeing them as not much more than a performance hit.My recent article, "Top 10 MySQL Mistakes Made by PHP Developers" was far more controversial than I expected. Several of the more intriguing responses were from PHP coders who considered transactions to be an unnecessary overhead. With good-quality PHP code, they argued, you don't...
On the Zend Developer Zone today there's a new announcement from Ralph Schindler about this month's Zend Framework Bug Hunt happening this Thursday, Friday and Saturday (the 16th through the 18th).Has Zend Framework been good to you this year? Are you trying to figure out what to give to Zend Framework for Christmas? Well, search no more- Zend Framework wants one thing: for you to close some bugs at this month's bug-hunt! This Thursday, Friday and Saturday of December (the 16th, 17th and 18th 2010),...
Richard McIntyre has posted about his experiences in working the features the Lithium framework into one of his current applications, mostly because of its support for Doctrine and its heavily decoupled nature.I have a legacy application which was originally written in straight PHP with a few classes that I have created for convenience, but this is old and I am wanting to get this into a modern web framework. [...] I wanted to update my site with better validations anyway so I will start with flash...
NetTuts.com has posted a great list of 30 tutorials they've written up for anyone wanting to work with the CodeIgniter framework in their applications. The list ranges from introductory "here's the framework" types out to detailed tutorials on building sample applications.CodeIgniter is a fantastic framework, which caters to beginners, power users and everyone in between. As the best web development source on the web, we've taken it upon ourselves to provide extensive tutorials and screencasts on the...
I've been using Vim for close to a decade. I've often said
that "Unix is my IDE" -- because Vim is built in the Unix philosophy, allowing
me to pipe input into it, out of it, and every which way I want. It fits very
nicely with the Unix philosophy of doing one task well, and allowing
redirection. I've found it ideal for web development in general and PHP
development specifically -- in fact, I've had excellent experiences in every
language I've tried my hand at developing in when using Vim.
lightweight MVC Lang
Compare two MySQL Backups and output changes to a file
Facebook Page Album
Zend Framework Facebook Library
As part of the IKS project we're working on semantic web editing. One area there is using RDFa to actually make pages editable. RDFa is a way to embed semantic information to regular html pages, and is already supported by some search engines, making this also a way of doing SEO.
But in addition to telling search engines what the content on our pages means, we can also use it to communicate between templates and the content management UI. In this example I'm using jQuery, Aloha Editor and a Midgard...
aoThere are two ways of constructing a software design. One way is to make it so simple that there are obviously no deficiencies. And the other way is to make it so complicated that there are no obvious deficiencies.a
-a Sir Charles Antony Richard Hoare
As you've already been told, PHP is the language of the quick and dirty, where a developer's tendency is toward laziness (efficiency).We don't always unit test our code. Sometimes, we take design shortcuts, even though we know they'll hamper us later on....
Has Zend Framework been good to you this year? Are you trying to figure out what to give to Zend Framework for Christmas? Well, search no more- Zend Framework wants one thing: for you to close some bugs at this month's bug-hunt! This Thursday, Friday and Saturday of December (the 16th, 17th and 18th 2010), we'll be hosting our monthly bug hunt. For those of you unfamiliar with the event, each month, we organize the community to help reduce the number of open issues reported against the framework.
The PHP development team would like to announce the immediate availability of PHP 5.2.16. This release marks the end of support for PHP 5.2. All users of PHP 5.2 are encouraged to upgrade to PHP 5.3. This release focuses on addressing a regression in open_basedir implementation introduced in 5.2.15 in addition to fixing a crash inside PDO::pgsql on data retrieval when the server is down. All users who have upgraded to 5.2.15 and are utilizing open_basedir are strongly encouraged to upgrade to 5.2.16 or...
Francesco Montefoschi has a recent post to his blog looking at a tool you could use to ensure the quality of your code comments - PHPADD, the abandoned docblock detector.PHPADD can analyze a directory with PHP source code and detect (for each file, for each class, for each method) if the parameters in the function declaration are compatible with the parameters found in the docblock, reporting the outdated ones. This can be easily integrated in your build script and the result can be published in build...
If you're one of the developers that have the basics of the language down and want to improve your skills to the next level, you'd do well to check out this post from Webgeekly.com packed with little helpful hints you can use to make your life easier.PHP is a very versatile programming language that can achieve the same objective in multiple ways. You can read more about that in my 'The Art of Programming' post. Below are a few tips I've picked up from past projects that can improve your code readability...
We already wrote about CodeBrowser 0.9 in August and after fixing a few minor bugs the Mayflower Open Source Labs Team is very happy to present PHP_CodeBrowser 1.0.0.
The new version is already available on pear.phpunit.de. To check it out, just run
A pear channel-discover pear.phpunit.de
A pear install phpunit/PHP_CodeBrowser
or, if you have already installed PHP_CodeBrowser, you can upgrade with
A pear upgrade phpunit/PHP_CodeBrowser
If you would like to see any features in the...
On the Query7 blog there's a recent post introducing you to the Kohana PHP-based framework (Kohana3, to be exact) and its setup.This is a brief introduction into the Kohana framework. The next two tutorials will cover how to build a blog in Kohana. [...] Installing Kohana is very straight forward, just download the latest stable version of Kohana and unzip it. No need to mess around with yaml or xml files like other frameworks.The installation gives you a set of environment tests that run to ensure your...
In this new post to her blog today Lorna Mitchell looks at some of her experiences as she worked toward talking the Zend Certified Engineer certification (the 5.3 version), including her opinion as to whether it was even worth it.I recently took (and passed!) the ZCE 5.3 certification. I've been a Zend Certified Engineer (5.0) for nearly 3 years, and I know a lot more about PHP today than I did then. Today I speak and write various things related to PHP, and also teach all sorts of topics including PHP...
With the recent announcement of the Dutch PHP conference 2011 (and it's call for papers) the Ibuildings crew has taken a look back at DPC 2010 with this new video interview with Lorna Mitchell, the organizer of the 2010 event.With the Call for Papers open and the for the Dutch PHP Conference 2011, it seems like a good time to bring in this interview from last year's host, Lorna Mitchell. Watch this short video for her impressions of the overall event, and some top tips for getting your talks accepted...
The images above show you how to analyze the effectiveness of your cache. Our previous post on How to make WordPress Fastertalked about caching static content, using Mod Pagespeed, and Nginx. The question becomes, how do you measure the effectiveness of your cache?
Turns out it's fairly easy with Safari. If you look at the two images above, it's fairly self explanatory.
You can access the Activity menu, by clicking on Window in the OS X Menubar, and then choosing Activity.