`
wutao8818
  • 浏览: 612539 次
  • 性别: Icon_minigender_1
  • 来自: 杭州
社区版块
存档分类
最新评论

Pylons简介

阅读更多
http://pylonshq.com/information.html


引用
Pylons is a modern full-stack Python web development framework combining the very best from the worlds of Ruby, Python and Perl. Pylons helps you to build complex web applications quickly and easily. It is being developed by Ben Bangert and James Gardner with contributions, help and advice from Ian Bicking, Mike Bayer and many others.


Pylons 是现代一站式Python web开发框架,集合了ruby python perl的优点。pylons帮助你快速的简单的建立一个复杂web应用。此项目由Ben Bangert , James Gardner 开发 ,同时得到了Ian Bicking, Mike Bayer 等的贡献 帮助和建议。

引用
Pylons is similar in many ways to Ruby on Rails since it uses similar methodologies and includes direct ports of useful Rails components such as Routes and AJAX Helpers. By combining ideas from Mason, TurboGears and various Python frameworks with a highly extensible API, Pylons provides a framework that is:


pylons在很多方面类似于Ruby on Rails ,因为它使用的相似的方法论,同时包含对有用的Rails组件,例如Routes and AJAX Helpers 的直接接口。通过一个高度扩展API组合Mason, TurboGears和多个Python框架的的思想,pylons提供了一个框架:


引用
Fast and Stable
Built on Mako, Routes and Paste, Pylons harnesses the full power of Mako for maximum performance. Although Pylons is still in development the core packages it uses are mature and Pylons is already being used in production systems.

快速,稳定
构建在Mako Routes Paste上。Pylons为最大的性能发挥了Mako所有的能力。虽然Pylons的核心包仍然在不停的开发中,但它的使用是成熟的。并且已经被应用于生产环境。

引用

Easy to Use
Pylons implements the very best web development methodologies in straightforward pure-Python code. People new to Pylons are often surprised by how natural it is to use. If you already know Python you will feel right at home with Pylons, if not the Python Tutorial is an excellent starting point. Pylons plays nicely with other frameworks; you can even run TurboGears, Django and other WSGI applications from within a Pylons application making transition that bit easier. The web based interactive debugging makes even tough problems easy to resolve.


使用简单

Pylons用纯Python代码实现了非常好的web开发方法学。对刚使用Pylons的人来说经常会很吃惊使用它是如此自然。如果你已经知道python,如果Python教程不是一个精彩的起点,你看到Pylons会有宾至如归的感觉。Pylons plays nicely with other frameworks; you can even run TurboGears, Django and other WSGI applications from within a Pylons application making transition that bit easier.。基于交互的debugging也使艰难的问题变的更容易解决。


引用

Compatible
Pylons and its underlying components have been designed with great care to run on operating systems from Windows to MacOS to Linux on all types of computer from embedded devices to dedicated servers, in fact anywhere with a full Python 2.3 installation or above. Pylons can be deployed with its own server or integrated with other servers through WSGI/FastCGI/SCGI/CGI/mod_python and more. For example you can run Pylons applications on an Apache shared hosting account with ease.


兼容性

Pylons以及它下面的组件已经被小心设计,使它可以运行在包括Windows  MacOS Linux 嵌入式设备以及服务器 ,事实上 任何完整安装Python的地方。Pylons能被部署在自带的server 或通过WSGI/FastCGI/SCGI/CGI/mod_python等方式集成到其他服务器中。例如你可以简单的在Apache共享主机运行Pylons应用程序。


引用

Component-Based
Most Pylons functionality is implemented through extension packages distributed as eggs rather than as part of Pylons Core. This enables you to only include functionality you need in your application and avoid slowdown caused by unnecessary code. Even the Pylons Core APIs have been designed so that they can be tweaked, customized, extended or replaced with the minimum of effort, often just by modifying files in your application's config directory.


基于组件

大部分的Pylons功能实现都是通过扩展包的方式分发的,而不是Pylons核心的一部分。这就可以让你包含你的应用需要的功能,并阻止无效代码降低运行速度。甚至Pylons核心的APIs已经被设计,以便 他们能以最小限度的影响 被 定制,扩展,替换,经常只需要修改你的应用的配置文件即可。


引用

Extensible
If your application needs extra functionality you can install a Pylons Extension of your own. Pylons Extensions already exist to add Internationalization, Auth facilities and Rails helpers. You can easily write and distribute your own Pylons Extensions using the Extension API. Pylons Extensions are also designed to be integrated with other web frameworks and this integration is actively encouraged.



扩展性

如果你的应用需要额外的扩展功能 ,你可以安装自己的Pylons扩展。Pylons扩展已经添加了国家化,认证工具,和Rails helpers。你能使用扩展API 简单的写和分发你自己的Pylons扩展,Pylons 扩展同样也被设计为能集成其他开发框架,并且这种集成是被积极鼓励的。

引用
Growing Rapidly
Pylons' ease of use and sophisticated features mean that it is rapidly gaining support. Its extensible architecture is enabling more people to write new packages to extend the core functionality and its careful and flexible design mean that Pylons can rapidly evolve and grow as new methodologies and ideas take root.


快速增长

Pylons使用简单,久经世故的功能意味着它能快速的得到支持。它可扩展架构是更多的人可以写新的包以扩展核心功能,它小心,灵活的设计意味着 Pylons 的新的方法学和思想能付诸实施,能快速的展开和生长。
引用


Knowing Python makes Pylons easy
Pylons makes it easy to expand on your knowledge of Python to master Pylons for web development. Using a MVC style dispatch, Python knowledge is used at various levels:
The Controller is just a basic Python class, called for each request. Customizing the response is as easy as overriding __call__ to make your webapp work how you want.
Mako templating compiles directly to Python byte-code for speed and utilizes Python for template control rather than creating its own template syntax for "for, while, etc"


了解Python使Pylons简单

Pylons做了一些工作,使你轻松的扩展一些你的Python知识就能掌握Pylons web开发。
使用MVC风格的分发,Python知识被用于多个层次:
控制器是一个简单的Python,被每个请求调用。重写__call__方法就可以轻松的定制response来使你的应用以你期望的方式工作。Mako模板直接编译为Python字节码,以提高速度。同时利用Python对模板的控制力超过创建它自己的for while 模板语法。

分享到:
评论
2 楼 wutao8818 2012-05-07  


哦。3Q 
1 楼 hiddendragon 2012-05-03  
"If you already know Python you will feel right at home with Pylons, if not the Python Tutorial is an excellent starting point.

--如果你已经知道python,如果Python教程不是一个精彩的起点,你看到Pylons会有宾至如归的感觉。“

这句的翻译不太正确,应该理解为:

如果你已经懂Python,那么Pylons会让你有回家的感觉。如果你不懂Python,那么Python教程(http://docs.python.org/tutorial/)将会是一个很好的起点。

相关推荐

    借着今天的大好日子,挖一个Pylons教程的坑

    1. **Pylons简介**:介绍Pylons的历史、设计理念、与其它Python Web框架的比较。 2. **环境配置**:如何安装Python、Pylons框架,以及设置开发环境,如虚拟环境的创建和管理。 3. **第一个Pylons项目**:引导读者...

    Apress.the.Definitive.Guide.to.Pylons.Dec.2008

    ##### Pylons框架简介 Pylons是一个用Python语言编写的开源Web应用框架,其设计目标是提供一个灵活、高性能且易于使用的平台,让开发者能够快速地构建复杂的Web应用。Pylons的核心特性包括: - **轻量级**:Pylons...

    Gardner -- The Definitive Guide to Pylons -- 2008.pdf

    **Pylons 框架简介** - **定义与历史**:Pylons是一个基于Python的Web开发框架,强调简洁性、灵活性以及对开发者自由度的尊重。它诞生于2006年,由Ian Bicking创建。 - **特点**: - **简洁性**:Pylons旨在提供...

    Pyramid英文文档.pdf

    2. **Pylons 项目简介**: - Pyramid 作为 Pylons 的升级版,继承了 Pylons 的许多优秀特性,并在此基础上做了进一步的优化和发展。 - Pylons 项目本身也是一套完整的 Web 开发平台,包含了多个子项目,如 ...

    Juneau -- The Definitive Guide to Jython -- 2010.pdf

    #### 核心概念:Jython简介 - **定义**:Jython是一种能够运行在Java平台上的Python解释器,它使得开发者能够在Java虚拟机(JVM)上执行Python代码,同时无缝地集成Java类库。 - **优势**:结合了Python语言的简洁...

    Python环境下安装使用异步任务队列包Celery的基础教程

    1.简介 celery(芹菜)是一个异步任务队列/基于分布式消息传递的作业队列。它侧重于实时操作,但对调度支持也很好。 celery用于生产系统每天处理数以百万计的任务。 celery是用Python编写的,但该协议可以在任何语言...

    Python库 | PyAMF-0.5-py2.5-linux-x86_64.egg

    4. **集成其他Python框架**:PyAMF能够与多种Python Web框架集成,如Django、Flask、Pylons等,方便地实现与Flash客户端的交互。 5. **Flex和 BlazeDS集成**:如果你的项目使用了Adobe Flex或BlazeDS,PyAMF可以...

    Mako-0.2.5.tar.gz

    **Mako 框架简介** Mako 是一个基于 Python 的高性能、灵活的模板引擎,专为 Web 开发设计。它的名称来源于日本神话中的海洋生物“鲸鲨”,寓意其强大的功能和灵活性。在 Mako 中,你可以直接在 HTML 代码中嵌入 ...

    完完全全的零基础Python教程.pdf

    #### 一、Python简介及为何学习Python **1. Python概述** - **应用领域广泛**:无论是Web开发、机器学习、人工智能还是微控制器编程,Python都能发挥重要作用。 - **易学性**:Python语法简洁明了,对初学者友好...

    常用的python模块功能和下载地址借鉴.pdf

    以下是一些常见的Python模块及其功能简介: 1. **adodb**:用于数据库连接,特别是在Windows环境下,提供对多种数据库系统的访问接口。 2. **bsddb3**:BerkeleyDB的Python接口,提供键值存储服务,适用于高性能、...

    bfg-ploneconf-oct2008.pdf

    ### Repoze.bfg Web框架简介 #### 一、概述 **Repoze.bfg**(简称BFG)是一种基于Zope3技术栈的轻量级Web应用框架,它旨在简化Zope开发者利用WSGI技术的过程,并使得非Zope开发者能够更轻松地采用Zope的技术而无需...

    开源版本控制SVN管理后台pySvnManager用户使用手册(pysvnmanager user-guide)

    #### 一、pySvnManager简介 pySvnManager是一款由北京群英汇信息技术有限公司开发的开源Subversion (SVN) 管理后台软件。该软件基于Python语言编写,使用Pylons框架构建而成,主要功能在于简化SVN授权文件的管理和...

    SQLAlchemy_Tutorial

    #### 一、简介与概述 SQLAlchemy 是 Python 社区中最受欢迎的对象关系映射(ORM)工具之一,它为开发者提供了一种高效且灵活的方式来处理数据库交互。本教程旨在深入介绍 SQLAlchemy 的核心概念、安装方法、基本...

    Python搭建APNS苹果推送通知推送服务的相关模块使用指南

    - **简介**: - PyAPNs是一款简洁实用的APNS模块,源代码仅384行,涵盖了APNS的基本功能,如发送单个或批量推送、利用反馈接口等。 - 它的特点在于简单易用,所有验证逻辑都在客户端完成,例如确保每个Payload不...

    艾伯特python新员工教材

    - **Pylons&TurboGears&repoze.bfg**:轻量级到中等重量级的框架,提供了更多的灵活性。 - **Tornado&web.py**:适用于高性能Web应用程序的轻量级框架。 - **Bottle&Flask**:微型框架,易于学习和使用,适合小型...

Global site tag (gtag.js) - Google Analytics