The PHP North West
conference returns in 2011 with the usual great selection of
technical content for you to enjoy!
We're at Ramada Hotel on Picadilly Gardens right in the centre of
Manchester on October 8th and 9th (Saturday and Sunday) with some
excellent talks. For those looking for more in-depth technical
learning, we're adding a tutorial day this year; join us on Friday 7th
October for a full day of workshop format sessions with industry
leaders - and every ticket includes a pass to the...
I got into a discussion on Twitter the other day where I mentioned that I don't like DI. Call it lack of sleep or language barrier (on my part), but I said DI - dependency injection - when I meant the dependency injection container. Having said this, let me explain why I don't like it.
POVDespite not working for any of the larger PHP joints out there, I get to spend my time with pretty interesting stuff. I wouldn't call it high traffic or big data, but being in the Top 100 websites, we're certainly not...
From Script-Tutorials.com there's a new post that wants to help you prevent one of the biggest menaces of the social online world - spam. Their solution uses the Akismet service to detect possible spam and notify you.What is spam? - this is (usually) any message which not relevant to this page - usually just an advertisement of something (and even with a backward link to another site). Yes, you can put the first line of defense - a captcha, but I think spammers are also ready for this and find ways to...
Latest PEAR Releases:
It's 2011. Computers are here for a couple of decades now, but they still don't help me with the most simple problems. I've been asked once again about a recommendation for a GroupWare and still don't know what to say. This are the simple requirements:
Manage my Mails, Calendar, Contacts, Files, Knowledge (Wiki) and ToDos (including IssueTracker). Let me synchronize these informations with mobile devices and for offline work. Allow collaboration and sharing.
I started professional programming in 2006...
This is just a short follow up to a recent tweet of mine. I have seen this repeatedly happen, even to top notch and usually very careful developers (*). I am not sure why this mistake happens so frequently, but quite often you see code that changes the parameter order for custom Exception constructors. I guess it's mostly because in these cases the developer wants to pass some magic parameters that contain the message (and potentially also the code). Another scenario is adding a new required parameter....
On the Zend Developer Zone today there's a new post showing how you can cache your application configuration file to boost the performance of your Zend Framework application just a little bit more.If you think that you've done everything in terms of performance optimization of your Zend Framework-based project, I bet that your application configuration file was not included in that process. [...] Reason why I'm referring to application config is that its parsing is performed on every request, which is...
If you attended my sessions at the php|tek 2011 conference, thank you! I've linked to my slide decks below. Simply extract them and open the html files in any browser. Also, if you haven't already done so, please take a moment to use the links below to leave feedback. Thanks in advance!
Accessing Web Resources with PHP session - slides, feedback
Creating Desktop Applications with Titanium and PHP session - slides, feedback
Introduction to Android Development unconference session - slides, comment on...
Christian Weiske has a problem he hopes you can help with - he's trying to get the PHP_Codesniffer tool integrated into his git workflow (well, the workflow of his team) as an automatic process that runs on commit. Unfortunately he's having some issues.At work, we used a SVN server and enforced our project coding standard with a pre-commit hook on the server that ran PHP_CodeSniffer. Whenever a developer tried to commit some code that does not match the standard, he got it rejected. [...] The only way to...
On NetTuts.com there's a new post of a two-part screencast series helping you get authentication working in CodeIgniter based on the information in a MySQL database.In this in depth "screencast of the week," I'll take you through the process of building an authentication system with CodeIgniter. Need to restrict access to certain parts of your website to only those who've logged in? This tutorial will teach you how!There's two videos in the series (both included in the post, but with links to the full...
On Elated.com there's a new introduction to working with inheritance in PHP for object-oriented applications. They work through some of the basic concepts including parent/child classes, final and abstract classes and interfaces.In this article we're going to explore the idea of inheritance in object-oriented programming, and how inheritance works in PHP. With inheritance, your objects and classes can become much more powerful and flexible, and you can save a lot of time and effort with your coding.They...
On the Box UK site there's a recent post where they "unbox" Silex the recent micro-framework release from Fabien Potencier and the Symfony community. They test things out by creating a sample application, a simple feedback form."Silex is a PHP micro-framework for PHP 5.3. It is built on the shoulders of Symfony2 and Pimple and also inspired by sinatra." - description from the Silex website. It allows you to pick and choose what components of Symfony2 you want to use. [...] Like Ruby's Sinatra, it...
Popular posts from PHPDeveloper.org for the past week:Lorna Mitchell's Blog: PHP OAuth Provider: Request Tokens
NetTuts.com: Create WordPress Plugins with OOP Techniques
Timothy Boronczyk's Blog: Spaghetti Code Considered Harmful
Slawek Lukasiewicz's Blog: Zend Framework: logging with Firebug and FirePHP
Jani Hartikainen's Blog: You don't need a service layer: Fat controllers are okay
Symfony Blog: Symfony2: Annotations gets better
Josh Adell's Blog: Logging User Sessions Across Requests
At work, we used a SVN server and enforced
our project coding standard with a pre-commit hook on the server
Whenever a developer tried to commit some code that does not match the
standard, he got it rejected.
To be able to check in legacy code, our commit hook recognized special
commit message tags like "SKIP_CS".
Developers using that were logged and beaten at the end of the week
when they used it too often :)
Problems with Git
Now we switched to Git with...
Get additional performance gain in your Zend Framework-based application, by caching your main configuration file.
If you're a user of Ubuntu 11.04 (Natty Narwhal) and are needing to get a full LAMP stack up and running, you're in luck. Omar Abdallah has put together a guide to help with just that.I wont cover what's new in php 5.3 since it would be another article, however it contains alot of improvements including PHP Namespaces, Late Static Bindings, lambda functions, closures...etc. I would strongly recommend using it. I'll be explaining how to install LAMP stack with PHP 5.3.6 without compiling. It's fairly easy...
In a new post to his blog Justin Carmony shares the story of how he took a platform running with MySQL as the backend (Dating DNA) and made the choice to move to Redis for storing compatibility scores for every user in the system.We wanted not only for people to be able to visit a profile and see a score, which is easy to generate a score on demand. We wanted our users to be able to browse other profiles sorted by their score with them. This requires us to pre-generate and store these scores, and then...
This to me is a very sad blog post.A It represents the death of one of my dreams.
You see, back when I was in High School, and getting the aoYou can do whatever you want to doa dream speech.A I decided (after a brief fascination with chemistry) that I wanted to get into Computer Science.
Why?A Well one reason only.A I loved video games, so I wanted to make them.
Fast forward a few years, and I'm in college, and this aWeb' thing appears.A It's cool, it's new, none of the aestablishment' understands it.A...
This new post on the Zend Developer Zone (from Ralph Schindler) is announcing this month's Zend Framework Bug Hunt Days starting today (the 26th) and running through Saturday (the 28th).For those who haven't put the reoccurring event in their calendar, this announcement is for you: Zend Framework Monthly Bug-hunt is here again! Tomorrow, Friday and Saturday of May (the 26th, 27th and 28th 2011), we'll be hosting our monthly bug hunt. For those of you unfamiliar with the event, each month, we organize the...
Michelangelo van Dam has posted a book review of one of the latest offerings from the php|architect presses, Ivo Jansch and Vito Chin's "PHP Development in the Cloud".A couple of weeks ago, my dear friend Cal Evans asked me to review the book "PHP Development in the Cloud" written by "Ivo Jansch" and "Vito Chin". I accepted as I was very interesting in exploring more of the cloudy world I just found myself in the middle of. Another reason was that both authors were fellow co-workers at Ibuildings back in...