473,398 Members | 2,113 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

Zope vs Php

We are building a web app and the our backend is currently using python
with php front end. We would like to do everything in python but php
for our front end is so easy to use. We would like to use zope on our
front end(no experience with it) can anyone provide any experience with
this?
From what I can tell you can't just do

<%
#python code
%>
<title> some title</title>

this is what we would like to do with session support and things that
php provides?
Steve

Nov 22 '05 #1
34 1820
Zope doesn't really work like that. Zope page templates provide
an environment that is something like you are accustomed to in
php, but you can't just drop in python code. Zope is an entire
application server that has a very extensive set of capabilities
that are on the order of WebSphere or WebLogic.

You may want to take a look at:

http://karrigell.sourceforge.net/

This DOES seem to do what you want, but I have not direct
experience (just have seen the website).

-Larry Bates

Steve wrote:
We are building a web app and the our backend is currently using python
with php front end. We would like to do everything in python but php
for our front end is so easy to use. We would like to use zope on our
front end(no experience with it) can anyone provide any experience with
this?
From what I can tell you can't just do

<%
#python code
%>
<title> some title</title>

this is what we would like to do with session support and things that
php provides?
Steve

Nov 22 '05 #2
Zope doesn't really work like that. Zope page templates provide
an environment that is something like you are accustomed to in
php, but you can't just drop in python code. Zope is an entire
application server that has a very extensive set of capabilities
that are on the order of WebSphere or WebLogic.

You may want to take a look at:

http://karrigell.sourceforge.net/

This DOES seem to do what you want, but I have not direct
experience (just have seen the website).

-Larry Bates

Steve wrote:
We are building a web app and the our backend is currently using python
with php front end. We would like to do everything in python but php
for our front end is so easy to use. We would like to use zope on our
front end(no experience with it) can anyone provide any experience with
this?
From what I can tell you can't just do

<%
#python code
%>
<title> some title</title>

this is what we would like to do with session support and things that
php provides?
Steve

Nov 22 '05 #3
Steve schrieb:
From what I can tell you can't just do

<%
#python code
%>
<title> some title</title>

this is what we would like to do with session support and things that
php provides?


Google for "python web frame works". Most have session support, and
some offer Python Code embedded in HTML (e.g. Webware, mod_python
and Spyce). I never realized what's so great about this because

<%
#python code
%>
<title> some title</title>

and

print output(python-code) + "<title> some title</title>".

are equivalent.

Another approach is using Templates. Most web frameworks have
Templates. My favorite is Cheetah.

--
-------------------------------------------------------------------
Peter Maas, M+R Infosysteme, D-52070 Aachen, Tel +49-241-93878-0
E-mail 'cGV0ZXIubWFhc0BtcGx1c3IuZGU=\n'.decode('base64')
------------------------------------------------------------------
Nov 22 '05 #4
Steve schrieb:
From what I can tell you can't just do

<%
#python code
%>
<title> some title</title>

this is what we would like to do with session support and things that
php provides?


Google for "python web frame works". Most have session support, and
some offer Python Code embedded in HTML (e.g. Webware, mod_python
and Spyce). I never realized what's so great about this because

<%
#python code
%>
<title> some title</title>

and

print output(python-code) + "<title> some title</title>".

are equivalent.

Another approach is using Templates. Most web frameworks have
Templates. My favorite is Cheetah.

--
-------------------------------------------------------------------
Peter Maas, M+R Infosysteme, D-52070 Aachen, Tel +49-241-93878-0
E-mail 'cGV0ZXIubWFhc0BtcGx1c3IuZGU=\n'.decode('base64')
------------------------------------------------------------------
Nov 22 '05 #5
Steve a écrit :
We are building a web app and the our backend is currently using python
with php front end. We would like to do everything in python but php
for our front end is so easy to use. We would like to use zope on our
front end(no experience with it) can anyone provide any experience with
this?
From what I can tell you can't just do <%
#python code
%>
<title> some title</title>


