Skip to content

Commit

Permalink
upgrade to 0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
anandology committed Jan 5, 2011
1 parent 30cf993 commit 91aa63f
Showing 1 changed file with 20 additions and 35 deletions.
55 changes: 20 additions & 35 deletions index.md
Expand Up @@ -7,29 +7,29 @@ title:


**web.py** is a web framework for python that is as simple as it is powerful. web.py is in the public domain; you can use it for whatever purpose with absolutely no restrictions. **web.py** is a web framework for python that is as simple as it is powerful. web.py is in the public domain; you can use it for whatever purpose with absolutely no restrictions.


import web import web


urls = ( urls = (
'/(.*)', 'hello' '/(.*)', 'hello'
) )
app = web.application(urls, globals())


class hello: class hello:
def GET(self, name): def GET(self, name):
i = web.input(times=1) if not name:
if not name: name = 'world' name = 'world'
for c in range(int(i.times)): return 'Hello, ' + name + '!'
print 'Hello,', name+'!'


if __name__ == "__main__": web.run(urls, globals()) if __name__ == "__main__":
app.run()


A complete web.py application A complete web.py application


## Get Started ## Get Started


web.py 0.23 was released 2008-01-19: [web.py-0.23.tar.g][16]<a href="http://is.gd/85B2" title="Grossistes edu grossiste listes list" style="text-decoration:none; color:green;" >z</a> web.py 0.3 was released 2008-12-06: [web.py-0.3.tar.gz][16]


[16]: static/web.py-0.23.tar.gz [16]: /static/web.py-0.3.tar.gz


To always have the latest version of web.py, run: To always have the latest version of web.py, run:


Expand All @@ -40,7 +40,7 @@ Or download the latest version as [zip](http://github.com/webpy/webpy/zipball/ma


Upgrading from an older version? Be sure to [read the upgrade guide][17]. Upgrading from an older version? Be sure to [read the upgrade guide][17].


[17]: http://webpy.infogami.com/upgrade_to_point2 [17]: http://webpy.org/docs/0.3/upgrade


## Who uses web.py? ## Who uses web.py?


Expand Down Expand Up @@ -107,10 +107,10 @@ The [bivalidator](http://xhtml-css.com/) checks your HTML and CSS validation.


[z]: http://sysinternals.xykra.org [z]: http://sysinternals.xykra.org


## <a style="color:gray" href="http://www.buzzle.fr" title="blog buzzle les bulles de buzz" alt="blog buzzle les bulles de buzz">Buzz</a> ## <a style="color:gray" href="http://www.buzzle.fr" title="Citation, les citations de nos amis people et de la politique">Buzz</a>


"[web.py inspired the] web framework we use at FriendFeed [and] the webapp framework that ships with App Engine..." "[web.py inspired the] web framework we use at FriendFeed [and] the webapp framework that ships with App Engine..."
- [Brett Taylor](http://bret.appspot.com/entry/experimenting-google-app-engine), co-founder of FriendFeed and original tech lead on <a style="color:gray" href="http://www.goo-goo-gle-gle.com/" title="Google for the stammerers, Google pour les bègues" alt="Google for the stammerers, Google pour les bègues">Google</a> App Engine - [Brett Taylor](http://bret.appspot.com/entry/experimenting-google-app-engine), co-founder of FriendFeed and original tech lead on <a style="color:gray" href="http://www.goo-goo-gle-gle.com/" title="Google Pagerank, référencement, credits, referencement, rapidement, rapide" alt="Google Pagerank, référencement, credits, referencement, rapidement, rapide">Google</a> App Engine


"In the ecosystem of web frameworks, something needs to occupy the 'small, light and fast' niche. web.py is it." "In the ecosystem of web frameworks, something needs to occupy the 'small, light and fast' niche. web.py is it."
- Lloyd Dalton, [colr.org](http://colr.org) - Lloyd Dalton, [colr.org](http://colr.org)
Expand Down Expand Up @@ -165,14 +165,13 @@ The [bivalidator](http://xhtml-css.com/) checks your HTML and CSS validation.
* [español](/install/es) * [español](/install/es)
* [日本語](/install/ja) * [日本語](/install/ja)


* [tutorials for version 0.2 (latest)](/tutorial2) * [tutorials for version 0.3 (latest)](/tutorial3)
* [english](/tutorial2.en) * [english](/tutorial3.en)
* [pусский 0.2](http://webpy.infogami.com/tutorial2.ru) * [pусский 0.2](http://webpy.infogami.com/tutorial2.ru)
* [简体中文](http://www.dup2.org/files/web.py%200.2%20tutorial.html) * [简体中文](http://www.dup2.org/files/web.py%200.2%20tutorial.html)
* [template.py tutorial](/templetor) * [template.py tutorial](/templetor)
* [template.py 教程 (tutorial)](http://gamexg-cw.cn/2008/10/15/webpy-%E6%96%87%E6%A1%A3%E4%B8%AD%E6%96%87%E7%BF%BB%E8%AF%91%EF%BC%9Awebpy-%E6%A8%A1%E6%9D%BF%E7%B3%BB%E7%BB%9F-%E4%BB%A3%E7%A0%81%E5%90%8D%E7%A7%B0templetor/) * [template.py 教程 (tutorial)](http://gamexg-cw.cn/2008/10/15/webpy-%E6%96%87%E6%A1%A3%E4%B8%AD%E6%96%87%E7%BF%BB%E8%AF%91%EF%BC%9Awebpy-%E6%A8%A1%E6%9D%BF%E7%B3%BB%E7%BB%9F-%E4%BB%A3%E7%A0%81%E5%90%8D%E7%A7%B0templetor/)
* [form.py (short) tutorial](/form) * [form.py (short) tutorial](/form)
* [upgrading from 0.1 to 0.2](http://webpy.infogami.com/upgrade_to_point2)
* [日本語](/tutorial2.ja) * [日本語](/tutorial2.ja)
* [ελληνικά](http://webpy.org/tutorial2.el) * [ελληνικά](http://webpy.org/tutorial2.el)


Expand Down Expand Up @@ -219,23 +218,9 @@ The [bivalidator](http://xhtml-css.com/) checks your HTML and CSS validation.


### web.py development: ### web.py development:


* [bazaar repository](http://webpy.org/bzr/webpy.dev) | [follow commits](https://code.edge.launchpad.net/~anandology/webpy/webpy.dev/+subscribe) * [git repository](http://github.com/webpy/webpy)


* [launchpad site](http://launchpad.net/webpy) * [launchpad site](http://launchpad.net/webpy)


* [roadmap](/roadmap)

* [todo](/todo)

<img src="http://webpy.org/static/webpy-green.png" /> <img src="http://webpy.org/static/webpy-green.png" />












0 comments on commit 91aa63f

Please sign in to comment.