Hasin Haydertalks about "getting comfy with PHPStorm" a relatively recent addition to the IDE ranks for PHP.I am a big time fan of Netbeans and I left it a few days after it's release of 6.7. It was so good, heavenly, yummy but I had to leave this old pal because of it's extreme hunger to the available resources. [...] I left Netbeans and started using PhpStorm. I have a company license and I am glad that I made this move. I am not going to preach PhpStorm in rest of this article, but what I will do is...
PHPMaster.com has a recent tutorial showing how to use the built-in Imagick extension to watermark your images effectively. It talks about what makes a good watermark and how to superimpose one on your images with a bit of sample code.Imagine a friend of yours approaches you one day and would like you to build her a website so she can showcase her photography. She wants to be able to easily upload her photographs and have them watermarked so that people can't easily steal them. "Don't worry!" you tell...
In this new post, Sameer Borate shows you how to use his Amazon BrowseNodes script to work with the returned data from the Amazon Advertising API.The BrowseNodes tool automatically gets all the child BrowseNodes and their names. The program recursively traverses the BrowserNode hierarchy and returns all the BrowseNodes and their respective names. You can display the nodes on the console or save it to a CSV file. You can also include the library in your existing projects to process BrowseNodes.You'll need...
Kenny Katzgrau has a new post with the top ten Sparks (CodeIgniter packages) for the year of 2011:It's a moderately simple app that provides a vehicle for quickly dropping other developers' code in your codebase. Many of the packages on GetSparks are very well maintained. I am continually impressed by the amount of effort spark developers pour into their submissions when I peruse the site and try new packages out. [...] GetSparks has almost clocked 50,000 package downloads at this point, but there are...
As we begin a new year, it seems appropriate that the discussion of backward compatibility has come up yet again in Drupal. It's a perennial question, and you can tell when a new Drupal core version is ready for prime time when people start complaining about lack of backward compatibility. It's like clockwork.
However, most of these discussions don't actually get at the root issue: Drupal is architecturally incapable of backward compatibility. Backward incompatibility is baked into the way Drupal is...
I like to do this every year. It's a reflect and reset-type of thing for me. Here's what I accomplished from last year's resolutions:
Published another article in php|architect magazine, SELECT * FROM Internet: An Introduction to the Yahoo! Query Language.
Gave a talk on the same topic at Atlanta PHP in February.
Continued to sharpen architecture and development skills. I've done a fair amount of work with Test-driven Development this year, which has definitely beefed up my more general design skills....
OpenStreetMap: A Year of Edits
Sunday, January 1st 2012, 00:00 GMT
In the past weeks I've been working on some visualisations related to additions and changes being made to OpenStreetMap. To start of the new year, I hereby present: OpenStreetMap: A Year of Edits (2011):
OpenStreetMap: A Year of Edits (2011)
You can see the video in HD on Vimeo. Happy New Year!
How Did He Do That?
This animation is all made with Open Source software. I haven't had the time to clean up the code to make...
Right, end of the year, time to look back. Let's have a look at the things that have happened this year. If you've read my PHP|architect column in the december issue, you might've already read some things, but my annual "looking back" post here is based more on my blog. So, let's have a look.
Richard McIntyre has a new post to his blog showing how he set up OAuth support in a Lithium-based application with the help of a handy plugin (li3_oath).The OAuth protocol is a fantastic way to login to remote services and websites. Unfortunately the spec is different in OAuth 1.0 and the yet un-solidified 2.0, the implementation is also different across different services. At the moment this is a bit of a goose chase, but libraries like li3_oauth can help! [...] I like to be in control and calling the...
In response to some of the comments being made about the hash table Denial of Service attack recently posted Freek Lijten has posted his thoughts about the real problem with the whole situation - how it was handled by the communities involved.Interesting they may be, but I want to address what in my opinion is the real problem: The way the communication around it was handled by different projects and the fact that the exploit could still exist at all. [...] In the presentation Wälde and Klink talk about...
Continuing a trend started by Cal Evans and then followed by Chris Cornutt, Matthew Turland, and Joe Devon; here are the top five most viewed posts from my blog in 2011.
5. CouchDB and Domain-Driven Design
This post covered two topics that are of great interest to me. Document databases like CouchDB have much potential when it comes to domain-driven design. The post outlined some techniques for serializing domain objects into CouchDB documents.
4. Addressing the NoSQL Criticism
I heard a lot of NoSQL...
On the Sankuru blog there's a recent post looking at the construction of a simple bytecode compiler with a virtual machine as written in PHP (for Expression Language).In my previous blog posts, I demonstrated how we can use the builtin PCRE library, to create a lexer in Php. I also showed how to use Bison-generated LALR1 parser tables in Php. In this blog post, I will re-use these lexing and parsing facilities to compile EL programs from within Php.He uses his lexer/parser (available for download) in an...
In a new post to his blog Henrik Bjørnskov has a tip on preventing cross-site request forgeries in your Symfony2 forms with the help of a simple Symfony2 configuration setting.When talking with @jmikola on #Symfony-dev this afternoon we got into the subject of cross site request forgery and symfony2 login forms. And it seems that form-login already supports this but neither of us knew how it worked. So here is another quick tip. This time about securing you login form from cross site attacks.The key is...
As the conference season for next year gets closer, several conferences have opened their Call for Papers. A few of them have deadlines coming up soon, so don't forget the following important dates if you'd like to submit!
php|tek 2012 - ends December 31st, 2011 (tomorrow!)
Dutch PHP Conference - ends January 31st, 2012
phpDay Italy - ends February 28th, 2012
Be sure to submit while there's still time! Thanks to Thijs Feryn for the reminder!
In this quick new post to his blog Mark Story talks about two new errors he ran across when upgrading his installation to PHP 5.4, both showing up under E_ALL.I've been running the PHP5.4 RC builds for the last few months, and there are some interesting changes in the upcoming PHP release. On top of all the great new features coming in PHP5.4. After updating to PHP5.4-RC4, a few things that used to not trigger errors and silently do the wrong thing, now trigger notices or warnings.The two he mentions...
Popular posts from PHPDeveloper.org for the past week:Joshua Thijssen's Blog: php 5.4 + htrouter: Your personal Apache 2.2 compatible server
DZone.com: Social Comparison of PHP Frameworks
Leasewebs Labs: Painless (well, less painful) migration to Symfony2
Smashing Magazine: Create A Christmas Wish List With PHP (For Beginners)
Nikita Popov's Blog: Don't be STUPID: GRASP SOLID!
NetTuts.com: Ten New Year's Resolutions Every Web...
I think one of the most challenging part of being a remote worker is taking time off. When you work at an office and take a day off of work, all you need to do is not show up at the office. But if you office is in your house, it can be really tough to get away from it. And since people aren't used to seeing you in an office to signifying that you are available, it can be really tough to get that message across.
I've been working like crazy lately. Tons of travel taking me to many locations across the US,...
Following in the trail blazed by the likes of Cal Evans and Chris Cornutt, I decided to post a list of the posts on this blog that have received the most traffic this year along with some related commentary. However, in the spirit of Charles St. Michael, I decided to up the number of posts from 3 to 10. So, here we go:
10. Building PHP-GTK with Cairo Support on Ubuntu Jaunty - 2009-04-25
Very interesting that this post was in the running at all. It's over two years old, goes back 5 Ubuntu versions, and...
The fifth edition of PHP Advent has come to a close. Since 2007, we have published 120 articles, many of which are just as relevant and useful today as when they were first published.
This year, Sean and I decided to choose only authors who did not write for PHP Advent last year, and we made an extra effort to seek out authors who had never written for PHP Advent before. We were pretty darn successful; our first-time authors include:
Laura Beth Denker
Latest PHP Tweets