B and E Blog

Just a couple of opinionated nerds talking about ColdFusion, PHP, and technology in general.

B and E Blog header image 4

Entries from May 2008

ColdFusion Including Sub-Applications

May 30th, 2008 · 2 Comments · ColdFusion, Programming

Ben Nadel has an interesting question on his blog about including sub-applications from within an existing CF application, and having the relevant sub-level Application.cfc fire off.
This is doable in a fairly simple manner but which relies on a barely-documented feature of ColdFusion, and the fact that the sub-level Application.cfc fires is completely undocumented, and may [...]

[Read more →]

Tags: ··

Relative CFLoop Performance for Various Loop Structures

May 21st, 2008 · 6 Comments · ColdFusion, Programming

Introduction
Jim over at Ben Nadel’s blog made the assertion that looping a list is faster than looping a struct.  It’s an interesting assertion that looping a list would be faster than looping an array.  I did a test of my own to find out.
Setup
Starting with objects with 1 entry populated, I increased the number of [...]

[Read more →]

Tags: ····

Established Programmers Getting Started in Web Development

May 21st, 2008 · No Comments · Programming

An acquaintance of mine has recently graduated from college with a degree in computer science.  Where he went, apparently they stressed theory over practice.  He’s got some C++, Lisp, Java, and MySQL experience, but has never touched web development (neither HTML, nor even viewed source on a web page).
He’s hoping to get a job with [...]

[Read more →]

Tags: ····

WebScarab-NG

May 9th, 2008 · 1 Comment · Debugging, Programming

WebScarab-NG is a really amazing tool that Brian introduced me to a few months back.  It’s essentially a local proxy which you can use to capture the full details of HTTP requests traveling through it.  It listens by default on port 8008 on your local address, and you can configure any software to use that [...]

[Read more →]

Tags:

How UTF-8 Encoding works

May 3rd, 2008 · No Comments · Programming

I spoke yesterday about Unicode, and the difference between the Unicode character set, and specific encodings of this character set. This post is a follow-up which describes in detail one particular and popular character set - UTF-8.
It’s imortant to understand that encoding is simply a means of representing a Unicode character in terms of [...]

[Read more →]

Tags: ·

BOM - Is it part of the data?

May 3rd, 2008 · No Comments · Programming

This is a post in response to a comment at Ben Nadel’s blog by PaulH which I think is an interesting and important discussion, but sufficiently off-topic to the blog entry at hand that I didn’t want to completely derail the on-topic discussion.
Whereas initially BOM (Byte Order Marker U+FEFF) was intended to indicate the order [...]

[Read more →]

Tags: ···

Unicode: The absolute minimum every developer should know.

May 2nd, 2008 · 6 Comments · Programming

Over the past few years, I’ve been engaged in a few projects which have required international support. Via trial and fire, I’ve learned a fair amount about Unicode and character encoding. I now consider this to be essential knowledge for all programmers - web programmers especially. This becomes particularly important when you [...]

[Read more →]

Tags:

Adobe opens the file formats for SWF and FLA

May 1st, 2008 · No Comments · Programming

Adobe is opening up the file formats for SWF and FLA, which is major news! SWF is the format run by Flash Player, and FLA is the source format which is used to create SWF’s. With this documentation, anyone will be able to create their own FLA and SWF creation software. Previously [...]

[Read more →]

Tags: ···