Laravel 5.0 Documentation
Routing i. Basic Routing ii. CSRF Protection iii. Method Spoofing iv. Route Parameters v. Named Routes vi. Route Groups vii. Route Model Binding viii. Throwing 404 Errors ii. Middleware i. Introduction Implicit Controllers v. RESTful Resource Controllers vi. Dependency Injection & Controllers vii. Route Caching iv. Requests i. Obtaining A Request Instance ii. Retrieving Input iii. Old Input iv. classes related to the HTTP transport layer of your application. Instead of a single, flat file of route filters, all middleware are now broken into their own class files. A new app/Providers directory0 码力 | 242 页 | 1.44 MB | 1 年前3Laravel 3.2 Documentation
........................................................................................... 18 Route Groups .......................................................................................... ....................................................................................... 20 CLI Route Testing ......................................................................................... either using controllers (which many web-developers are already familiar with) or directly into route declarations using syntax similar to the Sinatra framework. Laravel is designed with the philosophy0 码力 | 139 页 | 1.13 MB | 1 年前3Learning Laravel
Introduction 130 Remarks 130 Examples 130 Defining a Middleware 130 Before vs. After Middleware 131 Route Middleware 131 Chapter 42: Multiple DB Connections in Laravel 133 Examples 133 Initial Steps 133 52: Route Model Binding 150 Examples 150 Implicit Binding 150 Explicit Binding 150 Chapter 53: Routing 152 Examples 152 Basic Routing 152 Routes pointing to a Controller method 152 A route for for multiple verbs 152 Route Groups 153 Named Route 153 Generate URL using named route 153 Route Parameters 154 Optional Parameter 154 Required Parameter 154 Accessing the parameter in controller 1540 码力 | 216 页 | 1.58 MB | 1 年前3Falcon v3.0.0 Documentation
than in the past." ), 'author': 'Grace Hopper' } resp.media = quote app = falcon.App() app.add_route('/quote', QuoteResource()) CONTENTS 1 Falcon Documentation, Release 3.0.0 2 CONTENTS CHAPTER instances things = ThingsResource() # things will handle all requests to the '/things' URL path app.add_route('/things', things) if __name__ == '__main__': with make_server('', 8000, app) as httpd: print('Serving instances things = ThingsResource() # things will handle all requests to the '/things' URL path app.add_route('/things', things) You can run the ASGI version with uvicorn or any other ASGI server: $ pip install0 码力 | 344 页 | 1.16 MB | 1 年前3Falcon v3.0.1 Documentation
than in the past." ), 'author': 'Grace Hopper' } resp.media = quote app = falcon.App() app.add_route('/quote', QuoteResource()) CONTENTS 1 Falcon Documentation, Release 3.0.1 2 CONTENTS CHAPTER instances things = ThingsResource() # things will handle all requests to the '/things' URL path app.add_route('/things', things) if __name__ == '__main__': with make_server('', 8000, app) as httpd: print('Serving instances things = ThingsResource() # things will handle all requests to the '/things' URL path app.add_route('/things', things) You can run the ASGI version with uvicorn or any other ASGI server: $ pip install0 码力 | 344 页 | 1.16 MB | 1 年前3Falcon v3.1.1-b3 Documentation
than in the past." ), 'author': 'Grace Hopper' } resp.media = quote app = falcon.App() app.add_route('/quote', QuoteResource()) CONTENTS 1 Falcon Documentation, Release 3.1.1b3 2 CONTENTS CHAPTER instances things = ThingsResource() # things will handle all requests to the '/things' URL path app.add_route('/things', things) if __name__ == '__main__': with make_server('', 8000, app) as httpd: print('Serving instances things = ThingsResource() # things will handle all requests to the '/things' URL path app.add_route('/things', things) You can run the ASGI version with uvicorn or any other ASGI server: $ pip install0 码力 | 378 页 | 1.29 MB | 1 年前3Falcon v3.1.1-b1 Documentation
than in the past." ), 'author': 'Grace Hopper' } resp.media = quote app = falcon.App() app.add_route('/quote', QuoteResource()) CONTENTS 1 Falcon Documentation, Release 3.1.1b1 2 CONTENTS CHAPTER instances things = ThingsResource() # things will handle all requests to the '/things' URL path app.add_route('/things', things) if __name__ == '__main__': with make_server('', 8000, app) as httpd: print('Serving instances things = ThingsResource() # things will handle all requests to the '/things' URL path app.add_route('/things', things) You can run the ASGI version with uvicorn or any other ASGI server: $ pip install0 码力 | 378 页 | 1.29 MB | 1 年前3Falcon v3.1.1-a Documentation
than in the past." ), 'author': 'Grace Hopper' } resp.media = quote app = falcon.App() app.add_route('/quote', QuoteResource()) CONTENTS 1 Falcon Documentation, Release 3.1.1 2 CONTENTS CHAPTER instances things = ThingsResource() # things will handle all requests to the '/things' URL path app.add_route('/things', things) if __name__ == '__main__': with make_server('', 8000, app) as httpd: print('Serving instances things = ThingsResource() # things will handle all requests to the '/things' URL path app.add_route('/things', things) You can run the ASGI version with uvicorn or any other ASGI server: $ pip install0 码力 | 378 页 | 1.29 MB | 1 年前3Falcon v3.1.0 Documentation
than in the past." ), 'author': 'Grace Hopper' } resp.media = quote app = falcon.App() app.add_route('/quote', QuoteResource()) CONTENTS 1 Falcon Documentation, Release 3.1.0 2 CONTENTS CHAPTER instances things = ThingsResource() # things will handle all requests to the '/things' URL path app.add_route('/things', things) if __name__ == '__main__': with make_server('', 8000, app) as httpd: print('Serving instances things = ThingsResource() # things will handle all requests to the '/things' URL path app.add_route('/things', things) You can run the ASGI version with uvicorn or any other ASGI server: $ pip install0 码力 | 362 页 | 1.29 MB | 1 年前3Falcon v3.1.1 Documentation
than in the past." ), 'author': 'Grace Hopper' } resp.media = quote app = falcon.App() app.add_route('/quote', QuoteResource()) CONTENTS 1 Falcon Documentation, Release 3.1.1 2 CONTENTS CHAPTER instances things = ThingsResource() # things will handle all requests to the '/things' URL path app.add_route('/things', things) if __name__ == '__main__': with make_server('', 8000, app) as httpd: print('Serving instances things = ThingsResource() # things will handle all requests to the '/things' URL path app.add_route('/things', things) You can run the ASGI version with uvicorn or any other ASGI server: $ pip install0 码力 | 378 页 | 1.29 MB | 1 年前3
共 856 条
- 1
- 2
- 3
- 4
- 5
- 6
- 86