« Books | Main | Methodology »

Friday, May 21, 2010

Thoughts on business and life

Well, I need to get a few thoughts down 'on paper,' so I guess this is where I'll start.

Seeing a business as a fixed entity, like a rock, is obviously incorrect. A business is alive. But is it alive like a tree? Is it like a person, with its own personality and dreams? I am thinking about a river or stream metaphor. There may be water on the brain, as it is really raining outside today.

What is a stream?

The stream bed - a static (over the short term) arrangement of dirt, rocks, and plant life, around which the stream arranges itself.

The water - a constantly renewed, but fairly consistent in terms of composition, amount of H20 and other dissolved material, travelling through a location on the way to wherever the stream goes.

The current - a set of forces combining gravity with the mass and characteristics of water, interacting with the stream bed.

A snapshot of a stream shows the water interacting with the stream bed according to the forces of the current, leading to a pattern of waves, ripples, waterfalls, eddies, areas of strong and weak flow, that together make up what we think of as a 'stream.' But as the proverb says, 'you never step into the same river twice,' even though the stream bed is recognizable (changing over a long time scale) and the water is following a similar pattern as it did the day before.

So is business like a stream? There are multiple time scales at work, and lots of different forces interacting, leading to an 'entity' that is only similar to itself over time. Customers, the marketplace, the competition, ownership, and staff can all change, but generally all of those things change over a longer time scale than hours or days, leading to the ability to approximate a business as a static entity, even though it is changing.

I was trying to understand time scales in chemistry class in university, and the professor made a good point. Monkeys swinging from tree to tree do not take into account the fact that the tree is growing. The difference in time scales allow the monkey to ignore the growth in the tree.

So a business is a changing collection of materials, forces, and people, that only maintains its identity because most of the factors that influence it are changing on a timescale much longer than the human scale of tasks, projects, hours and days. So a business as an entity is an artificial construct, but it is a useful approximation, since we can act in relation to that construct and it will react somewhat predictably. Understanding the business at any time will allow one to interact with the business (as an employee, an owner, a customer or client, a competitor) until the slow changes occuring within the business make ones understanding obsolete.

I am in the business of business process management, which is akin to redirecting a stream bed so that the water flows in some useful way. My son was just outside in the rain, digging channels so that the puddles developing in our gravel and mud driveway would drain into the surrounding trees. Businesses need to be aware of the forces within themselves. Rearranging some forces or environmental factors may lead to increased productivity, or may lead to a whole new identity for the business.

This post may need some editing, but it is good to at least get these ideas down so that I can develop them based on something concrete.

Posted by Dave at 2:17 PM : Comments
Categories: Business

Thursday, March 19, 2009

Registered with Elance

I spent this morning registering with Elance, an online virtual outsourcing broker. I think this is a positive step for North Creek. Most of the jobs on Elance are bite-sized, and I can build up my portfolio (from nothing) with a few well-done jobs (and develop a set of references for the business, not just for David Block, employee).
In filling out the profile, I discovered some things about myself. I am not too confident in delivering a beautiful, dynamic, functional website (using PHP and some CMS), but I am ready to compete on requirements gathering, architecture, design, data modelling, and back-end coding. So that is where I can make some money, and then as I develop a better toolset for graphical front ends (whether desktop or web), I can start competing in that space as well.
My goals are crystallizing for North Creek's architecture. I want to write nothing from scratch after a job has been won - even for the detailed customizations that every client will expect. I want to build a suite of generic applications that can be quickly modified to meet the needs of my client base. My goal is 18 hour turnaround - if you tell me in a morning meeting what you would like to see, I want to be able to provide a working demo (not a hack) by the next morning meeting. This provides me with a framework around which to make architectural choices.
In a surprise move, I am quite seriously considering learning C++. I now have two books (one on generic C++, one on building with Qt), and have downloaded the relevant frameworks from Qt that will allow me to write serious applications for multiple environments. I have spent my entire working life with multi-tier environments, but that doesn't seem to be a big factor in small businesses, so this evolution seems to make sense. I will keep this blog updated as I progress and make more choices.
Posted by Dave at 2:07 PM : Comments
Edited on: Thursday, March 19, 2009 2:10 PM
Categories: Business, Software

