Hi, In my recent grails project i had a requirement to allow an user to login into my site using his Facebook credentials To achieve it , here is what is required to be done : 1) Create an application in facebook : Create an application in facebook from the application dashboard (https://developers.facebook.com/apps). 2) Provide […]
The number of blogs on our website have seen a significant rise in the recent times and it became somewhat of a necessity to have the functionality of adding user-specific signatures akin to email signatures. It eliminated the process of individually adding signatures to each blog post allowing authors to skip the signature part. […]
While developing a mobile app using phonegap ( or otherwise also 🙂 ), we can access remotely hosted mysql database using jquery ajax calls. But this interaction between jquery and mysql database cannot happen directly. We will need to specify a server side script (in PHP terminology) or a controller action (in Grails Terminology) that […]
Grails 2.2.0.RC1 was released last week and a new feature to make an entry into the version of the framework is the support for namespaces for controllers and services so that there is no naming conflicts while adding artefacts of the same name from different plugins or within the application. I created a sample app […]
Spring security provides various methods to ensure that users are getting access to only those parts of application for which they are authorized. one such feature is IP address restriction, which allows mapping URIs to certain IP address(es) so that these URIS are only accessible from these IP address. These restrictions can be specified in […]
Following DRY is practised religously in my current project. Recently, I identified a case where code repetition had long been ignored. We used to pass either a domain object or a command object in the view model. Due to this, many domain methods had to be duplicated in the command object. This was probablematic because […]
Hi, In my recent grails project, i worked on integrating twitter API with the grails application. In one of the requirements, we needed to show the tweets from user wall and show the profile of the person/account who posted that tweet. In the profile, the user should be able to Follow or Unfollow that person […]
Hi, In one of my grails project, i worked on integrating twitter API with the grails application. The requirement is such that we need to display all of the tweets to any user in our application and provide the basic functionality such as reply, retweet, favorite, send direct message etc using the API calls. I […]
Hi, In one of my grails project, i worked on integrating twitter API with the grails application. The requirement is such that we need to display all of the tweets to any user in our application and provide the basic functionality such as reply, retweet, favorite, send direct message etc using the API calls. I […]
Hi, In one of my grails project, i worked on integrating twitter API with the application. The requirement is such that we need to display all of the tweets to any user and provide the basic functionality such as reply, retweet, favorite etc using the API calls. I used Twitter4j (a java wrapper for twitter […]
Hi, In my recent grails project, i worked on integrating twitter API with the application. I used Twitter4j (a java wrapper for twitter API calls), to integrate the application and use the API calls. You can refer this blog to see how we can integrate the grails application with Twitter. For making any API calls […]
jQuery mobile gives you a very beautiful UI which is compatible with all popular mobile device platforms and i must say its very easy to learn as well. It gives you a very nice select menu instead of typical select box that we see on our web site, for this we just need to add […]