In my current PhoneGap project, I was required to give the offline support of the application. I had to store all the external files on the device and refer the file from local device path. This required a thorough knowledge of storing external files on a device using PhoneGap. PhoneGap comes with very handy FileTransfer API […]
Phonegap gives me the freedom of creating mobile app with my existing knowledge of HTML, CSS, Javascript. It has a very nice javascript API to access the device features like camera, contacts, file etc. There are times when you need know where your files are stored. Specially when you are providing the offline support […]
Every now and then we have to bootstrap data in our application. It takes lot of time thinking what name to give, what description to add and other stuff. To overcome this, we can use faker plugin which can generate random tokens as per your need. To use this, add following in BuildConfig.groovy [java] compile […]
Hi, Some times when we access domain objects of collections in one to many or many to many relationships, we get Hibernate class wrapped with javassist, basically hibernate wraps all loaded objects with javassist after loading(lazy loading case) them . So if we call class.name on the members of collections in one to many or many to many relationships […]
GrailsProduct EngineeringSoftware development
It is normally difficult to copy file/folders from one location to another. In my recent Grails Development project, i successfully achieved this. I had to copy files/folders from one location to another on file system. I searched about it and came across a cool method to copy files or directories from one location to another. We […]
“Machine Learning” – the phrase itself creates a sense of excitement for anyone who has even remotely tried experimenting with making machines “learn” from their past experiences and automatically correct themselves if they are going wrong. The thought itself is so intriguing that not only technologists, but even the film industry has been fascinated by […]
AngularJSFront End Development
In all previous blogs on AngularJS, we used hard coded data. Now, its the time to get more dynamic and play with the data fetched from the server. For this, we will use AngularJS dependency injection which injects various services into the controller. To use a service is even more simpler. We just declare the […]
AngularJSFront End Development
In last blog on AngularJS, we implemented text suggestions functionality. Now, let’s consider that we have a list of objects with each object having two or more attributes with their corresponding values. The problem is to get the sorted list of objects based on an attribute selected by user at run time. AngularJS provides us […]
There are times when we need to associate data with the DOM element say td, li, div etc. I used to sometimes provide attribute ‘rel’ to html tag, then access it using $(‘divId’).attr(‘rel’). This worked when we want to associate only one property, but doesn’t work so well when there are multiple properties to be […]
Parties & celebrations have become a crucial part of workplace culture where employees enjoy festive time at their workplaces also. Making workplace more vibrant often includes parties on various events so that a wondrous atmosphere is created. Such an environment improves the relationships, builds team spirit & bonding, while providing a welcome break from daily […]
Hi, I try to find the installation process for elasticSearch, but didn’t get a right way to install, after along search on google i got below link: looked helpful but still very tricky and a lot of effort Recently in my project, I got stuck while installing elasticsearch plugin on windows machine. ElasticSearch is built […]
Recently, I had to migrate one of the git repository from our local git server to Github along with all the branches, tags etc. Since ours is a big project and with many branches, adding second remote and pushing master branch was not an option. And with Git it’s a very simple three step process. […]