Skip to content

ekirin/newhost2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

newhost2

Reactive development platform

This project based upon vert.x toolkit to simplify web development.

Newhost2 lets you to develop web applications with minimal effort. You just define a controller class for your route by an annotation and that's all.

Controller example

If you send a request for the first time then will be created blank page (index.html) where you can put your content. No need to create that page manually.

public class MainMenuController {

              /**
              * Performs requests for index page (http://somesite.com or http://somesite.com/index)
              */
              @GET // request type
              @Path(value = {"/", "/index"})
              public Result index() {
                  // do some logic
                  return Result.HTML(); // response html page to browser
              }
}

About

Reactive development platform

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published