|
Posted by IchBin on 10/26/06 20:09
Rik wrote:
> IchBin wrote:
>> For this particular group of scripts I am not using any templating.
>> I should have been clearer. Guess my question was not about the
>> natures
>> of CSS\HTML\PHP. I understand those.
>>
>> Looking for tips on usual way to tightly couple them to my advantage.
>> PHP is not linked to CSS but they can be tightly coupled. PHP works on
>> the server side but can also present the client side presentation. In
>> this presentation I wanted to interlace HTML, CSS and PHP code.
>
> So? Make your CSS (either dynamic with PHP, or a static CSS file), spit out
> the HTML with PHP, et voilá.
>
>> Is this a viable approach? I realize their are no standards in PHP but
>> their must be more efficient ways, that have floated to the top, to
>> approach what I am trying to do..? Or is this the right approach?
>
> We're not sure what you're trying to do. You have a couple of pages, with
> HTML output from PHP, and want to use CSS for them. There is no difference
> in static/dynamic output as soon as it's at the client....
Actually it is only one page that is presented. Sorry I have not
explained what I am going to try to do. I have a lot of other objects I
want to add to this page. Guess it is my lack of knowledge of CSS and
the serial output from the server and how to place the data on my one
html output. I am looking at XMLHttpRequest but I hear a lot from others
that you should not use javascript because users can set it of in their
browser. Then again their seems to be a lot of Javascript running on the
net. Little confusing on my part.
>
>> This maybe a basic html/css issue but when I tightly couple it with
>> PHP I see questions?
>
> WHAT do xou couple with PHP? HOW? It's pretty much a one way street PHP ->
> HTML (possibly CSS), that's not a coupling IMO.
I guess I see it as coupling because the PHP print\echo statements are
passing the front end along with the php server side data output.
--
Thanks in Advance... http://ichbin.9999mb.com
IchBin, Pocono Lake, Pa, USA http://weconsultants.phpnet.us
______________________________________________________________________
'If there is one, Knowledge is the "Fountain of Youth"'
-William E. Taylor, Regular Guy (1952-)
Navigation:
[Reply to this message]
|