Re: mixing HTML and PHP code

From: Date: Fri, 12 Jan 2001 19:59:16 +0000
Subject: Re: mixing HTML and PHP code
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-34290@lists.php.net to get a copy of this message
> that may work for you, but it created a lot of overhead in your > applications, and anyone that doesn't know about you special "html api" will > be screwed... That I prefer to call it "investment" instead of overhead because it has given us a system we vastly prefer. > by all means use whatever techniques you like in-house, but that would be > completely useless to someone in the "outside world" That's fine. I just wanted to show people how we did it. I don't expect this to be useful in a all situations. In our experience PHP programmers who work with us don't have any problem figuring out how our system works. Without knowing anything about our system tell me you can't look at that code and "get it" Jade > > (comments) > > > > (include files) > > > > (page specific variables) > > > > html(); > > > > head($title); > > head_css('stylesheet.css'); > > head_script('script.js); > > x('head'); > > > > body($style) > > table(0, 0, 0, '100%', '', BLACK); > > tr('top'); td(); image('fire.jpg'); x('td'); > > x('tr'); > > x('table'); > > > > x('body'); > > x('html'); >

« previous php.general (#34290) next »