Category: Better Coding

SQL Pagination

I have often encountered the culture of query for thousands of results, estimate the paging and then only display a small segment of the results that were retrieved from the database. This is particularly bad in a web environment. This

Posted in Better Coding, SQL

Websites Responsive to Screen Size

I own a desktop, laptop, iPad and an HTC Android phone. Each device has a different screen size. I had never tried my website on the iPad and the Android phone until after the DIG 2011 conference in London Ontario.

Posted in #ldnont, Better Coding, Developer, Responsive, Screen Size, Skills, Web

DIG London in Review

Wow, what a great day to be had. I had attended the web developer stream of DIG London which started off with a Keynote by Jeffery Zeldman.  Jeffery had shown us the importance of responsive design and suggested a few

Posted in #ldnont, Better Coding, Community, Deployment, Developer, Ideas, London, Web

How I Achieved Decent Search Ranking

I recently showed my hit stats for my website to a friend, which include the GOOGLE and Yahoo queries. I was asked how I achieved my ranking. I typically see a rank between 3 and 20, which I consider respectable.

Posted in Better Coding, Developer, How To, Skills

Code Reviews

Developers often seem scared to allow another person to look at their code.  It is like they have a fear of someone stealing what they had done or that someone is looking over their shoulder.  Software developers and web developers

Posted in Better Coding, Contributing, Developer

Building a C-Sharp Class

I have created this example of a C# class to demonstrate one way of creating a basic class cbject representing one employee.  This class could be used as a starting point for just about any object. Take note that there

Posted in Better Coding, C#, C-Sharp, Developer, DotNet, How To, Properties, Reflection, Skills

Importance of Code Refactoring

By continuously improving the design of code, we make it easier and easier to work with. This is in sharp contrast to what typically happens: little refactoring and a great deal of attention paid to expediently adding new features. If

Posted in Better Coding, Developer, evaluation, Ideas, Mentor, self-improvement, Team, Team Lead, Team Manager

What Languages do I Use

I was recently asked what I use to develop software and websites. I mostly use DotNet Technologies as it is often interchangeable between websites, web applications and desktop applications. I can often use the same data access classes and business

Posted in Better Coding, C#, Cobol, entrepreneurship, evaluation, Ideas, IT, Personal Learning and Growth, Personal Thoughts, Professional Development, Technology, Visual Basic, Visual Studio, Web, Web Service

Shortcut To Creating Properties in C-Sharp

I was looking for an easy and consistent way of creating properties for classes.  I sometimes find that it can be a long drawn out process creating 5 to 100 properties for database classes.  Here is a quick example of

Posted in Better Coding, C#, Properties

Code Simplified

Working with junior developers through out my years, I have seen some funky and fun ways of coding.  The three styles I have seen the most are the following.    I have come up with BEFORE and AFTER examples.  Now

Posted in Better Coding, Developer, self-improvement