The PHP development team would like to announce the immediate
availability of PHP 5.2.15. 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 improving the security and stability of the
PHP 5.2.x branch with a small number, of predominatly security fixes.
Security Enhancements and Fixes in PHP 5.2.15:
Fixed extract() to do not overwrite $GLOBALS and $this when using EXTR_OVERWRITE.
Fixed crash in zip...
Lorna Mitchell has a new post to her blog continuing her look at using the Google Analytics API. This time the focus is on pulling data out of the API (if you're looking for connection advice, see her previous post).Recently I started playing with the google analytics API, looking at ways to bring analytics onto dashboards and generate simple reports from the data in there. Very shortly after I started to look at the API, I had working data retrieval, so I thought I'd share my experiences (and code!).She...
On PHPFreaks.com there's a new tutorial posted to introduce you to using MongoDB with your PHP applications.Most of us grew up on the concept of LAMP(Linux apache mysql and php) but there are times when that basic setup can become a real pain to maintain and scale. Generally the hardest part to scale out of a LAMP setup is MySQL. When running a large site with lots of data and traffic optimizing/scaling MySQL can be a really complicated undertaking. That is where NoSQL comes into play.You'll need to have...
In Open Source projects, the new shiny is NoSQL databases. Everywhere I look there are more and more projects deploying them and with great results. However, in corporate teams, the adoption rate is slower. Come on in, let's take a look at at least one developer's decision process, and the conclusion he came to.
Snapshot from Bertrand's presentation in the Amsterdam IKS workshop: what does being an Apache project bring to the table?
The answer is sustainability. IKS is an EU-funded project which will eventually end. Proper project governance handled together with the Apache Software Foundation can help the software to survive and thrive for long after that.
Sustainability is something that is critical for all libraries and infrastructure software. If you want adoption, you need to ensure potential users and...
Rob Allen has shared some of his personal experience in how much faster PHP 5.3 is over the latest version in the PHP 5.2.x series when he tried to change up some view helpers in his Zend Framework application.I was looking at the way view helpers work in ZF2 and thought it would be more convenient if we altered the syntax a little. A side-effect of the change was that we'd have to use call_user_func_array, which is perceived as slow. I thought I'd whip up a simple test to find out how much slower it...
Launched about a month ago, techup.ch runs on the Symfony2 PHP framework, which is still undergoing heavy development but is already a great framework.
Full page caching basicsDon't get me wrong, the framework is fast, pages are rendered by our fairly modest server in 40-50ms on average, so it hardly needs optimization. However I still wanted to try and squeeze more speed out of it, and also get a chance to play with cool stuff, so I decided to implement full page caching with ESI into the...
Recently i had an opportunity to have a chat with Microsoft, along with a few PHP community members. We were greeted by Josh Holmes (Architect Evangelist / US) and Rogerio Cordeiro (Developer Evangelist / Brasil) at the Microsoft HQ in SAo Paulo and headed over to a auditorium where we started off a informal but very interesting talk for a few hours. This was the basic idea behind the visit: to show us a few of their new tools and get feedback from what we developers think or their tools, what is...
Here's what was popular in the PHP community one year ago today:Symfony Blog: Doctrine vs Propel
WebShop.com Blog: PHP Header(), Beyond Redirect
Phil Sturgeon's Blog: CodeIgniter on PHP 5.3
Zend Developer Zone: Paging and Sorting Data with Zend Framework, Doctrine and PEAR (part 1)
Padraic Brady's Blog: Installing PHP 5.3.1 On Ubuntu 9.10 (Karmic Koala) With aptitude/apt-get
Tibo Beijen's Blog: Using Zend_Form without Zend Framework MVC
SitePoint Design & Layout Blog: Expression Web 3 - Your New PHP Tool...
Recently I started playing with the google analytics API, looking at ways to bring analytics onto dashboards and generate simple reports from the data in there. Very shortly after I started to look at the API, I had working data retrieval, so I thought I'd share my experiences (and code!). I am using OAuth for authentication, and I blogged about using Google and OAuth previously so feel free to pop over there to find out more about that. I used the pecl_oauth extension to make all the requests to...
In 2008, a small company named Varien, based in Los Angeles, quietly released an open source ecommerce platform to the world.AMagento, as it came to be known as, quickly gained traction with web developers wishing to move on from the days of osCommerce and Zen Cart to a more professional and robust system.
Magento has earned a reputation of being flexible and powerful, while remaining somewhat of a mystery to developers. Documentation for the platform was, and still is, scarce. In this tutorial, we'll...
About a week ago I stumbled upon this post by Syp about the reception of betas in gaming.
It sums it up quite clearly, when you release a new game (especially, but not limited to MMOs) - the beta phase has to be awesome. Unless you're working on a major intellectual property (like Warhammer Online) or got a huge fan base (Blizzard) you can make or break your influx of users with the beta of your shiny new game.
Now where's the point for software developers, and especially open source developers?
Joey Rivera has posted a new tutorial about using the Facebook Graph API in your PHP application using the PHP SDK.As promised, here is a post (similar to my Twitter API post) on using the Facebook API. There are many reason why one would want to access the Facebook API '" maybe to create a mobile app that lets you post photos to your Facebook albums, or maybe you just want to show your last few Facebook status updates on your blog; what ever the reason may be, Facebooks Graph API mixed in with their PHP...
New from the Ibuildings techPortal there's this tutorial about unit testing, specifically how to test databases using the Zend Framework (or in a ZF-based application).Testing the database layer is a fundamental step during application development. It allows us to ensure that all data operations behave properly, without data loss or corruption. In this article, we are going to describe a simple way to test the database layer of our applications, using PHPUnit database classes, Zend Framework extensions...
Are you the speaker type? Do you like getting up and sharing what you know with others? Do you have to be the center of attention wherever you go? Do you like hanging with cool people and talking tech? If you answered yet to any of these, you probably want to click on in and get the low down on the current batch of CfPs currently open. (If you answered yes to all of them, seek help.)
From the Insidesigns blog there's a new tutorial showing how you can create a scalable messaging application that works similarly to the instant message platforms users are used to. Their method combines PHP and a MVC approach.Most social networking sites support two types of messages: public and private messages. Private messages are generally sent in a similar fashion to e-mails, and public messages being posted on user's profiles for other users to see. In this article by Michael Peacock, author of...
DHCP Lease Query
Auto generate CAPTCHA
Easy Twitter Authenticaion Class - OAuth & Session
AntiBot an alternative to CAPTCHA
Color Scheme Creator
Search by Relevance
BBCode Parser Class
When I chose to write about output buffering for this year's PHP Advent,
my depth of knowledge on the subject was very limited. I picked a topic that
I could learn well, and then explain thoroughly without writing an entire
book. It's a feature that will likely be new to beginners, but which even
intermediate and advanced users may not have used much. Output buffering has
simple, practical applications, and it can also play a roll in more
complicated systems. It is one of those tools that you might not...
Gonzalo Ayuso has posted his real-life example of closures in a PHP 5.3 application rather than some of the syntax-only based examples from several other sites around the web.One of the new improvements in new PHP5.3 version are the Closures. Here you are a real-life example where closures are really useful for me.His example shows how to work with a nested array of data from a SQL query and walk through it using the array_walk function and a closure as a call back. Using the "use" keyword allows it to...