Subscribe to Martyr2's Programming Underground        RSS Feed
- - - - -

Stubbing Out Functions, Do You Do It?

Icon Leave Comment
If have ever taken a beginner programming class in school you were probably introduced to the idea of stubbing out functions. If not, let me quickly tell you what stubbing is. It is the process of identifying tasks in your design and setting up functions to handle those tasks. We define just the function signature (name, parameters and body)...
* * * * *

Create an Email Activation and Unsubscribe Script in PHP

Icon 1 Comments
If you weren't lucky enough to get a job with Google or Facebook, or even if you did, one of the first tasks you might be asked to do in your new career as a web developer is to create a subscription form. As part of creating this form will want to collect user information up front and then sending the user an email to have them activate their...
- - - - -

Integrate Your Favorite YouTube Channels with JavaScript

Icon Leave Comment
Like me you probably have several YouTube channels that you like to follow. Maybe you enjoy that crazy cat video channel or the channel which shows stupid people doing stupid stuff. Either way you want to bring those favorite channels to the world in all their glory on your site. One thing you want to do however is combine those channels into one...
* * * * *

Passing Data Between Forms - Using Delegates And Events

Icon 2 Comments
Back in an article I wrote in 2010 titled "Passing Data Between Forms in C# or VB.NET...
* * * * *

Easy Way To Post Multiple JavaScript Values To PHP Using JQuery AJAX

Icon Leave Comment
For the sake of argument, let's assume you have to pass a plethora of Javascript values to PHP through a POST submission. Maybe it is an array of numbers or simple point objects. You want to do this quickly and don't want to be bothered with using a hidden form or having to list out a ton of fields in some long data string that...
- - - - -

A Game of Memory in VB.NET

Icon 1 Comments
One of the first projects that someone new to programming often wants to do is a game. Often times they want to do something they have seen on their consoles or mega computer games without realizing how much work actually goes into designing and implementing a game of that scope. After reading a book about programming they realize how tough those...
* * * * *

A Beginner Tic-Tac-Toe Class for Java

Icon 1 Comments
Around this time each year we mentors on Dream.In.Code see a bunch of students and beginners, attempting to do there final programming projects, come on the boards asking for help with coding problems. Some even come on asking for ideas to help them out and a large majority want help with simple games they can do like connect four, "the snake...
- - - - -

Counting Number Frequency In Java

Icon Leave Comment
Over the past couple weeks I have noticed a lot of students asking questions about counting number frequencies. The student is often generating, or asked to take in input, and count how many times a series of numbers appear in the data. Sometimes they are given a file for the input and other times they are asked to take in numbers entered by the...

  • (2 Pages)
  • +
  • 1
  • 2