Skip to content

Commit 0f30f13

Browse files
committed
Formatting
1 parent 4e28dba commit 0f30f13

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_posts/2015-03-17-getting-started.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ order: 10
99
We provide a pippo-demo module that contains many demo applications (submodules): pippo-demo-basic and pippo-demo-crud are some.
1010
For a list with all demo please see [Demo](demo.html) section.
1111

12-
#### Routes approach
12+
#### 1. Routes approach
1313

1414
For [pippo-demo-basic]({{ site.demourl }}/pippo-demo-basic) you have two java files: [BasicDemo.java]({{ site.demourl }}/pippo-demo-basic/src/main/java/ro/pippo/demo/basic/BasicDemo.java) and [BasicApplication.java]({{ site.demourl }}/pippo-demo-basic/src/main/java/ro/pippo/demo/basic/BasicApplication.java)
1515
We split our application in two parts for a better readability.
@@ -101,7 +101,7 @@ Open your internet browser and check the routes declared in Application:
101101
- `http://localhost:8338/negotiate`
102102
- `http://localhost:8338/template`
103103
104-
#### Controllers approach
104+
#### 2. Controllers approach
105105
106106
Another approach to handling a request and producing a response is using Controllers. After routing has determined what controller to use, an action method will be invoked.
107107
In Pippo, controllers are instances of [Controller]({{ site.codeurl }}/pippo-controller-parent/pippo-controller/src/main/java/ro/pippo/controller/Controller.java).

0 commit comments

Comments
 (0)