Grails

Prototyping with Node.js

My use of the word prototype, is not the function, but rather the concept.  One of my IT mentors taught me that prototyping an application is extremely useful. That is to say, to quickly create a functioning application in some scripting language.  Then, if the app’s logic is sound, one can transition it to a different language if needed. Node.js In my current situation, I had a tool I wrote... »

DB Flags for Your Tools and Monitoring Apps

I’ve written a lot about the monitoring tool I wrote for my job… it monitors various aspects of our production environment (call quality, metrics, servers, etc), sending email alerts when a element fails X times… However, there are times a server is pulled out of rotation… it may be down or in error for awhile.  Rather than update the codebase, I started using the Grails ap... »

Language Choices

Scripting: Groovy, Python or Ruby I work with these three languages all the time, along with their Web Frameworks (Grails and Rails – I haven’t yet picked up Django.) Quite often I start a project and wonder, “which language should I use?” For me each language has it’s perks and set backs…. Groovy/Grails Groovy is actually very fast… and static typing in G... »

Updating MD5 Tool To use SHA 256/512 Hash

Back in the previous post on making a tool to find MD5 hash values… we were limited to just MD5 hash types.  To add more support for testing, I added support for more hash types (SHA-256 and SHA-512), by doing the following: Controllers The functions in the AddToDictionaryController: def submitToDictionary(){ def newWord = params.newWord def digest = MessageDigest.getInstance... »

Tool: MD5 dictionary seed and MD5 Hash Lookup

Tool: MD5 dictionary seed and MD5 Hash Lookup

Update: I added more functionality to this tool (adding SHA-256 and SHA-512)… see the specifics here: http://sdet.us/updating-md5-tool-to-use-sha-256512-hash/ Concept Hash Lookup and Seeding: I put together a tool in Grails that provides a user interface to seed a database with plain text words and their MD5 (not salted) hash. The tool has a secondary component that allows a user to input a ... »

Grails Inline Environment settings

In case you have a need for inline statements to execute in Grails based upon the environment setting, you can do it like this: In your class/service, you import: import grails.util.Environment Then in the class closure you can add: Environment.executeForCurrentEnvironment {   production {   println "this is for production"   }   development { &nbs... »

Dynamic Columns in Groovy & Grails

I have this project at work – it’s a monitoring tool I built in Grails.  It’s a web application that runs a series of tests every hour. The results are stored in a database and there’s a UI layer that reports the results. Recently our Director of Dev/Ops at work wanted to put my UI on a 60″ TV in the Tech team area.  This way people would have a monitor to see live ev... »

Upgrading Grails SDK in Intellij

This was pretty frustrating.  Considering how often Grails is updated, you would think Intellij would make this process easy.  I found the process to be pretty buggy.  In the future, it would make more sense for me to use gvm and reference the current grails sdk and manage it via gvm. Either way here’s the problem I had with Intellij: So I had this project on Grails 2.3.4.  I want to use the... »

Grails Project Walkthrough – Inventory Management System – Pt 5

Contents Intro + Building Grails App + Domain Adding the Grid + Form + Image Upload Registration + ACL’s + Filter Data for User + Securing User Data + Updating Image Uploads to User Dir Edit and Delete on Posts + eMail Setting Up MySQL with Grails + Tomcat Config Changes + Deploying WAR to Production Environments Setting Up MYSQL + Deployment to Production At this point the core functionalit... »

Grails Project Walkthrough – Inventory Management System – Pt 4

Contents Intro + Building Grails App + Domain Adding the Grid + Form + Image Upload Registration + ACL’s + Filter Data for User + Securing User Data + Updating Image Uploads to User Dir Edit and Delete on Posts + eMail Setting Up MySQL with Grails + Tomcat Config Changes + Deploying WAR to Production Environments Adding Edit and Delete to our Records Currently we don’t have an easy way... »

Page 1 of 3123