PHP

Storing PHP objects in a database (please no!)

Short answer: DO NOT DO IT.

Longer answer:....

MySQL optimisation

Last night, Jonathan gave a talk to PHPWM covering MySQL optimisation tips.

Here's my 2cents, and my regurgitation of what I remembered from his talk.

  • Profile your application/database - you can't know you're improving it's performance unless you have some data to work with
  • Use the slow query log, and/or mtop; there are scripts/applications which will read the slow query log and produce useful data from it

phpnw08 - summary etc

Right - a quick summary of the phpnw08 conference.

Book Review: PHP Web 2.0 Mashup Projects

Some time ago, Packt publishing sent me this book to review. Here it is, being somewhat overdue!

ISBN: 978-2-847190-88-8
Author: Shu-Wai Chow
Title: PHP Web 2.0 Mashup Projects
Publisher: PacktPub.com
Number of pages: 278

My initial interest in this book was due to a requirement to "do" SOAP/XMLRPC etc. The book concentrates on creating a number of "mashups" (joining together remote web based services in one interface) which includes using :

Lugradio Live 2008

Today was day 1 of LugRadio Live 2008 (UK edition).

Headline news - There will be more LugRadio Live conferences, and the implication of more LugRadio episodes.

As per normal, we met all the usual suspects, and had a good time. I only attended two talks - one on Women in Open Source, and the other was about bzr. Perhaps the schedule wasn't worded too well, but it was hard to get excited by any of the descriptions given - I needed more info goddamit!.

Using SOAP and XmlRpc with PHP5 (a newbies findings)

The following is effectively an online version of a talk I gave to phpwm in July 2008.

Disclaimer!

I'm no great expert on the inner workings of these protocols....there are probably secret manuals on SOAP/XmlRpc etc I/we failed to read somewhere

This is just a documentation of what I/we as “newbies” found ...

A simple tale of SQL Injection .....

Today, I was giving a one-on-one PHP training course covering databases (we were trying to get mssql to work with PHP on Windows, but various factors seemed to conspire against us - possibly permissions related, as it seemed to refuse to allow us to select from a table that fricking well did exist.). Anyway, the amusing story was.....

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)
Syndicate content