On NetTuts.com today there's a new tutorial showing you how to implement the Pusher service that gives you real-time messaging for your application. Their backend for the project is written in PHP using Pusher's library.Do you want to spice up your web applications by making them real-time - but don't want to create new infrastructures for the sole purpose of getting web sockets to work? In this article, we'll explore how to use and implement Pusher, an HTML5 WebSocket-powered real-time messaging service...
SCache simple data caching class
PHP Language Detector
Pragmatic BNF-a-like parser
The PHP job market is booming. Lots of companies are looking for (good) developers, but these are hard to find. Lots of developers are looking for a (good) job, but these are equally hard to find. Wait, that sounds strange... but it's true.
Martin Psinas has submitted a new tutorial he's written up (complete with sample code) showing how to watermark an image with ImageMagick.In my most recent venture with PHPMaster I was asked to write an article about watermarking images with PHP using ImageMagick. Virtually no documentation exists on the PHP API, although there are plenty of command-line examples from the official ImageMagick website. I spent a solid day and a half attempting to convert command-line code into PHP before (due to...
As mentioned on the Web Species blog in this recent post, they've developed a "Windows Azure done right" platform (Azure++, name pending) that makes deploying to an Azure platform a much simpler process, pulling from something like a remote code repository (maybe github) and deploying in less than five seconds.Azure is just impossible to use for PHP today. This is a fact. Doesn't matter which way you look at it, it just su.. isn't particularly good. The amount of steps you need to make, the knowledge you...
Image via Wikipedia
If you've been watching the PHP weather vane (we call it Twitter for short), you may have noticed a shift in Symfony and Zend Framework. Version 2.0 of both web application frameworks feature Dependency Injection Containers (DICs) as the primary means of creating the objects (and even Controllers) your application will use. This is an interesting shift in a programming language that often stubbornly evaded adopting DICs to any great extent. In this mini-series of articles, I'll take a...
On PHPMaster.com today there's a new article emphasizing something that lots of developers forget to make a part of their process when writing code - creating useful documentation to help make your code that much clearer.If you're writing code that will be shared with others, put yourself in their shoes. Don't let your project lose potential users, community members, and possible contributors all because of insufficient documentation.He (Matthew Turland) suggests a few things to keep in mind as you're...
New today on ZendCasts.com there's a screencast tutorial about using phar archives in your applications.Phar is a new thing that's developed on the horizon over the last few years that's essentially a PHP archive or library.He shows how to set up a basic application (non-Zend Framework) that does a "hello world" sort of output showing a date "next week". Also included are the commands to bundle it up into a phar archive using the features already built into PHP. The build stub uses the buildFromDirectory...
Latest PECL Releases:
Coming to my Friday session Maintainable Applications In PHP Using Components at PHP NorthWest 2011 Conference? Great! I'm looking forward to meeting you.
And I have a little bit of prep work for you to do before the session, please :-)
This is a hands-on session, so make sure that you pack your laptop and its power supply!
Please get your dev environment setup and working before you leave - in particular, make sure that you have the latest version of phix (current 0.13.2) installed.
On the CohereCommunity.com blog has a (slightly older, but still good) post about communities and the "when" and "where" of them happening.
I'm talking about people trends and community and HOW. WE. CONNECT.
I decided to start old school stylie, and looked up the word 'community' in the dictionary. [...] So community literally means to give gifts to and among each other. Which in turn means my community is a group of people who welcome and honor my gifts, and from whom I can reasonably expect to receive...
In my Beyond Frameworks talk, I explained how a component-based architecture can help answer some of the important (i.e. expensive!) questions you might face when creating long-lived apps that rely on a PHP framework. In this series of blog posts, I'm going to look at how to go about creating and working with components.
We've created a development tool, called phix, to make it as easy as possible to create and maintain your own components written in PHP. Phix is normally installed onto a development...
In this new post to reddit.com the question is posed, "is it better to be an expert or all-arounder in web development?"Is it better to be an Expert in a framework like Zend (a certified Zend Developer) or know a little bit about everything. [...] In sum, it's just taking too much time for me to master Drupal, Magento, and other popular CMS/Frameworks. So I'm wondering if I should just specialize is one framework/CMS.Most of the comments follow along the same idea - it's good to be an "all-arounder" and...
The current (and likely for a while) beta version of ZeroMQ, 3, is making some changes that may cause some confusion, particularly around XREP, ROUTER, XREQ and DEALER socket types. I thought I'd briefly breakdown what these types are in the two versions, as much to get it clear in my own head as anything else.
Note: if you're new to ZeroMQ, the best introduction is the ZeroMQ guide - the following wont necessarily make sense to anyone, but almost certainly will just cause more confusion if you're...
In a recent post to his blog Anson Cheung guides you through another tool that can help you optimize your web applications - using YSlow for the frontend to detect trouble spots early (whether they're actually caused by the frontend or not).He goes through the thirteen rules to help improve your website's performance including:
Make fewer HTTP requests
Make JS and CSS external
Remove duplicate scripts
For more information about the YSlow extension (available for Firefox,...
Stuart Herbert has put together a series of posts detailing how to get the Phix component creation and management tool installed on various operating systems.Phix makes it extremely easy to create and maintain your own PEAR-installer compatible components for reuse in your PHP applications. Installation takes just seconds, and it's both open-source and framework-agnostic!The OS guides help you get it installed for:
For more information about Phix (including helpful "getting...
Johannes SchlĂźter has a new post to his blog today about a bundle he's created for the Symfony2 framework that integrates some of the advanced statistics mysqlnd provides back to the framework's profiler tool - JSMysqlndBundle.Symfony provides a nice feature, which is the Symfony Profilier, an extensive logging and reporting system for Symfony developers to understand what's going on. A part of it is the Doctrine query logger which lists all database queries executed by Doctrine and their execution...
After Chris Shiflettas Ideas of March call earlier in the year, we had a fantastic period where the conversation moved from Twitter back to longer pieces on blogs.
Sadly, that has faded out once more. We need another blog revival.
To (slightly) paraphrase Chris's original call, it's very easy to take part in Oktober(blog)Fest:
Write a post called Oktober(blog)Fest.
List some of the reasons you like blogs.
Pledge to blog more the rest of the month.
Share your thoughts on Twitter with the...
In a new post to his blog Sameer Borate includes a handy bit of code you can use to split up a large MySQL dump file into smaller, easier to digest chunks.One of the frustrating things with working with MySQL is of importing large sql dump files. Either you get a 'max execution time exceeded' error from PHP or a 'Max_allowed_packet_size' from MySQL. In a recent task I needed to import a table of around a million records on a remote host, which quickly became an exercise in frustration due to various...
Latest PEAR Releases:
Latest PHP Tweets