TAKE THE TEMPLATE CHALLENGE!
[email protected] (Ron Chmara) Mon, 27 Mar 2000 11:32:22 -0700
| Newsgroups | php.template |
|---|---|
| Message-ID | <[email protected]> |
Objective: A template language, with simple, HTML-like syntax. Proposed challange: To take the following specifications, and allow for a designer to make a template with the following appearance rules, using a template (no designer PHP coding is allowed, as the goal of templates was to get designers away from using PHP(?)). The final page is a page with web-search results, where the designer has the following appearance criteria: "I want to always have the top result in bold" "I want to show the page results by modification date, author, name, etc., so the user can click on a column and resort the results" "Any results that are outdated, show them in a lighter font color than whatever colors are currenty assigned" "If our company name is in the search results, I want to assign a color and font to it" "If somebody's name shows up in the results, I want to color it and make a mailto: link out of it" "I want any URL's in the results to have a meta tag that uses the page title for the text" "I want some text to be a different color, depending on what time of day it is" "I want this table to be a different color if the search results are only in one page" "I want to use bold text for the search result words if they are in the summary" "I want the page to be printable on a single 8.5 x 11 inch sheet" "I want to have different javascripts come up depending on the text in the search result, one for the parent company, and others for our partners" Oh, and by the way, this is a *real* page on an intranet site. Took quite a bit of coding in PHP, I can't even imagine how this page would be possible if presentation is completely separated from data, and presentation designerd don't use a fairly complex language. -Bop -- Brought to you from boop!, the dual boot Linux/Win95 Compaq Presario 1625 laptop, currently running RedHat 6.1. Your bopping may vary.