Chariot Bloggers

These are extracts of recent articles from Chariot's own consultants, including content from the "official" Chariot Blog and from our own individual blogs. We encourage you to read the original blog article.


Quizzo - it's baaack - but this time for keeps

02/16/2013

Hey everybody!

For my ETE talk, and our internal Chariot Day conference beforehand, I've taken on client-side Single-Page-Web-Application (SPWA) Javascript programming. I started by attempting to learn Backbone.js, but this poor old server-side programmer with a smattering of front-end talents grounded hard on the shallow waters of confusion.

I was not alone. At SpringOne/2GX 2012, VMware's Craig Walls hosted a talk comparing SPWA frameworks, and discussed Backbone's lack of a 'day one story' - a starting point example. He was really interested in the Walmart Labs projects Thorax and

 

Read the full article...

Philly Emerging Tech 2013 - sold out!!

02/16/2013

Perhaps it's a bit expected, but the 2013 Emerging Technologies for the Enterprise conference just sold out yesterday. As before, it sold out at the end of the early bird registration, so everybody saved $75!

We have a FANTASTIC show coming up. Just look at the website, phillyemergingtech.com, and you'll see. We have Doug Lea, Cliff Click, Ken Scwaber, Aaron Patterson, the committers of at least five or six javascript single-page and server frameworks, and the list goes on, and on.

As we did last year, we ARE going to record the screens this year of almost every talk (forgive us if we have a technical glitch or two...

 

Read the full article...

http://soatechlab.blogspot.com/2013/02/ive-decided-to-start-new-blog-rodbiresch.html

I've decided to start a new blog rodbiresch.wordpress.com.  Why?  Well when I started this blog the primary focus was on SOA and Integration.  At the time creating a blog focused on SOA technologies seemed like a good idea.  Now years later, I find this focus blog is limiting my ability to blog on other things that find interesting even if it's not of a technical nature.

This blog will remain available however, I won't be adding any new content.  All new content will be posted on rodbiresch.wordpress.com.  I hope you stop by and take a look.

Cheers!

 

Read the full article...

A Guiding "Light" to Learning Clojure


I've recently started learning Clojure after a little encouragement from co-worker of mine.  I've been developing in Java for a while now and spent the last 1 1/2 years with Groovy.  The Groovy experience was great and the use of closures certainly "whet my appetite" for functional programming.

Ok, for me, when I learn something new I need to have tools that are not distracting so that I'm focused on the material.  In this case, I wanted to take a little time to view the tools landscape for Clojure while trying not get carried away.  After doing some research, I narrowed it down to a few options.  First, I'm a long time Intellij IDEA user so I could just download the La Clojure plugin (I did) to get a REPL, syntax highlighting, source code navi...

 

Read the full article...

Philly Emerging Tech April 2-3 2013 - Register today!

01/04/2013

Remember that conference in the spring? Well, it's baaack! Yep, it's 2013, and so we are full-steam ahead, planning for the next Emerging Technologies for the Enterprise Conference, to be held at the Sheraton Olde City in beautiful Philadelphia on April 2-3.

We have quite the show lined up for you, with keynotes from Rich Hickey, the creator of the Clojure language, and Media Six Degrees' Chief Data Scientist,

 

Read the full article...

The future of Web MVC testing

12/19/2012

Ok, ok, I'm excited. Right now I just was able to hack my way through a test with Spring 3.2 and the new test web context.

The method I ended up writing looked like this:

@Test public void tryStartQuiz() throws Exception { this.mvc.perform(get("/engine/start/james")) .andExpect(status().isOk()) .andExpect(content().contentType(MediaType.APPLICATION_JSON)) .andExpect(jsonPath("$.quiz_id").exists()); } How did I get here?

I upgraded to Spring 3.2, which has native support for loading Web contexts (well, not in a separate-but-parent/child way where you can mount the web context and business context separately, that's coming, but in one context).

Here is the top of my test class:

 

Read the full article...

Java Dates

I often see questions about why a date fetched from a database via JDBC has the ‘wrong’ timezone, or the ‘wrong’ time.

The basic thing that all Java programmers must understand when working with dates is that Java Date objects do not have a TimeZone. A Date represents its point in time as the number of milliseconds elapsed since the “Java Epoch”, January 1, 1970, 00:00:00 GMT.

So, a Java Date is essentially a Long. It embodies no concept of a TimeZone.

Every SQL database that I’m aware of does essentially t...

 

Read the full article...

todo-txt - very cool GTD task management from anything

11/21/2012

So, just I stumbled on Gina Tripani's todo-txt project when searching for a cross-device todo management system. I am switching from an iPhone to an Android device as I'm prepping to provide some Android training for Chariot in the early part of next year.

todo-txt is a very simple format. Described here and with a client for virtually anything (including the command-line, vim, Android, iOS, even WebOS) you can use it from anything, even a text editor. The clients are all savvy with Dropbox, so putting it on ~/Dropbox/todo is all you need to do.

Here is a groovy script I just wrote up to play with my todo list...

def todoFile = new File('./todo.txt') def fileReader = new FileReader(todoFile...

 

Read the full article...

STS 3.1.0.RELEASE - not loving Spock / Groovy for ADJT projects

10/21/2012

At SpringOne/2GX I tried the updated Springsource Tool Suite, 3.1.0, running a pre-4.0 Eclipse (as the STS 3.1.0 version is a bit tricky on Eclipse 4 until the 3.x - 4.0 migration bugs settle down).

Turns out there is a new error that shows up if you try to run anything Groovy within a AJDT project (which is the AspectJ Developer Tools plug-in Roo requires to compile all *.aj files when you're using them in the IDE).

You'll get:

Error compiling Groovy project: Either the Groovy-JDT patch is not installed or JavaBuilder is not being used.

I realize from talking to one of the developers at SpringOne that there have been some issues with the way Groovy handles AspectJ ...

 

Read the full article...

More Spock love - how I tested complex install scenarios

10/04/2012

I'm in love. Officially. With Spock.

Ok, we've only been hanging out for a little bit, here and there. But one of the things I'm doing is prepping for an updated talk on Spring Roo add-ons at SpringOne/2GX. Rather than repeat the same things again, I wanted to show some practical help for people writing add-ons, things like how to write good tests.

Also, I wanted to point out a few things that need more work, bring up some issues for the JIRA queue, so that we can improve Roo further after SpringOne. We'll get to that later in this article.

Testing add-on availability

Testing whether an add-on setup command is available to expose to the Roo shell can be a bit tricky. For example, in the Spock Roo add-on, I expect that the us...

 

Read the full article...