Implicit Evaluation with PHP

Implicit Evaluation with PHP Archives: Commentary

next page · previous page

14 November 2006

History of the World Part XIV: Wherein PHP Assumes Babysitting Responsibilities

I’m a responsible programmer. Really, I am. I ask for advice from my peers whenever the path points to something I feel unsure about. I use (perhaps overuse, but thats another column) functions responsibility. Regardless of what the user is told, I protect against user input internally. And so when I want to write a […]

continue reading... » 0 Comments

31 October 2006

Modifying Recursive Data Structures in PHP

I’ve been working on code to allow pure HTML pages to be used as the source code of templates. Compiling this HTML mandates the use of a recursive data structure to form a tree of HTML tags and to preserve the textual content of the page. It’s reasonably easy to do in PHP5 because of […]

continue reading... » 2 Comments

20 September 2006

Difference between a post and a submission

ASP.net features, by default, a wonderful thing called a viewstate which I wrote about on Monday. However, viewstate is just one technology ASP.net uses to make development on that platform easy. Another is the postback. Postbacks aren’t really a technology at all, just a re-factoring of the general submission patter that’s been around since CGI […]

continue reading... » 0 Comments

19 September 2006

Groovy: The missing Java language

I’ve written about my disdain for Java before. It is perhaps the most enterprise-y language the world’s seen since COBOL. Its full of features that cripple what developers know. And yet, it’s here and we must deal with that.
One thing I’ve also held to is that Java is actually many technologies. In Microsoft, you have […]

continue reading... » 0 Comments

18 September 2006

Writing files at run time or by cron

For numerous reasons, not all content on the Internet can be dynamic. While I would personally love to see the Internet (and various Intranets) part of one gigantic library, all coded in PHP, that’s not feasible. Particularly in cases where content must be reviewed and approved before distributing it, static content leaves a nice trail […]

continue reading... » 0 Comments

7 September 2006

A Field Guide to Developers

I happened to have this conversation yesterday. This morning, I found Joel had written this article which nearly matches my beliefs point-for-point. If you’re a good programmer falling into an early midlife crisis, give this a read.
Joel on Software: A Field Guide to Developers

continue reading... » 0 Comments

6 September 2006

Any Problem in Computer Science Can Be Solved with Another Layer of Indirection

I spent a portion of Labor Day weekend working on new controls for Fortitude Forms. But reflecting back on it now, two things have shocked me: How easy it is to write controls, and how many layers of indirection Fortitude Forms has.
I have always argued against steep initial learning curves. The payoff has to be […]

continue reading... » 0 Comments

21 August 2006

Variable representation in PHP

In PHP, I like to think each function has its own Dictionary/Hash to manage its scope and that code outside of functions is actually part of a “Main” function. I think of it as a dictionary because through implicit evaluation, you can create variables with spaces and other reasons you’ll see at the conclusion of […]

continue reading... » 0 Comments

17 August 2006

Using HTML as a Template

There are roughly three ways I can think of offhand to do templating in PHP.

HTML Tags with PHP to populate values
PHP Functions to generate tags including values
Special markup to do one or more of the above

There are relatively concrete examples of each. Any new programer, and even some experienced programmers use method 1. Indications of […]

continue reading... » 0 Comments

16 August 2006

On Getting Older

It was bound to happen.
I was reflecting on yesterday’s introspection article. And I laughed. It wasn’t many years ago that I would have just rolled my eyes on hearing the word introspection. “So what?” was my attitude. And yet now it’s important enough to write about it.
I went through the same transformation with regards to […]

continue reading... » 0 Comments

next page · previous page