Automating menial tasks...

Recently I have realized that most of the time that is taken away in a project is because of the menial tasks that we have to do. For example you have just designed a database and have just started writing an application. Now you need to test the application and do not have data in the database. How would you test it? Another small example is regular expression validators in ASP.Net. You can't remember all the regular expressions at all times and have to a bit of research to get your exactly required expression. Another really good example is creating entity objects. You want to use typed datasets and want to create entity objects which have properties that match the tables in a dataset. Basically you want to create one class for each table in the data set and use them as data carriers in the application.

These things are important but they take away a lot of your development time. So I think all these tasks should be automated. I have started writing a few utilities that actually automate the process of inserting data into the database or create regular expressions and test them or create entity objects.

These three utilities are at the top of the list for me as of now. Basically I am on a Utility writing spree these days...

Published Tuesday, May 03, 2005 11:08 AM by Nilotpal Das

Comments

Tuesday, May 03, 2005 12:54 PM by Jason Hoekstra

# re: Automating menial tasks...

As for the last utility, I'd highly recommend finding a code generator. A personal favorite of mine for the .NET environment is http://www.mygenerationsoftware.com/.
Tuesday, May 03, 2005 2:15 PM by Darren Neimke

# re: Automating menial tasks...

Cool stuff!! Nothing is more rewarding than writing your own tools :-)

Tuesday, May 03, 2005 7:13 PM by Matt Smith

# re: Automating menial tasks...

Don't forget to check out CodeSmith and LLBL Gen Pro!
Friday, May 27, 2005 9:16 AM by Javier Luna

# re: Automating menial tasks...

I believe that any DataLayer must be a simple code block, that they allow operations against DB.

That code block would not have to know on the Business Entities. Single to specialize it is to execute the operations (Store Procedures and SQL Sentences) against the engine DB (SQL, Oracle, DB2, etc.), with which this setting.

Finally, I invite to you to download the DataLayer.Primitives Public Version.

This is very cool Data Layer :)

DataLayer.Primitives - Readme!
http://forums.microsoft.com/msdn/ShowPost.aspx?PostID=1389

Cheers,

Javier Luna
http://guydotnetxmlwebservices.blogspot.com/

Leave a Comment

(required) 
(required) 
(optional)
(required)