Yuck.
this is what we would like to do with session support and things that
php provides?


I don't think Zope is the right solution for you. It's a world in itself...

If you're looking for a PHP-like solution, the closer is probably
mod_python + [Cheetah or PSP].

My 2 cents...
Nov 22 '05 #6
Steve a écrit :
We are building a web app and the our backend is currently using python
with php front end. We would like to do everything in python but php
for our front end is so easy to use. We would like to use zope on our
front end(no experience with it) can anyone provide any experience with
this?
From what I can tell you can't just do <%
#python code
%>
<title> some title</title>


Yuck.
this is what we would like to do with session support and things that
php provides?


I don't think Zope is the right solution for you. It's a world in itself...

If you're looking for a PHP-like solution, the closer is probably
mod_python + [Cheetah or PSP].

My 2 cents...
Nov 22 '05 #7
I am going to go the mod_python route.

as for why a person would go route one over route 2

is that the number of lines of html/output vs python code are usually
10 to 1 and it's much easier to encapsulate the python code than to
quote and escape all the html/css/xml

Thanks for the help

<%
#python code
%>
<title> some title</title>

and

print output(python-code) + "<title> some title</title>".

are equivalent.

Nov 22 '05 #8
I am going to go the mod_python route.

as for why a person would go route one over route 2

is that the number of lines of html/output vs python code are usually
10 to 1 and it's much easier to encapsulate the python code than to
quote and escape all the html/css/xml

Thanks for the help

<%
#python code
%>
<title> some title</title>

and

print output(python-code) + "<title> some title</title>".

are equivalent.

Nov 22 '05 #9
"Steve" <st*********@gmail.com> writes:
I am going to go the mod_python route.

as for why a person would go route one over route 2

is that the number of lines of html/output vs python code are usually
10 to 1 and it's much easier to encapsulate the python code than to
quote and escape all the html/css/xml


It is? When doing that, I tend to write things like:

html_data = """
Lots of HTML text here, with the random %(name)s thrown in to insert values.
"""

# Python code to put values in html_dictionary

print html_data % html_dictionary

The only quoting of the HTML is the two sets of triple-quotes to wrap
the whole thing. The escaping is done in the python, to make sure the
values in the dictionary are properly escaped.

Usually, multiple such pieces get pasted together at the end of the
function.

That said, I have to confess that lately I've been using Cheetah
templates, because the syntax for inserting values is simpler, and the
way Cheetah templates work naturally in the Python inheritance
hierarchy.

<mike
--
Mike Meyer <mw*@mired.org> http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.
Nov 22 '05 #10
"Steve" <st*********@gmail.com> writes:
I am going to go the mod_python route.

as for why a person would go route one over route 2

is that the number of lines of html/output vs python code are usually
10 to 1 and it's much easier to encapsulate the python code than to
quote and escape all the html/css/xml


It is? When doing that, I tend to write things like:

html_data = """
Lots of HTML text here, with the random %(name)s thrown in to insert values.
"""

# Python code to put values in html_dictionary

print html_data % html_dictionary

The only quoting of the HTML is the two sets of triple-quotes to wrap
the whole thing. The escaping is done in the python, to make sure the
values in the dictionary are properly escaped.

Usually, multiple such pieces get pasted together at the end of the
function.

That said, I have to confess that lately I've been using Cheetah
templates, because the syntax for inserting values is simpler, and the
way Cheetah templates work naturally in the Python inheritance
hierarchy.

<mike
--
Mike Meyer <mw*@mired.org> http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.
Nov 22 '05 #11
I believe Cheetah can do this kind of thing, Kid too.

Personally, I like Kid more. And you can take a look at TurboGears
which is a bag of tools (web server - cherrypy, template - Kid, ORM -
SQLObject) glued together in a pretty nice way.
Steve wrote:
We are building a web app and the our backend is currently using python
with php front end. We would like to do everything in python but php
for our front end is so easy to use. We would like to use zope on our
front end(no experience with it) can anyone provide any experience with
this?
From what I can tell you can't just do

