[Zope] mixing python and DTML is hellish!

kosh@aesaeion.com kosh@aesaeion.com
Sat, 2 Mar 2002 03:36:37 -0700 (MST)


On Sat, 2 Mar 2002, Lennart Regebro wrote:

> From: <kosh@aesaeion.com>
> > Overall it seems ZPT seems designed for html people that used wysiwyg
> > editors to write pages.
>
> No. It's designed for people that create *web design* with wysiwyg editors.
> Almost everybody does that.
> If you want to hack the design by hand, thats fine. I do, mostly. But most
> people prefer using dreamweaver or something like that, and I would probably
> too, if I wasn't hampered by dtml...

I design using my knowledge of the spec. I figure out what I want to do
and break it down into essentially a DOM model in my head and write that.
It usually goes very quickly and remembering the details is not very hard.

Actually our customers hire my company because most other companies hack
things together with dreamwaver and other wysiwyg editors. They are tired
of the complaints, about pages loading slowly because of the abuse of the
DOM model. They might not know exactly why some pages take so long to
render once they browser gets them but they can see the results of doing
it the right way.

You can continue to design with dreamweaver and in general abuse how the
markup tags where designed and what you will find over time is that fewer
search engines will give you very good hits. There is a good deal of work
being done to allow the search engines to take the markup of the page into
account on their indexing in order to give better search results. If tags
are not closed properly, used properly etc it won't work as well. Also I
don't like having to go back and do maintenance on a site very often so it
works better long term just to adhere exactly to the spec in a way that
works in all the browsers which is pretty easy.