ASP.NET Variables Won’t Hold Their Value

When it comes to working with ASP.NET most developers who have done standard desktop development always run into the problem of their class variables not retaining their values. You create a variable at the class/page level and expect that when you click a button or change a server control on the page that those variables will be there when its event is triggered. But in many cases they are not ...

The Main Method Is a Conductor, Not a Member of the Orchestra

As many of you already know, I am a regular mentor on Dream.In.Code. With that I see common mistakes and design issues more than most people will probably ever seen in their full career. One design issue I would like to talk about today is the role of the main method and why it should be treated more like the conductor of an orchestra than 10 different band members. The ...

6 Helpful Tips on How to Learn Programming

Undoubtedly if you are new to the computer programming scene you have been overwhelmed by the number of other people telling you how to go about learning a new language. These people might be saying things like "Go to Codecademy.com" or "Check out this online tutorial". But what many of these programmers really miss is that people should use multiple resources in tandem when it comes to learning. In this ...

Tips and Tricks for Staying Motivated With Your Programming Project

Do you have a project that you were really excited about in the beginning but now your lack of motivation has you saying "Not that project again, bleh"? I think we all suffer from that once in awhile. Especially on those projects where we are not the lead or never thought of the project to begin with. How are we going to get excited about making a program to track ...

Really Simple PHP Login / Logout Script Example

One of the first scripts people new to PHP (or any server-side scripting really) create is a login and logout form for their site. Often times beginners get a little confused as to all the parts necessary to creating such a thing. So I thought it would be helpful if I showed a really basic and easy to use PHP login / logout script. The script uses an existing database ...

Myth: There is a “right” first language to learn.

I can't even count how many times I have seen someone new to the programming scene ask the question "I am new to programming and want to know which is the right language to learn first." Then of course there are a ton of veteran programmers that jump in there and start recommending every language under the sun and all sorts of ways to go about learning them. "No learn ...