<%
#python code
%>
<title> some title</title>

this is what we would like to do with session support and things that
php provides?
Steve


Nov 22 '05 #12
I believe Cheetah can do this kind of thing, Kid too.

Personally, I like Kid more. And you can take a look at TurboGears
which is a bag of tools (web server - cherrypy, template - Kid, ORM -
SQLObject) glued together in a pretty nice way.
Steve wrote:
We are building a web app and the our backend is currently using python
with php front end. We would like to do everything in python but php
for our front end is so easy to use. We would like to use zope on our
front end(no experience with it) can anyone provide any experience with
this?
From what I can tell you can't just do

<%
#python code
%>
<title> some title</title>

this is what we would like to do with session support and things that
php provides?
Steve


Nov 22 '05 #13
Mike Meyer <mw*@mired.org> writes:
That said, I have to confess that lately I've been using Cheetah
templates, because the syntax for inserting values is simpler, and the
way Cheetah templates work naturally in the Python inheritance
hierarchy.


KID is also nice and can be used as he wants and in a cleaner way as well. ;-)
It suits both worlds.

--
Jorge Godoy <go***@ieee.org>
Nov 22 '05 #14
Mike Meyer <mw*@mired.org> writes:
That said, I have to confess that lately I've been using Cheetah
templates, because the syntax for inserting values is simpler, and the
way Cheetah templates work naturally in the Python inheritance
hierarchy.


KID is also nice and can be used as he wants and in a cleaner way as well. ;-)
It suits both worlds.

--
Jorge Godoy <go***@ieee.org>
Nov 22 '05 #15
Jorge Godoy wrote:
Mike Meyer <mw*@mired.org> writes:

That said, I have to confess that lately I've been using Cheetah
templates, because the syntax for inserting values is simpler, and the
way Cheetah templates work naturally in the Python inheritance
hierarchy.

In this article you will have a great overview about Zope and Zope 3.

http://www.zopemag.com/Issue010/Sect..._WhyZope3.html

Fernando Lujan
Nov 22 '05 #16
Jorge Godoy wrote:
Mike Meyer <mw*@mired.org> writes:

That said, I have to confess that lately I've been using Cheetah
templates, because the syntax for inserting values is simpler, and the
way Cheetah templates work naturally in the Python inheritance
hierarchy.

In this article you will have a great overview about Zope and Zope 3.

http://www.zopemag.com/Issue010/Sect..._WhyZope3.html

Fernando Lujan
Nov 22 '05 #17
Jorge Godoy <go***@ieee.org> writes:
Mike Meyer <mw*@mired.org> writes:
That said, I have to confess that lately I've been using Cheetah
templates, because the syntax for inserting values is simpler, and the
way Cheetah templates work naturally in the Python inheritance
hierarchy.

KID is also nice and can be used as he wants and in a cleaner way as well. ;-)


Since you didn't provide a URL, and KID is a pretty generic term to
google for, I'll just ask:

One of the things I really like about Cheetah - at least compared to
other templating systems I've looked at - is that it's fully
cooperative with the Python inheritance sydstem. A cheetah template
can inherit from a python class, or a cheetah template, and a Python
class can inherit from a cheetah template. This brings the full power
of OO programming facilities to the templating system, and is simply
blows away other templating systems, or trying to build that kind of
flexibilty using "pure python". Does KID have have that kind of
facility?

While I'm at it - how does KID do for things that aren't HTML?
Cheetah integrates with web servers, but can be used to generate
nearly anything. I've found that using Cheetah scripts to build
Makefiles that run Cheetah scripts to build a dynamically determinedj
set of pages to be pretty handy.

And finally - got a URL?

