schlitt.info - php, photography and private stuff ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :Author: Tobias Schlitt :Date: Sat, 04 Sep 2010 10:03:55 +0200 :Copyright: CC by-nc-sa ================================= Blog - Open Source - schlitt.info ================================= - Identity Map pattern I first read about the identity map pattern in Patterns of Enterprise Application Architecture by Martin Fowler. The pattern affects the data access layer of an application and helps to avoid inconsistencies in data objects of your application.Since yesterdays alpha release of the PersistentObject package in eZ Components, we have an implementation of Identity Map. In this article I want to give you a rough overview on the pattern itself and show you how you can test and use the functionality of PersistentObject. - GOSUB for PHP Since version 5.3 PHP supports the GOTO statement. While this statement is useful to solve daily programming tasks like implementing finite state machines, it has some serious drawbacks against other programming languages that support the structured programming paradigm. Therefore the PHP core developers decided with one voice to enhance the language by a GOSUB statement. - XPath Last year, Jakob and me had to write an elaboration about XPath. This one should enable the members of our university project group to get into the general XML topic and to use XPath and related technologies during the project. This document is the result of our work and represents a comprehensive tutorial on XPath.XPath is the standard language for addressing parts of XML documents. This document gives a comprehensive introduction into and an overview on XPath. Starting with the XML tree model, different ways of addressing are explained. A dedicated chapter describes the possible addressing axis, their meaning and usage. A rough overview on important XPath functions and how to use functions in XPath in general is given. The last chapter concludes with a practical use case of XPath in XSLT. - Webdav authentication, authorization and locking We just released the 2008.2 release of the eZ Components yesterday. This stable release received 6 months of care by the core developers and many contributors. Thanks to all of you for the great work!My tasks for 2008.2 were dedicated to the Webdav component. This package allows you to easily integrate WebDAV access features into your applications. For the new release I implemented support for authentication and authorization, which allows easy integration into your existing environment. In addition, I added lock support, so the Webdav component now complies to WebDAV class 2 (and almost 3). - 7 things - the virus When I returned from vacation it looked to me like Planet-PHP blogs were all infected by some strange virus. Everyone seems to be keen on providing 7 things that many people don't know about him. Since I got "tagged" 2 times now (Kore and Sebastian), I'll jump on the bandwagon and also share some secrets with you. - Merry X-mas, ElePHPant! With a wonderful picture of a X-mas ElePHPant I'd like to say thank you for the great year, wish you all merry X-mas and a great start into 2009. - Everything new As you will have noticed, when reading this page, I brought my new website online. Although I was quiet satisfied with Serendipity, I decided by May this year, that I wanted to bring up a real website again. Since October 2005 I only maintained my web log and my photo gallery on Flickr, due to missing time and lack of motivation to raise a real website again. Now that changed, with switching to WCV. - IPC 2008 wrapup and slides The annual family party (aka International PHP Conference) took place a week ago. As usual I enjoyed it much, although I was a bit sick this year. The new location (the "Rheingoldhalle" in Mainz) is really great, but I had the feeling it was a little bit too large. Professional equipment was available and they had 4 large rooms, as well as some smaller ones, for talks. Even the food was very good, which was not the case for the past 2 years in Mörfelden (Frankfurt). - Status update and IPC So, finally I'm blogging again. I was quite busy with learning for my university exams in the past weeks, which turned out to be a good idea and was honored with best marks for both of them: "Logic based commonsense reasoning" and "Knowledge discovery in databases" (aka datamining). But that part would fit more into a private blog. - FrOSCon 2008: Review of a marvelous conference To make it short: FrOSCon 2008 was as expected - fantastic. :)