On DZone.com there's a new post from Giorgio Sironi looking at how to automate a build of a virtual server with Vagrant, setting up a LAMP-based development instance.Vagrant ia a tool for building virtual machines (in VirtualBox's format) that conforms to a specification. It's written in Ruby, but it makes really no assumptions over the environments that you're gonna build; in this article, we will setup a virtual server for PHP applications running inside Apache.The end result is a virtual machine based...
Popular posts from PHPDeveloper.org for the past week:PHPMaster.com: PHP Master: Writing Cutting-Edge Code
php|architect: Finding Exactly Where You Are
PHPBuilder.com: Building RESTful Web Services with the Zend Framework
Community News: Zend Framework 2 Development - CLA Not Required!
PHP.net: PHP 5.4 RC 1 Released
Learncomputer.com: PHP Profilers Compared (PHP Quick Profiler & XDebug)
Court Ewing's Blog: Follow-up: How PHP is Broken and How It Can Be Fixed
Robert Basic's Blog: Benchmarking pages behind...
In the past few days, the alarm has been sounded in the technology community for us to help defeat the Stop Online Piracy Act (SOPA). This legislation, while well-intentioned, is crafted in such a way that it would give private companies the power to shut down other private companies, and require the government and Internet [...]
As is mentioned on Michelangelo van Dam's blog, the PHPBenelux conference for 2012 has been announced and tickets are now on sale.The PHPBenelux team only announced the names of tutorial speakers, but with names like Ivo Jansch, Torsten Rhinne, Fabien Potencier and Matthew Weier O'Phinney you know it's going to rock! And that's tutorials only. It's all happening on January 27 and 28, so make sure you block those days in your calendar, because the center of Europe is going to buzz PHP like it never had...
In a new post to his blog Sameer Borate shows how to create a lexer and parser in PHP to work directly with the tokens of a PHP script.After looking around for a while [for a good resource on compilers] I settled for Terence Parr's Language Implementation Patterns. This is exactly what I needed - bit sized patterns on compiler and parser design with working code. The book provides a recipe style approach, gradually moving from simple to complex compiler/parser design issues. As I primarily work with PHP,...
On PHPMaster.com today there's a new introductory tutorial for those trying to figure out sessions in PHP. Sessions can be one of the most powerful tools at your disposal and handling them correctly can sometimes be a little tricky.$_SESSION is a special array used to store information across the page requests a user makes during his visit to your website or web application. The most fundamental way to explain what a sessions is like is to imagine the following scenario: You are working with an...
On the Symfony Blog today they have an update on their latest community offering, SensioLabs Connect, a service connecting Symfony developers all around the world. It's been one week since the release and there's already some changes happening.To celebrate our 1000th user on SensioLabs Connect in a week, we have just rolled out a new version that takes into account some of the feedback we had from the community after the launch.Changes include updates to use Gravatar images if you choose not to upload a...
One of the great things about the HTTP protocol, besides status code 418, is that it's stateless. A web server therefore is not required to store any information on the user or allocate resources for a user after the individual request is done. By that a single web server can handle many many many different users easily, and well if it can't anymore one can add a new server, put a simple load balancer in front and scale out. Each of those web servers then handles its requests without the need for...
On SitePoint today there's a new post from Eran Galperin (of Binpress) about how, if you're jumping immediately to custom software development, you're probably doing it wrong.Code reuse is largely accepted as "best practice" in our industry. Code reuse has many advantages, such as a smaller code-base which is easier to grok for developers. It's easier to maintain and optimize, since you can make less changes in order to achieve the desired results. Many modern techniques and tools were created in order...
Here's what was popular in the PHP community one year ago today:Kevin Schroeder' Blog: Getting good PHP programmers
SitePoint PHP Blog: Top 10 MySQL Mistakes Made by PHP Developers
phpRiot.com: Using Callback Functions in PHP
PHPBuilder.com: 10 Productive PHP Tools for Testing and Debugging
Artur Ejsmont's Blog: HTTP response splitting and mail headers splitting attacks
Wes Ray's Blog: Configuring Fedora 12 PHP/MySQL Server with Nginx and reverse proxy to Apache
Wade Arnold's Blog: Scala is easier than...
I had fun at OWASP Manchester, my talk went really well. Getting more confidence with talks now I think. I have a tendency to rush through and get ahead slightly sometimes but overall I did much better and had some great feedback along with some very interesting questions. Enjoy the slides!
The Italian PHP user group GrUSP is pleased to
announce the 9th edition of the Italian phpDay conference, taking place
on May 18th and 19th, 2012 in Verona. We will show new development
traits, best-practices and success cases related to quality, revision
control, test-driven development, continuous integration and so on.
There are also talks about design, project management, agile and various
phpDay is the first historic Italian conference dedicated solely to PHP...
The catchy theme/motto of the PECL/mysqlnd_ms 1.2 release will be Global Transaction ID support. Hidden behind the buzzword are two features. We will allow users to request a certain level of service from the replication cluster (keyword: consistency) and we will do basic global transaction ID injection to help with master failover. Failover refers to the procedure of electing a new master in case of a master failure.
Global Transaction ID support is the 1.2 motto/theme
The two features are somewhat...
On the CloudSpring site today there's the continuation of a previous article about RackSpace's CloudFiles API. In this new post they show how to use their PHP SDK to connect to and use the CloudFiles service.Rackspace provides a Software Development Kit (SDK) for multiple programming languages. They store their PHP SDK on GitHub. The PHP SDK requires PHP 5 with the following modules: cURL, FileInfo and mbstring. In this tutorial we are going to review use of the PHP SDK with CloudFiles. Not all parts of...
In this new post to his blog Stoimen Popov talks about calling the "destructor" method of an object and why doing it directly could lead to some issues - like not actually destroying the object before the script ends.At the end of the script the interpreter frees the memory. Actually every object has a built-in destructor, just like it has built-in constructor. So even we don't define it explicitly, the object has its destructor. Usually this destructor is executed at the end of the script, or whenever...
I'll level with you. I've not really paid much attention to all the chatter about the Stop Online Piracy Act (SOPA) and the PROTECT-IPA Act. I'm busy, and I know anything to do with government policy as it relates to the Internet is going to be a big bummer. This is definitely a big bummer, and if you're like me, our inaction sure hasn't helped.
I've always felt like there's not much I can do to prevent the US government from doing stupid things from time to time, especially when it comes to the...
On DZone.com today Girogio Sironi shares some of his experiences testing out the PHP bindings currently offered to work with Selenium, the web application frontend testing tool that's become a standard over the past few years.After trying out Selenium 2, it was natural for me to look for its support in PHP code; however, there isn't an official PHP Api distributed on Selenium's website. I tested all the PHP bindings I could find to see which is the best choice today.He tried out a few different...
Lorna Mitchell has a quick new post showing one way to handle SQL errors in PDO that could pop up because of badly written/generated SQL statements.I love PHP's PDO (PHP Data Objects) extension; it gives a consistent, object-oriented interface to handling all kinds of relational database backends. One thing that annoys me is that the MySQL driver for PDO defaults to a silent error mode which can make SQL errors tricky to spot!In her two code snippets she shows a failing PDO request (that fails silently)...
If you're a Zend Studio user and have been wondering how to hook it directly into the phpcloud service from Zend, Kevin Schroeder has posted complete instructions in a new post today (complete with screenshots).PHPCloud.com is the landing page for our new cloud offering. Using the Zend Application Fabric you can build your applications in the same environment as you will be deploying your apps to. The application is built on my.phpcloud.com and you can then deploy it onto any platform where the Fabric is...
Simple External SMTP
Angell EYE PayPal Payments Pro and Adaptive Payments Library
Quick And Easy Password Hashing
PHP Time Class
Fiscal Year Checker(or) Date check
Fiscal Year Date Check
Latest PHP Tweets