Daily Archives: August 16, 2013

Breviary Update 1.5

Thanks to those of you who tried your iOS devices (and Windows 8 devices) against my attempted solution. Needless to say, it failed the test… Interestingly, while the solution worked on my Kindle Fire, I likewise failed to get a satisfactory result on my Android phone.

I’m looking into some of the newer browser capabilities/technologies that came along with the HTML5 standard and, after reading and playing a little with the cache capability, I’ve discovered that what I’m looking for is actually the local storage function. Again, it’s a fairly new technology and I don’t know how widely it’s implemented. However, I think there’s a good chance that most mobile devices should be able to handle it.

I was trying to figure out how to make it work with my code and came to the realization that I’m using a lot of server-side code to create client-side implementations. Not the best way to go… As a result, I need to retool several functions and transform them from (server-side) PHP into (client-side) JavaScript. Luckily, the syntax between the two is similar enough that this shouldn’t be too difficult.

So—I’ll have another test for you modern mobile users in a little bit, that (hopefully) will be more successful than the last!

[Update: Actually, before I recode everything, let’s see if this will do what I hope it will… iOS/mobile users, please try the “Save your Preferences” button at the bottom of this page: http://stbedeproductions.com/breviary/test/combined_preferences.php

There should be a pop-up mentioning local storage and perhaps a string with gibberish in it. I’ll fix the gibberish if this is actually going to work… Thanks again!]