Blog » Development » Seite 110

Kategorie: Development

  • 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.

    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]

    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.

  • Break the rules (or need for speed #1)

    Sometimes some has to process a huge amount of data, applying stupid tests and formulas. There I was and stuck on low performance problem. The obvious way is to implement the critical part (the stupid tests and formula in C and process the data using the C implementation only), sadly it’s often not even possible…

Web
mayflower.de

E-Mail
kontakt@mayflower.de

Berlin
Krausenstraße 9-10
10117 Berlin

fon +49 30 4036473 20
berlin @mayflower.de

Würzburg
Landsteinerstraße 4
97074 Würzburg

fon +49 931 466216 1177
fax (0931) 466216 – 28

München
Landsberger Straße 314
80687 München

fon +49 89 242054 1177
fax (089) 242054 – 29

Erlebe VoiceAI

Melde dich jetzt für deinen exklusiven Demo-Termin der Mayflower VoiceAI an und überzeuge dich von dem Basissetup.

Stelle uns in diesem Termin deine Herausforderung vor und wir finden gemeinsam heraus, wie VoiceAI in deinem Szenario zum tragen kommt.