Random thoughts & observations

From the mundane to the profound and everything in between here’s what’s rocking our world

Performing batch transactions in WebSQL on iOS & Android

Posted: April 7, 2016
Written by: Saints At Play
Category: HTML5

Despite being a deprecated standard and with certain developer resistance to using WebSQL we still find it to be a fantastic database solution for storing data cross-platform on both iOS & Android.

With a recent App we were developing we needed to be able to run batch transactions on inserting arrays of data into the SQLite database tables. Our solution for iOS worked perfectly but we didn't realise this would NOT work on Android (but fortunately found a workaround to accomplishing the same goal).

Let's have a look at the iOS solution and find out why.

More »

Storing and retrieving objects with LocalStorage

Posted: October 21, 2015
Written by: Saints At Play
Category: HTML5

The HTML5 Web Storage API provides developers with greater latitude for front-end storage compared to that of cookies, particularly with the localStorage property, making this an excellent choice for managing data within web and mobile applications.

Aside from browser support one issue with using this API is that data saved within localStorage can be of only 2 types: strings or integers.

So where does this leave us with other data types such as Objects and Arrays?

More »

Hiding default spinner buttons on HTML number input fields

Posted: April 18, 2015
Written by: Saints At Play
Category: HTML5

If you've been exploring HTML5 (and there's no good reason why you shouldn't be) you're probably familiar with the range of form enhancements that this recent upgrade to the language brings with it, in particular those concerning additional input field types.

If this is the case then you might also be familiar with certain browsers adding default controls to the number input field.

Thankfully these can also be removed - with only a smidgen of CSS.

More »

Browser data storage options for the front-end developer

Posted: June 28, 2014
Written by: Saints At Play
Keywords: html5,
Category: HTML5

With universal support in modern browsers for HTML5 related technologies such as Local Storage front-end developers now have more options than ever when it comes to client-side data storage. In this article we're going to take a look at what those options are and how they stack up.

More »

Latest Tweets

  • #Facebook’s #FacialRecognition tool faces class action suit over mishandling #biometric #data

    twitter.com/i/web/status/9… Published 4 days ago
  • #ElonMusk drafts in humans after #Robots slow down #teslamodel3 production

    twitter.com/i/web/status/9… Published 4 days ago
  • Mastering @ionicframework #appdevelopment

    twitter.com/i/web/status/9… Published 11 days ago
  • Working with #php & #sqlite in @Ionicframework #Apps

    twitter.com/i/web/status/9… Published 12 days ago
  • Take the Wolfowitz doctrine add the Project for a new American Century combine with compliant/compromised… https

    twitter.com/i/web/status/9… Published 12 days ago
  • First the #RussianSpyPoisoning, now the #SyriaGasAttack - NO independently verified evidence for ANY of the… https

    twitter.com/i/web/status/9… Published 12 days ago
  • The whole #SyriaGasAttack narrative (repeated HOW many times over the past 5 years??! [each time independent inspec… https

    twitter.com/i/web/status/9… Published 12 days ago
  • Managing @ionicframework #application #data with #pouchdb

    twitter.com/i/web/status/9… Published 12 days ago
  • Developing cross platform @Ionicframework #apps with #capacitor

    twitter.com/i/web/status/9… Published 13 days ago
  • #AssadHitsDoumawithChemicals right when he's on the verge of #victory??? Yeah, that makes sense..I totally trust ou… https

    twitter.com/i/web/status/9… Published 15 days ago
  • How many times has the #West tried to blame #Assad for every single previous #ChemicalAttack in #Syria and been pro… https

    twitter.com/i/web/status/9… Published 15 days ago
  • Even #CaptainAmerica needs some #MeTime! https

    Published 16 days ago
  • Share your @Ionicframework #ebook testimonial here

    twitter.com/i/web/status/9… Published 16 days ago
  • @historylvrsclub Enough with the liberal, pro-migrant narrative @historylvrsclub. It was an American family and Ame… https

    twitter.com/i/web/status/9… Published 17 days ago
  • Unit testing @ionicframework #apps with #jest

    twitter.com/i/web/status/9… Published 17 days ago
  • @historylvrsclub Conor McGregor!

    Published 18 days ago
  • @historylvrsclub Yeah, it’s called chemical enhancement

    Published 18 days ago
  • @historylvrsclub Enough with the lies/sneaky liberal agenda @historylvrsclub - He was the abandoned son of a Syrian… https

    twitter.com/i/web/status/9… Published 18 days ago
  • Using #angular pipes with @ionicframework #apps

    twitter.com/i/web/status/9… Published 18 days ago
  • Share your experiences with my @ionicframework #ebooks

    twitter.com/i/web/status/9… Published 19 days ago