Giter VIP home page Giter VIP logo

java-2's People

Contributors

ondrakucera avatar shinedeveloper avatar tkadlecekk avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

java-2's Issues

Thymeleaf HTML5 compliance and consistency

  1. Consider data-th-attributes instead of th:attributes

  2. Consider renaming iter to status or stat

  3. Make sure you use stat.index instead of stat.count-1 and stat.count instead of stat.index+1

  4. Decide whether minimize or maximize size of SpEL ${} when Thymeleaf evaluation can work as well. That is particularly important for single text values like th:text="'sample'" or th:text="${'sample'}" and stick with the strategy

  5. Make sure URLs are all absolute using @{/sample}.

  6. Decide whether you should use ModelAndView as a return type or Model or ModelMap as an input parameter while returning just String viewName. The other strategy is more validation friendly and probably more common in the wild.

  7. Decide whether you want to use .html in the URLs or not and stick with it consistently.

Deploy demo apps to a free public cloud and document all links via a redirect (bit.ly)

  1. Deploy demo apps and homeworks to Heroku, Google Cloud, Amazon AWS, Microsoft Azure or RedHat OpenShift so that students can look at them anytime. Zero maintenance effort required, must be free.

  2. Put all links (to the deployed apps etc.) to the documentation via a redirect service (bit.ly, tiny.url, goo.gl etc.) to avoid hardwiring to any service.
    Note: Bit.ly is not a good candidate as the target URLs cannot be changed once set up. There are alternatives:
    https://thenextweb.com/apps/2012/06/02/not-a-fan-of-the-big-bitly-revamp-here-are-9-alternatives/
    https://www.quora.com/Is-it-possible-to-change-the-destination-of-a-bit-ly-link

Improve default error page

Students struggle to understand that error details are written in the logs and not on the web page.
Change default error page to display also the error details.

Clean up logging

When the app is started, a lot of redundant messages gets to the console (log). Optimize that output.

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.