Skip to content

Latest commit

 

History

History
36 lines (17 loc) · 662 Bytes

let_us_code_a_springlike_web_framework.md

File metadata and controls

36 lines (17 loc) · 662 Bytes

let's code a Spring-like web framework.

1. demo show

2. look how Spring like

3. how our framework works

4. thinking in HTTP protocol

5. let's code a simple http server

6. implement @RestController

7. implement @RequestMapping

8. let's invoke a request

9. code a simple BeanFactory

10. code a demo api

11. cool ascii art when our spring start

12. what others we need?

13. yep, let's add @RequestParam of GET method

14. invite a かわいい volunteer implement @ResponseStatus

15. we need @ControllerAdvice and @ExceptionHandler to process exceptions

16. @Autowired and @Service ... so on ....