Wednesday, February 18, 2009

Coding Options

I have discovered that I have been away from coding for a while! My last coding assignment was with EDS(www.eds.com, now a unit of HP), working on an existing codebase that dealt with a mixed Oracle/mainframe backend, with a Java servlet/JSP front end (http://travis.gov.ab.ca). This was a familiar environment, since I worked on similar systems at Novartis (www.gnf.org) and the University of Alberta Human Metabolome Database Project (metabolomics.ca). However, my work at EDS transitioned into Business Analysis, including a lengthy stint as a facilitator for a large-scale Smart Card implementation. While I was gone, the world changed!

The world has experimented with web user interfaces (UIs), and has found them wanting. In their place, the Rich Web has gained prominence. This primarily has meant AJAX, and in practice, the Google Web Toolkit along with other offerings. Adobe has introduced Adobe AIR, which allows cross-platform desktop development based on Flash. And the rise of the Mac platform to relevance has re-invigorated cross-platform library solutions, such as Qt, a unit of Nokia, which provides Java and C++ development environments that can be targeted at almost any platform, including Linux, Mac, Windows, and many smart phones.

So I want to develop custom, easily modified business software. So do millions (?) of other developers. I hope that my choice of technology gives me a business advantage. Of course, my primary business advantage is that I will start by creating a relationship with my clients, and then will meet their perceived and actual needs. This means that my choice of platform must allow me to fulfill those needs within a cost and time structure that allows me to be profitable.

So, what do I do? Here are some major factors in my decision-making process (which has not finished yet!):
1) Run on desktop vs. remote server: Do I set up a server and allow my clients to log in to the server? Or do I send a complete solution to the client desktop, including a persistence solution and all business logic?
My experience and my instincts suggest that if I can control the server, I can improve the experience for the client without the pain of an upgrade process. This should allow me to iterate rapidly towards a really good product.
2) Web client vs. Rich client: Should the user interface be compiled to run on the local machine, or should it be mediated by one of several possible browsers, over an uncertain network connection? This seems to be somewhat of a false dichotomy, as long as the client has decent bandwidth. With my choice of a server backend in #1, the bandwidth seems to be required. Can a solution such as GWT support enough functionality to make the browser "disappear?" Or would a Java client offer enough speed and interactivity to make the browser interface seem clunky? Perhaps I should let Qt provide the UI framework, and write once, test everywhere?
3) Client hosting of data: Will the clients be comfortable with their private business data in the "cloud," or should I sell them on local appliances that host their solution on their local intranet (which means in many cases, setting up an intranet)?
The low cost of desktop hardware leads me towards this second option, where I build and configure a server that hosts the persistent data and the application, which is served to the client desktop (through something like Java Web Start, or through GWT, or Adobe AIR). This allows me to set up backup schemes and encryption to reassure the client of the security of their data, and gives me a single upgrade point per client.

Given the explosion of virtual server environments available, I believe this progression of questions and answers will lead me to develop a standard appliance that can be easily loaded into a commodity PC. This appliance will host the applications required by the client, while the data will be stored on the PC outside of the appliance, allowing for quick swapping of images when I wish to push out an upgrade or bugfix, without touching the client data.

