Kevin Schroeder has the latest excerpt from his book posted ("You Want to Do WHAT with PHP?") with a focus on the SPL - Standard PHP Library. He specifically takes a quick look at Iterators.If you are doing any data processing whatsoever you are using arrays. And most likely you are doing database queries, iterating over the results and doing your algorithm-ing. But what if you have additional functionality that you need to have integrated with your data. You could go the traditional route and copy and...
On the SitePoint blogs today there's a new tutorial posted, the first part of a series, from Raj Deut about making the move away from the basic authorization for connecting to the Twitter API and towards their new OAuth method for Twitter Apps.As of August 31, Twitter's HTTP Basic Authenticated API service has been disabled entirely. Now, any interface with the API will be required to use a token-based authentication method known an OAuth. [...] At first glance, the task of implementing OAuth can appear...
On the PHPFreaks.com site there's a new post that's a guide for creating a basic development environment on a Debian system (complete with VirtualHosts).This is just a quick walkthrough describing how to setup a decent development environment allowing the easy setup of multiple sites. It already assumes you have a working Debian or Ubuntu OS installed and configured with PHP, MySql & Apache already running. You will also need to have a working sudo.They add a group for the web server user (www), change...
On NETTUTS.com today there's an intermediate tutorial showing you how to create a simple polling system for your site - complete with a database backend and a CSS styled results view.Polls are nearly ubiquitous on the web today, and there are plenty of services that will provide a drop-in poll for you. But what if you want to write one yourself? This tutorial will take you through the steps to create a simple PHP-based poll, including database setup, vote processing, and displaying the poll.They include...
Popular posts from PHPDeveloper.org for the past week:Developer.com: Quercus: Bring Java's Power to Your PHP Development (and Vice Versa)
Jani Hartikainen's Blog: Now you can write PHP code...without writing any code
NerdMom Blog: Kohana 3 & CodeIgniter 2
Ahmed Shreef's Blog: iconv misunderstands UTF-16 strings with no BOM
Klaus Graefensteiner's Blog: Climbing the CodeIgniter PHP MVC framework learning curve
Web Builder Zone: NetBeans vs. Vim for PHP development
Site News: Job Postings for the week of...
Gonzalo Ayuso takes his "CouchDb as a filesystem" approach one step further (see the previous post about it here) with this new post talking about monkey patching to store files into the CouchDb server using the normal PHP file handling functions.Since PHP5.3 a new design pattern is available for us: Monkey Patching. With this pattern we can override PHP's core functions with a home-made functions in a different namespace (another example here). That's means if I have fopen function in the above example,...
Kevin Schroeder has another new post to his blog today with an excerpt from his "You Want to Do WHAT with PHP?" book. This new post is a section from the fourth chapter looking at stream handling.Communication is key to building applications now and for the future. While it is not something that I think that everyone should do, I have not seem many applications that make good use of streams in PHP. Streams can be immensely useful in the right situations, but a lot of developers are not really aware of...
On the TechTatva.com site today there's a new tutorial posted about getting the Cherokee web server set up and running PHP5 FPM. It's a few simple steps to install and a few clicks around the GUI to get things configured.In this "how to" we will see how to setup cherokee on Ubuntu with PHP5-FPM (FastCGI Process Manager). Although the cherokee CookBook claims that "If PHP-fpm binaries are found, those will be prioritized over the regular binaries." it turns out that the latest stable version of cherokee...
According to this new post on the Zend Developer Zone, the Zend Framework has won itself a BOSSie award (from InfoWorld) in the "best open source application development software" category. Matthew Weier O'Phinney has this to say about the award:I am one of the privileged few to have worked with Zend Framework since before the original public pre-alpha release. [...] What [Mike Naberenzy] showed me at the time captured my imagination: the company with the best known name in the PHP industry was building...
On the ThinkPHP blog today there's this new post talking about open source contribution and, more specifically, making contributions to a popular PHP project - the Zend Framework.Who hasn't ever started writing his own Framework/CMS? It is considered best practice for learning purposes, but going through all the security stuff can be stressful and boring at the same time. That's where most devs start to contribute to big Open Source-projects like Typo3 or the Zend Framework, because they are already...
On Developer.com today there's a new article talking about memcache and how you can implement it in your application to provide a performance boost for applications in a distributed environment.As distributed system is part of the Memcached definition, you can install Memcached on various servers to make a larger caching server. In this way, Memcached helps reduce database loads to a minimum, resulting in faster and more responsive Web applicationsThey take some time to explain what memcache is - a...
Jos Poortvliet did an interview with me for dot KDE in this summer's aKademy and it has been online for a while now. In it we discuss things like Midgard as a storage engine for desktop applications, and Maemo's open QA process for Downloads applications. Some excepts:
At maemo.org we have an appstore for FOSS applications on the Maemo platform. This appstore is enabled by default on all Nokia N900s so we wanted to have some quality control. We had to create our own appstore approval process, compatible...
On the AjaxRay.com site today there's a new tutorial for the Zend Framework users out there with a library they can use to extend Zend_Form for custom phone number fields.When taking Phone number as user input, we can worn users about phone number format by setting a hint/description and can validate using Regular Expression. [...] Now, if we try provide this feature in Zend Form, that's possible. We can create three individual Zend_Form_Element_Text objects and join there value together to make the...
Here's what was popular in the PHP community one year ago today:Community News: PHP Cache Accelerator for Windows
Joomla Blogger: Update: Joomla 1.6 Release Plan
Developer.com: Build your own MVC Framework: Making Headway
Lorenzo Alberton's Blog: Create a video preview as animated GIF with FFmpeg and PHP SPL
David Kent Norman's Blog: Drupal on Snow Leopard
Davey Shafik's Blog: Fixing ZDE 5.5 on Snow Leopard (Crashing & Text Selection Bugs)
Web Development Blog: Sending e-mails via SMTP with PHPmailer and...
Packt launches fifth annual Open Source Awards
The 2010 Open Source Awards was launched last month by Packt, inviting people to visit www.PacktPub.com and submit nominations for their favorite Open Source project. Now in its fifth year, the Award has been adapted from the established Open Source CMS Award with the wider aim of encouraging, supporting, recognizing and rewarding all Open Source projects.
WordPress won the 2009 Open Source Content Management System (CMS) Award in what was a very close...
In a new post to his blog Gonzalo Ayuso shows an interesting use for the CouchDB tool - using it as a filesystem for cross-server handling of things like images or other binary resources.One of the problems I need to solve in my clustered PHP applications is where to store files. When I say files I'm not speaking about source code. I'm speaking about additional data files, such as download-able pdfs, logs, etc. Those files must be on every node of the cluster. [...] CouchDb has two great features to meet...
On the Web Builder Zone (from DZone) Giorgio Sironi has posted a new article that talks about the different kinds of testing you can do on your application - both on the frontend and backend.Automated testing supports your constant effort in design and refactoring, and besides that ensures that your application actually works in a reliable and repeatable way. [...] In this article I'll describe the different categories of testing, as applied to a Zend Framework 1 application, but this classification...
Last week, while I was on vacation, the news broke that IDG's InfoWorld had announced its annual
InfoWorld Bossie Award winners
("Bossie" stands for "Best of Open Source Software"), and that Zend Framework had won the " best open source application development software " award.
Josh Holmes, just coming off of presenting at OpenCa.mp in Dallas, has posted his entire presentation to his blog for anyone that missed it and wants to catch up. He spoke about scaling WordPress on the Windows platform. He also includes a lot of content in the post that he wasn't able to get to during the presentation.Now, on to my session itself. This was a fun session. I only had 30 minutes and I had about 3 hours of material so I've got a ton of stuff in these notes that I didn't cover in the session...
I'm excited to announce I'll be speaking at PHPNW Conference, to be held October 9th, 2010 in Manchester, UK. I'll be doing my talk, a€oDeveloping Easily Deployable PHP Applicationsa€o, which I also did in July at OSCON. I'm working on making the talk even better based upon feedback IA received, and will talk more about the various tools we use and have developed to make building SugarCRM easier.
This is my first time to this conference, but judging from the lineup of talks it is not one to miss if you...
|
Latest PHP Tweets
|