Rotates.org

November 17, 2009 - Perseverance pays off

Imagine having a web server that stores your objects and data just like a live app. Imagine being able to write in the same language on the server and on the client. Something this awesome has been a long time coming, but it’s finally here!

I’ve of course been playing with Persevere and absolutely loving it. Part of the big delay with ‘the Chaos remake’ has been the complexity of creating a robust way to get data from the clients to the server, and for the server to remember that data and be able to process it in the same way. Well now, thanks to this fantastic piece of kit, I can do all of that. Each server instance is a live JavaScript interpreter, with its own persistent object storage database – i.e. objects created are both accessible at any time, and saved.

What does this mean? Well, with the help of haXe (another brilliant tool) I can now write the code for the remake in one language, and ‘compile’ various parts of it to different platforms. I can write most of the game logic and other critical stuff and then have it work the same on the server as it does if it was just running on your own machine – and Persevere will make sure that it acts in that same ‘in-memory’ persistent way.

There are other projects on the go which I’m going to use as testbeds for Persevere – it’s not without possible issues, scalability being the big one at the moment, as one of my projects may end up being quite heavily used (one hopes anyway) and Java (the underlying tech behind Persevere) may not be up to that kind of task.

I can see Persevere being just the beginning of a whole paradigm shift for many parts of the internet into persistent object-based servers – it certainly doesn’t make sense with rich web apps to have to jump through all the current hoops and endure the inefficiences that go with the current ‘single shot’ model of web languages. Bring it on!

April 28, 2009 - A new perspective upon new horizons

Well, I have to say I’m utterly blown away by the iPhone. I can quite solidly say it’s the most useful object I’ve ever bought – more useful even than my PC if I’m brutally honest. I’ve not put the thing down since I bought it; whether I’m checking my email, checking out websites in a proper browser on a proper screen, finding a takeaway in Barton-upon-Humber, playing Geo-defense or Wurdle while waiting for food in the takeaway, or even simply controlling iTunes on my PC from the familiar iPod interface via Remote (which has subsequently put Winamp on the back shelf – the first prog to do so since Sonique many moons ago) it’s been a complete and utter revelation.

This has obviously inspired me into developing for the iPhone – which means I need several things:

  1. A Mac – Oh dear. I shudder every time I have to turn to one of the studio Macs at work. Despite my new-found respect for Apple, Macs are still truly dreadful to use, primarily because of:
  2. OS X Leopard – It’s an improvement over the older versions, that much is true – however it’s also still basically an unproductive and annoying departure from what is obviously the ‘first choice’ way that Windows handles things. Apple can’t swallow their pride or dump on their existing userbase by conforming and as a result I can’t see Mac OS ever being their star product.
  3. XCode + SDKs – All 1.8gb of them. Yay!
  4. An iPhone developer account – Yes, Apple don’t allow you to run your own code on your own iPhone without paying them another £59. You can run it on the iPhone simulator that comes with the dev kit, but you obviously want to see and feel it on the real hardware (plus multi-touch with a mouse is out of the window).

As you can see this could become a pricey proposition. I’ve got something in mind for the first three steps – but it looks like there’s no way around the ‘Apple app tax’, I’ll simply have to stump up the cash.

The app that I have especially in mind is Chaos Enhanced (which now has a new name, though that’s for another post and an ‘official launch’) – which although being server-based and written in PHP with JSON I/O, needs client apps. If I can make the iPhone client smooth, slick and nice, then I can translate some of the features into the Flash client – I reckon this is easier and more likely to result in a really polished interface across the board, instead of me having to shoehorn the interface from a 1920×1400 browser window into an iPhone’s paltry 480×320.

On a rather unrelated note, I’ve also been looking at MooTools – partly because of the absolutely excellent Quakenet Webchat I discovered the other day which uses it, and partly because they’ve recently released a new version. Turns out it’s a really impressive looking framework, which takes an altogether more pure approach to extending and un-browser-fuckifying Javascript. I found myself absolutely hooked as I flicked through the docs and demos and I’m really excited about using it in my next Javascript project. Of particular note is its OO system, which I kinda envy and wish other languages I use (see AS3) had a similar system as opposed to the clunky, ugly and confusing Java/C++ way of doing it. I know I’ll attract hate with that statement but really, see how MooTools does it – it’s a breath of fresh air and makes total sense!

Finally, I’ve (attempted) contact with Julian Gollop regarding the ownership aspects of Chaos though I’m unsure as to whether I’ll get a reply – he appears to be a hard man to find. Hopefully I’ll get a reply, as a few things are resting on it at the moment. More news in the coming days on what’s going on with the game formerly known as Chaos Enhanced.

March 17, 2009 - ColorShift initial release

As promised, I’ve added the slightly fettled version of ColorShift (as it’s now known – yes I’m English, no I won’t spell it ‘colour’ because I’m a webdev) to the site. Currently it’s in a pretty sorry state and only just works via the crutches of pure hackery that keep it standing…

… okay a bit melodramatic but you get the gist. Go get it!

March 16, 2009 - Acid rain

Appropriately, I’ve decided to add some Flash to the header (which is likely to become more and more resource intensive as I meddle inexorably with its source) which is also appropriately melded in with CSS and Javascript via the nifty new colour changer…

Yes that’s right, you can now change the colour of my blog! Far be it for me as a designer to impose my will upon you and make you put up with my dodgy colours – choose your own dodgy colours instead!*

I’ll include the jQuery (and jQueryUI) source for the colour changer soon when I’ve cleaned up the selectors and made them a bit more portable.

* For the love of god, don’t make it pink though.
Website and content © 2009–2026 Lewis Lane