Monthly Archives: September 2014

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