Recent blog posts
Yes, a bit specific, but I need to store some links!
I almost wrote a page for this, but it turns out a bookmarklet is good enough:
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.
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.
All the tutorials out there teach JS by having the user write a file, and load it into the browser.
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.
Prelims: HTML and DOM CSS and DOM
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...
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.
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.
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.
A while back I wrote about higher-level programming, and jQuery's map-style programming.
I was reading the code at iworkfortheinternet.org and learned how to do this "scrolling forever wall" effect. It's clever.
I was reading about make, and came across a paragraph about branch predication and Konrad Zuse, who I'd never heard of. Fascinating.
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;