Posts

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...

Solution to Trouble Accessing PhpMyAdmin with WAMP

I've recently started playing with PHP.  PHP has some great resources and for the most part it was easy to install on my windows box with WAMP (Windows Apache MySql PHP).  I initially ran into an issue because I could not access myPHPAdmin. Instead I got the following error:  #1045 - Access denied for user 'root'@'localhost' (using password: NO) Apparently this indicates that I am not using a password.  For me it meant that my password was not set in MySql and also that the configuration file had no password set. I did some searching throughout the web and found several solutions that probably work but the one that worked for me was this one http://www.sitepoint.com/forums/showthread.php?846777-1045-Access-denied-for-user-root-localhost-%28using-password-NO%29 It appears that I already had installed mySql prior to installing WAMP but had never configured it.  It was just a matter of running it from the command line, setting up the password and then mod...

Real Lessons In Software Development Part 1

Design Considerations for Processing Data in Batch Processes  In my software development journey I've learned many lessons that have caused me and the teams I've worked in much grief and extra effort.  Most of these issues are completely avoidable and avoiding them will extend your life. OK! OK! They won't extend your life but they may help in slowing down rate at which you either lose hair or acquire new gray hair. I want to emphasize that these lessons come from true pain and experience and you should really consider the points I make whenever you are faced with them. I plan to write about these lessons as a series.  I don't know how far the series will go but I can assure you that there will be more to come. In this particular lesson I will provide a few tips about batch processes.  I don't want you to think of batch processes as they are implemented with any specific technology - batch (.bat) files for example.  A batch process is simply a way to...

Mobile Blogging to Blogger is Half Baked as of Now

Apparently mobile blogging is only half-baked. When you see all of my previous posts prior to this one they will appear as jiberish. The reason being is that I was trying out this concept of mobile blogging.  The idea is that you send  the text message "register"  to the number 256447.  That then sends you back a couple of messages with links that help you link that number to your blog.  You can either link it the newly created mobile blog - which you can claim.  Or you can link it to your existing blog. I chose the latter. You then send messages to that number and they post to your blog automatically. The result was cryptic at best.  As you can see in my previous posts, I have several posts even though I only sent one long text.  Also you can see that it's some weird mono spaced font. The advantage of that was supposed to be that you can actually send posts from your mobile.  The other advantage is that since I have an iPhone 4S I c...