You are here: Re: php/html editing help « PHP Programming Language « IT news, forums, messages
Re: php/html editing help

Posted by Willem Bogaerts on 06/27/07 08:20

> ...I have to do the html in a WYSIWYG editor...

There is no WYSIWYG. There is just content. Which, by the way, includes
HTTP headers you send, especially if you work with special characters.
You are responsible for what you send to a browser. I encounter loads of
sites that are full of XHTML, but start with a HTML doctype. I am still
amazed that some of these sites work, and most of them don't.
Every browser handles things differently, and you are supposed to know
what works and what does not. And if you do not know, you should at
least interested be in knowing.

That said, you can use PHP to generate snippets of HTML where it
belongs. You can write "control" classes that generate controls
(buttons, fields, etc). You can write HTML templates (there are enough
template engines to choose from) to put those controls and anything else
you want in.
And, as said by someone else, you use CSS for the presentation...

Best regards,
--
Willem Bogaerts

Application smith
Kratz B.V.
http://www.kratz.nl/

 

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

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