Ray's playground

 
上一页 1 ··· 39 40 41 42 43 44 45 46 47 ··· 56 下一页

2010年3月30日

Advanced Templates(The Definitive Guild to Django)

摘要: Practice1: Write a custom tagPractice2: Write a custom filter 阅读全文

posted @ 2010-03-30 21:21 Ray Z 阅读(182) 评论(0) 推荐(0) 编辑

Channels(Essential Windows Communication Foundation)

摘要: WCF supports three distinct message-exchange patterns: one-way,duplex, and request-reply. To facilitate each of these patterns, WCF providesten different interfaces called channel shapes. The five sha... 阅读全文

posted @ 2010-03-30 15:10 Ray Z 阅读(235) 评论(0) 推荐(0) 编辑

Contracts(Essential Windows Communication Foundation)

摘要: WCF heavily leverages SOAP for contract definitions. Specifically, ituses WDSL for describing service endpoints and XSD for describing data.The service operations defined in WSDL are used to route inc... 阅读全文

posted @ 2010-03-30 13:18 Ray Z 阅读(231) 评论(0) 推荐(0) 编辑

Advanced Views and URLconfs(The Definitive Guild to Django)

摘要: In Python regular expressions, the syntax for named regular expression groups is(?P<name>pattern), where name is the name of the group and pattern is some pattern to match.  If you put a single ... 阅读全文

posted @ 2010-03-30 10:29 Ray Z 阅读(176) 评论(0) 推荐(0) 编辑

2010年3月29日

Being a Servlet: request AND response(Head First Servlets and JSP)

摘要: Each request runs in a separate thread!  When you use GET, the parameter data shows up in the browser’s input bar, right after actual URL (and separated with a “?”).Still another iss... 阅读全文

posted @ 2010-03-29 23:56 Ray Z 阅读(290) 评论(0) 推荐(0) 编辑

Forms(The Definitive Guild to Django)

摘要: Django comes with a form library, called django.forms, that handles many of the issues we’vebeen exploring in this chapter—from HTML form display to validation. Let’s dive in andrewo... 阅读全文

posted @ 2010-03-29 21:38 Ray Z 阅读(292) 评论(0) 推荐(1) 编辑

Basics(Essential Windows Communication Foundation)

摘要: For the client to communicate meaningful information to the service, itneeds to know the ABCs: the address, the binding, and the contract.  Services can be hosted in any operating system process, from... 阅读全文

posted @ 2010-03-29 16:51 Ray Z 阅读(235) 评论(0) 推荐(0) 编辑

2010年3月28日

Mini MVC Tutorial: hands-on MVC(Head First Servlets and JSP)

摘要: form.htmlCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--1<html><body>2<h1align="center">BeerSelectionPage</h1>3<formmethod... 阅读全文

posted @ 2010-03-28 16:17 Ray Z 阅读(278) 评论(0) 推荐(0) 编辑

The Django Admin Site(The Definitive Guild to Django)

摘要: admin.pyCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--1fromdjango.contribimportadmin2frommysite.books.modelsimportPublisher,Author,Book34classAuthor... 阅读全文

posted @ 2010-03-28 13:45 Ray Z 阅读(238) 评论(0) 推荐(0) 编辑

2010年3月27日

Models(The Definitive Guild to Django)

摘要: What’s the difference between a project and an app?The difference is that of configuration vs. code:  • A project is an instance of a certain set of Django apps, plus the configuration for... 阅读全文

posted @ 2010-03-27 22:44 Ray Z 阅读(217) 评论(0) 推荐(0) 编辑

上一页 1 ··· 39 40 41 42 43 44 45 46 47 ··· 56 下一页

导航