"hello world"
article in Tech programming

PHP - open source scripting for the web.

PHP has been a friend of mine since I was in high school.  I used to sit around and crank out web code for a home jukebox in PHP 3.  In fact, I believe I was there for the alpha and beta stages of PHP 3.  Today we have PHP 5 and we are moving toward PHP 6.

There are many reasons to like PHP.  For one, it feels a lot like C and C++.  For the longest time PHP has lacked in the OO dept.  Today with PHP5 that all changes. PHP is nice because it feels much like programming in straight C/C++, but it takes care of all the binary deps. that you would normally have to compile/link yourself. Download a pre-compiled dep, add a config include, and *TADA* you've got that functionality exposed to your scripts. PHP is quick because there isn't a need to compile, save the script and reload in the browser...

ownCloud.org | Your Cloud, Your Data, Your Way!
facebook/hiphop-php · GitHub - Source code transformer from PHP to C++. HipHop is a high performance PHP toolchain. Currently supported platforms are Linux and FreeBSD. There is no OS X support. (cmake friendly)
Install and enable Alternative PHP Cache (APC) on Ubuntu 12.04 LTS • sam's bits
Believe, Strategize, and Strike: Installing Zend Optimizer on Ubuntu

Misc PHP Links

Why PHP 5 rocks!
PHP: a fractal of bad design - fuzzy notepad
gynvael.coldwind/vx.log - PHP equal operator ==
7 reasons I switched back to PHP after 2 years on Rails - O'Reilly Ruby
50 Extremely Useful PHP Tools - Smashing Magazine
Advanced PHP Variables and Functions
PHP Presentation System
phing - PHing Is Not GNU make
Three-Tier Development with PHP 5
Web forms are the most dreary damn things to write
PHP Tag Cloud Tutorial
phpsh -- an interactive shell for php
nikic's Blog htmlspecialchars() improvements in PHP 5.4


Getting Up and Running with the PEAR Web Installer
PEAR and PECL Packaging Tutorial
Creating PEAR-installable nightly builds
Taking Advantage of PEAR
PEAR Manual
A list of PEAR Tutorials from PHP Kitchen

Code Generation and PHP

Roadsend PHP - rewrite of Roadsend PHP (rphp), based on LLVM and a new C++ runtime.

Vcards in PHP

PHP vCard class v2.0
Contact_Vcard_Parse -PEAR package for parsing and building vCards.

iCalender (ical) in PHP

iCalcreator creates valid iCal files.

PHP Data access

What is there to love in PHP? How about the database abstraction libraries?! There are quite a few now available...
Here are the reasons I love the DB_DataObject.
Introduction to DB_DataObject by AskBee.NET
Database frontend with DB_DataObject and DataGrid.
DB_DataObject_FormBuilder :: A Simple Tutorial

PHP QuickForms

Then there is the HTML_QuickForm,
PEAR HTML_QuickForm - Getting Started Guide
Using HTML_QuickForm To Manage Web Forms, Part 2
Using HTML_QuickForm & Smarty
HTML_QuickForm and Smarty - awesome.

Paypal PHP

Paypal, the PHP approach
How To Set Up a Donation System Using Paypal


The Pronto Project
AJAX Frameworks in PHP
Pluf : Pluf, PHP WebApp Framework


Practical symfony | symfony | Web PHP Framework - great set of docs on getting to know symfony.
Easy ajax forms with sfDoctrineDynamicFormRelationsPlugin | Synofony
kriswallsmith/sfDoctrineDynamicFormRelationsPlugin - Common sense embedded forms for your symfony 1.4 project.
Symfony + Backbone.js for highly dynamic apps | Synofony



Setting php config values in .htaccess

For those legacy apps, turn on the register_long_arrays within your .htaccess...instead of in the global php.ini
php_value register_long_arrays On
php_value upload_max_filesize 8M
php_value magic_quotes_gpc 0
php_flag magic_quotes_gpc off

PHP in Windows world

