Advanced Search

View RSS Feed

Recent Blogs Posts

  1. HedgeClipper [part 2]!

    Hey guys, I hope everyone has had a great start to the new year.

    If you're just joining us, we're making hedgeclipper: a user log-in system. Last time, we outlined the basics of how hedgeclipper will work, and wrote a controller function for the whole thing. This time, we're going to focus on checking if the user is logged in or not. Before we start demanding a username and password, we're going to check if our user already logged in on a previous page visit. Have a look:
    ...
  2. A Really Big PHP Tutorial [...part 1]

    .
    Who Is This For?

    I'm going to make some assumptions about you, as a programmer:
    • You're probably not an expert with PHP, but you know at least "the basics."
      If you're a copy+paste PHP coder, that's okay, but hopefully you won't be once we're done.
    • You have some patience. Yes, you want to see results; but you can trust that they're coming.
    • You're "okay" with doing things you've never tried before.

    There are some things I would like you to know ...

    Updated 01-13-2013 at 11:30 PM by traq (added 'expiry' config option)

    Categories
    PHP coding , Web Design issues
  3. Taking Control

    Last week, I wrote about taking a "PHP-first" approach to programming - program first, output last. But what should go first in your program?

    M-V-C
    You may have heard about something called "MVC" (Model-View-Controller). If not, here's your crash course:

    Model

    Your Model is all of the information needed/used by your program. [Hopefully], the Model is well-organized. Think of it in terms of note-taking: notes are easier to ...
  4. Every PHP Tutorial Is Wrong

    Many PHP tutorials begin with an introduction to the "basics" of the language: the <?php ?> tags, and usually the echo construct. For example, something like this:

    PHP Code:
    <html>
    <head>
        <title>My First PHP Page</title>
    </head>
    <body>
        <?php
            
    echo "Hello World!";
        
    ?>
    </body>
    </html>
    Before I blast this, I want to ...

    Updated 11-03-2012 at 01:27 AM by traq

    Categories
    PHP coding , Web Design issues
  5. Lightbox Bad, SlimBox Good

    The title overstates the point. Both these scripts in their latest versions are pretty darn good as are many of the other Lightbox type scripts out there (see end for two others or Google Lightbox for more, though not all are as good as those mentioned here, many including the original Lightbox mentioned in the title of this blog entry are).

    Here's the real story -

    Some time ago Dynamic Drive's Lightbox by Lokesh Dhakar was added to the Dynamic Drive official scripts. ...

    Updated 02-29-2012 at 12:54 AM by jscheuer1 (add info)

    Categories
    DD Scripts Mods , Post a JavaScript , JavaScript & Ajax , Web Design issues
Page 1 of 2 12 LastLast