About

Avatar von Pierre Joye
  • Boutell backport AA from PHP

    Not really new, but I did not read the GD site that much :) In GD 2.0.26 (Changelog), they backport my antialiasing function introduced in php 4.3: „Drastically faster, less memory-intensive antialiased drawing, thanks to Pierre-Alain Joye. This code was imported from the PHP ‚fork‘ of gd.“ They should backport the ellipse and filling functions…

  • ReflectionClass::hasMethod()

    In a recent discussion on the PHP internals list Andi asked why ReflectionClass::getMethod() throws an exception when the requested method doesn’t exist instead of returning NULL. During the discussion it came out that it brings advantages to throw an exception when doing things like $class->getMethod(‚foo‘)->isInternal(); or if you really like exceptions. In addition it brings…

  • My first PHP Extension.

    von

    in

    This is my first contribution to writing php extensions. Extractor interfaces the libextractor library which offered some nice functionality to a project I am currently working on. Libextractor is used to extract meta-data from files of arbitrary type. Ext_skel and the pear packaging system came really handy during the development process. Following Filetypes are supported:…

  • Accessibility in PHProjekt 5.0

    Beside my daily work at Mayflower GmbH/ThinkPHP I’m working a lot on XHTML/CSS/Accessibilty for the open source project phpMyFAQ and trying to add my knowledge in our projects. Because accessibility wasn’t a goal in the previous releases of PHProjekt we’re working hard on the complete XHTML/CSS rewrite of the frontend.

  • The switch from Java to PHP

    Having read John’s posting, I can tell you something about the switch from Java to PHP. In our last year’s project for the biggest european power supplier E.ON, we ported an application from Microsoft Access to PHP. No Java? Indeed. E.ON had two bids – one from their own IT daughter company, is:energy, and one…

  • PHP soap server and dotNet c# client – part 1 [Nested Arrays]

    von

    in

    This entry will show you how to model a dotnet valid wsdl file, how to send dotnet valid responses from php and finally how to connect a c# client. This is the wsdl ‚DOTNET‘ way 3->5->7->2 to continue Johann’s previous post. It is easy, at least if you know what desires the Microsoft’s xml-serializer. To…

  • Is this negative? (or need for speed #2)

    As Pierre wrote before sometimes you need functions you usually would say "no, you’ll never need this, this task can be done with just one line PHP" but later you see "Okay, now I could use it". We had such a situation a few days ago: Thorsten once complained that PHP has functions for everything…

  • MD5 „under“-signed

    In one of my softwares i have to prove that the xml output given is authentic. So i simply take secret known by my counterpart and me, add it to the xml string and use a md5 to sign the xml stuff. No more.

  • SOAP Box Derby and the bablefish

    Actually "SOAP" is just "A". There is no object orientation, no protocol and least but not last no "simple" in it.