Posts

This Clean Code Experiment Dedicated to Non-Coders

So now it’s been about two weeks since I first wrote part one of this two part series. I only had two comments up to this point and one of them was a reply from me to the first comment. The one comment came from Amy. She pointed out that she liked the shorter cleaner version of the code. However, she wondered if that one could really accomplish everything that the longer nastier version was accomplishing. To point out the short answer: Yes it can and I’m about to explain why and what the benefits are. Read More

General Steps to Resolve a Complex Software Defect

In a perfect world the software product would be free of any bugs or defects. The software will use best practices of design. The developers will approach the design with engineering principles that take into account performance, scalability, flexibity, targeted loads, etc. In the real world there’s no software product that’s 100% free of defects. There are simply too many factors that affect the functionality of a complex system. The factors are many to include... Read More

PostSharp on Visual Studio Magazine

It's a good feeling when you publish a post on a topic and then you get confirmation from a well-respected authority in the community. This is exactly what happened recently with a post I wrote on using PostSharp . I wrote about PostSharp and two months later Visual Studio Magazine published an article on the same topic. Here is the post I published: Simplifying Logging in Your Application with PostSharp Here is Visual Studio Magazine's article on the topic: AOP with Post Sharp Although Visual Studio Magazine provided a well-written, polished article and mine was merely a blog post, I still like the confirmation that the post was written on a relevant topic.

Oh I Forgot to Mention...

If you have been following this blog, you may have noticed that I haven't published any new posts. The truth is that I have been publishing posts, just not to this site. I've been publishing posts to www.codematterings.com . I didn't think about it much at first and wasn't sure how to best share the posts here and on the other site. The other site is part of the organization where I am currently employed ( McLane Advanced Technologies ). So what I'm going to be doing from on is to simply place the links here to send you over to the real post. In the mean time here are the posts that you may have missed: java-certification-demonstrates-your-understanding-of-oop friendly-exception-messages-are-good-for-the-user-as-well-as-the-programmer i-am-moving-from-c#-to-java Mixing Shapes from Different Templates In Visio videos-from-aspconf-day-1-are-online simplifying-logging-in-your-application-with-postsharp-and-aop json-is-the-new-xml-for-data-trans...

A Simple MongooseJs Example

As my latest coding adventure I've decided to give node.js a try.  I read this short little tutorial name the Node Beginner Book.   I went through the entire book in one day.  The book provided me with enough knowledge to be able to produce simple website.   The good accomplished its goal but it did not cover database communications.  I can't think of any business application that does not communicate with some sort of database for storage.   I'd heard that a good choice for using for storage with node.js is MongoDb .  Being that I am totally unfamiliar with MongoDb I did a quick google search and found a driver that can be used to connect node source code to MongoDb.  That driver is called mongoosejs .   So now that I knew all the components to have a database with node I decided to try to connect all the pieces together.  I gotta say that it was not easy for various reasons.  The mongoosejs site was inadequate for me...

Austin Code Camp 2012

Austin Code Camp 2012 will take place on June 9th this year at the St. Edwards Professional Education Center in Austin TX.  Code camp is an all day event full of great training and valuable information.  One great thing about code camp is that it's free -  the best part is the value is in the content.  You can find more information at the official site http://austincodecamp2012.com .  Code camp is an awesome conference that has always provided a lot of valuable information to the developer community and to me personally. I am proud to announce that I will be presenting this year at Code Camp.   If you haven't already signed up to attend I gotta ask "what are you waiting for?!!"  Go visit the website and vote for the presentations that you are most interested in.

My Experience with PHP Thus Far

I started reading the book Beginning PHP 5.3 Wrox by Matt Doyle a few days ago,  I've read quite a bit, so far I'm up to page 160 on chapter 7.  I'm a bit excited by what I've learned so far.  So far I've learned about the following things. Data Types Arrays String Manipulation Functions Callbacks I was even able to implement a master page-like functionality using PHP. I've been amazed at how easy it has been pickup the PHP language.  It sort of reminds me of the C language because of certain things like it's Printf functions as well as the implementation of local static variables.  I don't know the full history of PHP but I can see the influence that C has had on it as a language.  Its C-like implementation has helped me tremendously in picking up the language.  The one thing that is a little different than anything I've ever seen is its implementation of arrays and associative arrays.  They are a bit more flexible than most of your out-o...