thanks,
<mike
--
Mike Meyer <mw*@mired.org> http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.
Nov 22 '05 #18
Jorge Godoy <go***@ieee.org> writes:
Mike Meyer <mw*@mired.org> writes:
That said, I have to confess that lately I've been using Cheetah
templates, because the syntax for inserting values is simpler, and the
way Cheetah templates work naturally in the Python inheritance
hierarchy.

KID is also nice and can be used as he wants and in a cleaner way as well. ;-)


Since you didn't provide a URL, and KID is a pretty generic term to
google for, I'll just ask:

One of the things I really like about Cheetah - at least compared to
other templating systems I've looked at - is that it's fully
cooperative with the Python inheritance sydstem. A cheetah template
can inherit from a python class, or a cheetah template, and a Python
class can inherit from a cheetah template. This brings the full power
of OO programming facilities to the templating system, and is simply
blows away other templating systems, or trying to build that kind of
flexibilty using "pure python". Does KID have have that kind of
facility?

While I'm at it - how does KID do for things that aren't HTML?
Cheetah integrates with web servers, but can be used to generate
nearly anything. I've found that using Cheetah scripts to build
Makefiles that run Cheetah scripts to build a dynamically determinedj
set of pages to be pretty handy.

And finally - got a URL?

thanks,
<mike
--
Mike Meyer <mw*@mired.org> http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.
Nov 22 '05 #19
> And finally - got a URL?

This got me to the right place pretty quickly:

http://www.google.com/search?q=python+kid+template

-- Lars

--
Lars Kellogg-Stedman <82*************@jetable.net>
This email address will expire on 2005-11-23.

Nov 22 '05 #20
> And finally - got a URL?

This got me to the right place pretty quickly:

http://www.google.com/search?q=python+kid+template

-- Lars

--
Lars Kellogg-Stedman <82*************@jetable.net>
This email address will expire on 2005-11-23.

Nov 22 '05 #21
> While I'm at it - how does KID do for things that aren't HTML?

I've taken a brief look over the Kid documentation.

It looks like Kid is in the same class of solutions as Zope's TAL (or
Perl's Petal). In particular, a Kid template is always a valid XML
document, so your designers can open a Kid template in their favorite
HTML editor and it won't cause any weird errors. Similarly, you can
open the template in a browser while you're working on layout, which
I've certainly found useful working with Petal.

There's a Kid language specification here:

http://kid.lesscode.org/language.html

There's a standlone Python TAL implementation here:

http://www.owlfish.com/software/simpleTAL/

-- Lars

--
Lars Kellogg-Stedman <82*************@jetable.net>
This email address will expire on 2005-11-23.

Nov 22 '05 #22
> While I'm at it - how does KID do for things that aren't HTML?

I've taken a brief look over the Kid documentation.

It looks like Kid is in the same class of solutions as Zope's TAL (or
Perl's Petal). In particular, a Kid template is always a valid XML
document, so your designers can open a Kid template in their favorite
HTML editor and it won't cause any weird errors. Similarly, you can
open the template in a browser while you're working on layout, which
I've certainly found useful working with Petal.

There's a Kid language specification here:

http://kid.lesscode.org/language.html

There's a standlone Python TAL implementation here:

http://www.owlfish.com/software/simpleTAL/

-- Lars

--
Lars Kellogg-Stedman <82*************@jetable.net>
This email address will expire on 2005-11-23.

Nov 22 '05 #23
Mike Meyer <mw*@mired.org> writes:
Jorge Godoy <go***@ieee.org> writes:
Mike Meyer <mw*@mired.org> writes:
That said, I have to confess that lately I've been using Cheetah
templates, because the syntax for inserting values is simpler, and the
way Cheetah templates work naturally in the Python inheritance
hierarchy. KID is also nice and can be used as he wants and in a cleaner way as well. ;-)


Since you didn't provide a URL, and KID is a pretty generic term to
google for, I'll just ask:


