Putting XAF's nose to the grindstone

ctodx
15 November 2007

I read Scott Watermasysk's recent post today with some interest (hat tip: Larkware). The post's premise is that if you can't create an "interesting" prototype of an application in 1000 lines of code or less then you are most likely over-complicating things.

This spoke to me for a couple of reasons. First of all, we're getting close to releasing eXpressApp Framework (XAF). When I say close, I really mean close. Those of you who've been using the current Release Candidate may well be saying, duh, it's ready right now, get on with it already, but in the last three months or so since that RC was released we've been adding some interesting new functionality to make the framework that much easier to use. This new functionality relies in part on DXperience v2007 vol3, and in part on a new iteration of DXCore that Mark's team has also been working on. Although the new version of DXperience is ready to go (and may be released by the time you read this), DXCore is not quite there.

The changes to DXCore need a blog post of their own (and Mark will be writing one), but in essence we've revamped it to only work on Visual Studio 2005 or later and to have a slightly modified interface so that we can add a new feature called "code providers". It is this latter functionality that XAF uses.

Of course, in changing DXCore, it means we have to change CodeRush and Refactor! Pro so there's quite a bit of work happening on that front too.

Anyway, back to XAF and Scott Watermasysk. XAF is a great tool for doing the kind of prototyping Scott talks about. With it, you can very quickly create a working application that shows off a solution to a business problem, and without very much further work provide a full deployable application with the must-haves like proper security and reporting. And pretty much all you need to do is write the lines of code for the business class model. Not many lines of code at all.

Along with that, Scott's post prompted me to go back to an application I've been meaning to write for a little while.

Some of you may know that my wife is a Senior Deputy District Attorney for the 4th Judicial District Attorney's Office in Colorado Springs. Like all government offices the country over, the DA's office is strapped for cash and some nice- to-haves and even must-haves tend to get pushed aside for a rainy day. One of the must-haves that the office is required by statute to provide is a system for reporting victim contacts made by the staff (lawyers, paralegals, investigators, etc) in the DA's office. It's part and parcel of Colorado's Victim Rights Act.

At present this system is a pretty nasty cobbled-together Access database and application that creaks and groans, dies regularly, and whose reporting is best charitably described as laughable. A couple of months back, my wife approached me on behalf of the head Victim Advocate in the office to see whether I and Developer Express could do something about it. They couldn't pay a contractor to do a rework and there was no one internally able to do it or who had the time (the original app was written by someone in-house who had since moved on and who shouldn't have been let anywhere near Access in the first place). Could Developer Express help? And for free?

Of course we could. I told her we had this new product called XAF (her eyes started to glaze over) that would enable me to write such an application very quickly (her eyelids drooped), and allow the staff to run it either as a Windows program (eyelids now closed) or as a browser application. She was practically snoring at this point but woke up when I said that running the program in the browser was the easiest thing for the majority of people in the office to use since there was no install. Only the staff in the Victim/Witness Section need have the full Windows program.

To cut a long story short, Developer Express are partnering with Colorado's 4th Judicial DA's office to write an application that will record the staff's contacts with victims of violent crime and vehicular assault in El Paso and Teller counties, the region covered by the 4th Judicial District (it includes Colorado Springs, Manitou Springs,and Cripple Creek).

I'm going to be writing this application with XAF over the next few days, using the latest in-house version that we demoed at DevConnections. I'll also be blogging about my progress, and this series of blogs will describe in detail how to write and deploy a real-world application with XAF. In the end, we'll deliver a working application to the DA's office and, come to that, any other DA's office in Colorado.

Stay tuned for the next installment where I interview the manager of the Victim/Witness Section (she's called Kelly) about what she wants out of the system.

Free DevExpress Products - Get Your Copy Today

The following free DevExpress product offers remain available. Should you have any questions about the free offers below, please submit a ticket via the DevExpress Support Center at your convenience. We'll be happy to follow-up.
Tags
No Comments

Please login or register to post comments.