[Zope] Not like ASP complaint - any good answers

Peter Bengtsson peter@grenna.net
Fri, 25 Aug 2000 10:13:17 +0100


Sean

Just ignore them. I used to be an ASP developer myself not long code ago.

What do you mean "intermingle"?
If you want to loop though a list or db-table row, you will have to
"intermingle" your good old <TD> and <TR> tags.
There is no way of getting around that in ASP as far as I know, unless
something amazing has happens since I left the community.

Yes, markup tends to be mixed with external/python methods. I guess that is
out of conveniece only.
You could:
<table>
<dtml-var "externalmethod()">
</table>
...if you really want to make the externalmethod() generic...
<table>
<tr>
  <dtml-in "externalmethod()" sort=whaoo>
    <td><dtml-var sequence-item></td>
  </dtml-in>
</tr>
</table>

What ever you like! Take control over your code. Don't let the code take
controll over your options.
Zope coding feels like "do it either way". ASP coding feels like "do the one
and only way".


Maybe "your" ASP developers, have seen external/python methods written by
people who use the method for themselfs (not caring about reusing the method
again), but has decided to let other developers use it.
Maybe?

Take care, be strong, Peter


> All,
>
> I have had a number of e-mails from developers
> using Microsoft ASP in recent days. The paraphrased consensus
> in the e-mails is that the external
> methods/python methods approach to mixing markup
> with code in Zope is more clunky than in ASP where
> you can intermingle the two at will.
>
> Has anyone written anything on this topic I could
> point them to?
>
> regards,
> Sean
>
>
>
> http://www.pyxie.org - an Open Source XML Processing library for Python
>
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>