Implicit Evaluation with PHP

Implicit Evaluation with PHP Archives: Fortitude

next page ·

28 March 2007

Fortitude is Dead

This morning, I learned of Delphi for PHP. It looks like the PHP.net language I’ve always wanted. Short of the System.* Namespace, it seems to be a .net clone. It has the interface I hoped to develop to front-end Fortitude. It has a framework which is close enough. This is the future of PHP development.

continue reading... » 0 Comments

8 February 2007

Managing Variable Scopes While Using Templates

PHP’s rules for variable’s scopes can make coding complex templates difficult. Today, I’ll show you several methods to make it easier.

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

30 October 2006

Fortitude Forms II: The Form Comes Around

I got an interesting bit of code started in Fortitude this weekend. To understand it, let’s start first with the usual dev-cycle of a Fortitude app:

Create a Model class
Create a Form class
Create a form handling action
Create a View/FormView file

What’s annoying while doing this is that so many fields are seemingly replicated on each step. I […]

continue reading... » 0 Comments

20 October 2006

An Online WYSIWYG Form Editor

Today, I was reading a highly dugg article in Smashing Magazine called List of CSS Tools. It was an interesting collection of links for design and building web applications. But one link in particular stood out: JotForm. This is the kind of designer Fortitude needs. In one of Fortitude’s predeccesors, I had built a designer […]

continue reading... » 0 Comments

19 October 2006

Fortitude Forms Need A Handler Action

One thing which bothers me about how Fortitude Forms operates is that it needs an action. The reason for this is simple:

Fortitude has a controller, and a controller must delegate logic somewhere
The HTML form needs somewhere to submit

But what’s unfortunate is that all the updating logic is buried in Fortitude’s controls. Any validation can only […]

continue reading... » 0 Comments

18 September 2006

A Viewstate for PHP

One of ASP.net’s most attractive features is the viewstate. It is a convienent way to store arbitrary data in a persistent mechanism. In fact, it’s rather like PHP’s $_SESSION array.
There is, however, one difference. $_SESSION is unique to a user but is reused across pages. With only one window to your website, the two preform […]

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

26 July 2006

On Competing Application Models

Within MVCs, the model (data layer) perhaps gives the most trouble while conceptualizing. At a basic level, it’s acutally OK: A model is just a place to store data. But as a developer adds more patterns and buzzwords to the application, it becomes harrier. Is a model just the conveient way to access database records? […]

continue reading... » 0 Comments

21 July 2006

Fortitude

I’ve released a slightly dated revision of Fortitude. There is a single sample modules in there out of an Application I’m writing which is implemented in Fortitude. So you WILL see welcome.php and the Welcome module, however, there is code in there which refers to ide, and ide is not bundled in. So, tragically, you […]

continue reading... » 0 Comments

next page ·