Web and application development

Twitter

Just had to resort to browser sniffing. Feature detection failed me - webkitSpeechRecognition available in Opera - just doesn’t work.

Follow me

Category Archives: Development

September 29, 2014

Using namespaces with Silverstripe

Author
Jason
Time
9:01 pm
Filed under
Tags
, , ,

I've been trying to use namespaces more in some of my work recently. Not because it was necessarily required, but so I can get into the swing of using namespaces for when it may be required. A few recent projects have involved using Laravel, and that makes use of namespaces, so I went with it. Moving back to SilverStripe. With version 3.0, SilverStripe moved to requiring at least PHP 5.3 - yeah, that was a while ago and at the time of writing, the current stable version is 3.1.6. Anyway, ... read more

September 16, 2014

JSON and Swift

Author
Jason
Time
11:50 am
Filed under
Tags
, ,

At last I have finally gotten around to investigating Swift, the new language from Apple for creating apps for both IOS and OSX. In common with many people, I've decided to dive straight in and access a web based API that expects, and returns, JSON encoded data. So far, so good. As it happens, I have a few projects all set up locally that expose RESTful APIs, so I immediately have something to test against. It's all going great. Plug in some boilerplate code, and hey presto, my API is ... read more

July 31, 2011

Command line debugging

Author
Jason
Time
7:10 pm
Filed under
Tags
, , ,

I've been working for a while on a command line PHP script that doesn't use the webserver. The main problem I experienced was the inability of Eclipse/PDT to successfully launch a command line debugging session. This was because the PHP config that was loaded didn't include most of the modules that I required (the first to error was MySQL). Well, I needed to get work done so I soldiered on with "classic" debugging, adding a debug mode that controlled several aspects of the execution of the ... read more