On his Ibuildings blog today Ivo Jansch has posted some of his thoughts on the recent trends he's seeing both in the PHP community and in the wider world of online development.[Two] weeks ago, Ibuildings organised the fourth Dutch PHP Conference in the RAI centre in Amsterdam. DPC is a way for us to help PHP developers learn new skills and improve existing ones, but it is also an excellent way to get experts from around the world together and learn about current trends in the PHP ecosystem.Topics...
On the TutToaster.com site there's a recent post looking at using WordPress shortcodes, including how o style and implement them in your own site installation.Wordpress shortcode API is a powerful function which was introduced from version 2.5, it's just a simple set of functions for creating macro codes in post content. If you've developed a Vbulletin forum before, you would have been familiar with the shortcode (something called BBCode) but the Wordpress users maybe not. In this article, I would like...
Lorna Mitchell has a new post to her blog today looking at one of the differences she's found in her work with the Magento API between version 1 and version 2.I must say that I am always pleased when I see that these products do include some kind of API. The Magento one is a bit interesting, although there is some half-decent API documentation for the original API. However they have then released a new version of the API, with very little documentation.Her example code shows the difference in a call to...
Sameer Borate has posted an update to his Google Translation wrapper library that increases the translation limit to above the 5000 character max Google enforces.If the text length is more than 5000 characters it is split into discrete chunks and translated individually, returning the complete translated text at the end. Now you can easily translate whole pages of content.He includes a code snippet showing how it can be used to translate a whole page easily via a file_get_contents call to pull in the...
In a new post to his blog Brian Moon takes a look at two of the memcache PHP libraries (memcache/memcached) and looks at some of the issues that might trip you up in using them.Memcached is the de facto standard for caching in dynamic web sites. PHP is the one of the most widely used languages on the web. So, naturally there is lots of interest in using the two together. There are two choices for using memcached with PHP: PECL/memcache and PECL/memcached. Great names huh? But as of this writing there are...
A new announcement on the PHP.net site today talks about this year's TestFest, an even to help increase the code coverage of the tests on the PHP language itself.During TestFest, PHP User Groups and individuals around the world organize local events where new tests are written and new contributors are introduced to PHP's testing suite. Last year was very successful with 887 tests submitted and a code coverage increase of 2.5%. This year we hope to do better.The SVN repository and reporting tools are back...
2 weeks ago, Ibuildings organised the fourth Dutch PHP Conference in the RAI centre in Amsterdam. DPC is a way for us to help PHP developers learn new skills and improve existing ones, but it is also an excellent way to get experts from around the world together and learn about current trends in the PHP ecosystem.
Continue reading "What's current in the world of PHP?"
Here's what was popular in the PHP community one year ago today:PHP 10.0 Blog: PHP performance tips from Google
SitePoint PHP Blog: A Note on Google's So-called Best Practices
Maurice Svay's Blog: Face detection in pure PHP (without OpenCV)
EasyPHPWebsites.com: Creating a Website Visitor Map (Ajax, jQuery, Google Maps API)
Enterprise PHP Magazine: How Many Perl, PHP, Python and Ruby Developers Are There?
NETTUTS.com: Easy Development With CodeIgniter
Rob Allen's Blog: Some notes on Zend Server CE for Mac...
The first public mysqlnd plugin adds client side query result caching to all MySQL extensions of PHP (ext/mysql, ext/mysqli, PDO_MySQL). The cache is written in C. It does not change any of the PHP MySQL APIs and works with any PHP application using MySQL. Query results are stored on the client. Cached data can be stored in main memory, APC, Memcache, SQLite (theoretically - via SQLite wrapper - BerkeleyDB). The default invalidation strategy is TTL (Time to live): cache entries are valid for n-seconds....
Recently I've been working with Magento at work, and in particular with integrating with their API. Now, before I say anything more, I must say that I am always pleased when I see that these products do include some kind of API. The Magento one is a bit interesting, although there is some half-decent API documentation for the original API.
However they have then released a new version of the API, with very little documentation. So here are two calls - one to the v1 API and one to the v2 - which I hope...
PHP is proud to announce TestFest 2010. TestFest is PHP's annual campaign
to increase the overall code coverage of PHP through PHPT tests. During
TestFest, PHP User Groups and individuals around the world organize local
events where new tests are written and new contributors are introduced to
PHP's testing suite.
Last year was very successful with 887 tests submitted and a code coverage
increase of 2.5%. This year we hope to do better.
TestFest's own SVN repository and reporting tools...
At tomorrow's Burlington, VT PHP Users Group meeting Matthew Weier O'Phinney will be giving a presentation on Document Databases. From the meeting description:
NoSQL has become a new buzzword in web development-but what is it, exactly? We'll look at the big picture to identify what types of NoSQL solutions exist, what sorts of problems they solve, and go into some specifics on CouchDB and MongoDB usage so that you can see how you might use these new tools within your PHP development.
The meeting will be...
Rob Zienert has a new post to his blog today looking at Zend_Form decorators and composite elements to make for more powerful forms in your Zend Framework application.Today had quite a number of Zend_Form-related questions in #zftalk. Everything from Decorators to Composite Elements, you know - the usual Zend_Form questions. What better way to answering questions than with a blog post and some sample code?His illustration of decorators shows how to put each of the form elements inside of a "DI" tag to...
Memcached is the de facto standard for caching in dynamic web sites. PHP is the one of the most widely used languages on the web. So, naturally there is lots of interest in using the two together. There are two choices for using memcached with PHP: PECL/memcache and PECL/memcached.
Great names huh? But as of this writing there are issues with the two most popular Memcached libraries for PHP. This is a summary of those issues that I hope will help people being hurt by them and may bring about some...
Brian Swan has a new post to his blog today looking at how to run multiple PHP versions under IIS based on a presentation he gave at the Dutch PHP Conference.First of all, if you are starting from scratch (i.e. you haven't installed any version of PHP yet), then there is no need to read the rest of my post - you should read this post by Ruslan Yakushev (Program Manager on the IIS team): Multiple PHP Versions on the Same IIS Server.However, if you have installed at least one version (via the WPI of...
In a new post to his blog today Till Klampaeckel takes a look at monkey patching in PHP - a way to replace functions at runtime.I haven't really had the chance or time to play with PHP 5.3 until recently when Ubuntu 10.04 upgraded my local installations and kind of forced me to dive into it a little. And I'm also probably the last person on the planet to notice, but namespaces in PHP 5.3 allow you to monkey-patch core PHP code. [...] One of the more common applications is stubbing (or mocking) code in...
In a new post to his blog today Conor Mac Aoidh talks about a way he's developed to get audio alerts whenever PHP errors pop up in your scripts using the swatch tool.Kae posted today about tackling this problem under Linux, but I've found that it's quite a different task under OS X.It also uses some additional Perl modules (like Date::Calc and Date::Manip) to set up swatch. From there it's just a matter of adding a few lines to a configuration file to watch for the errors and sound the "bell". A few bash...
On the ZendCasts.com site today there's a new screencast posted looking at using the Zend_Mail component of the Zend Framework to easy (and painlessly) send HTML emails.Here's a quick video explaining how quickly and easy it is to write designer-friendly HTML emails using Zend_View and Zend_Mail.You can watch the screencast via their in-page player and grab a copy of the project to follow along.
Smart AJAX Controller
PHP text file splitter
TbsZip - a zip modifier
Google Custom Search
Secure Session Management
Midgard2 10.05.1 was released yesterday, bringing a long-waited feature finally to the Midgard installation packages: the Midgard Runtime.
Midgard Runtime is an application that consists of a simple Qt WebKit viewer that, when run, starts a local Midgard web server on the background and connects to it. This means that you'll have the full Midgard MVC stack available on your own desktop, in a way that is easy to install and easy to run. Get it for your favorite Linux distribution from OBS!
As a whole,...