You are here: Re: How would I dynamically generate a CSS stylesheet using php? « PHP Programming Language « IT news, forums, messages
Re: How would I dynamically generate a CSS stylesheet using php?

Posted by Jerry Stuckle on 09/06/07 18:01

macca wrote:
> Hi
>
> Im trying to think of a way to dynamically generate a stylsheet using
> php that can be easily updated by a client.
>
> My first thought was to generate the stylesheet as an XML document
> first and then use the XML document to generate the stylesheet, and
> whenever there is an update in the stylesheet it can be saved as an
> XML document and parsed in PHP to generate the new stylesheet.
>
> Does this sound reasonable?
>

It's reasonable. Makes parsing easier.

I'd also consider a database (I like databases :-) ), but it might be
overkill for something like this.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация