On his blog today Giorgio Sironi has a response to this post from the I Am Learning PHP blog asking if web scripting languages really need OOP functionality.Yesterday I came across a question: Do Web-Scripting Languages Really Need OOP? Here's my answer: only if you want to do more than an Hello World script (which is paradoxically how old school programmers measure the utility of a language.) I'll express some of my thoughts without compromises, which will be up to you.He opposes the claims of the other...
Here's what was popular in the PHP community one year ago today:Community News: The DooPHP Framework
NETTUTS.com: Using htaccess Files for Pretty URLS
PHPBuilder.com: Building a PHP Calendar
IT World: How Microsoft Made PHP Suck Less on Windows
CatsWhoCode.com: 15 PHP regular expressions for web developers
Reinhold Weber's Blog: MVC anatomy for PHP developers
Giorgio Sironi's Blog: Never write the same code twice: Dependency Injection
NETTUTS.com: How to Create A Simple Web-based Chat Application...
About a month ago my good friend Lorna Mitchell put out a call for stories on how working with Open Source has influenced people's careers. Given that a lot of my recent career has been driven by my involvement in Open Source, I shared my story with Lorna. But I also wanted to share some of my story with everyone. So here is my story and opinion on how Open Source can influence your career in a positive way.
In a new post to his blog today Gonzalo Ayuso offers some tips for those out there wanting to cluster their PHP applications effectively.
In a new post to his blog today Gonzalo Ayuso offers some tips for those out there wanting to cluster their PHP applications effectively.Sometimes a web server and a database is fair enough to meet our project requirements. But if the project scales we probably need to think in a clustered solution. This post is an attempt at being an unsorted list of ideas working with clustered PHP applications. Maybe more than a list of ideas is a list of problems that you will face when swapping from a standalone...
July was a month of talks and travel, including speaking at OSCON and user group talks to DCPHP and PDXPHP. For those who saw the aoMicro Optimize This!a talk, you can download the slides here. For those looking for the aoFive Tips To Make Good Object Oriented Code Bettera slides, those are available here.
On the WebHostingHero blog today there's a new post going back to the roots of the PHP language and some of the original contributors like Rasmus Lerdorf, Zeev Suraski and Andi Gutmans.When PHP began in 1995, it represented a fork on common object oriented programming languages. Designed to help provide scripting for the web, the language took on a life of its own as it became one of the primary web development standards. Today, PHP is used by millions worldwide and powers a majority of sites.They talk...
If you're a WordPress user and have been wanting to get into Drupal, you should check out this guide on hokuten.net. It gives you information on two main points - installation and theming.Anyone who has worked with both knows that anything you can do in WordPress, you can do in Drupal, and vice versa. It just takes some elbow grease. [Drupal] is a great thing to learn because of its broad market, but WordPress developers might find some difficulty getting acclimated'"Drupal has a much higher learning...
Advanced User Agent
Umar File Upload
RSS2 Feed maker
RSS 2 Feed maker
PHP MySQL Connection Class
Simple JSON DB
Mysql Class TKB
A few days ago Bulat S. posted a very interesting post titled aoMongoDB ODM : MongoDB for eCommercea. If you missed it, click on throughaI've got the link around here somewhere.
Just a heads up for all of those in the Dallas/Ft. Worth area - there's a great one-day event coming up this Friday (July 31st) blending PHP, .NET, Java, new media, Joomla and WordPress into one packed day of sessions - Dallas TechFest 2010 at the University of Texas at Dallas.
I'll be giving a session called aoBuilding a Web Service APIa from 10:30 - 11:45am in the PHP track. Here's a summary of the session:
When is a web application more than just a web application? Hook up an API and you'll see! I'll...
On NETTUTS.com today there's a new tutorial about installing and configuring a secure WordPress installation for your site.A comprehensive WordPress installation, albeit simple to produce, often requires multiple steps '" many of which can easily be omitted accidentally. How many times have you forgotten to customize your permalink structure? How about adding in a sitemap plugin? What about changing your timezone? If you've installed WordPress more than once, chances are you've missed something. Take the...
In a new post to his blog Nick Belhomme takes a look at namespaces in PHP 5.3 - what they are and how to use them (complete with code snippets of a small sample project).With PHP5.3.3 recently released I really feel it is time that php developers are taking namespaces seriously. If you don't I guarantee you will be out of a job within five years. Namespaces are a fundamental part of the future of PHP.He also makes his sample project available for download so you can follow along a bit better. He shows...
As I mentioned in my previous post, my beer recipes are now online.
I've had several people ask me how this is done, so I think a post is in order.While it's entirely possible to brew beer at home without any fancy gadgets, there are several tools I use (such as my refractometer) that make the process easier, more controlled, or both. Brewing software is one of the few instruments that I'm not sure I'd want to brew without. I use a Mac, primarily, so Beer Alchemy (BA) is the obvious choice for recipe...
To bring CMS editing to the next level, the IKS project is working on a semantic html5 editor. This week we had a hackathon in Helsinki focusing on implementing our ideas with the Aloha Editor. In addition to enjoying the hot summer weather here, we accomplished quite a bit and in the end were able to present the whole pipeline of:
Loading content from Midgard CMS to Aloha Editor
Annotating our content with Google-compatible Person RDFa elements
Saving the content back to Midgard
...and finally analysing...
In a new post to his blog Marco Tabini has voiced his opinion on the decision made by the PHP development group to set the end of life of the PHP 5.2.x series with the latest release (5.2.14).n case you missed it, the PHP team has just released 5.2.14, which effectively ends active support for the 5.2 branch. [...] The logic behind this decision is...puzzling.He mentions the recent announcements of a few large PHP-based projects to officially support PHP 5.2 and how, because of the large jump in...
In a new blog entry today Sebastian Bergmann quickly shows a method of performing some code analysis on code transformed by HipHop for PHP.HipHop for PHP, the source code transformer that turns PHP code into C++ code that can then be compiled with g++, can also be used for static code analysis to find problems in PHP source code.He includes a script that creates an XML document that both Checkstyle and PHP_CodeSniffer can use to check for a valid format on his sample "CodeErrors.js" file. He includes the...
New from ZendCasts.com today there's a new screencast taking their integration of jQuery with the Zend Framework to the next level - creating an autocomplete control.In the last video, I discussed ZendX_JQuery integration. Now we're going to take it a step further by developing our own jQuery autocomplete control, using a country list, PHP 5.3 and anonymous functions.You can watch the video via the in-page player and you can download either a copy of just the project or browse the whole repository for...
There's some huge news from the WordPress blog today - an end of life announcement that the popular blogging platform will no longer be supporting PHP4 and MySQL 4.Our approach with WordPress has always been to make it run on common server configurations. We want users to have flexibility when choosing a host for their precious content. Because of this strategy, WordPress runs pretty much anywhere. Web hosting platforms, however, change over time, and we occasionally are able to reevaluate some of the...