Zope vs Php [英] Zope vs Php

查看:67
本文介绍了Zope vs Php的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在构建一个Web应用程序,我们的后端目前正在使用python

和php前端。我们想在python中做所有事情,但我们前端的php

非常容易使用。我们想在我们的

前端使用zope(没有经验)任何人都可以提供任何经验吗

这个?

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>一些标题< / title>


这是我们想要的会话支持以及

php提供的东西吗?

史蒂夫


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

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

推荐答案

Zope并不是真的像那样工作。 Zope页面模板提供了一个类似于你习惯使用的b / b
的环境,但你不能只是放入python代码。 Zope是一个完整的

应用服务器,它具有非常广泛的功能集b / b,它们是WebSphere或WebLogic的顺序。


您可能需要查看:

http:// karrigell.sourceforge.net/


这似乎做你想要的,但我没有直接

经验(刚看过网站)。


-Larry Bates


Steve写道:
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:
我们正在建立一个网络应用程序和我们的后端目前正在使用python
与php前端。我们想在python中做所有事情,但我们前端的php
非常容易使用。我们想在我们的
前端使用zope(没有使用它的经验)任何人都可以提供任何经验吗
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?
我可以告诉你不能只做


<%
#python代码
%>
< title>一些标题< / title>

这是我们想要的会话支持和
php提供的东西吗?

Steve


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

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



Zope并不是真的像那样工作。 Zope页面模板提供了一个类似于你习惯使用的b / b
的环境,但你不能只是放入python代码。 Zope是一个完整的

应用服务器,它具有非常广泛的功能集b / b,它们是WebSphere或WebLogic的顺序。


您可能需要查看:

http:// karrigell.sourceforge.net/


这似乎做你想要的,但我没有直接

经验(刚看过网站)。


-Larry Bates


Steve写道:
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:
我们正在建立一个网络应用程序和我们的后端目前正在使用python
与php前端。我们想在python中做所有事情,但我们前端的php
非常容易使用。我们想在我们的
前端使用zope(没有使用它的经验)任何人都可以提供任何经验吗
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?
我可以告诉你不能只做


<%
#python代码
%>
< title>一些标题< / title>

这是我们想要的会话支持和
php提供的东西吗?

Steve


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

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



Steve schrieb:
Steve schrieb:
从我能告诉你的事情不能做到
From what I can tell you can''t just do


<%
#python代码
%>
< title>一些标题< / title>

这是我们想要的会话支持和
php提供的东西吗?


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

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




Google forpython web frame works。大多数都有会话支持,并且有些人提供嵌入HTML的Python代码(例如Webware,mod_python

和Spyce)。我从来没有意识到这有什么好处,因为


<%

#python代码

%>

< title>一些标题< / title>





打印输出(python-code)+"< title>一些标题< / title>"


是等价的。


另一种方法是使用模板。大多数Web框架都有

模板。我最喜欢的是猎豹。


-

----------------------- --------------------------------------------

Peter Maas,M + R Infosysteme,D-52070 Aachen,电话+ 49-241-93878-0

电子邮件''cGV0ZXIubWFhc0BtcGx1c3IuZGU = \ n''。decode(''base64 '')

--------------------------------------- ---------------------------



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'')
------------------------------------------------------------------


这篇关于Zope vs Php的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