Alvaro Videla has written up a response to Wade Arnold's Scala's easier than PHP post and some of the points he doesn't agree with him on.Before going on with the points, let me state something: please avoid flame wars, all the Scala vs. PHP stuff, fanboyism and what not. This post is not about that. Regarding Wade Arnold I have to say that I fully respect him. While I don't know him personally, I know him for his work on AMFPHP, since it was a platform I used to work with before.Alvaro talks about...
Latest PEAR Releases:
Crypt_GPG 1.2.0
Net_IPv6 1.2.0b
Three years ago, on the 1st of November 2007, Google released
OpenSocial. A lot of time and development work has passed since then. It
is a perfect time to deal with it, so in this blog we get to learn where
OpenSocial is today and how it actually works (read german version). Continue reading "OpenSocial"
I plan to continue my series about new stuff in PHP's trunk but for now just a short note about something which was removed: PHP 5.3 has different ways to access SQLite databases of all kinds. Two of them are provided by the sqlite extension: The sqlite_ group of functions and the pdo_sqlite2 driver. The issue there is that this depends on the SQLite 2 library which isn't supported by upstream anymore for a few years. It was a logical step therefore to remove this extension from PHP trunk. The support...
Some time ago I wrote an article about the implementation of type hints for non-object types for PHP. Meanwhile many things happened and that implementation was replaced by a different one. Readers of my previous post might know that I have doubts about type hints in PHP. People who met me in person and asked me about it know for sure
So what's the status now? - Well type hints, for non-object types, exist and they don't. There is a valid syntax which looks like this:
function foo(int $i) {
A A A ...
So you've got a new fancy Android application and you want to be able to send push notifications to the phone. Either for synchronization purposes or for notifications. Since C2DM is fairly new and is currently in the labs it is rather difficult to find code that already handles sending out the notifications correctly.
This article will go through sending a push notification (or message) through the Android C2DM server utilizing PHP in the fashion of a Zend Framework component.
Overview
Sending a message...
Claquete is a simple and intuitive application to manage a collection of DVDs, keeping all titles organized and cataloged.read more
Recently I installed a Ruby gem called buildhawk which allows to measure and display the build times of Rake driven builds. As I like the idea behind this tool a lot but mostly use Phing for build orchestration, it was time to explore the possibility to interconnect them both. In this blog post I'll show an implementation of an apposite Phing Logger gathering the buildhawk compatible build times via git note(s) and how to put the interplay between those two tools to work.Logging onAs mentioned above the...
Job postings for the past week:Job Posting: Shotfarm.com Seeks Director of Development (Chicago, IL)
Job Posting: UJA-Federation of New York Seeks PHP Web Developer (New York, NY)
New on the Blitz Agency blog Adam Venturella walks you through his process of creating a simple REST service routing system with the PHP and Apache combination that has the same concepts as Sinatra routing.This is just a quickie. I had spent some time creating a routing system in PHP for services. The goal was to bypass .htaccess or a vhost configuration file. Basically, I wanted to map endpoints (HTTP methods + paths) to PHP methods. My goal at the time was something similar to Sinatra and/or MVC2...
Andrew Curioso has a post to his blog looking at error handling in PHP 5.3, specifically in creating a "stack" that can provide more than one error handler at a time.As you may know, set_error_handler can be used to set a custom error handler in PHP. It will catch any errors that happen in the script (with a few notable exceptions). If the function returns false then error handling resumes as normal; otherwise it is assumed that the custom handler took care of things. The problem is that you can only...
On the Design-Ireland.net site, there's a recent tutorial showing you how to log messages to Scribe from PHP. Scribe is Facebook's open sourced server for aggregating log data streamed in from multiple places.n a previous tutorial, I showed you how to install Facebook Scribe on a Linux server. In this tutorial we will continue to look at Scribe, but this time from the client perspective. Note that this tutorial assumes that you already have your Scribe and Thrift environment set up as outlined in the...
On phpRiot.com today there's a new tutorial posted by Quentin Zervaas showing you how to use the callback functions in PHP (with examples using call_user_func).A commonly used technique when programming is to use callbacks. A callback is a piece of code that is passed to a function that is later executed by that function. In this article I will show you how to define and call callbacks in PHP, as well as a practical example of how callbacks can be useful.He starts with a normal script flow that has to...
On the SitePoint PHP blog today there's a new post from Craig Buckler looking at his top ten MySQL mistakes he as a PHP developer has made over time (and suggests a few things so they can keep from making them again).database is a fundamental component for most web applications. If you're using PHP, you're probably using MySQL - an integral part of the LAMP stack. PHP is relatively easy and most new developers can write functional code within a few hours. However, building a solid, dependable database...
Popular posts from PHPDeveloper.org for the past week:Anna Filina's Blog: Developer Community: Where to Start? - Part 1
NETTUTS.com: A Beginner's Introduction to HTTP and REST
ZendCasts.com: Unit Testing Action Helpers
CodeIgniter.com: CodeIgniter 2.0 - Now with more Awesome
Matthew Weier O'Phinney's Blog: Introducing the ZF2 Plugin Broker
Josh Holmes' Blog: ASP.NET and PHP On IIS Together
PHPBuilder.com: Use the PHP Filter Extension to Validate User Data
Site News: Popular Posts for the Week of...
Managed servers are slow. They run old versions of PHP on ancient copies of Apache, and loathe the Digg effect (or any similar sudden influx of traffic). In this tutorial, I'll show how to build a server capable of withstanding a front-page Digg placement, step by step. This will mean your business stays online when it's most important-when everyone is looking.
We'll go through the process of building a super-fast, bulletproof custom web server for WordPress. The technology stack we'll use is Ubuntu,...
At tonight's Burlington, Vermont PHP Users Group meeting I will be presenting on New Features in PHP 5.3. My talk will cover the primary new features including namespaces, late static binding, and closures. I'll also talk about the newly bundled extensions, improvements to existing extensions, and some of the new syntax that is available.
New Features in PHP 5.3
View more presentations from Bradley Holt.
The 0.9 version of the Excel extension was released and is now available for download. This version was updated with support for LibXL 3.1.0, and introduces a number of new methods that can be used to manage repeating of printable rows, creation of named rages, and summary positioning.
GitHub: http://github.com/iliaal/php_excel/
Source: http://github.com/downloads/iliaal/php_excel/php-excel-0.9.0.tar.bz2
On the Pressflow wiki there's a handy guide to getting PHP up and working with the Cassandra, the Apache Project's distributed database solution. (Note: Pressflow is Drupal-related, but this tutorial isn't specific to that.)The guide walks you through the steps you'll need to build the Thrift client (with a list of a few dependencies) and build the PHP extension using this install. With the module built, they help you change the php.ini to load the shared module and include the commands you'll need to...
On PHPBuilder.com there's a new post listing ten productive tools that you can use to debug your PHP applications both on the frontend and backend (and not all of them are PHP based).Despite the general notion that programming is a profession steeped in discipline and rigor, members of the programming community tend to be rather finicky folks who can be very particular when it comes to tooling. Thankfully PHP developers have a great deal to choose from when it comes to testing and debugging tools, and in...
|
Latest PHP Tweets
|