Sorry. http://kid.lesscode.org/
One of the things I really like about Cheetah - at least compared to
other templating systems I've looked at - is that it's fully
cooperative with the Python inheritance sydstem. A cheetah template
can inherit from a python class, or a cheetah template, and a Python
class can inherit from a cheetah template. This brings the full power
of OO programming facilities to the templating system, and is simply
blows away other templating systems, or trying to build that kind of
flexibilty using "pure python". Does KID have have that kind of
facility?
I am beginning with it, but it does have it. You can "extend" from templates
and use classes and methods inside your code as well. I'm using Kid with
Apache (mod_python) and with CherryPy.
While I'm at it - how does KID do for things that aren't HTML?
Cheetah integrates with web servers, but can be used to generate
nearly anything. I've found that using Cheetah scripts to build
Makefiles that run Cheetah scripts to build a dynamically determinedj
set of pages to be pretty handy.
Kid is for XML output. It won't work with non-HTML output...
And finally - got a URL?


http://kid.lesscode.org/ ;-)
Be seeing you,
--
Jorge Godoy <go***@ieee.org>
Nov 22 '05 #24
Mike Meyer <mw*@mired.org> writes:
Jorge Godoy <go***@ieee.org> writes:
Mike Meyer <mw*@mired.org> writes:
That said, I have to confess that lately I've been using Cheetah
templates, because the syntax for inserting values is simpler, and the
way Cheetah templates work naturally in the Python inheritance
hierarchy. KID is also nice and can be used as he wants and in a cleaner way as well. ;-)


Since you didn't provide a URL, and KID is a pretty generic term to
google for, I'll just ask:


Sorry. http://kid.lesscode.org/
One of the things I really like about Cheetah - at least compared to
other templating systems I've looked at - is that it's fully
cooperative with the Python inheritance sydstem. A cheetah template
can inherit from a python class, or a cheetah template, and a Python
class can inherit from a cheetah template. This brings the full power
of OO programming facilities to the templating system, and is simply
blows away other templating systems, or trying to build that kind of
flexibilty using "pure python". Does KID have have that kind of
facility?
I am beginning with it, but it does have it. You can "extend" from templates
and use classes and methods inside your code as well. I'm using Kid with
Apache (mod_python) and with CherryPy.
While I'm at it - how does KID do for things that aren't HTML?
Cheetah integrates with web servers, but can be used to generate
nearly anything. I've found that using Cheetah scripts to build
Makefiles that run Cheetah scripts to build a dynamically determinedj
set of pages to be pretty handy.
Kid is for XML output. It won't work with non-HTML output...
And finally - got a URL?


http://kid.lesscode.org/ ;-)
Be seeing you,
--
Jorge Godoy <go***@ieee.org>
Nov 22 '05 #25

Jorge Godoy wrote:
Kid is for XML output. It won't work with non-HTML output...

I believe someone patches it to output plain text, thus it is possible
to do "makefile" like things. I don't have such a need so don't know
the detail. It can output XML as well as HTML which I believe you
already know.

Nov 22 '05 #26

Jorge Godoy wrote:
Kid is for XML output. It won't work with non-HTML output...

I believe someone patches it to output plain text, thus it is possible
to do "makefile" like things. I don't have such a need so don't know
the detail. It can output XML as well as HTML which I believe you
already know.

Nov 22 '05 #27
Jorge Godoy <go***@ieee.org> writes:
While I'm at it - how does KID do for things that aren't HTML?
Cheetah integrates with web servers, but can be used to generate
nearly anything. I've found that using Cheetah scripts to build
Makefiles that run Cheetah scripts to build a dynamically determinedj
set of pages to be pretty handy.

Kid is for XML output. It won't work with non-HTML output...
And finally - got a URL?

http://kid.lesscode.org/ ;-)


Thanks. It looks pretty spiffy. I like the idea of incorporating the
templating system into the document via the py:* attributes.

