Archive for the ‘Projects’ Category

phpScenario & Listy.us updates

Wednesday, October 27th, 2010

First, phpScenario has been updated to 0.1.1 (change log here), so that’s cool. It helps when the library you release actually works, right?

Second, I’ve been posting some related tutorials in the project’s forums:

So, if you’re interested in split testing via php, I’d recommend checking the project and tutorials out.

Third, I’m finally getting started on the rewrite of Listy.us’s editor. Where the old editor was a single, sparsely-commented 1400-line javascript file, the new one is spread across several files using RequireJS, and uses QUnit for unit testing. It is, essentially, a project in itself, and I’m finding it much, much nicer to work with.

Introducing phpScenario

Monday, October 18th, 2010

Last night I launched the project I’d mentioned a couple days ago. It’s a fairly early version of a free (BSD licensed) split testing library I’ve named phpScenario. The usage has changed a little bit since then; the code samples should still work, but they’ve been simplified even further so the main tasks (getting a treatment, setting it as complete, rendering results) can be done with single statements.

You can check out the free split testing library in all it’s beta glory at www.phpscenario.org and post any questions on the discussion boards. It’s version 0.1 beta, as in “Well, it works for me, but could probably use some tuning.”

(more…)

phpScenario, a split testing library

Wednesday, October 6th, 2010

I’m closing in on the first release of what you might call a by-product of Listy.us; phpScenario is a free split-testing library created out of the need to have a way of testing various ideas on Listy.us without relying on paid products or offsite solutions. I’m going to release it for free, though I haven’t chosen a license yet. (update: New BSD license!)

(more…)

PHP hashing performance experiment

Sunday, April 25th, 2010

Today, in the never-ending quest to tweak server performance by a few milliseconds, I decided to do a bit of testing of various php hashing methods. I therefore wrote a quick script under php (5.2.11 currently, I need to update), which ran each test case 10,000 times to achieve a decent min/avg/max for each case, on strings of 10KB, 100KB, and 1,000KB in size.

(more…)

Listy.us – Now with Embedding!

Tuesday, March 23rd, 2010

Today marks the first “Huge” update to Listy.us. It is now a paid service, handles uploaded files, and allows public lists to be embedded on any page. Like so:

(more…)

Zend Framework: Email templating with layouts & views

Wednesday, December 2nd, 2009

This is a solution that I came up with for sending out welcome emails, comment notifications, etc, with nice standardized HTML & text layouts, using a few components of the Zend Framework.

Basically you create a view (here called $renderer) and a layout ($layout), then render your views and layouts for both HTML and text versions. My file tree looks like this:

application/
	emails/
		welcome.html.phtml
		welcome.text.phtml
		layouts/
			layout.html.phtml
			layout.text.phtml

So, ‘welcome’ would be your template name, with html and text versions. The layout is what you want wrapped around either version of every email you send out (header graphics, font settings, contact info, etc).

(more…)

Listy.us is live, still a work in progress

Tuesday, November 24th, 2009

For those that have been following my work by means other than my blog (twitter, facebook), you already know that my big project, www.listy.us, is alive and kicking. I’ve been meaning to write an actual blog post about it for some time, since it would seem I forgot to do that back in September when the site actually launched. It’s improved a lot since then, I think.

(more…)

Why Chrome Frame is a Necessity

Thursday, October 1st, 2009

With a ton of users being granted access to Google Wave, and Wave suggesting the installation of Chrome Frame, there’s been a bit of griping from Microsoft (and others, but I suspect mostly Microsoft) about not liking the ability for the content to choose the browser agent. I can understand why folks would be irked by this, I really can. It messes with their software.

(more…)

Implementing Web Apps as Finite State Machines

Saturday, July 11th, 2009

The revelation that a web application meshes well with the design pattern of a Finite-State Machine (wikipedia link) isn’t really new. It’s discussed in a few other places on the web, usually in a scholarly capacity – the google search returns a lot of articles and research papers. Still, this struck me as something that really should be taught to every fledgeling web developer.

(more…)

Marketing’s Bad Name

Tuesday, June 9th, 2009

I’d like to share an experience I had a few years ago: I was at the supermarket, making smalltalk with the cashier, and she asked what I do for a living. I answered truthfully: “I work in marketing.” (which is just a broad brush for “i’m a web developer & designer, as well as graphic artist and designer, and I create all advertising and promotional materials for X company”)

I’ve never seen someone go from friendly and cheerful to all business so quickly. From the reaction, you’d think I’d said “I vivisect puppies.” I haven’t told someone “I work in marketing” since – at least not out of context.

(more…)