Skip to content
Browse files

update front page

  • Loading branch information...
1 parent 9f40152 commit 7118168e7055e28f2d41a2f4c619cc3a4d63aaf1 @aaronsw aaronsw committed
Showing with 29 additions and 170 deletions.
  1. +29 −170 index.md
View
199 index.md
@@ -1,50 +1,42 @@
---
layout: default
-title: About web.py
+title: Welcome to web.py!
---
-# About web.py
-
-Other languages : [français](/fr) | ...
-
**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.
-##A complete web.py application
-
- import web
-
- urls = (
- '/(.*)', 'hello'
- )
- app = web.application(urls, globals())
-
- class hello:
- def GET(self, name):
- if not name:
- name = 'World'
- return 'Hello, ' + name + '!'
-
- if __name__ == "__main__":
- app.run()
-
+<div style="float: right">
+<pre>
+import web
+
+urls = (
+ '/(.*)', 'hello'
+)
+app = web.application(urls, globals())
+
+class hello:
+ def GET(self, name):
+ if not name:
+ name = 'World'
+ return 'Hello, ' + name + '!'
+
+if __name__ == "__main__":
+ app.run()
+</pre>
+<em>A complete web.py application.</em>
+</div>
## Get Started
-web.py 0.34 was released on 2010-03-20: [web.py-0.34.tar.gz][16]
+web.py 0.34 is the latest released version of web.py. You can install it by running:
- [16]: /static/web.py-0.34.tar.gz
+ sudo easy_install web.py
-To always have the latest version of web.py, run:
+Or to get the latest development version from git:
git clone git://github.com/webpy/webpy.git
ln -s `pwd`/webpy/web .
-Or download the latest version as [zip](http://github.com/webpy/webpy/zipball/master) or [tarball](http://github.com/webpy/webpy/tarball/master).
-
-Upgrading from an older version? Be sure to [read the upgrade guide][17].
-
- [17]: http://webpy.org/docs/0.3/upgrade
-
## Who uses web.py?
web.py was originally published while Aaron Swartz worked at [reddit.com][20], where the site used it as it grew to become one of the top 1000 sites according to Alexa and served millions of daily page views. "It's the anti-framework framework. web.py doesn't get in your way," explained founder Steve Huffman. (The site was rewritten using other tools after being acquired by Condé Nast.)
@@ -53,82 +45,20 @@ web.py was originally published while Aaron Swartz worked at [reddit.com][20], w
[Frinki](http://frinki.com), a new social network in Spanish.
+[Yandex][21], the leading Russian search engine (their homepage alone receives 70 million daily page views).
+
+ [21]: http://yandex.ru
+
[Make History](http://makehistory.national911memorial.org), a project of the 9/11 Memorial Museum, is powered by web.py on top of Google App Engine. On September 11, 2009, it received nearly 200,000 visitors. "It's my first time working with web.py and basically with Python," noted its developer. "web.py was awesome."
[Oyster Hotel Reviews](http://www.oyster.com/), a website that reviews hotels and lets you book them, uses web.py for its booking pages and dynamic content. They note that "web.py gives us the control we need for a large-scale website".
[local.ch](http://www.local.ch), the official online Telephone Directory for Switzerland - using web.py in a backend service for tracking expired content - code open-sourced as [urldammit](http://github.com/harryf/urldammit/tree/master).
-[sitecanary.com](https://sitecanary.com/) a site for being alerted if your website is down.
-
-[watchdog.net](http://watchdog.net/), a political watchdog site, is built in web.py.
-
[archivd.com](http://www.archivd.com), a web application for collaborative research and archiving, is built on web.py.
-[colr.org](http://www.colr.org), a color scheme picking site, is built in web.py.
-
-
[Chiefmall](http://www.chiefmall.com/), a contractor search tool, was built with web.py.
-[grouplite.com](http://www.grouplite.com) uses web.py.
-
-[Yandex][21], a Russian traffic provider whose homepage alone receives 70 million daily page views, uses web.py for certain projects.
-
- [21]: http://yandex.ru
-
-[LShift][22] has used web.py to build websites for [Expro][23] and [publisher Dorling Kindersley][24]. "web.py allows us to do what we do best," they report. "It does the webapp thing brilliantly, and without requiring us to compromise on flexibility and originality."
-
- [22]: http://www.lshift.net/
- [23]: http://exproretail.com/
- [24]: http://travel.dk.com/
-
-[micropledge][m], a web app that collects funding for software ideas, is built in web.py. "We've enjoyed fitting in with its minimalist approach," says developer Ben Hoyt.
-
- [m]: http://micropledge.com/
-
-The [bivalidator](http://xhtml-css.com/) checks your HTML and CSS validation.
-
-[jottit.com](http://jottit.com) is built with web.py. Jottit makes getting a website as easy as filling out a textbox.
-
-[Tasko][t] is built with web.py. Tasko is an online task management tool which uses a plain text file format to store all the information.
-
- [t]: http://taskodone.com/
-
-[Damiga][d] is built with web.py. Damiga is a place where you can anonymously and freely tell the world how you feel about other people: friends, celebrities, even fictional characters. It's also a place where you can see how the world feels about you.
-
- [d]: http://damiga.com/
-
-[Fotosaur.us][f], an unbelievably rad image bookmarking app, was written with web.py.
-
- [f]: http://fotosaur.us
-
-
-[URIs.us][u] is service for creating short urls. Deploying on Google App Engine
-
- [u]: http://uris.us
-
-
-[xykra] [x] is a minimalist (160 Python lines) wiki using [Markdown](http://daringfireball.net/projects/markdown/).
-
- [x]: http://xykra.org
-
-[Edgarest] [y] is built with web.py.Edgarest provides fast, intuitive search of SEC Filings.
-
- [y]: http://edgarest.com
-
-
-[Wklej.to] [z] is a nopaste/Pastebin app with Free and Open api, and of course with desktop plugins and clients.
-
- [z]: http://wklej.to
-
-[Sysinternals CD] [zz] integrates webpy and postgresql to render an automated website
-
- [zz]: http://sysinternals.xykra.org
-
-[Biomed Search] [zzz] searches over a million biomedical images images in nicely viewable sizes.
-
- [zzz]: http://www.biomed-search.com
-
"[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 Google App Engine
@@ -160,7 +90,7 @@ The [bivalidator](http://xhtml-css.com/) checks your HTML and CSS validation.
[30]: http://shortb.net/~f561f2
"... the [Cheetah] example I saw on web.py looks "right". (web.py itself OTOH gets an "F", for undocumented code with too much magic behavior. upvars(), bah.)"
-- Guido van Rossum, creator of Python [#][31]
+- Guido van Rossum, creator of Python [#][31] (the magic, like upvars, has since been removed)
[31]: http://shortb.net/+f561f3
@@ -173,74 +103,3 @@ The [bivalidator](http://xhtml-css.com/) checks your HTML and CSS validation.
- Kamal [simple blog in webpy, learning python the fun way][33]
[33]: http://www.k4ml.com/node/165
-
-### web.py documentation:
-
-* [installation](/install)
- * [english](/install)
- * [mac os x](/install_macosx)
- * [español](/install/es)
- * [日本語](/install/ja)
- * [简体中文](/install/zh-cn)
- * [Italiano](/install/it)
- * [français](/install/fr)
-
-
-* [tutorials for version 0.3 (latest)](/tutorial3)
- * [english](/tutorial3.en)
- * [简体中文](/tutorial3.zh-cn)
- * [p?????? 0.2](http://webpy.infogami.com/tutorial2.ru)
- * [????](http://www.dup2.org/files/web.py%200.2%20tutorial.html)
- * [template.py tutorial](/templetor)
- * [form.py (short) tutorial](/form)
- * [日本語](/tutorial2.ja)
- * [e???????](http://webpy.org/tutorial2.el)
- * [français](/tutorial3.fr)
-
-* [tutorials (old version)](/tutorial):
- * [english](http://webpy.org/tutorial)
- * [español](/tutorial/es)
- * português: [1](http://www.writely.com/View.aspx?docid=bbcm927cd2fmj) [2](http://www.writely.com/View.aspx?docid=bbcnjdbhbfh6n) [3](http://www.writely.com/View.aspx?docid=bccxp4cgw36p3)
- * [français](http://sunfox.org/tutoriel-web-py-fr/)
- * [p??????](http://bobuk.infogami.com/webpytrans)
- * [日本語](http://kinneko.googlepages.com/webpy_tutorial_ja)
-
-* [code documentation](/docs)
-
-
-* FAQ:
- * [english](http://webpy.org/faq)
- * [español](/faq/es)
- * [???????](/faq/ru)
- * [???](http://kinneko.googlepages.com/webpy_faq)
- * [日本語](/faq/ja)
- * [简体中文](/faq/zh-cn)
- * [français](/faq/fr)
-
-* cookbook:
- * [日本語](/cookbook/ja)
- * [english](/cookbook)
- * [简体中文](/cookbook/zh-cn)
-
-* [code samples](/src)
-
-* [friendly hosts](/hosts)
-
-* [related projects](/related)
-
-* [tricks](/tricks)
-
-
-### web.py community
-* [**mail list**](http://groups.google.com/group/webpy/ "web.py google group"): home of the web.py discussion
-
-* [**irc channel**](irc://irc.freenode.net/webpy "#webpy on irc.freenode.net"): home of the web.py talk
-
-* [powered by web.py buttons](http://luke.jottit.com/webpy_logo)
-
-### web.py development
-
-
-* [git repository](http://github.com/webpy/webpy)
-
-* [launchpad site](http://launchpad.net/webpy)

0 comments on commit 7118168

Please sign in to comment.
Something went wrong with that request. Please try again.