Laravel 5.0 Documentation
Composers 5. Architecture Foundations i. Service Providers i. Introduction ii. Basic Provider Example iii. Registering Providers iv. Deferred Providers ii. Service Container i. Introduction ii. Basic Facade Class Reference v. Request Lifecycle i. Introduction ii. Lifecycle Overview iii. Focus On Service Providers vi. Application Structure i. Introduction ii. The Root Directory iii. The App Directory These service providers provide various bootstrapping functions to your application, such as error handling, logging, route loading, and more. Of course, you are free to create additional service providers0 码力 | 242 页 | 1.44 MB | 1 年前3
《Slides Dev Web》 04. HTML 5slides1 Google 2011 ( sources2 ) – Obslolète : quota, web sql : Web Storage, application cache : Service Workers • API d’accès à la caméra3, avec du webGL4… • Bachelor NIFFF 2014 : une webapp mobile pour LACIS howto • Portabilité : Progressive Enhancement17 • Rapidité : App Shell18, cache • Offline : Service Workers19 • Install Banner20 : HTTPS, WebApp Manifest, SW, 2 visits • Tests21 : Lighthouse en automatise 18https://developers.google.com/web/updates/2015/11/app-shell 19https://jakearchibald.com/2014/service-worker-first-draft/ 20https://developers.google.com/web/fundamentals/app-install-banners/ 21https://developers0 码力 | 3 页 | 29.58 KB | 1 年前3
Falcon v3.1.1 Documentationwith NGINX and uWSGI Running your Application as a Different User Preparing your Application for Service Deploying Falcon behind uWSGI Connecting NGINX and uWSGI Further Considerations Community Guide your patience.' ) raise falcon.HTTPServiceUnavailable( title='Service Outage', description=description, retry_after=30 ) # NOTE: Normally you would 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 码力 | 540 页 | 476.60 KB | 1 年前3
Falcon v3.1.1-rc1 Documentationwith NGINX and uWSGI Running your Application as a Different User Preparing your Application for Service Deploying Falcon behind uWSGI Connecting NGINX and uWSGI Further Considerations Community Guide your patience.' ) raise falcon.HTTPServiceUnavailable( title='Service Outage', description=description, retry_after=30 ) # NOTE: Normally you would 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 码力 | 540 页 | 476.61 KB | 1 年前3
Falcon v3.1.0 Documentationwith NGINX and uWSGI Running your Application as a Different User Preparing your Application for Service Deploying Falcon behind uWSGI Connecting NGINX and uWSGI Further Considerations Community Guide your patience.' ) raise falcon.HTTPServiceUnavailable( title='Service Outage', description=description, retry_after=30 ) # NOTE: Normally you would 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 码力 | 537 页 | 474.34 KB | 1 年前3
Falcon v3.1.1-b3 Documentationwith NGINX and uWSGI Running your Application as a Different User Preparing your Application for Service Deploying Falcon behind uWSGI Connecting NGINX and uWSGI Further Considerations Community Guide your patience.' ) raise falcon.HTTPServiceUnavailable( title='Service Outage', description=description, retry_after=30 ) # NOTE: Normally you would 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 码力 | 540 页 | 476.61 KB | 1 年前3
Falcon v3.1.1-a Documentationwith NGINX and uWSGI Running your Application as a Different User Preparing your Application for Service Deploying Falcon behind uWSGI Connecting NGINX and uWSGI Further Considerations Community Guide your patience.' ) raise falcon.HTTPServiceUnavailable( title='Service Outage', description=description, retry_after=30 ) # NOTE: Normally you would 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 码力 | 540 页 | 476.60 KB | 1 年前3
Falcon v3.1.1-b1 Documentationwith NGINX and uWSGI Running your Application as a Different User Preparing your Application for Service Deploying Falcon behind uWSGI Connecting NGINX and uWSGI Further Considerations Community Guide your patience.' ) raise falcon.HTTPServiceUnavailable( title='Service Outage', description=description, retry_after=30 ) # NOTE: Normally you would 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 码力 | 540 页 | 476.61 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 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
共 76 条
- 1
- 2
- 3
- 4
- 5
- 6
- 8













