GithubHelp home page GithubHelp logo

ecattez / webapp-skeleton Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 2.0 477 KB

Squelette d'application web fonctionnant avec un serveur JAVA et utilisant Maven

License: GNU General Public License v3.0

Java 57.29% CSS 0.64% HTML 2.24% JavaScript 39.84%

webapp-skeleton's Introduction

webapp-skeleton

Skeleton for web applications using java server. [Currently in development]

Dependences:

  • Maven
  • Javax Servlet 3.0
  • Jackson (REST)
  • Jersey (REST)
  • Jetty (SERVER)
  • ORMLite (DAO)
  • Thymeleaf (VIEW)
  • SQlite (for the moment)

Paths

main path: {host}:{port}

REST

application path: {main}/

example: http://localhost:8080/users/ecattez

Packages

Les packages sont découpés en différentes catégories suivant la manière de procéder suivante:

Packages principaux

  • dao
  • entity
  • mvc
  • resource
  • standard

Sous-packages principaux

  • file
  • security
  • standard

DAO

Le pattern DAO a été pensé ici de façon "thématique".

Par exemple, si vous cherchez à obtenir des données relatives à l'objet Group, qu'importe l'objet que vous avez actuellement, la réponse se trouvera dans GroupDao.

De plus, et c'est IMPORTANT, l'application a été pensée pour mettre l'utilisateur au centre de l'application. L'utilisateur se doit donc d'avoir des informations minimales sur les objets qui lui sont attachés. Par exemple, un utilisateur appartient à une compagnie et un groupe. C'est pourquoi il a en sa possession le nom de sa compagnie et le nom de son groupe. UserDao permet donc d'accéder à l'objet Company et l'objet Group relatifs à l'utilisateur.

SecurID

Utiliser l'annotation @Authenticated sur les méthodes qui nécessite d'être authentifié pour y accéder. Le SecurID fournit un token à l'utilisateur.

webapp-skeleton's People

Stargazers

 avatar

Watchers

 avatar

Forkers

marinepl seajak

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.