Grails, Java

SQL Wildcards..is Your Application Safe?

We all have search functionality in our applications. It is one of the most core features you would find ranging from searching for users, products, companies, etc.  But are you sure your search functionality is doing exactly what it is supposed to do? You might have written test cases for it as well. But still, there are things...

by Sachin Gulati
Tag: Grails
18-May-2017

Technology

Day 2 of Gr8Conf IN 2017 – Hands-On Groovy Fun

After an exciting and eventful day one, we entered day two of GR8Conf IN 2017. Day two was pretty awesome with lots of hands-on coding and labs in each session. The day had three parallel tracks with amazing speakers. The atmosphere, the sessions and the speakers really made the day wonderful. Despite a cold day, we could feel...

by Abhilaksh Sharma
Tag: Grails
19-Jan-2017

Grails, Java

Day 1 of Gr8Conf IN 2017 – A Groovy Start to the Year

GR8Conf IN 2017, the second Indian edition of the GR8Conf was held on the first week of January in New Delhi. GR8Conf is an independent series of conferences in India, Denmark and the US that are dedicated to the Groovy and Grails community. The 2-day conference was attended by over 200 Groovy and Grails enthusiasts and technocrats...

by Aseem Bansal
Tag: Grails
13-Jan-2017

Application Security, Grails

How to Perform event on successful login via Spring Security in Grails

Some applications require to store and show last login of the user which is quite common. With this feature a user can verify the last login date and time upon successful login. I would like to explain this through a use case - One of the administrative application on Grails required to hold last login date and time of the user, so...

by Vaibhav Sharma
Tag: Grails
03-Jan-2017

Grails, Product Engineering

Grails Plugin Contributions by Experts @ TO THE NEW

Our experts at TO THE NEW believe in sharing knowledge by contributing to Plugins, speaking at conferences, organizing conferences and so on. Outlined below is the list of Grails Plugin contributions (both that we have developed and migrated to Grails 3.0) to extend various Grails functionalities. 1. Pretty Time - This Grails plugin...

by kinshuk jhala
Tag: Grails
24-Nov-2016

AngularJS, Grails

MEAN Plugin Contributions by experts @ TO THE NEW

Our development team always strives to contribute to the community in various ways including speaking at conferences, hosting conferences, developing plugins to extend functionalities and so on. In this blog, we outline all the plugins that our development team has contributed towards MEAN stack: Javascript (MEAN Stack) Plugins 1....

by kinshuk jhala
Tag: Grails
24-Nov-2016

Grails, Technology

Grails 3 – Migrating from Filters to Interceptors

Grails 3 comes with lots of new features and performance improvements, one of them being Interceptors which is a kind of a replacement for Filters from earlier versions of Grails. Filters are used to apply logic across the whole group of Controllers, URI, or to a particular action and are used in most of the Grails projects. ...

by Puneet Behl
Tag: Grails
11-Nov-2016

Grails, Technology

Configuring Grails 3 application with ASCII Docs

Documentation is a very important aspect in any software development project because it helps us to understand how our software application works. Recently, I have been trying to give back to Grails community by updating existing plugins to Grails 3, creating and updating documentation of Grails plugins and by opening bug report....

by Puneet Behl
Tag: Grails
26-Oct-2016

Grails, Technology

Run Grails application as standalone application

Most Grails application are intended to deploy within external container. According to the traditional way of deployment, the apps are bundled as war packaging, deploy it into any external container like tomcat and Jetty. There is a plugin Standalone App Runner which allow to em-bade a container inside the grails application itself....

by Sanchit
Tag: Grails
29-Jul-2016

Grails, Technology

Using Hibernate Events with PersistenceEventListener

In my last blog, we discussed how to hook into GORM API to add some common custom functionality. We will refer the same problem that we discussed in my last blog. Here is the problem statement: In my grails plugin I was needed to add some fields that were common to a set of domains. For eg: for some domains we wanted to store fields like...

by Sandeep Poonia
Tag: Grails
23-Jul-2016

Grails

JavaScript based internationalization in Grails

Generally Internationalization is used for displaying HTML text  based on user’s locale or region. This is often done on server side of the application. Of late a lot of applications do the HTML generation on the client side, rather than on the server side. And to support the internationalization on client side is a common problem...

by Mohammad Aarif
Tag: Grails
28-Jun-2016