Falcon v0.3.0.1 Documentationwith a middleware app. For example: import my_restful_service import some_middleware app = some_middleware.DoSomethingFancy(my_restful_service.api) See also the WSGI middleware example given in PEP-3333 helpers, or an ORM (although those are easy enough to add yourself). When you sit down to write a web service with Falcon, you choose your own adventure in terms of async I/O, serialization, data access, etc Documentation, Release 0.3.0 'We appreciate your patience.') raise falcon.HTTPServiceUnavailable( 'Service Outage', description, 30) # An alternative way of doing DRY serialization would be to # create a0 码力 | 77 页 | 311.34 KB | 1 年前3
Falcon v0.3.0.1 Documentationcom/racker/falcon] Resources An Unladen Web Framework [http://blog.kgriffs.com/2013/07/02/python-fast-web-service- framework.html] The Definitive Introduction to Falcon [https://speakerdeck.com/cabrera/the-definitive- with a middleware app. For example: import my_restful_service import some_middleware app = some_middleware.DoSomethingFancy(my_restful_service.api) See also the WSGI middleware example [http://legacy helpers, or an ORM (although those are easy enough to add yourself). When you sit down to write a web service with Falcon, you choose your own adventure in terms of async I/O, serialization, data access, etc0 码力 | 126 页 | 345.09 KB | 1 年前3
Falcon v1.1.0 Documentationwith a middleware app. For example: import my_restful_service import some_middleware app = some_middleware.DoSomethingFancy(my_restful_service.api) See also the WSGI middleware example given in PEP-3333 helpers, or an ORM (although those are easy enough to add yourself). When you sit down to write a web service with Falcon, you choose your own adventure in terms of async I/O, serialization, data access, etc as we fight them off. ' 'We appreciate your patience.') raise falcon.HTTPServiceUnavailable( 'Service Outage', description, 30) # An alternative way of doing DRY serialization would be to # create a0 码力 | 113 页 | 426.53 KB | 1 年前3
Falcon v1.2.0 Documentationcom/racker/falcon] Resources An Unladen Web Framework [http://blog.kgriffs.com/2013/07/02/python-fast-web-service- framework.html] The Definitive Introduction to Falcon [https://speakerdeck.com/cabrera/the-definitive- with a middleware app. For example: import my_restful_service import some_middleware app = some_middleware.DoSomethingFancy(my_restful_service.api) See also the WSGI middleware example [http://legacy helpers, or an ORM (although those are easy enough to add yourself). When you sit down to write a web service with Falcon, you choose your own adventure in terms of async I/O, serialization, data access, etc0 码力 | 177 页 | 252.56 KB | 1 年前3
Falcon v0.2.0 Documentationwith a middleware app. For example: import my_restful_service import some_middleware app = some_middleware.DoSomethingFancy(my_restful_service.api) See also the WSGI middleware example given in PEP-3333 helpers, or an ORM (although those are easy enough to add yourself). When you sit down to write a web service with Falcon, you choose your own adventure in terms of async I/O, serialization, data access, etc as we fight them off. ' 'We appreciate your patience.') raise falcon.HTTPServiceUnavailable( 'Service Outage', description, 30) # An alternative way of doing DRY serialization would be to # create a0 码力 | 70 页 | 296.15 KB | 1 年前3
Falcon v1.3.0 Documentationcom/racker/falcon] Resources An Unladen Web Framework [http://blog.kgriffs.com/2013/07/02/python-fast-web-service- framework.html] The Definitive Introduction to Falcon [https://speakerdeck.com/cabrera/the-definitive- 'We appreciate your patience.') raise falcon.HTTPServiceUnavailable( 'Service Outage', description, 30) # An alternative way of doing DRY handler. app.add_error_handler(StorageError, StorageError.handle) # Proxy some things to another service; this example shows how you might # send parts of an API off to a legacy system that hasn't been0 码力 | 194 页 | 266.90 KB | 1 年前3
Falcon v1.0.0 Documentationwith a middleware app. For example: import my_restful_service import some_middleware app = some_middleware.DoSomethingFancy(my_restful_service.api) See also the WSGI middleware example given in PEP-3333 helpers, or an ORM (although those are easy enough to add yourself). When you sit down to write a web service with Falcon, you choose your own adventure in terms of async I/O, serialization, data access, etc as we fight them off. ' 'We appreciate your patience.') raise falcon.HTTPServiceUnavailable( 'Service Outage', description, 30) # An alternative way of doing DRY serialization would be to # create a0 码力 | 87 页 | 348.15 KB | 1 年前3
Falcon v2.0.0 Documentationas we fight them off. ' 'We appreciate your patience.') raise falcon.HTTPServiceUnavailable( 'Service Outage', description, 30) # An alternative way of doing DRY serialization would be to # create a handler. app.add_error_handler(StorageError, StorageError.handle) # Proxy some things to another service; this example shows how you might # send parts of an API off to a legacy system that hasn't been 5.1.4 Tutorial In this tutorial we’ll walk through building an API for a simple image sharing service. Along the way, we’ll discuss Falcon’s major features and introduce the terminology used by the framework0 码力 | 184 页 | 671.87 KB | 1 年前3
Falcon v1.2.0 Documentationwith a middleware app. For example: import my_restful_service import some_middleware app = some_middleware.DoSomethingFancy(my_restful_service.api) See also the WSGI middleware example given in PEP-3333 helpers, or an ORM (although those are easy enough to add yourself). When you sit down to write a web service with Falcon, you choose your own adventure in terms of async I/O, serialization, data access, etc as we fight them off. ' 'We appreciate your patience.') raise falcon.HTTPServiceUnavailable( 'Service Outage', description, 30) # An alternative way of doing DRY serialization would be to # create a0 码力 | 134 页 | 498.46 KB | 1 年前3
Falcon v1.3.0 Documentationas we fight them off. ' 'We appreciate your patience.') raise falcon.HTTPServiceUnavailable( 'Service Outage', description, 30) # An alternative way of doing DRY serialization would be to # create a handler. app.add_error_handler(StorageError, StorageError.handle) # Proxy some things to another service; this example shows how you might # send parts of an API off to a legacy system that hasn't been token Tutorial In this tutorial we’ll walk through building an API for a simple image sharing service. Along the way, we’ll discuss Falcon’s major features and introduce the terminology used by the framework0 码力 | 146 页 | 535.22 KB | 1 年前3
共 40 条
- 1
- 2
- 3
- 4













