Software Engineering : This category relates to interesting computer related stuff that I am researching or reading about. Most of it is in the area of .NET technologies which is the focus of most of my computer related time at the moment.
Updated: 9/21/2004; 3:37:39 PM.

 








Subscribe to "Software Engineering" in Radio UserLand.

Click to see the XML version of this web page.

Click here to send an email to the editor of this weblog.

Subscribe To
Mark's Weblog

 
 

Monday, February 16, 2004

This article, entitled "Planning a Service-Oriented Architecture", takes a long winded approach to getting to the point but it is an interesting read none-the-less.  The conclusion is simply that in order to successfully implement a Service Oriented Architecture (SOA) architecture you need to plan and execute in short iterations.


9:21:53 AM   []    comment []

In the past I commented on Regular Expression utilities here.  Today I came across another one that I really like called Regulator that appears on GDN.  Unfortunately, the source code is not yet posted publicly but presumably that will happen with time.  Until then I also presume you can join the workspace to gain access.

While taking a look at it I finally figure out that the reason Regex.Split() exists is because it is especially difficult (meaning I don't know how) to parse expressions that begin with the same pattern but don't have any meaningful ending pattern especially when they cross the line boundary.  In my case I was trying to split the following string:

<<What is your name <enter name>?:
>>Inigo
Montoya <The person's name>
<<Your name is "Inigo Montoya."

In my case I wanted to split the input into each string following "<<" and ">>" and allowing a match to span a line.  Doing this using Regex.Match() is beyond my capabilities but Regex.Split() with a regular expression of "(>>|<<)" was relatively easy.  It is more cumbersome to retrieve the exact value you want as I don't believe they can be named but still, I was able to get this to work.

P.S.  I am trying to parse the above text for an NUnitConsole program I am in the process of writing.  The program is designed to provide a unit testing tool for command line programs.  To begin this will be callable from NUnit but in the not too distant future I hope to make it a command line tool as well.


7:18:02 AM   []    comment []

© Copyright 2004 Mark Michaelis.



 


February 2004
Sun Mon Tue Wed Thu Fri Sat
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29            
Jan   Mar


Recent Posts