Test Notice

WP-simplesyntaxhighlighter Update

October 29th, 2009
Comments Off

A new version of the core SyntaxHighlighter that wp-simplesyntaxhighlighter wraps has been released. As a result, I have released a new version of the WordPress plug-in that reflects this latest revision.

You can find a quick list of the changes here.

BI Revision/Version/Source Control

October 28th, 2009
Comments Off

This is a continuation on my previous rants on borrowing traditional software development concepts for a BI project. As the title suggests, the topic today is source control.

No matter what you want to call it, a cornerstone of any good software project should be source control. This is pretty fundamental for software projects but it hasn’t been a priority for many in BI. I am not entirely sure why this is. Is it just an oversight? Are BI project managers oblivious to the existence of good source control tools? I’m not sure what the answer is but I am sure that BI teams should be using it.

The benefits of source control should be well known. So, I am not going to rehash them here. However, I would like to go over a few things to keep in mind:

Full Coverage

Source control can be applied to most parts of a BI project. Source control concepts can apply to data models, cube structures, ETL, and even the documentation for the project. Pretty much anything that changes over time can benefit. So, try to think beyond just source code.

Version Labels

Having the ability to identify something makes it infinitely easier to discus it. This same concept applies to components of a project. It doesn’t really matter whether it is some sort of name or just a revision number. The benefit is that it allows you to have a common term to refer to a snapshot of a project.

I strongly suggest that the labeling is universal and span all of the projects components. In other words, version 2.1 could universally refer to a snapshot of the ETL as it does to the data model. And, when you start introducing formal issue tracking and end-user team portals it becomes even more important (more on these topics at a later date).

Ultimately what I am getting here is that checking in revisions isn’t enough. Develop a consistent labeling system for releases. And, use the commenting features of your source control system to identify changes; all changes!

On Cost

There are many source control systems out there. And, many of these are free. So, cost should not be an excuse. Additionally, many of the design tools on the market today have some flavor integrated into the development environment. Don’t make excuses, find something that works for your team and use it!

PowerShell Snippet: Installed Applications

October 23rd, 2009
Comments Off

I am finally getting around to installing Windows 7 on my laptop. Before I wipe everything I wanted to have an idea of what I currently have installed. So, I put together a little PowerShell script:

Get-WMIObject Win32_product | sort-object vendor | format-table name, version, vendor, caption -autosize | out-file installed.txt -width 250

It is a pretty simple example. It uses the Win32_product WMI class to get a list of installed application. I then sort by vendor, format as a table, and output to a text file. As I said, pretty simple.

Author: Pierre LaFromboise Categories: Blog Tags:

SharePoint 2010

October 22nd, 2009
Comments Off

The 2009 SharePoint conference wrapped up earlier today. Unfortunately, I was unable to attend. However, I did try to keep up by watching all of the tweets and blog posts that were being generated by the attendees. Here is a quick list of some of the more interesting SharePoint 2010 news:

  • SharePoint 2010 beta should be available in November (sign-up here)
  • Project Gemini gets a product name: PowerPivot
  • SharePoint 2010 will run locally for developers under Vista and Windows 7 x64
  • No more 32-bit, 64bit only
  • IE6 will no longer be supported
  • New PowerShell CmdLets for managing SharePoint
  • New Document Center template optimized to supports hundreds of thousands of documents
  • Windows SharePoint Services rebranded as Microsoft SharePoint Foundation
  • Enterprise Metadata – includes tagging and ratings
  • Integrated support for Silverlight
  • Groove reworked as SharePoint Workspace
  • Improved Mobile Web experience
  • Sandbox isolation for custom code
  • Business Data Catalog becomes Business Connectivity Services – no longer read-only
  • Improved APIs – including list access through REST, LINQ, ATOM, and JSON

You can watch some of the highlights of the conference here.

Author: Pierre LaFromboise Categories: Blog Tags:

BI Release Management

October 22nd, 2009
Comments Off

Previously, I had discussed treating Business Intelligence projects in a similar manner to software development. Continuing on this subject another often overlooked item in BI projects is release management.

So, what do I mean by release management? Release management is a large and ever evolving topic in software development and often speaks to the entirety of an IT organization as opposed to a single project. However, for the purpose of this post I am really only interested in one thing: protecting the live production environment.

I have had numerous clients who seem to believe it is alright to develop directly against a live production environment. Yet, more often than not, if you walk down the hall in these same organizations you’ll see that their custom development teams follow strict guidelines for deploying new code to production. Why is this?

Often times these organizations look at BI as being non-critical. If a new release results in unexpected downtime it is viewed to be not as important as the uptime of a transactional business system. And, in an immature BI environment this is probably true. However, if an organization wants to realize the ROI needed to justify continuation of a BI program they are going to want to reach maturity.

Holding back on a sound release management plan or treating a BI project like a second-class citizen is only going to work to slow this maturity. It will hurt the overall perception of the program and will result in poor user adoption. If a user cannot count on a system to be fully tested and available why would they trust it? Ultimately, I think you will find it is far cheaper to start these processes as early as possible.

