Falcon v0.3.0.1 Documentation
“app” file, you would simply wrap your api instance with a middleware app. For example: import my_restful_service import some_middleware app = some_middleware.DoSomethingFancy(my_restful_service.api) See I pass data from a hook to a responder, and between hooks? You can inject extra responder kwargs from a hook by adding them to the params dict passed into the hook. You can also add custom data to the to do that explicitly? Falcon will try to do this for you, based on the value of resp.body, resp.data, or resp.stream_len (whichever is set in the response, checked in that order.) For dynamically-generated0 码力 | 77 页 | 311.34 KB | 1 年前3Falcon v0.2.0 Documentation
“app” file, you would simply wrap your api instance with a middleware app. For example: import my_restful_service import some_middleware app = some_middleware.DoSomethingFancy(my_restful_service.api) See I pass data from a hook to a responder, and between hooks? You can inject extra responder kwargs from a hook by adding them to the params dict passed into the hook. You can also add custom data to the to do that explicitly? Falcon will try to do this for you, based on the value of resp.body, resp.data, or resp.stream_len (whichever is set in the response, checked in that order.) For dynamically-generated0 码力 | 70 页 | 296.15 KB | 1 年前3Falcon v0.3.0.1 Documentation
“app” file, you would simply wrap your api instance with a middleware app. For example: import my_restful_service import some_middleware app = some_middleware.DoSomethingFancy(my_restful_service.api) See I pass data from a hook to a responder, and between hooks? You can inject extra responder kwargs from a hook by adding them to the params dict passed into the hook. You can also add custom data to the to do that explicitly? Falcon will try to do this for you, based on the value of resp.body, resp.data, or resp.stream_len (whichever is set in the response, checked in that order.) For dynamically-generated0 码力 | 126 页 | 345.09 KB | 1 年前3Falcon v0.2.0 Documentation
“app” file, you would simply wrap your api instance with a middleware app. For example: import my_restful_service import some_middleware app = some_middleware.DoSomethingFancy(my_restful_service.api) See I pass data from a hook to a responder, and between hooks? You can inject extra responder kwargs from a hook by adding them to the params dict passed into the hook. You can also add custom data to the to do that explicitly? Falcon will try to do this for you, based on the value of resp.body, resp.data, or resp.stream_len (whichever is set in the response, checked in that order.) For dynamically-generated0 码力 | 188 页 | 358.44 KB | 1 年前309 MySQL 杨亮 《PHP语⾔程序设计》
2009�����的�Oracle�� 2008����Sun�� �� MySQL AB�� SQL: Structured Query Language Data Definition Language Data Manipulation Language Data Control Language ��⼤大���� �� OA �� �� 上� �上 �� �� �� �� �� �� ������������������ �在���������� ����能B-Tree (Balance Tree) ���� (Select) ��在� ��在� ��在� SQL �� Data Definition Language �����⼤大���就���我� ��� CREATE {DATABASE | SCHEMA} [IF NOT EXISTS] db_name prevent an error from occurring if the database does not exist. create show show create use drop Data Definition Language �����⼤大���就���我� ��� create show show create desc drop alter CREATE [TEMPORARY]0 码力 | 27 页 | 2.10 MB | 1 年前3The Laravel Handbook
anything other than HTML. 18 But you can do lots of interesting stuff in Blade templates: insert data, add conditionals, do loops, display something if the user is authenticated or not, or show different Blade (for more I highly recommend the official Blade guide). In the route definition, you can pass data to a Blade template: Route::get('/test', function () { return view('test', ['name' => 'Flavio']); 'Flavio']); }); and use it like this:{{ $name }}
The {{ }} syntax allows you to add any data to the template, escaped. Inside it you can also run any PHP function you like, and Blade will display0 码力 | 111 页 | 14.25 MB | 1 年前3Falcon v1.0.0 Documentation
“app” file, you would simply wrap your api instance with a middleware app. For example: import my_restful_service import some_middleware app = some_middleware.DoSomethingFancy(my_restful_service.api) See I pass data from a hook to a responder, and between hooks? You can inject extra responder kwargs from a hook by adding them to the params dict passed into the hook. You can also add custom data to the to do that explicitly? Falcon will try to do this for you, based on the value of resp.body, resp.data, or resp.stream_len (whichever is set in the response, checked in that order.) 14 Chapter 5. Documentation0 码力 | 87 页 | 348.15 KB | 1 年前3Falcon v3.0.0 Documentation
additional Clang C compiler flags as follows: 5.1. User Guide 13 Falcon Documentation, Release 3.0.0 $ export CFLAGS="-Qunused-arguments -Wno-unused-function" Dependencies Falcon does not require the installation ASGI # examples/things.py # Let's get this party started! from wsgiref.simple_server import make_server import falcon # Falcon follows the REST architectural style, meaning (among # other things) that try: $ pip install --upgrade httpie $ http localhost:8000/things # examples/things_asgi.py import falcon import falcon.asgi # Falcon follows the REST architectural style, meaning (among # other things)0 码力 | 344 页 | 1.16 MB | 1 年前3Falcon v3.0.1 Documentation
additional Clang C compiler flags as follows: 5.1. User Guide 13 Falcon Documentation, Release 3.0.1 $ export CFLAGS="-Qunused-arguments -Wno-unused-function" Dependencies Falcon does not require the installation ASGI # examples/things.py # Let's get this party started! from wsgiref.simple_server import make_server import falcon # Falcon follows the REST architectural style, meaning (among # other things) that try: $ pip install --upgrade httpie $ http localhost:8000/things # examples/things_asgi.py import falcon import falcon.asgi # Falcon follows the REST architectural style, meaning (among # other things)0 码力 | 344 页 | 1.16 MB | 1 年前3Falcon v3.0.0-b2 Documentation
Clang C compiler flags as follows: 5.1. User Guide 13 Falcon Documentation, Release 3.0.0b2 $ export CFLAGS="-Qunused-arguments -Wno-unused-function" Dependencies Falcon does not require the installation ASGI # examples/things.py # Let's get this party started! from wsgiref.simple_server import make_server import falcon # Falcon follows the REST architectural style, meaning (among # other things) that try: $ pip install --upgrade httpie $ http localhost:8000/things # examples/things_asgi.py import falcon import falcon.asgi # Falcon follows the REST architectural style, meaning (among # other things)0 码力 | 340 页 | 1.15 MB | 1 年前3
共 81 条
- 1
- 2
- 3
- 4
- 5
- 6
- 9