Blog Insights
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...Monte-Carlo Localization in a Nutshell
If you're a nerd like most of us here at Source Allies, you probably think robots are cool. One of the most important part of robotics is teaching the robot to find its location on a geographic map - a process known as "localization." One such algorithm for solving this...Sorting your Beans
Need to sort a list of custom objects? Instead of coding up a custom implementation of your favorite sorting algorithm, you can simply use the tools provided in the Collections class (Collections framework) paired with the BeanComparator class (Apache project). Simple example: you have a List of Person objects and you...Add some "magic" to PHP apps: Dynamic properties
There are no doubts that PHP made a huge impact on Web development industry. Because of it's flexibility, PHP finds it's usage in many areas, starting from simple Web sites and ending with complex Web applications (i.e. frameworks, shopping carts, etc...). So, today I'd like to share with you how can...