Fortunately, it is pretty easy to get going. Start with the environments. Have a formal development, testing, and production environment. This doesn’t need to be difficult or costly. The development and test environments do not need to be as robust as production. They just need to be able to isolate the changes from production. In most cases you’ll be able to use a subset of the overall data for development and testing purposes.

Next, establish some guidelines for promoting changes to the individual environments. If you’re using one of the agile methodologies for BI development it most likely already has an established process for this that you can follow. Overall, the governance behind this process can evolve and expand with the BI program.

Finally, the results should be a release process that allows developers to continue enhancements of the system, testers to verify the quality of the changes, and the end users rely on the availability and accuracy of production. I firmly believe that this is an essential part of any successful BI project. Can you proceed without it? Yes, but you’re going to pay for it in the long run.

Manage BI Like Software Development

October 15th, 2009
Comments Off

There are many ways that a BI project can fail. And, many do just that. In my experience one of the top reasons is poor project management. Opinions as to why seem to fall into two camps. One side believes that BI is not inherently an IT project but is instead a business project and treating it like an IT project leads to failure. The other side opines that years of project management principles have been refined for software development and BI should learn from this.

Personally, I feel that both sides have their merits. I fully understand that there are some important differences with a BI project. And, there is no doubt that it must be driven by the business. Yet, I lean towards treating BI projects in a similar manner to software development project. In the future I hope to go into detail on how BI projects are different and hopefully will be able to provide advice on how to effectively manage these differences. In the meantime, what does it mean to treat a BI project like software and what exactly should be borrowed from the software development world?

Be Agile

To start with, the scope of a data warehouse and the ultimate business rules and requirements that it will encompass are vast. I contend that it is not possible to distill all of the business knowledge that is needed into a scope document; BI projects that try are bound to fail (at the very least they are susceptible to huge cost overruns and user adoption issues). With that thought in mind, a BI project does not lend itself to a traditional waterfall model.

Instead, a BI project should be agile and an iterative approach should be taken. There are several flavors of agile development methodologies and they are typically not geared towards a non-software project. So, lets look at some of the things that they do have in common: iterative development, a focus on team collaboration, and, perhaps most important, the ability to be adaptive to project change.

An Iterative Approach

It seems that many BI projects focus only on the big picture. The project can be on the small side and tasked with expanding a single subject area in an already existing warehouse. Or, it can be a huge build of an enterprise-wide data warehouse. Regardless, the focus often is on the pristine and perfect end product. I would argue that this is an enormous mistake.

There are a few reasons why I believe that this is a mistake. But, let me focus on the one. This style of development lacks transparency and creates a black box. It is difficult for the business to see the value in what is being developed. Instead, what they see is a lot of man hours being spent and they can quickly lose confidence in the project. This can be the death nail for a project and may very well hurt future BI efforts as well.

Alternatively, most BI projects can be broken into small components that take a short duration to complete. Each of these components can be prioritized and assigned to team members for a given iteration. Each successive iteration expands on the previous. So, after a single iteration you may not have a complete deliverable product but you do have something to show.

Take this example: you have a proposed large many-sourced product dimension that needs to be conformed. The work required to accomplish this task is greater than a typical development iteration. However, it can be broken down into even more fundamental parts. For instance, you might target a prioritized subset of the dimension attributes.

In the first iteration you’re able to have team members perform the business analysis work required to assess data quality, build a basic data model, and create the ETL to populate this data structure. In the end, you are not able to deliver a complete product. But, you are able to demonstrate progress. And, in each successive iteration you are able to build on this progress, learn from the work of the previous iteration, and ultimately deliver a complete conformed product dimension.

It seems simple enough. And, with a good team, it is. Each step of the way the business stakeholders have insight into what is being done. And, the likelihood of success is greater.

Still, there does needs to be some caution. A BI project is really just a small piece of the over all pie and should be part of a larger BI program within the organization. It is important to have the big picture in mind while working through the individual parts. You need to be conscious of and avoid building silos of data. The goal still needs to be to have a comprehensive and conformed view of the organization. It isn’t that agile doesn’t allow for this just be careful that goals do not get lost during the daily focus of an iteration.

Team Collaboration

Working with a team certainly isn’t something that is unique to agile development. But, there does seem to be a particular focus that shouldn’t be ignored. An effort should be made to have face-to-face interactions between the team members and it should be routine. Any roadblocks, as well as progress, should be brought to the teams attention as quickly as possible. And, attempts to involve business stakeholders should be a priority. After all, a BI project is for the benefit of the business and not just a pet project of IT, right?

Once again, much of this is about transparency. But, it is also about effectively working together and addressing problem early.

An entire book could be written on this subject and I can do it little justice in the limited space I have here. I simply encourage you to research the team methods used by the various agile flavors. And, please, do not overlook the importance of this. Good teamwork can make or break a project.

Adapt

A plague to many BI project (and software projects as well) are rapidly changing requirements. Many times the source of this is simply the result of a project digging deeper and deeper into the dark inner workings of a long running organization. Or, it could be the stakeholders changing their minds mid-stream. Whatever it is, it happens, it isn’t predicable, and you need to be prepared to deal with it.

