Using doctrine2 for ORM in PHP

After having some small steps into PHP Data Objects, I went a step further. Instead of using basic SQL-commands via PDO-Layer, with doctrine2 comes a great framework which extends the basic database-layer of PDO with an own strong database-abstraction-layer (DBAL) and an object-relation-mapper (ORM). While PDO is comparable to JDBC, doctrine2 is strongle oriented at […]

Accessing data with PHP Data Objects (PDO)

There are many PHP-scriptlers outside writing successful applications that makes use of the MySQL-extensions/MySQLi. That might work with small and medium applications, even with large enterprise applications. But using the Object-Oriented approach would make a lot much easier. With PHP 5.1 the PHP Data Object (PDO) came up to rule the young Object Oriented PHP […]

using PHP to read data from Excel 2k7: PHPExcel-Library

Just started a little project in which I have to read a bunch of data from the most commonly-used „database“: Excel-Sheets. Sure, Excel is not the database we use for professional purposes, but in private sector and for little projects it is the tool-of-choice to provide and receive data, that is easily editable. With the […]

push PHP to the Java-ecosystem: phpunit with maven

I like Java… and I also like the PHP-language which seems … more straight-forward then Java. If you just want to script some php-sites, there is no good reason for a full-equipped build-environment. But if your project gets larger, you definitely will need a professional build-tool like ant or maven, a continous-integration server like Jenkins/Hudson […]