|
|
|
|
|
Login to share your opinion Using Traits in PHP 5.4Minimizing code duplication through better organization and code reuse is an important goal of Object Oriented Programming. But in PHP it can sometimes be difficult… read more Object-Oriented PHP5 Data Mapper ORMphpDataMapper is a project to add the power and flexibility of a full-featured DataMapper to any PHP project in a very easy and portable way.… read more Practical PHP Refactoring: Convert Procedural Design to ObjectsEven in languages where there are no constructs but classes, there is no constraint that can force a programmer into writing object-oriented code. In many… read more PHP Ad Tracker: Data Object Design and CodingIn our last PHP Ad Tracker lesson, we constructed the database tables for our ad banner application. read more Digging into WordPress v3.3 UpdateNew version of Digging into WordPress now available! The DiW v3.3 update covers WordPress 3.3 & 3.2, with fresh new sections and updated content throughout… read more PHP: land of a thousand frameworksAsk me which framework to use and I'll probably have a grumpy old woman moment and tell you that all frameworks are as bad as… read more HTML5 Web Workers: Classic Message Passing ConcurrencyMost concurrency frameworks I write about on this blog consist of numerous layers of abstraction. Consider the Task Parallel Library, for instance: it’s a wrapper… read more The __toString() Method – Objects as StringsWe started the study of PHP magic methods by learning about __get() magic method. All the names of magic methods are reserved and cannot be… read more How to write PHP code to set expiration for index pagePHP language is an open source web scripting language which is included within HTML tags to implement any logic. And Due to popularity of PHP… read more How to Create Your Own Super Simple WordPress PluginsThat may not sound like a problem, but it is. Because these files are tied to your theme, if you ever want to use them… read more The MicroPHP Follow-up FAQMy previous post, The MicroPHP Manifesto, resulted in much excitement. In between fits of rage and crying, I found some time to answer folks questions,… read more How Not To Suck At PHPSince I hadn’t blogged for a bit I thought I would ask my Twitter peeps what they might want to hear my rant about. One… read more isset() vs array_key_exists() in PHPOne basic difference is that isset() can be used with array and variables both while array_key_exists() can be used with the arrays only. read more Setting up a development environmentDoing development on multiple projects can be a burden from time to time. One project would be running on PHP 5.3, while another still needs… read more CakePHP evolves to 2.0wasn’t using CakePHP since past 6-8 months. I was a big fan of the framework but it seemed heavy to me. Among other issues, the… read more HipHop for PHP: Move FastOne of the key values at Facebook is to move fast. For the past six years, we have been able to accomplish a lot thanks… read more Episode 5: The Hammer That is PHP - /dev/hellIn our fifth episode we speak to our first ever guest Brian Moon, ancient PHP elder of dealnews and someone who has probably forgotten more… read more Amazing things to do with PHP and cURLcURL, and its PHP extension libcURL, are very useful tools for tasks like simulating a web browser, submit forms or login to a web service.… read more Set 301 Redirection using .htaccess FileThere are several methods available using .htaccess file to redirect user from one page to another. 301 is one of the type to redirect user… read more How to protect from SQL Injection with PHPSecurity is a part of our work as developers. We need to ensure our applications against malicious attacks. SQL Injection is one of the most… read more |