Knockout.Js not only gives us the ability to use build-in bindings but also allows us to use our own custom bindings. In this blog, we will basically look into creating the custom bindings for Knockout.Js using PhoneGap.
Creating custom binding is much easier than ever. Before moving forward, we need to get into the basic structure to register our custom binding. To register a custom binding, we need to add it as a sub-property to ko.bindingHandlers. Continue reading →
Introduction: In every application we have different pages to hold different components and we need to navigate from one to another. With the Corona SDK, we have different ways for page navigation like navigation using director class, storyboard and so on. So here we will discuss about the page navigation using ‘director.lua’ class.
Description: Suppose we have two windows, window1 and window2 and every application prepared with Corona have a landing page or we can say it as a start page for the application named as ‘main.lua’. If someone renames this file then app will not run. In order to use director class we need to put the director.lua file to root directory of the project with main.lua file.
A virtual place which is totally responsible to store and hold our data in this virtual world of mobile or internet is Memory. As this is limited in mobile devices so while developing any application used by them, we should keep this Memory in our mind. And due to this step of Memory Management comes to play.
Memory and storage are looks similar but if we look closely, can find that Memory are volatile location where application and its related data are stored temporarily when application get processed. And the storage had the places where we store our data as long as we need. In mobile devices both storage and memory related things are handled by ship and also by SD Card. Memory spaces varying device to device. In any device there is a limitation for memory consumed by different application and it also varied from device to device. So memory consumed by our application should not exceed the memory limitation provided on device. Violation of this will result crashing of that application unexpectedly. That’s why memory management is the crucial thing that we need to be handled carefully while developing any application.