Apache Cordova and Visual Studio 2015 – To Do sample application

I want to explore Apache Cordova and the new tools available at Visual Studio 2015.

There is a sample application walkthrough we can use to practice Cordova with VS 2015, I selected the AngularJS version of the sample. You can also find the source code for the sample here Source Code Link.

The application keeps record of to do activities users enter. It stores the tasks in a local Html5 storage and, if you have access, in a Azure SQL server database using an Azure Mobile Service.

Had no issues following the walkthrough up to making it work with the local storage. The problem was when I tried to use Azure storage through the mobile service: the application simply didn’t  show any data neither saved it to the database.

It result that I had to configure the mobile service and add the table from it, so, I created another mobile service from Azure console, and followed the steps at the link Configure Mobile Service. Then, I went back to the code and set the Mobile Service API Key and the Url of the service at the service file azureStorage.js.


Running sample on Android VS 2015 emulator

Running sample on Android VS 2015 emulator

Cordova allows access to functionalities like geo location, camera, etc. while using JavaScript and AngularJS, TypeScript and other known web development frameworks.

I think there are good opportunities for taking advantage of all of these technologies so to quickly develop apps and avoid difficult to maintain mobile applications, developed in native to the device code.

I plan to keep improving on web development frameworks, specially JS, AngularJS and TypeScript. I’m sure we will find a good business use of them at my job at Zgura!



Coding Dojo Managua August 17th

I attended last Coding Dojo Managua past. Congratulations to organizers Juan Bautista from Dalehom and Primitivista, Tayron Portillo from IQUELO and Steven Hansen from Rain.

Great presentations by Tayron Portillo on SOLID (Single responsibility, Open-closed, Liskov substitution, Interface segregation and Dependency inversion), this is a very important object oriented programming concept. Tayron made emphasis on the importance of learning and practicing these concepts because they help to improve quality of developed code and their use can be a requirement by customers.

There was one question from the audience on one of the components of SOLID: it was what is the difference between Dependency Inversion and Dependency Injection, I’d like to add to that discussion, in few words, that Dependency Injection is one implementation, one way to do Dependency Inversion. In order to implement that Dependency Injection you use a framework like Ninject, ZendFramework, Pinject, etc.

The second presentation was by Steven Hansen from Rain, he showed and allowed the audience to try Google Glasses. Steven mentioned the programming capabilities for Google Glass, the Mirror API. As whe should expect, the model is based on Cloud. I was able to try the glasses and even ask it to take a picture “Glass, take a picture”




La identidad en línea en el futuro

Que les parece, dentro de algunos años habrán más identidades en línea que físicas! Esto es porque uno podria tener más de un perfil en línea correspondiente a cada cuenta de un servicio en línea como una red social o una subscripción.

Si lo anterior ocurre se vuelve cada ves más importante aprender a protegerse, cuidar su identidad en línea. Los autores del libro “The New Digital Age” sostienen que se deberia enseñar, incluso desde la escuela.

New ways technology relates with us

I learnt a new word today in English (least to me) haptic (or “táctil” in Spanish). It is not just a new word but an interesting concept on how devices interact with us.

We should expect our devices to give us alerts using this type of technology, also virtual experiences like games will be (and actually are) complemented through this.

More on haptic devices: http://en.m.wikipedia.org/wiki/Haptic_technology