Me + nodejs = happy programmer!

May 15, 2012

So I have just finished a project that requires a connection to a mssql db…I know, why not use .NET? Well no offense to you die hard .NET’ers out there, I just don’t really care for .NET, Sorry! :( I originally did this project in python and it worked great! err…well except windows authentication to mssql, still haven’t figured that one out :/, But I digress!

I have recently been playing around a lot with nodejs, so I said to myself why not port this project over to js? I began looking at libraries for mssql written for node and I came across tedious, I slightly giggled when I seen the name, I installed and quickly wrote up a little unit test and much to my surprise I was greeted by success! It was the simplest thing I had ever done! Next I asked is there a web-server framework like tornado for node? A quick google search brought me to express, and in hardly anytime at all I had what I previously wrote in python completely ported over to javascript.

HTML 5 web components

March 14, 2012

HTML5 is rapidly maturing into a extremely powerful platform, there are so many new API’s and tools that make the idea of having a web application a reality. One of the API’s that caught my eye is HTML5 Web Components. Web component allow to extend the basic syntax of html by creating inert templates, for example creating a button that as a default function on creation would previously require you to write quite a bit of javascript that did a whole bunch of nonsense. Well now all that is necessary is to create a new html element that extends a basic button element, which would look like this.

1
2
3
4
5
6
7
8
9
10
<element extends="button" name="x-fancybutton">
    <script> 
        this.onclick = function(){
            alert("hello world");
        }
    </script>
    <template>
        <content></content>
    </template>
</element>

What Direction?

November 8, 2011

Well starting a blog is proving to be a difficult process. I have so many ideas for this site as a whole obviously it is my personal site so a portfolio will be a must.

This site will be a programming blog mostly and will have lots of tutorials and tips that I have learned and will learn in the near future. I am currently preparing to work on a new interface on my works SIS (Student Information System) it will be a fairly large project moving it from the current Microsoft Access front end to a web based ux. With this project I hope to learn new ways to further my knowledge of best practices for ux design.
I also do, however seldom it might be, freelance webdesign and starting a new contract with a company designing their website and will be furthering my knowledge of WordPress templating.
Chris McKenzie Doesn't care about attribution, bro - It's all yours under a Creative Commons 0 license