GrAngular – Grails & AngularJS (with Spring Security covered)

Please check my grangular project in GitHub.

My current implementation requires some modification & update to existing Grails plugins (Spring Security and angular resource).

  • Spring Security¬†plugin. Need the plugin to return 401 instead of redirecting to login form.
  • Angular resource plugin. I want to upgrade the plugin to use the latest angular JS (currently 1.2.0-RC3).

I’ll wait first until I get response for the pull requests before I start sharing more detail in this post.

Autocompletion using AngularJS, TypeAheadJS, Spring MVC, iBatis

Background

As I’ve mentioned in other articles. We have old web application using Struts 1, Spring, and iBatis.

My boss has informally shared his plan to replace the struts with Spring MVC, replace old javascript with angularJS, and some other exciting plans. However, that’s not a top priority.

The existing web user interface is plain JSP with no Ajax whatsoever.

User still need to key in some value like port code, country code, and other domain-related code using normal input without any sort of hints from the system. And they’ve been using this old software for about 5 years! Amazing! The users can use this software without complaint probably because they’ve been working in their vessel terminal for a very long time. They remember all those codes by heart.

Requirement

We want to gradually provide better UI experience in the newer version of this software. In this article, we’ll focus on providing autocompletion for port code. Continue reading