Skip to main content

Posts

Showing posts from 2014

WRITING A MAINTAINABLE CODE (C#)

Writing a maintainable code is very important in your application making, no matter how small you may imagine the program to be, always consider maintainability, even the largest programs start from small.You may have small idea at start up, but believe me, that idea may grow over time as the need for more functionality arises in your program, so its always very important to plan ahead. . So what plan are we talking about? We are talking about writing a code that is maintainable, a code that can be extended easily. The experts always write and talk about it, but have you considered what good it can do? Ok, you know the benefits, have you tried putting it into practice? You can write what ever you want (not recommended), but when you are getting into something you called a program, you need a lot of thinking. Below is the list of things you need to consider when making your program Plan your naming convention: naming convention is very important, ensure your variable naming

HOW TO HANDLE SIMPLE EVENTS IN WPF APPLICATION.

Starting out as a beginner programmer I always wanted to make a real world application, something different from a command line application. I was just looking for a blog created by someone who keeps things simply stupid, some people think that programming is really easy, but the fact is "programming is a complex thing you will ever get into as such it should be kept very simple for beginners like us" I made this post to show you how simple it is to control what a button does when it is clicked, so whether you are a beginner that doesn't know anything about programming, you will be getting the real idea of what happens when a button is clicked on the Graphical User Interface of  your program. So, for you to get this idea, we are going to be developing a real WPF application that says "Hello Word!" when a button is clicked. We will be doing this with Visual Studio 2012. Features of our simple program includes:  speech technology: We will make our progr

HOW TO INSTALL BLOGENGINE.NET WITH VISUAL STUDIO.

Yes there are lots of article on the internet that already describes how to do this, but that wont stop me from sharing my own idea on how I got mine rocking with visual studio 2012. Now here is the story, I woke up one morning and discovered I was departing from being a beginner programmer to a programmer who is at least worthy to be called a programmer. So I felt I needed to share my programming experience and the only known way I could do that, was to start blogging, hmmm... Just like you, I didn't like blogger, I needed  to be my own boss. So, I started my own blog project, but wait....  Why was I doing that when there are open source blog projects being developed and maintained by developers who are more "programmatically" experienced than I?. BlogEngine was the one I chose and the installation was a breeze. All I did was go to the site, downloaded the first zip file which is tagged "web", extracted it to my visual studio project directory, opened vi

Planning your programming project

Programming is one of the most complex tasks that exits. You may have gained hacking skills through your programming career, you may be a good code maintainer or a networking geek, but it takes more than your programming skills to put codes that do complex jobs together. With my little programming knowledge, I wanted to make  a very simple mathematics game program with Windows Presentation Foundation (WPF). Simple, I called it... I started it  without planning, believe me, it took me a whole month to complete this little thing. Well, I thought the reason why that took so long was because I was a biginner, but when a client brought a job specification that is similar or more complex than the maths program, I did it in two weeks without working round the clock. So, I realised what I was doing wrong, the specification my client brought was a detailed one and everything was on point and I also had a deadline which reminded me I wasn't joking. To make use of the new skill I gained

HOW TO MAKE A SIMPLE TEXT TO SPEECH(TTS) WINDOWS PROGRAM USING C# PROGRAMMING LANGUAGE.

This post is a beginner's guide on how to get started with speech programming in visual studio using c# (c_sharp) programming language. For those who don't know what a programming language is, in a nut shell, a programming language is simply a command based computer language used for instructing a computer to do a particular job. When I say job, I mean very complex job. Write the above definition in an exam and stand a chance of losing marks. The definition isn't all there is about what programming language is, so I suggest you make a good search to learn what programming language really is. Though, this article is for beginners but I will say "BEGINNERS ARE CLASSIFIED", am a beginner. If you are a beginner who hasn't tasted code in his or her life before, I suggest you go start something. A good learning source is "tutorial point", they taught me a lot. Now for you who have tasted code, you will need the following: Computer System running wind