View RSS Feed

All Blog Entries

  1. Viewing your site in Responsive Design Mode

    Hi everyone,
    The latest version of Firefox (24.0) offers some interesting new features, among which the possibility to view your site (any site) in Responsive Design Mode. So if you want to know how your site looks like with a mobile device (Iphone, Ipad etc.), view it using Firefox.
    (Not that I care much about people who use devices that inherently offer poor website vision, of course).
    Categories
    Uncategorized
  2. Preventing flicker when navigating between pages

    Pages that contain heavy script files may produce a white flash (flicker) when the user navigates between them. This flicker often occurs in IE and Chrome, less often so in Firefox. There are different solutions proposed on the Internet for solving the problem. I noticed they don't always work.

    There's a good chance the flicker goes away if you do the following:
    - Put your html-lines before your js-lines as much as possible. We can often move scripts (normally put in the head ...

    Updated 08-12-2013 at 06:44 PM by molendijk

    Categories
    Uncategorized
  3. Heaps o' Fun

    yes, I'm still doing the tutorial. : )

    Did you know ...?

    PHP Code:
    <?php

    class alphaHeap extends SplHeap{
        public function 
    compare$a,$b ){
            return 
    strcmp$b,$a );
        }
    }

    $alpha = new alphaHeap;

    # IN put:
    $alpha->insert'cat' );       // C
    $alpha->insert'dog' );       // D
    $alpha->insert'boy' );       // B
    $alpha->insert'elephant' );  // E
    ...

    Updated 12-23-2012 at 09:09 PM by traq

    Categories
    PHP coding , Off beat topics
  4. 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 11:58 PM by molendijk

    Categories
    Uncategorized
  5. 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 03:49 AM by traq

    Categories
    PHP coding
Page 5 of 19 FirstFirst ... 3456715 ... LastLast