It started with this tweet:
Join kita tar sore yuk, ngobrolin design dan optimize database plus.google.com/u/0/b/10854965…
— hackerspace bandung (@hackerspacebdg) February 21, 2013
It said that @hackerspacebdg, a co-working space for creative (developers, designers, bloggers) freelancers and entrepreneurs in Bandung, organises a sharing event to talk about database design and optimisation. On the last minute I tell the organiser that I’d like to share about database backend for mobile apps. They say OK, so I join the force.
Specifically I talk about Windows Azure Mobile Services that offers database-driven backend for mobile apps frontend, either for iOS, Windows Phone, Windows 8, or even Android. I choose specific implementation on iOS, since I do iOS app development almost everyday.
Here’s the slide presented:
I copy and paste the code in that slide:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
function insert(item, user, request) { var todoitemTable = tables.getTable('todoitem'); todoitemTable.where({ text: item.text }).read({ success: checkExisting }); function checkExisting(results) { if (results.length === 0) { //I add a field on the fly item.createdAt = new Date(); request.execute(); } else { console.log('User attempted to submit duplicate task %s.', item.text); request.respond(statusCodes.BAD_REQUEST, 'You enter duplicate task'); } } } |
The attendees are all developers, mostly coming from open source background. Most of them are not really familiar with Microsoft’s technologies, especially Azure. Somehow, my sharing brings a bit of interests for them to get to know more about Azure in general, not only Mobile Services. My talk quickly becomes free marketing for Azure. I have to admit I don’t like to sell something in technical talk, especially when attendees ask how much for this and that 🙂
Sorry for crappy photos, it’s kinda low light there.
More Azure and Azure Mobile Services-related posts to come. That’s it. Enjoy!
One thought on “Talk: Intro to Windows Azure Mobile Services with iOS”
Comments are closed.