diff --git a/index.html b/index.html index 41ae8f8..ec98e85 100644 --- a/index.html +++ b/index.html @@ -570,7 +570,7 @@

Welcome to Jooby!

by Edgar Espina
-3.0.6 +3.0.7
Table of Contents
@@ -852,15 +852,20 @@

Welcome to Jooby!

  • 21. Dependency Injection @@ -925,7 +930,7 @@

    Welcome!!

  • Java
    Kotlin
    -
    import io.jooby.Jooby;
    +
    import io.jooby.Jooby;
     
     public class App extends Jooby {
     
    @@ -936,15 +941,15 @@ 

    +}
    @@ -955,10 +960,10 @@

    -

    Latest Release: 3.0.6.

    +

    Latest Release: 3.0.7.

    -

    Looking for previous version?

    +

    Looking for a previous version?

    @@ -1011,7 +1016,8 @@

    <

    1.2. Script API

    -

    Script API (a.k.a script routes) provides a fluent DSL, reflection and annotation free based on lambda functions.

    +

    Script API (a.k.a. script routes) provides a fluent DSL based on lambda functions, free of +reflection and annotations.

    We usually extend Jooby and define routes in the instance initializer:

    @@ -1020,7 +1026,7 @@

    Script with sub-class:

    Java
    Kotlin
    -

    For Java applications we favor extending Jooby because DSL looks better (no need -prefix the get method with a variable)

    +

    For Java applications we favor extending Jooby because the DSL looks better (no need +to prefix the get method with a variable).

    -

    This is not strictly necessary (of course), you may prefer to do it without extending Jooby:

    +

    This is not strictly necessary (of course); you may prefer to do it without extending Jooby:

    -

    In case of Kotlin, it doesn’t matter which one you choose. DSL looks great with or without extending +

    For Kotlin, it doesn’t matter which one you choose. The DSL looks great with or without extending Kooby.

    1.3. MVC API

    -

    The MVC API (a.k.a mvc routes) uses annotation to define routes and byte code generation to execute +

    The MVC API (a.k.a. MVC routes) uses annotation to define routes and byte code generation to execute them.

    MVC API:
    Java
    Kotlin
    -
    import io.jooby.annotation.*;
    +
    import io.jooby.annotation.*;
     
     public class MyController {
     
    @@ -1116,9 +1122,9 @@ 

    +}
    -

    More about MVC and JAX-RS support in the MVC API chapter.

    +

    Read more about MVC and JAX-RS support in the MVC API chapter.

    @@ -1181,7 +1187,7 @@