Fundamentals of programming.

When it comes to programming, no matter the language there is one basic principle you need to know and understand if you don't already.

All programming is, is the manipulation of data. Here is the basic process when it comes to programming...

-* Receive

-* Process

-* Save

-* Retrieve

-* Display


The first step is receive. No matter what the program, it always needs input from the user for them to use the program weather it is an action or data entered by the user.


The second step is processing. Processing the data that you received from the user.

Once you receive the data from the user, you need to process the data. With this step you either identify the action that was received from the user or data that you received from the user to be stored in the next step.


The third step is saving the data. This could be something small like a action indicator that is just stored in a variable or data that was inputted by the user to be saved either in a database or XML or whatever is required by the specific program.


The fourth step is retrieve. Retrieving the data from where it was stored or this could be a response for the user about the data that was stored or this could be the data that was requested by the user in an action.


The last step is displaying the data that was retrieved with step four in the proper format for the user to understand.

These five steps forms the basis of every program regardless of the language it is written in. Once you understand this process it makes any project seem easy.

When it comes to large projects, if you look closely you will see that it's just a bunch of small "programs" that work together to accomplish a bigger goal and each one of those smaller "programs" uses those five steps. Looking at a large project in a larger scope it also follows those five steps even though it comprised of small "programs" following the same five steps.

By looking at a program as a bunch of smaller programs, it also makes it easier to plan larger projects and break them into phases that can be completed without causing issues with regards to the "running" of the program in any phase.

On the mental side the breaking up of larger projects into smaller pieces helps to relieve the stress of viewing a large project and thinking it will never get done. It also motivates you as you finish smaller parts of the larger program thus giving you the joy of completing something.

This is the basic fundamentals of understanding programming and handling the process of developing a program.

Follow these practices when you develop and you will never be dissatisfied in your career.