|
Sponsored Link
|
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
Tales of a Coder: What are the Essential PHP/Javascript/Web Development Feeds?
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:
Derek Sivers
Laura Beth Denker
Chris Hartjes
Evert Pot
Wez Furlong...
With a nod to this post from Cal Evans, I'm presenting my own aoTop Threea posts from 2011, in order of descending popularity:
I don't understand the 9-to-5:
This one is easily the tops of the popularity listathanks to another PHP community member, this one made the front page of Hacker News for a little while and received almost five thousand hits in a day. My poor little slice didn't know what hit it. I scrambled to put up something - anything - to be able to keep the site alive. Ultimately I...
In a new post to his blog Nikita Popov talks about a little trick with inserting values into arrays that can make it take a lot longer than it should (because of how PHP stores its array values in hashtables).PHP internally uses hashtables to store arrays. The above creates a hashtable with 100% collisions (i.e. all keys will have the same hash). [...] Because every hash function has collisions this C array doesn't actually store the value we want, but a linked list of possible values. [...] Normally...
As is mentioned in this new post to the Seabourne site by Mike Reich, the FCC (Federal Communications Commission) has launched their new portal, MyFcc (beta). The Seaborne post talks about the technology they used to create this widget-based dashboard.MyFCC is a personalized dashboard for power users that provides a simple way to access a broad range of content coming out of the agency. MyFCC content is powered by the Content API module, and is built using our very own Cumula Framework.The site is based...
DevShed has a new tutorial posted today looking to help you counteract the bad practice of wrapping procedural code in "class" constructs and provide some useful suggestions of how to avoid it.Static helpers seem to be a great idea at first glance, as they're reusable components that don't require any kind of expensive instantiation for doing common tasks [...]. But the sad and unavoidable truth is in many cases they're simply wrappers for procedural code, which has been elegantly hidden behind a "class"...
On PHPMaster.com today there's a new post showing you how to write custom session handlers - in their case, a database-based option that can span across multiple servers/services.Sessions are a tool which helps the web programmer overcome the stateless nature of the internet. You can use them to build shopping carts, monitor visits to a website, and even track how a user navigates through your application. PHP's default session handling behavior can provide all you need in most cases, but there may be...
On Dzone.com today Giorgio Sironi has posted what he considers to be some of the most popular Open Source PHP projects of 2011 including Symfony2, Doctrine and HipHop.This non-scientific analysis of the popular and exciting PHP projects starts from researches on active projects on SourceForge and GitHub; the latter is where most of the collaboration and involvement of PHP developers is today. I've also crowdsourced the question on Twitter to catch projects I wasn't aware of, and I hope to do the same...
Here's what was popular in the PHP community one year ago today:Zend Developer Zone: Book Report: You Want to Do What with PHP?
Reddit.com: Less obvious PHP tricks?
Shameer's Blog: PHP 5.3 : Practical look into Lambda functions and closures
Community News: DBG Debugger Helper for Google Chrome Released
PHPBuilder.com: Profiling PHP Code with Xdebug and KCacheGrind
Sjoerd Massen's Blog: Passing the PHP 5.3 ZCE exam
php|architect Blog: The NoSQL Hype Curve is Bending
Query7.com: Book Review: PHP5 CMS...
As the year ends, we're looking back at an interesting year. More of that you'll also find in the PHP|architect december community column, which I've written looking back at the year a bit. But that is about the PHP community, not about the global community. We should be grateful for living "in the west", where despite economic issues, we live a good and usually healthy life. And if we're ill, we can get treated. And depending on social system and insurance, we still get paid, even if we can't work for a...
|
|