Sébastien Thomas has a recent post to his blog shows how (with just a bit of code) you can monitor your APC cache usage on your local host.I won't go deep into how OpCode caches work, you will find a lot of docs, just google for APC, Xcache, eAccelerator... What I can say is that APC (as other caches do) will save binary parts of your PHP code into memory and use it when you call for the same PHP function again. This way you save all the PHP file opening, parsing, etc. [...] One thing you won't come...
In a new post to his blog Padraic Brady takes a look at dependency injection in Zend Framework 2.0. In this first part, however, he introduces the concept of "dependency injection" and offers a few suggestions on its use and tools that can make it simpler.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...
As mentioned on the Symfony blog today, there's a reminder about the Symfony Camp conference being held in Kiev, Ukraine on October 29th.Registration is free! The main topic of the conference will be Symfony2 and all related aspects. The schedule, however, is not fully determined yet. If you have something interesting to present, then submit your proposal here.You can find out more about the event from its main website or our own summary.
The Ibuildings techPortal ha sposted their latest episode in the DPC Radio podcast series - recordings of sessions from the Dutch PHP Conference earlier this year. This episode is a recording of a talk from Paul Matthews about "Searching with Solr".With Google constantly pushing the customer expectations of searching, is it time to move away from our database full-text search in pursuit of a more targeted platform? Can implementing Solr offer more than an answer to a search? Implementing a search...
If you're currently looking for developers to fit the needs of your company but just can't seem to find a good fit, Stefan Koopmanschap has a good suggestion you might want to follow to be more effective in your search.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.He points out that he's seen several companies put...
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,...