[thelist] dreamweaver 4

martin.p.burns at uk.pwcglobal.com martin.p.burns at uk.pwcglobal.com
Wed Feb 20 09:19:06 CST 2002


Memo from Martin P Burns of PricewaterhouseCoopers

-------------------- Start of message text --------------------

Hi Syed

I *do* hope that you're offering to mail a legitimately licensed original,
bought from a reputable supplier, which just happen to be lower cost in
Pakistan than they would be in other countries...

It might be worth also checking that grey imports like that are permitted
under MM's license - some companies do get a bit upset if you avoid
their expected channels to market. (not commenting on whether or not
that's A Good Thing btw).

Cheers
Martin

<tip type="SSI on steroids with Zope" author="martin at members.evolt.org">
With Zope, pages are normally[1] built with 2 SSI-like methods (yes, it's
an OO system - each 'page' is an object) like so:
~~~~~~~~~~~~~~~~~
<dtml-var standard_html_header>
main content
<dtml-var standard_html_footer>
~~~~~~~~~~~~~~~~~
(where standard_html_header is an included object)

So, it's a normal SSI, right, so standard_html_header is just static text?

Well it can be, but it's cleverer than that. If your calling object has
properties
(say "page_keywords", "title" etc), then you can insert those properties
into
the includes. So standard_html_header might start something like:
~~~~~~~~~~~~~~~~~
<html>
     <head>
          <meta keywords="<dtml-var page_keywords>">
          <title>
               <dtml-var page_title>
          </title>
~~~~~~~~~~~~~~~~

The benefit of this is that you only need *one* standard header (although
you can modularise this if you like, say bringing in the dtd and your
standard
meta tags from separate objects) for every page in your site.

Stick the standard header into the root directory of your site, and every
page
will be able to find it (even in subdirs) because all the sub-directories
are
sub-objects of the root folder and inherit the standard_html_header method
-
the Zope app server effectively walks up the hierarchy from the current
object
until it finds the method in question.

This also means that you can have a subdirectory-specific header by
sticking
a standard_html_header method in that subdirectory, and it will only apply
to
objects in (and below) that dir.

Finally, there's a nice extension of this order of precedence, so that if
you call
<dtml-var foo> in an object, Zope will search the object's own properties
first
for a property named dtd before looking in the object's directory, before
looking in parent directories etc.

So you can have page-specific headers, headers which apply to everything
else in that directory, and general headers applying to the rest of the
site...
*all* of which will be able to insert object-specific values.
</tip>


[1] assuming you're just using basic DTML, with no additional products like
CMF, PTK, ZWiki or anything




Please respond to thelist at lists.evolt.org

Sent by:  thelist-admin at lists.evolt.org

To:   thelist at lists.evolt.org
cc:


Subject:  Re: [thelist] dreamweaver 4


Hi Sergio,
I live in Pakistan. Here softwares are very cheap and they are
affordable for everybody. Mail me off-list and let me know your street
address. I'll try my best to help you.
Thank you,
Syed Zeeshan Haider.

----- Original Message -----
From: "sergio ribeiro" <sergioribeiro71 at hotmail.com>
To: <thelist at lists.evolt.org>
Date: Wed, 20 Feb 2002 10:45:53 -0000
Subject: [thelist] dreamweaver 4
Reply-To: thelist at lists.evolt.org

Hi
I wil star by saying i am newbie in this web design matter, i started
with a wrong software supplier, macromedia dreamweaver 4, i started with
a trial downloaded version and because the program is splendid i started
to buy a few books last week, for my suprise this wek the program
expired and i am not aloud to run the trial version on the cd rom of the
books, can you believe, so resuming can not use the books...and I
contact macromedia but they are not very worryed about it,can you please
help me with this matter because to be honest i can not afford to spend
more money after already spended £100 in books
thanks,

SERGIO A RIBEIRO



--------------------- End of message text --------------------

This e-mail is sent by the above named in their
individual, non-business capacity and is not on
behalf of PricewaterhouseCoopers.

PricewaterhouseCoopers may monitor outgoing and incoming
e-mails and other telecommunications on its e-mail and
telecommunications systems.
----------------------------------------------------------------
The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material.  Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited.   If you received
this in error, please contact the sender and delete the material from any
computer.




More information about the thelist mailing list