I have a lot of experience with MySQL, and combined with its price point (free!), I plan to stick with it for now (while watching PostGres et al). Combining MySQL with a JVM and a servlet container (Tomcat? Jetty? Jboss? I'll decide later... the joy of standards) gives me a comfortable backend. Now, developing on the front end for the JVM has gotten interesting, and that's where I'm still experimenting. GWT? AIR? I will probably pass on AIR for now, as its advantages are pretty small compared to the other options, and there is a small upfront cost involved. I'm still happiest with free tools.

I am taking a good long look at Qt, and its Java implementation, Qt Jambi. That combination gives me a near-native front end (from C++ compiled into native code) combined with Java (which I actually have worked in before). If it's not dynamic enough (more on that in a later post), I will probably invest some time in GWT, and then fall back to HTML+javascript as a last resort (but the one I actually know how to do now).

Suggestions?
Posted by Dave at 1:45 PM : Comments
Edited on: Wednesday, February 18, 2009 1:52 PM
Categories: Business, Methodology, Software

Monday, February 09, 2009

A little progress

Well, a bit of an update.

I'm coaching a basketball team (my son's Grade 7 team), which takes up some brain space on Mondays (practice) and Wednesday or Thursday (games). They are just beginners, but that's fine, so am I :-)

So today I just got started on a database schema, and then had to plan my offense. The practice went okay, but the kids need way more repetition before they do the offense naturally. So hopefully they at least have fun.

My database schema - very basic:


  mysql> show tables;
  +----------------------+
  | Tables_in_northcreek |
  +----------------------+
  | event                |
  | participant          |
  | party                |
  | time                 |
  | type                 |
  +----------------------+
  

These tables will be the start of a generic framework that allows me to create business applications using metadata rather than code. At least that's the plan. I need a template system for the UI (View), a workflow system for the Controller, and an extensible, Universal data model for the Model. My goal is 1 day turnaround from requirements to prototype. So Monday requirements meeting with a client, Wednesday demo of those requirements in a production app.

If I can get this to work, then I should be able to undercut commercial business accounting software and still make money on support contracts. But we're a ways from having a Quickbooks feature set. That's the target, though.

I may use Qt as the development framework - cross-platform development including smart phones and Java. It depends on if I can figure out how to template a dynamic UI that runs off of metadata. I know I can do that using web technologies, but that introduces servers and browsers, etc., which is not all bad, but might be overkill for a small office.

I've also downloaded Scala to play around with - the alpha geeks have given it a thumbs up, and it runs in the JVM, so I can integrate it with everything else out there (including Spring). I'll keep this blog posted - I just completed a Hello World app that actually ran in Eclipse :-)

Bedtime for the kids. Out.

Posted by Dave at 8:32 PM : Comments
Edited on: Tuesday, February 10, 2009 2:21 PM
Categories: Business, Software

Thursday, February 05, 2009

Introduction

Welcome to the North Creek Blog. This will be a record of the creation of a new software development company in northern Alberta.

My name is David Block. I am starting the company I would like to work for (Thanks for the idea, Joel). It will use agile, Test-Driven Development, and it will assemble Open-Source tools and libraries to create custom applications for small businesses that have the capabilities of much larger, more expensive commercial software. I plan to stand on the shoulders of many other giants, and see what comes of the process.

I have a few ideas of my own. I like working off of a real database engine, so I will start with a general database schema that will store most of the nouns in the program. Then, I will build a workflow solution on top of that schema that thinks in terms of verbs. The verbs will lead to the dynamic generation of the interface needed.

I have a library of database interaction code that I have developed over several previous projects, for different employers. The latest name for it is DBDB. I will use it as the ORM for my application. It is very lightweight, and requires very little maintenance to adapt to dynamic database schemas. I don't like maintaining a big xml file - flashbacks to J2EE.

I will also use a lot of Spring for setting up the project.

I will try to post reviews of useful books, projects, and libraries as I try them out.

Currently, I'm trying to read some of the books that have been sitting on my shelf for a while: JUnit Recipes, The Pragmatic Programmer, and Uncle Bob's Agile Software Development. Now I have to try to apply those principles as a small business owner, working on my own.

Hopefully I'll see you around.

Posted by Dave at 6:21 PM : Comments
Edited on: Friday, February 06, 2009 12:12 PM
Categories: Books, Business, Methodology, Software