schlitt.info - php, photography and private stuff ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :Author: Tobias Schlitt :Date: Thu, 19 Sep 2013 08:35:38 +0200 :Copyright: CC by-nc-sa ======== Articles ======== - 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. - eZ Components and GIT James Pic wrote a little article on how you can import the eZ Components SVN into your local GIT installation. This way you can stick to your favorite version controll system and don't need to use SVN much if you want to try out the latest features in eZ Components and use GIT as your favorite version conroll system. - Major update for spamdyke on Gentoo howto I recently migrated my server to a new maschine and a new provider. After supporting Kore today with installing spamdyke on his maschine, too, I seized the chance to update my Spam Filtering with Spamdyke in front of Qmail howto on the wiki. The howto describes how to install the most recent version of spamdyke on a Gentoo system, explains the most important configuration options and gives some practical hints for such setups. You can ask Kore, it only takes about 10 minutes to do so ;) and saves you a huge lot of spam. Comments and addtions are very welcome. - Howto: Spamdyk and Qmail on Gentoo After my server was close to wasting all its CPU time for checking email messages for potential spam using Spamassassin I decided that it was time to investigate. My friend Arne, who helped me a lot with Qmail problems earlier, recommended to install spamdyk, an SMTP spam filter that is placed in front of Qmail and does not require specially patches for the MTA itself. Spamdyk can filter mail by blacklisting, whitelisting, greylisting and using several other options. - Ohloh becoming sensible Almost 1 year ago I blogged about Ohloh, and eZ Components being registered there. Those days I just found it funny to see how they measure the project cost of open source projects based on the ammount of code contained and things. Recently I am actively watching Ohloh and I think, by now it becomes a serious project with real value for every involved party. The maintainers added many new features to Ohloh, since I last blogged about it, and many contributors started participating in the service. So, I want to revise my "review" of Ohloh from the last year and explain how I see it by now. - 10 golden rules for starting with open source Are you new to open source? Or if not, do you still remember, what it was like, as you first started with open source? I recently tried to remember these days... back in 2001, when I started playing around with PEAR and shortly after that started to work on my own packages for PEAR... - Why documentation matters If you kept an eye on Planet-PHP during the past days, you will have seen a discussion emerging about the sense of doc blocks and documentation in general. Travis Swicegood states a quite interessting point of view. His main point is, that program languages themselves are declarative and that it is somewhat stupid to describe the purpose of a method in plain english, if it has been already described by the programming language itself. Although I never thought in this direction so far, I can see a valid point here. Partly. - eZ Components in German "Linux Magazin" The German "Linux Magazine" asked me a while ago to write an article about eZ Components for their special edition "Scripting 2.0" (dedicated to scripting languages). They published a shortened (and somewhat rephrased) version of the article online, as a teaser (German, of cause). - Object relation mapping in eZ Components I wrote an article, that introduces the relation featuresw of our ORM compoenent "PersistentObject" to you, using a practical example application. For me the coolest feature of PersistentObject is, that the component does not require you're ORM enabled classes to inherit from a certain base to allow your objects to be stored in a database (made persistent). PersistentObject simply allows you to configure any of your applications objects to be persistent and you keep a nice an clean OO structure. If you are interessted in learning more, just follow my trip into PersistentObject on ez.no. - Finally: Dericks year lookback Finally my friend Derick posted his usually PHP Look Back for the past year on his website. Thought, there were quite many look backs this time in the blog sphere, but after reading Dericks, I'm sure it is by far the best and most interessting. You will enjoy reading it, promised!