Sau khi cài đặt xong Aphache thì để chạy Web Server Python, các bạn cần ModWSGI :
Các bản cho Windows và Linux : http://code.google.com/p/modwsgi/wiki/DownloadTheSoftware?tm=2
Tải xong chép mod_wsgi.so vào /Program Files/Apache Software Foundation/Apache22/modules là OK.
Chú ý nhỏ : rename mod_wsgi-win32-ap22py27-3.3.so => mod_wsgi.so
(http://code.google.com/p/modwsgi/wiki/InstallationOnWindows
http://brugbart.com/Tutorials/installing-mod-wsgi-apache-windows
)
Showing posts with label Web py. Show all posts
Showing posts with label Web py. Show all posts
Thursday, May 3, 2012
Cài đặt Eclipse Web Server cho Python
- Tải và cài đặt Python 2.7
- Tải và cài đặt Eclipse Web Developement
- Cài plugin Python cho Eclipse ví dụ Pydev for Python
- Tải và cài modwsgi
- Tải và cài đặt Web.py
- Tải và cài đặt Apache Web Server
- Tham khảo thêm tại :
- http://nguyen-vu-long.blogspot.com/2011/11/cai-at-va-su-dung-python-tren-windows-7.html
- http://nguyen-vu-long.blogspot.com/2011/11/cai-at-python-cho-eclipse-ubuntu.html
- http://nguyen-vu-long.blogspot.com/2012/05/cai-dat-install-webpy-windows.html
- http://nguyen-vu-long.blogspot.com/2012/05/cai-dat-install-modwsgi.html
- Chú ý quan trọng sau khi làm xong các bước trên http://stackoverflow.com/questions/4631377/unresolved-import-issues-with-pydev-and-eclipse
Labels:
Python,
Web Development,
Web py
Cài đặt Web.py trên Windows
Tải cái này về : http://webpy.org/static/web.py-0.36.tar.gz
Giải nén bằng WinRAR.
Copy folder web => python2.7/lib/web
Sử dụng : http://webpy.org/docs/0.3/tutorial
Giải nén bằng WinRAR.
Copy folder web => python2.7/lib/web
Sử dụng : http://webpy.org/docs/0.3/tutorial
Labels:
Python,
Web Development,
Web py
Web.py versus App Engine
Một so sánh rất thú vị : http://stackoverflow.com/questions/4759565/differences-between-webapp-and-web-py
Đọc vô hiểu sơ sơ :))
web.py experience:
I started to use web.py three years ago when I decided to learn some Python web frameworks.
The first thing I loved of web.py was its simplicity; I was searching for an essential microframework without all the batteries that you can find in other bigger projects like Django or Web2py for example.So I developed a couple of projects (deployed with fastcgi) and learned all of the web.py library features,Templetor included.Then I discovered Google App Engine and started to use Webapp; it was a boring process because instead of using python (like Templetor or Mako), it forces you to learn a new templating syntax that it is very restrictive by default.
While Developing StackPrinter I found that Google App Engine was supported by web.py so I removedSqlite, made some minor tweaks and started to use GAE datastore.Web.py was my first love in term of Python web frameworks and it's fair to say that I'm a little biased to talk about it.
I'm sticking with web.py for my pet-project on GAE because I'm fluent with it and templetor is lightning fast.
I like the fact that I can use Python for templating and the easy way to share some data or functions globally to the views, I like also the rich toolset of utilities for encoding, markdown and so on.Webapp vs web.py:
I think it's not fair to compare them because Webapp is a simple framework that just provides the minimum easy tools to get started; many features are missing like I18n, validation, processors or even the basic cookies handling.
Check Webapp-improved for something better.
Đọc vô hiểu sơ sơ :))
Labels:
App Engine,
Google,
Python,
Web Development,
Web py
Subscribe to:
Posts (Atom)