View RSS Feed

All Blog Entries

  1. New windows, new tabs and popup blockers

    (To see and test what this is all about, you should download Safari if you haven't already done so. After that, use the code below with popup blocker enabled AND with popup blocker disabled, using Safari).

    When a new window or tab is not explicitly requested by the visitor of a site i.e. when the window's appearance is attached to such events as onload or onunload, popup blockers (if enabled) will prevent a file from being opened. But when the window's appearance is attached to an ...

    Updated 12-07-2012 at 10:58 PM by molendijk

  2. Before You Start: the basics, for PHP in particular and for programming in general

    I wanted to take a few moments to talk about some of "the basics" that are all-to-often glossed over...

    A Matter of Style

    In general, I find that most PHP programmers fall into one of three main programming styles:
    • procedural: a simple ordered set of instructions, nested if's/ else's, etc.
    • functional: functions are little code containers that you can call on when needed. You [usually] give them arguments, they [usually] return values to you.
    • object-oriented:

    Updated 12-17-2012 at 02:49 AM by traq

    PHP coding
  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?

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


    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:
        <title>My First PHP Page</title>
    echo "Hello World!";
    Before I blast this, I want to ...

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

    PHP coding , Web Design issues
  5. Putting text on top of a video

    In July 2010 an enhancement to the YouTube video embed capability became available through a new embed code style. This style uses <iframe> and looks like this:
    <iframe src="" frameborder="0"></iframe>

    After VIDEO_ID? we can add the normal parameters, like this:
    <iframe src=";autoplay=1&amp;rel=0&amp;showinfo=0&amp;autohide=0&amp;modestbranding=1&amp;vq=large"

    Updated 10-14-2012 at 06:10 PM by molendijk

    JavaScript & Ajax , CSS related
Page 9 of 22 FirstFirst ... 789101119 ... LastLast