On NetTuts.com there's a new tutorial showing you how to deploy your WordPress blog to the cloud, more specifically to the cloud services Amazon offers.For the last decade, hosting a large scale web application has been a daunting task, reserved only for experts. Not anymore; when Amazon opened its server architecture, everything changed. Computer hardware moved to the cloud, and became available to any and all developers. In this tutorial, we will install WordPress in the cloud.They walk you through all...
On the test.ical.ly blog there's a series of posts with Christian's "live blogging" from the phpDay event that just wrapped up in Verona, Italy:In the first post he talks about the workshops for the first day from Sebastian Bergmann, Fabien Potencier or Paul Borgermans. He ended up attending Fabien's workshop and a talk on document conversion from Kore Nordmann and Tobias Schlitt.In parts two and three he mentions other sessions he attended with topics ranging from Hadoop, Varnish, Git and testable...
This weekend, after Falsy Values, I will be flying to San Francisco for a couple of weeks. There are some conferences:
MeeGo Conference, May 23-25
Aloha Editor dev con, June 6-8
However, as there is quite some time between these two events, it would be interesting to meet cool people and/or projects. So if you're in the area, drop me a note.
On Script-Tutorials.com today there's a new tutorial showing you how to use one of the more under-used and powerful features of recent PHP releases - the phar packaging for creating self-contained archives.I guess you noticed that due your project become larger - the more and more files it contain. Sometimes it comes to the thousands of files. And then - Phar can help you. This utility allows us to pack a variety of files in the single library file. Thus, we can significantly reduce the number of include...
Latest PECL Releases:
Following the principle of "release early, release often", I put live a very early version of the v2 API for joind.in today (so that I can use it in another project!). I haven't updated the documentation yet but in case anyone was thinking of consuming data from joind.in, this at least gives you an idea of the direction of the project so I thought I'd share.
Things you need to know:
The service is an HTTP Web Service. Meaning it's RESTful apart from when it isn't
The endpoint is here:...
When creating Symfony 1.4 CLI tasks, I stumbled upon an error message:
The "default" context does not exist.
After searching some old forums, I found a solution. Before you access any Doctrine class, you mus first bootstrap your context correctly. Here is an example:
$config = ProjectConfiguration::getApplicationConfiguration('frontend', 'dev', false);
The application name and the environment can come from CLI options. More on Doctrine tasks (I could only find 1.2...
One of my friends, Shawn Stratton, has just released an interesting blog post, positing a solution to a problem all developers doing object oriented programming in PHP will eventually run into. (No, not THAT one, the other one) Shawn not only presents the problem but an interesting solution. I'm not going to tell you what the problem is here though. If you can't guess from the title, you'll have to click inside to find out more and a link.
On the XpertDeveloper.com site there's a new post reminding you of an date could cause all sorts of problems with your PHP application - the effects of the Y2K38 bug.Y2K38, or the Unix Millennium Bug, affects PHP and many other languages and systems which use a signed 32-bit integer to signify dates as the number of seconds since 00:00:00 UTC on 1 January 1970. The furthest date which can be stored is 03:14:07 UTC on 19 January 2038. Beyond that, the left-most bit is set and the integer becomes a...
Latest PEAR Releases:
Yes, it's that time of the year again, where the call for papers for PHP@FrOSCon takes place. As in the past 5 instances of this amazing event, the PHP Usergroup Dortmund - in cooperation with other user groups e.g. from Cologne - will organize the PHP@FrOSCon project room with a dedicated session program. And it's time to propose your talks for this now, since the CFP will end on May 23rd.
I'm off to Amsterdam to talk at the Dutch PHP Conference. After that it's on to Chicago for php|tek.
See you there!
Brian Swan has posted a book review of Jason Gilmore's book "Easy PHP Websites with the Zend Framework".I had been itching to dive into the Zend Framework, so I jumped at the opportunity. It has taken me a while to get around to reviewing it, but I'm glad I did. Jason's writing style makes challenging concepts easy to learn and his focus on good development practices are sure to inspire you to become a better developer. Here's more detail on what I thought after reading the book...He talks about the...
Lorna Mitchell has a new post to her blog providing what she calls an idiot-proof guide to deployment with Phing, the popular PHP-based deployment tool based on Apache's Ant.When I launched my own product recently (BiteStats, a thing to automatically email you a summary of your analytics stats every month), I knew that I would need a really robust way of deploying code. I've been doing a few different things for a few years, and I've often implemented these tools with or for other organisations, but I...
It's been a few months since I mentioned it, but php|tek 2011 is quickly closing in on us. I'll be attending with several of my fellow Synacorians as well as giving two sessions, Accessing Web Resources with PHP and Creating Desktop Application with Titanium and PHP.
Synacor, the company I work for, is one of the sponsors for php|tek. Knowing how much we all enjoy these conferences, I encourage you to take a moment while you're at php|tek and voice your appreciation to Synacor representatives. Also, if...
In a new post to his blog Chris Jones talks about a new way Oracle's developed to run PHP applications - Oracle Tuxedo, a web application server with specific support for PHP.Oracle Tuxedo provides a scalable and highly available mid tier platform capable of managing and integrating heterogeneous applications. This overview datasheet explains its capabilities: "Oracle Tuxedo provides a service-oriented infrastructure for efficiently routing, dispatching, and managing requests, events, and application...
Jason Gilmore has put together a list of sixteen best practices and tools you can use to help make your PHP development life easier and the quality of your code better.[I spent so] much time in fact that in 2010 I penned more than 130 articles. Many of these articles focused on PHP-specific best practices and productivity, two topics which should resonate closely with anybody involved in building websites for a living. So I thought it would be useful to compile a list of the sixteen tutorials which touch...
Shay Ben Moshe has a new post to his blog looking at a method he's come up with for hashing passwords the proper way and saving them to a database for future checking. His encryption methods of choice crypt and a random salt generator.
The easy and common solution for this particular problem is to use an one-way hash function, such as md5 and sha1, which takes the password and encrypts it.
Unfortunately, this method is not as strong as you may think. [...] We can protect our password from rainbow tables...
Every now and then you run into this weird situation in your code, where something that was supposed to zig is now zagging and it makes no sense whatsoever. For me this ends up happening in my unit tests since i'm not running everything in the browser everytime and since my tests usually run more scenarios then a regular browser run, that's where the weird stuff happens.
So your obvious way out is to add a few var_dumps into the code and try to understand what is happening, if you are doing that: STOP!...
Popular posts from PHPDeveloper.org for the past week:Chris Aitchison's Blog: You are NOT a Software Engineer!
Symfony Blog: Symfony2: Getting easier (Parts 2 & 3)
Gonzalo Ayuso's Blog: Real time monitoring PHP applications with websockets and node.js
Paul Jones' Blog: Different Definitions of Quality
Kevin van Zonneveld's Blog: Revisiting Faster PHP Sessions
PHPRiot.com: Translating Text Using the Google Translate API and PHP, JSON and cURL
Lorna Mitchell's Blog: PHP OAuth Provider: Initial...
Latest PHP Tweets