URL 调度程序

对高质量的 WEB 应用程序来说, 有一个干净优雅的 URL 调度机制是至关重要的. Django 允许你根据需要设计 URLs ,没有任何框架层的限制.

不需要 .php 或 .cgi 扩展名, 也没有象 0,2097,1-1-1928,00 那样的丑陋东西.

参阅 WWW 的缔造者 Tim Berners-Lee 所写的 Cool URIs don’t change, 这篇文章的主题就是为什么 URL 应该是干净并且便于使用的.

Continue reading URL 调度程序 - 全文阅读

Share and Enjoy:
  • Print this article!
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • LinkedIn
  • Live
  • MySpace
  • RSS
  • Slashdot
  • Technorati
  • TwitThis

Python用SGMLParser抓取网页连接的改进

grove_SGMLParser 在网上看见用抓取网页连接的大部分都是用以下代码:
#!/usr/bin/env
# -*- coding: utf-8 -*-
from sgmllib import
import urllib
import
import socket
socket.setdefaulttimeout(210)

class URLLister():

Continue reading Python用SGMLParser抓取网页连接的改进 - 全文阅读

Share and Enjoy:
  • Print this article!
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • LinkedIn
  • Live
  • MySpace
  • RSS
  • Slashdot
  • Technorati
  • TwitThis
 Page 2 of 2 « 1  2 

Contact us

Admin: Bryan Wu