PHP

Zend_XmlRpc_Client and session support

I'm in the process of creating (or at least, thinking of creating) an XMLRPC interface to an existing (third party) application at work.

As with 'normal' web applications, I need to use HTTP sessions to support some form of persistence (e.g. to tell who a callee is) across requests.

My fictional API would ideally look something like the following :

phplondon08 : a late review

Awaking at 3:30am, arriving in London at 8am and parking in a car park that would by the end of the day cost £41.50 (argh!), we went to the 2008 London php conference.

Book Review: Object-Orientated Programming with PHP5 (Hasin Hayder, Packt Publishing)

After an email out of the blue from someone at Packt publishing, here's a review of "Object-Orientated Programming with PHP5"

I don't think I've done a book review before, so apologies in advance if it's not structured in any logical manner.

Contents

Briefly summarised, the book's chapters are :

  1. OOP vs Procedural Programming (what is OOP?, why?, differences between etc)
  2. Kick Starting OOP (objects, inheritance, polymorphism etc)

UKUUG 2008 Spring Conference with added PostgreSQL

The 2008 UKUUG Spring conference is coming up soon (well, 31st March to 2nd April). It's focus is large scale systems admin, but some of the talks look appealing to a wider audience (e.g. anti-spam). The good news is that it's in Birmingham, which seems to be attracting a few more technical events lately :)

phpconference.co.uk

Once again it's time to book tickets for London PHP Conference. Shame the price has gone up to 90 quid, but it should still be an excellent day out.

Drupal and Suhosin

Just a quick note (and thanks to Tom for phoning me over this) - sorry if you've only been able to see garbage when viewing this site.

I believe the problem is down to me using Suhosin's ability to encrypt cookies and session data, combined with Drupal's caching system.

So, if you decide to enable 'suhosin.session.encrypt' or 'suhosin.cookie.encrypt' beware - you'll probably need to do the following too :

  • Delete everything from the 'sessions' table of drupal

Release: Pale Purple's Trac Project Planning Board

This week, we are releasing our first full open source project.

It's basically a piece of web-based software, written in Python and PHP, that allows you to allocate tickets from multiple Trac projects to a simple week-based 'board' in order to organise work priority for developers.

More training courses

We've scheduled some more PHP training courses up to June next year, running monthly.

People who are active members of Birmingham, Wolverhampton or Redditch and Bromsgrove LUGs or PHPWM can receive a discount of £25/day

See here for more details

PHP Talk to Nottingham LUG (Applying Good Practices to a misused language (2))

Last night, Kat and myself gave a talk titled "PHP : Applying good practices to a misused language" at Nottingham LUG.

The talk itself was well received. And we thought we might as well continue in our efforts to meet various Luggers within the UK, so if you're a LUG (or similar) within the UK, we're happy to visit and present it (although we might hesitate if it requires us driving for many hours). Kat reliably tells me that we can put the trip down as a business expense.

PHP DateTime vs mktime / strtotime in Propel

One of the relatively new features in PHP 5.2, is the DateTime class/functions. It has a few useful functions (date_parse, date_date_set, date_time_set etc) which make dealing with dates and times easier (date_parse provides some useful error info too).

Unfortunately, the PHP api still doesn't allow for something like :


$seconds = $dateTime->parse($string, $format);

Syndicate content