Blog Insights
Keep your dataTable clean with a custom popup
The basic idea is to output some data to a user in a table and allow them to take an action on each row individually. A fairly straightforward solution is to create a separate page to link to, passing the necessary row information along. If the action is simple enough,...Building Perl modules on OpenSolaris
Anyone that's worked with Perl is probably familiar with CPAN.pm. CPAN.pm is the bundled module that handles downloading and installing modules from the CPAN repository. It usually works flawlessly but I've noticed that on OpenSolaris the process can be a bit more spotty. Let's try installing Mason as an...Spring's refreshable beans
A couple of days ago I found out about a really nice feature in Spring, called 'refreshable bean'. Spring's vision a refreshable bean is a dynamic-language-backed bean that monitors changes to its source code and then reloads itself when changes occur. And it is all this is done without restarting/re-deploying entire...YUI3 Lets You Call Webservices With No Server Required
I like YUI3, mostly because I can use it to fill in the gaps between HTML4 and HTML5, and also because a single line of code can make a button zoom around the page: var myAnim = new YAHOO.util.Anim( 'testButton', { width: { to: 400 } }, 1, ...ColdFusion for Rapid Application Development
I’m helping to write a tool to edit simple database information in a browser. ColdFusion is meant for rapid application development and is perfect for this or any small scale data project because it’s very easy to quickly make pages and is designed for use with a database. One of the...Spring Roo Sample App Tutorial
In this blog, I will start creating a web application used to organize bookmarks. Because only certain bookmarks are of interest to specific groups of people, I will use groups in our LDAP server to control which users see which groups of bookmarks. The entire blog will be released in posts...Building Multi-Criteria Search Queries in Hibernate
In this post I am going to show how to write queries multi-criteria search screens. There are two approaches for making this possible. Here I am going to show 2 approaches to building the HQL and try to point out the better approach. Approach I:String concatenation This approach uses String concatenation and setting...Word Counts Example in Ruby and Scala
A while ago I was asked, as a pre-interview task for another company, to write some code in any language that counted word frequencies in these newsgroup articles. I recently came across the Ruby and Scala scripts I wrote and thought it would be fun to post them. First, here is...Vim splits, an introduction.
First off, lets get some test files: for i in foo bar cat dog ; do echo $i > $i ; done; This creates 4 files named foo, bar, cat and dog. Each file has a single line that contains the file's own name. Let's open the first file: vim foo This would be the...PL/SQL Variables and Connection Pooling
I recently had to implement a common feature across multiple applications and app servers, all of which point to the same Oracle database. For reasons unrelated, I chose to implement this feature using PL/SQL. You can all stop laughing now. I ended up with something resembling: create or replace package body...