In a new post to his blog, Michelangelo van Dam starts off a series looking at Windows Azure for PHP developer, an introduction to the service and what sorts of features it has to offer.I'm a developer and I don't want to fiddle with setting up and maintaining an operating system, basically since I don't have the time for it. [...] I was completely sold when Josh Holmes came to Brussels in 2009 and told us more about what Windows Azure has to offer and how perfectly it is to build applications consuming...
Andrew Johnstone has a new post to his blog with a look at using Vagrant for continuous deployment of a PHP-based application.Vagrant is simply a wrapper around Virtualbox headless that allows for provisioning virtual machines with support for puppet, chef-solo, chef, and bash. This allows you to automate the deployment and sandboxing of development sites. Additional base box images can be found at vagrantbox.es.He walks you through the full process of setting up a first deployment - getting Vagrant...
Latest PEAR Releases:
It's Christmas time again. While you write the first lines of your shiny new authentication library, the smell of tasty cookies is slowly sneaking into your room. The few minutes until they are finished is a good time to lean back and think about cookiesa-anot the ones in the kitchen, but the cookies in your browser.
Windows Azure for PHP developersIntroductionSince a couple of years the term "cloud" has moved from simplebuzz-word to real business opportunities that make a differencewithin the market. The technology behind "cloud" is not new aswe've grown accustomed to server clusters, distributed datacentersand separation of responsibilities, but the "cloud" offerseveryone the opportunity to scale and not just the companies whohave a huge cash reserve to purchase another rack with servers.The strange thing is that...
Last year Zone-H reported a record number of 1.5 million websites defacements. 1 million of those websites where running Apache.
When it comes to configuring a web server, some people tend to turn everything on by default. Developers are happy because the functionality that they wanted is available without any extra configuration, and there is a reduction in support calls due to functionality not working out-of-the-box. This has proven to be a major source of problems for security in general. A web...
html5 is one of the hottest buzzwords in the web and everyone is using
or talking about it. Google is ahead everyone else for sure with Google
Docs, their web based office suite and with Chrome OS, an operating
system which only needs a browser (from the userA's view). But also
Facebook, they working on their own application platform codenamed
ASpartacusA" is based on html5. Even classic software companies like
Adobe and Microsoft are joining the competition: Microsofts upcoming
Jetpacks. Flying cars. Databases able to handle infinite amounts of data. Breakthrough after breakthrough, computer engineering forges a shiny future, and yeta
One of the first interview questions I was asked was to describe, in my own words, the difference between an inner join and an outer join. It is a question I have adopted, and I now ask it to every candidate. Over time, I've been interviewing more and more senior developers, most of whom know the correct answer, so this question has become a way...
I've been working on developer-facing software and SDKs in PHP for nearly a decade, and through the experience of supporting these developers, I've learned something interesting about the PHP community at-large. The majority of PHP developers have a very good understanding of native types (e.g., strings, arrays, integers, booleans). Since they're the lowest common denominators of the PHP language, it's generally pretty easy for developers to understand these types.
But the moment you introduce concepts...
On the Nelm.io blog today there's a new post (part one of a series) about using Composer and Packagist to manage PHP applications as packages.You may have heard about Composer and Packagist lately. In short, Composer is a new package manager for PHP libraries. Quite a few people have been complaining about the lack of information, or just seemed confused as to what it was, or why the hell we would do such a thing. This is my attempt at clarifying things.The briefly explains what the tool(s) do and shows...
In this new tutorial from PHPBuilder.com, Jason Gilmore shows you some of the more advanced things you can do with arrays in PHP (specifically in the areas of iterating through them and manipulating their contents).Sporting more than 70 native array-related functions, PHP's array manipulation capabilities have long been one of the language's most attractive features. [...] There are however many array-related tasks which ask a bit more of the developer than merely knowing what part of the manual one...
DevShed concludes their three-part series about building an ORM in PHP with this latest article. It introduces the idea of dependency injection into the mix, showing how it can be used in the relationships between entities.if you've already read the two installments that precede this one, it's probable that you're familiar with the inner workings of this sample ORM. In those chapters I implemented the ORM's data access and mapping layers, along with a simple domain model. To be frank, the development of...
Brian Swan has a recent post to his MSDN blog about setting up PHPUnit for testing on a Windows Azure platform (as installed via PEAR).After figuring out how to run PHPUnit from the command line in a Windows Azure instance, I did find that a bit more configuration work than I anticipated was necessary. I'm not 100% certain that this is the best way to run PHPUnit in Windows Azure, but it is one way. I'd be interested in hearing better ways to do this.He breaks it up into a few different steps:
For now I am limiting this vision to just European companies. But the idea that is materializing is for PHP companies to train each other on technology or processes related to their daily business. Liip today received a remote training by Konstantin from KnpLabs on Behat. In January David will give a training for KnpLabs on behalf of Liip about the Symfony2 CMF. For now this will happen remote (we still need to figure out a better setup), because this all happened fairly short notice after talking about...
Here's a more or less simple way to migrate from Subversion to GIT(hub), this includes mapping commits and tags and what not!
AuthorsIf multiple people congtributed to your project, this is probably the toughest part. If you're not migration from let's say Google Code but PHP's Subversion repository, then it's really pretty simple indeed: the username is the email address.I found a nifty bash script to get it done (and adjusted it a little bit):
authors=$(svn log -q | grep -e '^r' |...
On the VG Tech blog today there's another post related to unit testing (here's one from before) but this time they're talking about mocking the filesystem with vfsStream, a powerful tool that lets you interact with PHP streams as a virtual file system.This article is about how to mock the file system when writing unit tests, and it will be rather code-heavy. [...] PHPUnit is the de-facto standard for unit testing in PHP projects, and this is what we will be using together with vfsStream in this...
Josh Adell recently attended to Raleigh, North Carolina arm of the CodeWorks conference and has posted about some of his experience there (and specifics on each presentation).I had a great time at CodeWorks 2011 in Raleigh this week, put on by the great folks at php|architect. Here is a rundown of the presentations, with some of my thoughts. [...] To all the conference speakers, organizers and attendees, I want to say thank you for a fun and educational experience.The sessions for this stop on the tour...
Popular posts from PHPDeveloper.org for the past week:Joshua Thijssen's Blog: Compatible code: starting with symfony2
NetTuts.com: Wrangling with the Facebook Graph API
Jake Smith's Blog: Callback Filter Iterator in PHP 5.3/5.4
DZone.com: Codeigniter and Object-Oriented PHP: Two Guides
PHPClasses.org: Lately in PHP Podcast Episode 18 - The Debate on Remote Work for Web Developers
DevArticles.com: Singletons in PHP
Elizabeth Naramore's Blog: PHP Internals, Let's Chat About the Future!
Reddit.com: Should I...
PHP does not enjoy the same consistency in error (and exception) handling as other languages,
mostly due to historical reasons and the lack of a formal
specification. But, there are things that you can do to make error handling
saner and easier to maintain.
PHP has multiple categories of errors and exceptions, each with its own handling
semantics within the PHP interpreter. For our purposes, we can classify these
into the following categories:
Fatal errors, like out-of-memory and syntax errors,...
If you've ever wanted to start from scratch and wanted to build your own PHP framework, you might want to take a look at this list. It's a set of thirteen good resources to help you get started and introduce you to some of the basic framework concepts.Frameworks serve as basics for developing a theory, condition and design in broader sense but in the world of web site development, framework means applications that help you in creating something new or something most popular around the web. We have listed...