The short iterative agile cycles are able to easily adapt to this change. While you will still have a high level project plan, required features, goals, and priorities the only thing that is really set in stone at any given moment is the current iteration. If a spec changes it is simply added to the list for future iteration developments. It is no longer an unforeseen showstopper. It is now just another requirement in the overall pool. In many ways this is a very liberating concept. Of course, there are still consequences to scope-creep. But, it is now an integral part of the process as opposed to a wall stopping progress.

Now What?

It goes without saying that agile methodologies are not perfect and that they will not solve all of the problems that a BI project will face. They are, however, flexible and able to provide a good base to build upon. As a part of a larger strategy they can provide important direction and proven guidelines. So, should you choose a specific agile methodology for your BI project?

As stated above, typically they are geared specifically towards software development. The flexibility, however, should allow you to adapt a methodology to a business intelligence focus. In fact, as an IT strategy it may be very possible to use a single methods across multiple project types (Scrum comes to mind). But, agile development methodologies are more about a mindset than a specific series of techniques. So, do not spend too much time dwelling on what some software pundits have turned into a religion.

The bottom line is that if you choose, and you should, to use a more agile development methodology in your BI projects you are going to need to adapt and tailor it to your organization. It is a mistake, however, to dismiss it as not being important or just the latest fad. Keep in mind that this is just a start. I will continue to expand on BI project management in future posts. If you’re not a believer now, just give me some time.

Microsoft Coding4Fun – Mobile Camera Application

October 9th, 2009
Comments Off

Right now seems like a great time to get into mobile development. Microsoft recently released their Mobile Marketplace along with Windows Mobile 6.5. There is even some fun to be had with game development on the new Zune HD. And, with luck, Windows Mobile 7 will be right around the corner.

So, a few month’s ago fellow Exceptional Geek Robert Fischer and I put together an article for Microsoft’s Coding4Fun blog titled Building a Full Featured Mobile Camera Application: C4FCamera.

In a nutshell, the article details the process of creating a simple Windows Mobile Camera application from start to finish. It uses C# and is targeted at those new to Windows Mobile development. But, it certainly can be fun to play around with at any skill level.

I am happy to report that we have received a tremendous amount of positive feedback from readers. And, we have received some great suggestions on extending the project even further. With that in mind, I am hard at work on crafting a follow-up article that will introduce some additional features as well as some more advanced mobile development concepts. No ETA as of yet, but keep I’ll keep you posted.

So, you should check out the article and let me know what you think.

Related Links:

A Simple Code Syntax Highlighter for WordPress

October 8th, 2009
Comments Off

A few months ago I was looking for a code syntax highlighter and happened across Alex Gorbatchev’s javascript SyntaxHighlighter. It is a rather impressive project and is fast and feature rich. It is also incredibly simple to use. In other words, I highly recommend it!

With that found, my next search was for a good WordPress plugin that utilized SyntaxHighlighter. At the time of this search, there were a few options. However, none of them were very compelling and several had bugs. So, I sat down and put together a quick plugin that wrapped the SyntaxHighlighter functionality. This is how WP-SimpleSyntaxHighlighter was born.

So, what is WP-SimpleSyntaxHighlighter? Like the name suggests, it is just a simple SyntaxHighlighter for WordPress. Literally, all it does is insert the appropriate references to the SyntaxHighlighter javascript and CSS files. It also adds some basic configuration options to allow a user to decide what CSS theme should be applied and what code languages should be supported.

At the time of my original search, none of the other plugins allowed you to configure what syntax brushes were loaded. To me, this was a problem. SyntaxHighlighter supports a number of languages. Many of these I have little to no interest in. So, why would I want that extra code loaded for each and every page view on the blog?

Today, at least one other plugin supports this configuration feature. However, I thought someone might still find this plugin useful.

So, if you do find this useful, please let me know. Also, if you have any feature suggestions or find bugs, let me know.

Here is a quick C# example to show the plugin at work:

public class Hello1
{
   public static void Main()
   {
      System.Console.WriteLine("Hello, World!");
   }
}

Welcome to BI-Curious…

October 7th, 2009
Comments Off

I have been flirting with the idea of starting a blog for years now. Unfortunately, it always seemed as though I had a countless number of excuses as to why I shouldn’t. After all, there are thousands of great blogs out there, many of which are on the very topics that I intend to cover. Despite this, I decided to take the jump and am hopeful that I can provide a perspective that isn’t currently available.

My primary focus is Business Intelligence on the Microsoft platform. As such, the majority of the content of this blog will fall into this category. That being said, my interests are varied and ultimately the topics here will be as well. So, don’t be surprised if you find topics on system management with PowerShell or even geospatial mashups using Virtual Earth right next to a tutorial on Custom Transformation development for SSIS.

Finally, I have a fairly good outline of what I want to write about over the next few weeks. However, I am always looking for new topics and ideas. If you have any suggestions please feel free to let me know.

Author: Pierre LaFromboise Categories: Blog Tags: