Computer Programming

Yes, a bit specific, but I need to store some links!

Logging Very Slow SQL Queries, in PHP

MySQL has a feature to log slow queries, and it's nice, but the problem is, a lot of the queries look alike. So what you want is a backtrace so you can find the code that created the query.

Product Key Scheme

This is a concept for a product key activation for a web application. You download the application, install it on the server, and then it will allow you to buy a key via a website.

Learning Javascript via the Read Eval Print Loop (REPL)

All the tutorials out there teach JS by having the user write a file, and load it into the browser.

Javascript APIs and Libraries Change the Game

I was thinking a bit about the JS co-learning thing, and discovered that services, APIs and libraries really change the game, or have changed the game.

Horizontal Javascript Class

Sketching out a possible class for learning Javascript / learning to learn Javascript / learning to teach Javascript.

Prelims:
HTML and DOM
CSS and DOM

IBM/Hitachi Deskstar 120GXP IC35L080AVVA07-0

smartctl 5.43 2012-06-30 r3573 [x86_64-linux-3.5.0-27-generic] (local build)
Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net

JS localStorage Demo

The attached file is a rudimentary demonstration of persistent local storage in the browser. You can click on it to see the page in action, and do a view source on that page.

Zend Framework 2 Service Managers. Why?

I’m a ZF noob and was noticing that ZF OOP relies heavily on service managers rather than instantiating classes directly. This article explores why things are set up that way.

Dependency Injection

It seems like very PHP ZF2 blog has an article about Dependency Injection, so here's mine. I hope it's clear, or at least helps corroborate what you're reading on other sites.

The Return of Pipes (which never went away)

A while back I wrote about higher-level programming, and jQuery's map-style programming.

Photo Wall that Scrolls Forever Loading New Photos at Bottom

I was reading the code at iworkfortheinternet.org and learned how to do this "scrolling forever wall" effect. It's clever.

Zend Framework 2 References Page

A bunch of useful references.

ZF2 @ Read The Docs

Branch Predication

I was reading about make, and came across a paragraph about branch predication and Konrad Zuse, who I'd never heard of. Fascinating.

Class Autoloading, Namespaces, PSR-0 and Acting Like Java

One of the surprises of ZF2 is that the preamble to the code looks like this:

namespace Album\Model;

use Zend\InputFilter\Factory as InputFactory;
use Zend\InputFilter\InputFilter;

Zend Framework 2 Notebook

I was getting ready to dump PHP and move on to an all-JS, or maybe try really using Haskell or back to C again (or C++ or even Java), but there's just a ton of demand for PHP.

Syndicate content