Unfortunately, my tools don't - which is another one of the things I
like about Cheetah: it doesn't interfere with my X/HTML tools. For
instance, I edit attributes by asking the editor to let me edit the
current tags attributes. It opens window with a list of valid
attributes, along with type information about those attributes. I edit
the list, close the window, and it inserts the required attributes,
appropriately quoted, into the tag. I couldn't use that for py:*
attributes without tweaking the DTD for each language I wanted to
edit. Similar problems crop up with the other features that depend on
information from the DTD.

Thanks,
<mike
--
Mike Meyer <mw*@mired.org> http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.
Nov 22 '05 #28
Jorge Godoy <go***@ieee.org> writes:
While I'm at it - how does KID do for things that aren't HTML?
Cheetah integrates with web servers, but can be used to generate
nearly anything. I've found that using Cheetah scripts to build
Makefiles that run Cheetah scripts to build a dynamically determinedj
set of pages to be pretty handy.

Kid is for XML output. It won't work with non-HTML output...
And finally - got a URL?

http://kid.lesscode.org/ ;-)


Thanks. It looks pretty spiffy. I like the idea of incorporating the
templating system into the document via the py:* attributes.

Unfortunately, my tools don't - which is another one of the things I
like about Cheetah: it doesn't interfere with my X/HTML tools. For
instance, I edit attributes by asking the editor to let me edit the
current tags attributes. It opens window with a list of valid
attributes, along with type information about those attributes. I edit
the list, close the window, and it inserts the required attributes,
appropriately quoted, into the tag. I couldn't use that for py:*
attributes without tweaking the DTD for each language I wanted to
edit. Similar problems crop up with the other features that depend on
information from the DTD.

Thanks,
<mike
--
Mike Meyer <mw*@mired.org> http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.
Nov 22 '05 #29
Mike Meyer <mw*@mired.org> writes:
Unfortunately, my tools don't - which is another one of the things I
like about Cheetah: it doesn't interfere with my X/HTML tools. For
instance, I edit attributes by asking the editor to let me edit the
current tags attributes. It opens window with a list of valid
attributes, along with type information about those attributes. I edit
the list, close the window, and it inserts the required attributes,
appropriately quoted, into the tag. I couldn't use that for py:*
attributes without tweaking the DTD for each language I wanted to
edit. Similar problems crop up with the other features that depend on
information from the DTD.


What DTD do you use to write Python code? ;-)

I can use my "HTML writing tool" with the XHTML, HTML, etc. DTD specified and
have it insert the tags for me. The Python namespace allows me to insert
Python commands and still have valid (X)HTML output (at least tidy is very
happy with them). After I have the mockup, with Python tags embedded, I send
the files to the webdesigners and they do their art. :-)

For one project we are using a lot of CSS and JavaScript.

But, as you can see with TurboGears, it's possible to do even more with it.

--
Jorge Godoy <go***@ieee.org>
Nov 22 '05 #30
Mike Meyer <mw*@mired.org> writes:
Unfortunately, my tools don't - which is another one of the things I
like about Cheetah: it doesn't interfere with my X/HTML tools. For
instance, I edit attributes by asking the editor to let me edit the
current tags attributes. It opens window with a list of valid
attributes, along with type information about those attributes. I edit
the list, close the window, and it inserts the required attributes,
appropriately quoted, into the tag. I couldn't use that for py:*
attributes without tweaking the DTD for each language I wanted to
edit. Similar problems crop up with the other features that depend on
information from the DTD.


What DTD do you use to write Python code? ;-)

I can use my "HTML writing tool" with the XHTML, HTML, etc. DTD specified and
have it insert the tags for me. The Python namespace allows me to insert
Python commands and still have valid (X)HTML output (at least tidy is very
happy with them). After I have the mockup, with Python tags embedded, I send
the files to the webdesigners and they do their art. :-)

For one project we are using a lot of CSS and JavaScript.

But, as you can see with TurboGears, it's possible to do even more with it.

