I'm exploring the possibility of using RabbitMQ for an upcoming project. RabbitMQ is a free/open source message broker platform. It uses the open Advanced Message Queuing Protocol (AMQP) standard and is written in Erlang using the Open Telecom Platform (OTP). It promises a high level of availability, throughput, scalability, and portability. Since it is built using open standards, it is interoperable with other messaging systems and can be accessed from any platform.
I'll be using RabbitMQ first from...
Alex Simonenko has a new post to his blog talking about what he had to do to get PHP 5.3.6 working on his OS X Lion installation since a previous method no longer worked. in his new post he shares his solution - using Homebrew. (Note: original post is in Russian)After installing OS X Lion (10.7) was faced with an unpleasant problem, install PHP + MySQL bundle as I did before does not work. And as it turned out, the problem is in MySQL, source code is not yet ready for the new OS from Apple. After some...
In a new post to DZone.com today Giorgio Sironi asks developers what new feature of PHP 5.4 is the most important to you and your application development?Recently, the voting process for PHP 5.4 open to committers and users have been closed. We now have a clear picture of what will make the release and what will be left out. Some of these features (traits, web server) were already in, while other have been just voted and will be completed before the general availability of the release.He lists out some...
In this new post to his blog Matthew Weier O'Phinney looks at the steps he took to convert over the documentation for the Zend Framework 2 from the DocBook 4 formatting over to DocBook 5. Included in the post is some of the (PHP and bash) code he used to make the switch.Within the Zend Framework 2 repository, I recently performed a conversion from DocBook 4 to 5. [...] Interestingly, for DocBook5 being available in beta since 2005 and an official standard since 2009, there is very little material on...
Tom Jowitt has posted the second part of his series looking at setting up a streamlined PHP development environment in part two covering some of the basics of the build.In the first part of this series we looked at setting up our Apache installation to make life easier. Now that the basics are sorted we can start looking at how to structure our development environment and run some basic build tasks using Phing.He shows how to use the PEAR installer to get Phing installed (including all of its...
Deploy Change Set
Easy Paging Class
File Cache Memcache Implementation
HTTP Query String
Working with files and folders
Within the Zend Framework 2 repository, I
recently performed a conversion from DocBook 4 to 5. The
latter is a more modern version of the toolchain, and offers a somewhat simpler
syntax and workflow. For example, you no longer need to track how many levels
deep you are in your chapter sections -- you simply use a tag. One
of the nicer changes is that you do not need to specify a doctype any more; you
simply declare XML namespaces on your root elements and continue merrily on your
way. This actually...
New on the Voices of the ElePHPant podcast is an interview with David Rogers, the organizer for the Orlando PHP User Group (Florida).Cal asks David a few questions about his involvement in this group:
Why did you get involved with the user group and why get involved in the leadership of it?
Why did you decide to allow recruiters to post to your mailing list and has it had any kind of negative impact on the group or list?
What was the coolest or best thing that you've done for a meeting?
As always, you...
I'm very please to say I'll be giving the keynote at PHP NW 2011, on the 8th of October, up in Manchester in the UK. The schedule looks great, and there is a tutorial day beforehand for anyone looking for more in depth content.
I'll be giving a talk titled "How To Stand On The Shoulders Of Giants", talking about how every great idea is built on a stack of earlier work, particularly in the worlds of software engineering and web development, and how we can take advantage of what is already out there in...
Anna Filina, one of the organizers of the ConFoo Conference in Montreal (February 27th through March 2nd) has a new post to her blog about a new process they're trying out this year for the Call for Papers - a public voting feature that allows anyone to voice their opinion on the proposed sessions.Some of you may have already heard that the ConFoo call for papers is already open. The great thing about it this year, is that it's public. This means that anyone can vote on the proposals. Besides being fun...
Sameer Borate has posted an alternative to "tail" that you can use to find the last X number of lines in a log file you'd like to follow without having the overhead of parsing the entire file.Frequently one needs to get the last few lines of some log files, whether php error logs or Apache logs. Most of these file sizes run into megabytes, which makes it difficult and time consuming to remotely open them using ftp. [...] The [example] is a simple but useful 'tail' implementation in PHP. I've encapsulated...
In a new post to his blog Gonzalo Ayuso looks at the code required to populate a jQuery data grid with the records as pulled from a (MySQL) database.Today I want to speak about populating datagrid techniques with PHP. At least in my daily work datagrids and tabular data are very common, because of that I want to show two different techniques when populating datagrids with data from our database. Maybe it's obvious, but I want to show the differences.He uses "old school spaghetti code" rather than a...
The FrOSCon event is a yearly conference held at the University of Applied Sciences Bonn-Rhein-Sieg in Germany. This year's event is being held August 20th and 21st and they've just released the schedule for this year's event.Included in the list of sessions are topics like:
Mailing list project management
Using git for version control
MySQL performance tuning
Using Ant for application build and deployment
Best practices for creating high load websites...
Some of you may have already heard that the ConFoo call for papers is already open. The great thing about it this year, is that it's public. This means that anyone can vote on the proposals. Besides being fun for the speakers and attendees, it opens up a whole lot of possibilities.
As organizers, we can provide our attendees with better content. Not just with content that we believe is good, but with content that people actually want to see. However, public votes will not be the only selection...
As the first part of a series, Tom Jowitt has posted this introduction to setting up a brand new development environment with some of the basic tools any PHP developer should need.I dunno about anyone else but my development environment is usually in some form of barely-controlled chaos. It's one command away from collapse with folders full of test software, symlinks that lead to long-forgotten libraries and ancient VCS repos that only a mother could love, all held together with sticky-tape shell...
Leng Sheng Hong has submitted about a project posted recently he's developed to make behavior-driven development in PHP easier - ArBDD.ArBDD is a simple yet powerful BDD library for PHP to get you started with BDD in PHP. Excellent for those who have no previous experience with BDD.The project's page includes some basic code definitions of behaviors the code should follow, the creation of a simple mock object and the JSON-based results that come out when the tool is executed. They've also created an...
In a new post Fabien Potencier looks at the ternary operator in PHP and wonders which is faster - using it or not (well, sort of...)People like micro-optimizations. They are easy to understand, easy to apply... and useless. But some time ago, while reviewing pull requests for Twig, I read an interesting discussion about the performance of the ternary operator in PHP (thanks to @nikic for the investigation). Do you know which [example] snippet is the fastest (of course, they do exactly the same)? The...
Michelangelo van Dam has posted the next part in his "QA in PHP development" series to his blog, a look at PHP_CodeSniffer, a tool that can be used to keep the coding standards of your application in line.PHP_CodeSniffer is probably the most convenient tool out there to analyze your source code and to verify it complies to company policies. Although it's debatable why source code should follow strict guidelines, it's only a matter of time before you discover yourself that it pays off to have a code base...
From TutsWall.com there's a recent tutorial (pretty brief) about getting started with CodeIgniter.Developing web application from scratch is always a painful task. This where frameworks comes to help us, but learning frameworks will at-least take some decent learning curve. But there are some frameworks that is very easy and fun to learn and develop applications and CodeIgniter is of of them.They cover the download of the framework, ensuring it's working by hitting the main page and creating a simple...
Latest PEAR Releases: