|
Posted by Juha Suni on 07/01/05 15:59
> I have noticed that some PHP based webpages
> have a similar look. For instance, text within
> non-overlapping, non-touching rectangles which are
> nicely laid out on a page.
>
> Is there some GUI-like library that people are
> using to achieve that? When I've achieved the
> same thing using html & javascript it's been quite
> tedious to lay out, that's why I ask.
PHP as itself has no, nada, none whatsoever effect on how you visually lay
out the page, or how it looks. PHP is a server side scripting language,
which runs on the server performing operations when the page is accessed
(for example typically loading data from a database to display on the page).
The visual layout is still html and CSS (perhaps javascript for GUI stuff)
as with any other www-page. The visual layout is always rendered clientside
in the browser, according to the html and css of the page (which might have
been _created_ by a PHP-script), and the client has no idea what scripting
language or application is running on the server, or if those pages have
been built by hand or with PHP/ASP/other. Usually it is easy to guess, but
it is also rather easy to disguise it completely.
PHP acts serverside, and creates or modifies the HTML and possibly
CSS/Javascript that is sent to the client upon request.
HTML,CSS,Javascript render and act clientside, this process is independent
of possible PHP running on the server.
--
Suni
Navigation:
[Reply to this message]
|