• Home

CodingExperiments.com

CodingExperiments.com is a site where I can (obviously) experiment with various demonstrations of code.

Search

Category:

  • AJAX
  • Announcement
  • Apple-related
  • Best Practices
  • Blogger
  • Blogging
  • BurstCMS
  • Content Management System
  • Debugging
  • Experiments
  • FriendFeed
  • Gaming
  • General Code
  • Internet
  • Javascript
  • Linux
  • Microsoft
  • Microsoft Windows
  • Networks
  • Open Source
  • PHP
  • Programming Tips
  • Rant
  • Security
  • Storage
  • Twitter
  • Ubuntu
  • Uncategorized
  • Web Development
  • Windows Vista
  • WordPress

Archives:

  • November 2008
  • October 2008
  • September 2008
  • August 2008
  • July 2008
  • June 2008
  • May 2008
  • April 2008
  • March 2008
  • February 2008
  • January 2008
  • December 2007

Pages

  • About
    • The Authors
  • Commenting your code
  • How to Write Papers with Groff
  • ModCMS Anti-Spam Component Set
  • ModCMS Technical Specifications
  • Regular Expressions Guessing Game
  • Saving code directly to a web server
  • The (Almost) Perfect PHP 404 Page

Meta:

  • RSS
  • Comments RSS

Awesomeness tracker

CodingExperiments at Blogged View blog authority
Free Page Rank Tool

My Idea: the Dual Tutorial

June 16th, 2008 by possible248

Sometimes, there are two ways to do things. It’s great if a programmer knows how to write a specific block of code in both ways, and understand the advantages and disadvantages of doing so. Now, why not take web tutorials or technical books and have them teach two things at once? If it sounds a little confusing to you, think of it this way. Let’s see, there are a lot of online PHP tutorials out there, so let’s use that as an example. Let’s say we have an online PHP tutorial that teaches how to use MySQL and PostgreSQL with PHP.

The programmer, previously knowing how to work with neither, now knows how to work with two popular databases that PHP supports. I think that the dual tutorial could greatly improve what is learned from a tutorial or book that applies this concept. It will also save the programmer time as he does not have to learn something else in the event that he cannot write something the way that he wants to (or, continuing with the database example, MySQL is not available).

But might be a problem with my dual tutorial idea. What if teaching two ways to do everything takes too long? Well, it depends on how much is taught in the tutorial and who the audience is. If the audience is a beginning PHP programmer that wants to learn to program well, that programmer might be willing to spend more time on learning in exchange for being able to write better code.

So, what do you think? Is the dual tutorial actually something that might help people learn, or is it just another idea that wouldn’t work?

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google
  • Reddit
  • Slashdot
  • StumbleUpon
  • TwitThis

No related posts, but you might find these interesting

  • August 29, 2008 -- Due to Popular Demand, I Present an mp3 of Me Singing ‘Never Gonna Give C Up’
  • June 23, 2008 -- User Interface Tips for Large E-Commerce Websites
  • June 22, 2008 -- Beginner PHP Programmer Mistakes Part One: Using Global Variables


Posted in Experiments |

discussion by DISQUS

Add New Comment

  • Subscribe:  This Thread
  • Go to:  My Comments ·  Community Page
  • Sort thread by:

    Viewing 2 Comments

    Thanks. Your comment is awaiting approval by a moderator.

    Do you already have an account? Log in and claim this comment.

      • ^
      • v
      • Permalink
      • Admin
        • Remove Post
        • Block username
        • Block email
        • Block IP address
      Voyagerfan5761 06/17/2008 12:16 AM 1 point

      Please login to rate.

      Do you already have an account? Log in and claim this comment.

      As soon as you started talking about databases, I immediately thought about the two different ways to handle connections. You can do OO-style and procedural style (the difference between $dbc->query( $sql ); and mysqli_query( $dbc, $sql ); ). For some reason I thought of that instead of the differences between MySQL and PostgreSQL.
      reply  edit  reblog  flag
      5 /people/Voyagerfan5761/ /people/Voyagerfan5761/following/ http://voyagerfan5761.blogspot.com/ 723001394 voyagerfan5761 voyagerfan5761 voyagerfan5761 voyagerfan5761
      • ^
      • v
      • Parent
      • Permalink
      • Admin
        • Remove Post
        • Block username
        • Block email
        • Block IP address
      possible248 06/17/2008 10:13 AM 1 point

      Please login to rate.

      Do you already have an account? Log in and claim this comment.

      Well, any two things can fit into a dual tutorial, as long as both ways contain good programming practices. MySQL and PostgreSQL have just been on my mind lately.
      reply  edit  reblog  flag
      3 /people/possible248/ /people/possible248/following/ http://codingexperiments.com possible248
     
    discussion by DISQUS

    Add New Comment

    Trackbacks

    (Trackback URL)

    close ()

    status via twitter

    recent comments (follow comments)

      View Profile ยป
      Powered by Disqus · Learn more
      close Reblog this comment
      Powered by Disqus · Learn more
      blog comments powered by Disqus
      On FriendFeed, this post was liked by 0 people and commented on 0 times hide
      View this post on FriendFeed

      Add a comment on FriendFeed




      Logged in as [logout]

       
      Wordpress Themes by and Website Templates by Blogcut Blogged Blog Directory Blog Directory - Blogged