Kore Nordmann - PHP / Projects / Politics ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :Author: Kore Nordmann :Date: Mon, 07 May 2012 12:23:38 +0200 :Copyright: CC by-sa ===================== Kores random thoughts ===================== - New phpUnderControl release Manuel just released a new version of phpUnderControl, which is now hosted on phpunit.de and got a new layout. Read on for details... - PHP Professional Training By order of dynamic webpages and phpzertifizierung.eu (both german) I gave three trainings, which I just finished. The topics included: "Regular expressions", "Testdriven development with PHPUnit" and "Image creation". The slides are online now. - Manuel Pichler just released phpUnderControl One of the members of the PHP Usergroup Dortmund, Manuel Pichler, just made a first release of phpUnderControl. This is a distribution and patchset for CruiseControl to offer you access from the webinterface to statistics you can get out of PEAR::Code_Sniffer and PHPUnit with its recently added new metrics. Read on for details... - Tagging - Broken by design In the meantime tagging, as a folksonomy, is often nearly used as equivalent to the whole Web-2.0-hype. Nowadays you can't develop any new application without adding tags, and I wanted to do the same. But reviewing the system in a bit more complex environment shows some major flaws, which can also be detected in the implementations of simple applications. This article lists some structural problems, and will be followed by other articles describing solutions for some of these cases. - Parse with regular expressions With recursive patterns in PCRE you can actually match recursive structures, even you should not try this. A regular expression to validate BBCode documents is included in the blog post. - IPC 11/07 - Publishing talks I just finished my both talks at the IPC 07, a quick talk on MockObjects and a talk abaout regular expressions including a description of the new features, like condidtional subpatterns and recursive matches. - eZ Components book in the press Tobys and my book about eZ Components, published by Galileo Computing, has passed the second gelley-proof and will be published very soon. - Why are you using BBCodes? The discussion on my blog post "Do not use regular expressions for parsing" ended in a discussion about BBcodes in general. I just used them as an example to demonstrate why it it is impossible to parse such a language with regular expressions - and mentioned in a subclause, that I don't see any sense in using them at all. So why use them at all? - The long way to a semantic web HTML does not work, neither does XHTML. So how can this be solved without waiting years for better browsers? - Why active record sucks It is not really Active Record which sucks but the implied, perhaps just misinterpreted, common usage as an ORM (object relational mapping). If you want ORm do it right and use AR where it belongs to.