Phalanger - PHP in .net!
Toolkit for PHP with ADO.NET Data Services - The Toolkit for PHP with ADO.NET Data Services is based on an utility (PHPDataSvcUtil) that is used to generate a proxy class from an ADO .NET Data Service, the class is then used in the PHP application to connect/edit/add/delete or browse records from the Data Service.
Interoperability @ Microsoft : A new bridge for PHP developers to .NET through REST: Toolkit for PHP with ADO.NET Data Services

Debugging PHP code

Xdebug - Debugger and Profiler Tool for PHP
How To Setup a Free PHP Debugger using Eclipse PDT + XDebug
xdebugclient - Google Code - is a simple Microsoft Windows frontend for the PHP debugger (C#)
Introducing xdebug
How to use Xdebug from behind a NAT | Florin Dinu - reverse ssh tunnel localhost port 9000.

PHP documentation tools

phpDocumentor: The complete documentation solution for PHP - Similar to Javadoc, and written in php, phpDocumentor can be used from the command line or a web interface to create professional documentation from php source code. (HTML,pdf,chm,docbook xml,etc)
phpCallGraph - A Static Call Graph Generator for PHP
phUML - Westhoffswelt - Welcome to the real world - phUML is fully automatic UML class diagramm generator written PHP.
Doxygen - did you know doxygen can take care of PHP code?

PHP CMS/Blog/Etc

Serendipity Weblog System - a PHP Weblog/Blog software (BSD license using Smarty templates)

PHP testing

PHPUnit - PHPUnit seems to be the most used unit testing framework for PHP. xUnit implementation...port of JUnit,jMock,DbUnit.(PHPUnit Manual)
SimpleTest - Unit Testing for PHP
Practical symfony | Day 8: The Unit Tests | symfony | Web PHP Framework - unit tests in symfont using lime

PHP code analysis

sebastianbergmann's phpcpd at master - GitHub - phpcpd is a Copy/Paste Detector (CPD) for PHP code. (get a quick overview of duplicated code in a project)
PHP_CodeSniffer - phpcs (PHP_CodeSniffer) tokenises PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.
PHP Depend - Software Metrics for PHP - pdepend (PHP Depend) produces code metrics of your php source.
PHPMD - PHP Mess Detector - phpmd (PHP Mess Detector) is a spin-off of PHP Depend and aims to be like PMD for java.

Idiorm & Paris

Idiorm and Paris - object relational mapper (ORM), fluent SQL query builder and Active Record implementation for PHP
j4mie/idiorm - A lightweight nearly-zero-configuration object-relational mapper and fluent query builder for PHP5.
j4mie/paris - A lightweight Active Record implementation for PHP5, built on top of Idiorm

PHP ActiveRecord - An easy to use ORM for PHP
PHP ActiveRecord - Basic CRUD - An easy to use ORM for PHP
Using PHPActiveRecord with Slim Framework » Silent Works

Php microframework (sinatra/restful) slim

Rapid Application Prototyping in PHP Using a Micro Framework | Nettuts+
codeguy/Slim-Extras - Additional resources for the Slim Framework for PHP 5
Using Twig with Slim Framework » Silent Works

FuelPHP Documentation
#li3 > Lithium: the most rad php framework >
lampjunkie/php-datatables - This is a PHP library which wraps around the DataTables) plugin for jQuery in an object-oriented fashion.


Welcome! - Laravel PHP Framework
davemo/end-to-end-with-angularjs · GitHub - laravel 4 and angularjs.

spl_autoload_register autoloading classes

(PHP 5 >= 5.1.2)
spl_autoload_register() provides a more flexible alternative for autoloading classes. For this reason, using __autoload() is discouraged and may be deprecated or removed in the future.
PHP: spl_autoload_register - Manual
PHP Tutorials Examples SPL Autoload
PHP : What is the benefit of spl_autoload_register? Performance of includes - Stack Overflow
Howto make your live easier with an autoloader | php rookie
Created: 2006-03-22 13:09:30 Modified: 2014-01-13 04:59:50
/root sections/
>peach custard pie
>random tech

moon and stars

My brain

Visible Dave Project

left side represents the beginning of mathematics; the right side represents the mysteries of infinity.