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 SAŁo 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.A Magento, 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...
Following passing the Zend Framework Certification exam, Joshua Thijssen did some more thinking about other certifications that are out there to help developers show how well they know their stuff.Today I've passed the Zend Framework Certification exam and with that I can finally close my new years resolution for 2010: doing 12 (tech related) exams in 2010. So I've seen a lot of exams, good ones and bad ones and I want to share with you my experience by creating a top-5 of must-have certifications for...
Kenny Katzgrau has written up a post about some of the things going on with EllisLab, CodeIgniter and the CodeIgniter Reactor project from the perspective of one of the selected Engineers to head it up.A couple of weeks ago, Derek Jones of EllisLabs announced that the CodeIgniter Core would officially be branched so a community-driven version of the framework could be created. This new branch will be called CodeIgniter Reactor. The plan, which was clarified today, is focused on allowing a select group of...
On the PHP North West site they've posted a new video from this year's conference (back in October) of one of the sessions. In this new video Harrie Verveer presents his talk Database version control without pain.We've all read the textbooks and are using version control systems for our code, but our databases are left out in the cold. Every team has their own workaround, ranging from patch files to SQL snippets in the bugtracker, but none is really robust. There isn't a silver bullet solution, but this...
Jose Anthony has post together a great list of tips you can use when performing a PHP code review. You can also use it when preparing for a review to keep things going as smooth as possible.I love to do code reviews because it give me chance to see how other people write code and improve mine also. I have seen many people who are afraid of doing code review. Which made think of creating a code review checklist for php. Please note this is not full checklist for code review and following all the...
Latest PECL Releases:
Over at phpbuilder.com, Jason Gilmore (a really smart guy) has posted a great article on how he used Zend_Cache toa€¦well cache stuff. It's an interesting read, partly because Zend_Cache is cool and partly because Jason is a good writer. Click on in, we'll discuss it.
Latest PHP Tweets