Archive

Posts Tagged ‘php’

PHP UK Conference 2009

March 1st, 2009 No comments

Microsoft slurs, geeks and bean bags

On Friday I was at PHP UK Conference 2009, thanks to my boss, and a charming discount from the Facebook Developer Garage. Here’s what I thought.

The biggest presence here was undoubtedly Microsoft, followed at a distance by Adobe. Zend had a very small stand and don’t appear to have been a sponsor. I found this a little odd from the outset, but I guess it’s the big corporations that have the cash, and can ensure they don’t miss a single conference. Microsoft bribed us with the usual toys: XBoxes, the magic table thing … you know the drill. I was of course there to hear about the future of PHP, particularly PHP 6, and why we’re still just a cool as Python and Ruby.

To save you skim-readers the full breakdown, here’s my conclusion up-front: All in all a good day, but I wanted more talk of PHP’s future and could have done with less of the Adobe stuff. Most of the speakers were great, even if the subject matter missed a bit in places. Also, I know we’re trying to save the planet and everything, but could Olympia please turn the heating on next time!

Read more…

Model, View, Control Freak – Part 3

February 26th, 2009 No comments

« part 1 « part 2

 Part 3 – Hacking the library

Code libraries essentially provide abstraction. Abstraction is good. But anyone who regularly uses third party code in their work has at some point hit the knowledge wall; that point where the abstracted nature of the library leaves you helpless in resolving an apparent problem. You have limited choices – Wait for a patch, hit the forums, or hack it yourself. The latter is probably the worst thing to do, but deadlines are deadlines. Read more…

Tags: , ,

jParser grammar

February 26th, 2009 No comments

I’ve been asked how I generate the JavaScript parse table for jParser, so I’m posting the grammar file here for anyone else who’s interested.

↓ JavaScript grammar file for jParser

Read more…

jParser release in the pipeline

February 24th, 2009 7 comments

I’ve received quite a few emails recently asking me where the code is for jParser.

I’ve had to disappoint so far, because it’s not currently available for download. My web analytics also tells me that a lot of people are finding this blog by Googling “php javascript parser“. There’s clearly a need out there, so I’d better do something about it.

I know why I want a JavaScript parser, but what kind of things might you need it for? What API features/functions would you like to see? Please post a comment and let me know. Watch this space for a release, and in the mean time here’s some food for thought …

Read more…

Model, View, Control Freak – Part 2

January 31st, 2009 No comments

Confessions of a control freak and an anecdote about AMF

If you haven’t read part 1, it’s there for the reading, and puts this post in context.

I figure the best place to start is where the title of this series comes from: I am a control freak; in life and so in code. This is not a very positive thing to say, but in terms of my personal skills development I feel it’s important. I don’t like things that just work; I have to know why.

There is a button on my washing machine that says “anti-crease“. This bugs the hell out of me: When would I not want this setting on? What’s the trade-off? If it creases my clothes less, then what is not doing? Is it cleaning them less?

Read more…