Python / Apache / MySQL [英] Python / Apache / MySQL

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

问题描述

大家好


我想用Apache / Python和MySQL建立一个网站。

我不想花很多时间来黑客攻击html。我正在寻找一些

推荐

,例如我应该使用mod_python吗?

什么是mysql的最佳模块?


任何建议所以我可以在一天内建立我的网站?

mv*********@gmail.com

解决方案

vpr写道:

大家好

我想用Apache建立一个网站/ Python和MySQL。


好​​的选择,好的选择,糟糕的选择...

为什么不使用PostgresSQL(如果你需要*真正的* RDBMS)或SQLite(如果你

不要......)

我不想花很多时间来黑客攻击HTML。我正在寻找一些
建议
我应该使用mod_python吗?


mod_python主要是''低级''Apache API绑定。更好地使用

更高级别的工具。 AFAICT,Myghty可能在这里有所帮助。

什么是mysql的最佳模块?


Psycopg? - )


oops,对不起....

任何建议所以我可以得到我的在一天的网站?




寻找Myghty,Pylons(建立在Mygthy上)或Django。还有

Turbogears,但它基于CherryPy,因此你不会真正采用mod_python的Apache集成的优势。


-

bruno desthuilliers

python -c" print''@''。join([''''' '.join([w [:: - 1] for p in p.split(''。'')])for

p in''o****@xiludom.gro'' .split(''@'')])"


vpr启发我们:

我想用Apache构建一个网站/ Python和MySQL。


我的第二个布鲁诺:交换MySQL支持PostgreSQL。

例如我应该使用mod_python吗?


您可以使用基于mod_python和Cheetah的框架。我发现它很好用。
非常好用。查看 http://www.unrealtower.org/webengine

什么是mysql的最佳模块?




我会使用SQLObject。它可以处理MySQL(如果你真的想坚持

吧),SQLite和PostgreSQL。


Sybren

-

世界的问题是愚蠢。并不是说应该对愚蠢的死刑进行处罚,但为什么我们不要仅仅拿掉

安全标签来解决问题呢? br />
Frank Zappa


2006年2月14日星期二10:32:34 +0100,Sybren Stuvel写了

(在文章< sl ********************** @ schuimige.unrealtower.or g>):

I第二个布鲁诺:交换MySQL支持PostgreSQL。




原因是?? (除了PostgreSQL更大更完整,

简单用法的区别是什么?)


jem


Hi All

I want to build an Website using Apache / Python and MySQL.
I dont want to spend to much time hacking html. I''m looking for some
recommendations
e.g. should I be using mod_python ?
whats the best module for mysql ?

any suggestings so I could get my site up in a day ?

mv*********@gmail.com

解决方案

vpr wrote:

Hi All

I want to build an Website using Apache / Python and MySQL.
Good choice, good choice, bad choice...
Why not using PostgresSQL (if you need a *real* RDBMS) or SQLite (if you
don''t...)
I dont want to spend to much time hacking html. I''m looking for some
recommendations
e.g. should I be using mod_python ?
mod_python is mostly a ''low-level'' Apache API binding. Better use a
higher-level tool on top of it. AFAICT, Myghty might be of some help here.
whats the best module for mysql ?
Psycopg ?-)

oops, sorry....
any suggestings so I could get my site up in a day ?



Look for Myghty, Pylons (built on Mygthy), or Django. There''s also
Turbogears, but it''s based on CherryPy, so you won''t really take
advantage of mod_python''s Apache integration.

--
bruno desthuilliers
python -c "print ''@''.join([''.''.join([w[::-1] for w in p.split(''.'')]) for
p in ''o****@xiludom.gro''.split(''@'')])"


vpr enlightened us with:

I want to build an Website using Apache / Python and MySQL.
I second Bruno: swap MySQL in favour of PostgreSQL.
e.g. should I be using mod_python ?
You could use my framework based on mod_python and Cheetah. I find it
really easy to use. Check out http://www.unrealtower.org/webengine
whats the best module for mysql ?



I''d use SQLObject. It can handle MySQL (if you really want to stick to
it), SQLite and PostgreSQL.

Sybren
--
The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, but why don''t we just take the
safety labels off of everything and let the problem solve itself?
Frank Zappa


On Tue, 14 Feb 2006 10:32:34 +0100, Sybren Stuvel wrote
(in article <sl**********************@schuimige.unrealtower.or g>):

I second Bruno: swap MySQL in favour of PostgreSQL.



And the reason is ?? (apart from PostgreSQL being larger and more complete,
what are the differences for "simple" usage?)

jem


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

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