--
Jorge Godoy <go***@ieee.org>
Nov 22 '05 #31
Steve wrote:
I am going to go the mod_python route.

as for why a person would go route one over route 2

is that the number of lines of html/output vs python code are usually
10 to 1 and it's much easier to encapsulate the python code than to
quote and escape all the html/css/xml
<%
#python code
%>
<title> some title</title>

and

print output(python-code) + "<title> some title</title>".

are equivalent.


Yes, but this was *not* what I suggested.

There are a lot of HTML templating languages for Python, some being more
or less PHP-like (PSP, Cheetah, ...), some being way more
presentation-oriented (TAL, Kid, ...). I prefer the second category. I
share your opinion about html in code, but I also dislike code in html...

--
bruno desthuilliers
python -c "print '@'.join(['.'.join([w[::-1] for w in p.split('.')]) for
p in 'o****@xiludom.gro'.split('@')])"
Nov 22 '05 #32
Steve wrote:
I am going to go the mod_python route.

as for why a person would go route one over route 2

is that the number of lines of html/output vs python code are usually
10 to 1 and it's much easier to encapsulate the python code than to
quote and escape all the html/css/xml
<%
#python code
%>
<title> some title</title>

and

print output(python-code) + "<title> some title</title>".

are equivalent.


Yes, but this was *not* what I suggested.

There are a lot of HTML templating languages for Python, some being more
or less PHP-like (PSP, Cheetah, ...), some being way more
presentation-oriented (TAL, Kid, ...). I prefer the second category. I
share your opinion about html in code, but I also dislike code in html...

--
bruno desthuilliers
python -c "print '@'.join(['.'.join([w[::-1] for w in p.split('.')]) for
p in 'o****@xiludom.gro'.split('@')])"
Nov 22 '05 #33
Mike Meyer wrote:
Jorge Godoy <go***@ieee.org> writes:
Mike Meyer <mw*@mired.org> writes:
(snip)
While I'm at it - how does KID do for things that aren't HTML?


It doesn't. Kid is explicitely for XML/HTML templating.
--
bruno desthuilliers
python -c "print '@'.join(['.'.join([w[::-1] for w in p.split('.')]) for
p in 'o****@xiludom.gro'.split('@')])"
Nov 22 '05 #34
Mike Meyer wrote:
Jorge Godoy <go***@ieee.org> writes:
Mike Meyer <mw*@mired.org> writes:
(snip)
While I'm at it - how does KID do for things that aren't HTML?


It doesn't. Kid is explicitely for XML/HTML templating.
--
bruno desthuilliers
python -c "print '@'.join(['.'.join([w[::-1] for w in p.split('.')]) for
p in 'o****@xiludom.gro'.split('@')])"
Nov 22 '05 #35

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Jochen Demuth | last post by:
Hi, I am trying to install ZWiki on Zope 2.5.1 / Debian 2.4.20-bf2.4-xfs. First I copied the contents of the ZWiki-0.32.0.tgz to the Products-directory under SOFTWARE_HOME: This is what it...
9
by: john | last post by:
Hi I am developing a timesheet system. It will have 3 levels of access 1)Administrator 2)Approver -- Will approve or reject the timesheet filled by employees 3)Employees -- Fill in the timesheet...
47
by: Will Stuyvesant | last post by:
Hello all, So Zope still lives, yay. Well, I like that they use Python. <rant> What amazed me is they write that they "added types to the variables and hope that it will be added to the...
0
by: Unigroup of New York | last post by:
Content-Type: multipart/mixed; boundary="------------C465DF38DCB38DD2AF7117E0" Lines: 327 Date: Tue, 15 Feb 2005 23:36:38 -0500 NNTP-Posting-Host: 24.46.113.251 X-Complaints-To: abuse@cv.net...
21
by: godwin | last post by:
Hi all, I wanna thank Martin for helping out with my ignorance concerning execution of stored procedure with python. Now i have decided to write a web app that googles into my companies...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.