How to Read Java Source Code
Often there is a lot of trivial code in open-source projects that we don’t need to read. To read a Java open-source project, the most important thing is to understand the core functionalities of the project.
Often there is a lot of trivial code in open-source projects that we don’t need to read. To read a Java open-source project, the most important thing is to understand the core functionalities of the project.
In the post, I will cover common tools for reading source code.
In the post, I will document all the best practices in programming. It will be continuously updated.
Before exploring how to improve programming efficiency, we need to know the process of developing a software project.
Exception handling is a common function in a web project. In this post, I will cover the basic principles of how to do exception handling in a web project.
Preventing duplicate submissions is a common function in a web project. In this post, I will cover the principle of the implementation of preventing duplicate submissions.
java.util.Date
is in core java API since Java 1.0. And it is not recommended for use. If you are using Java 8 or a later version, it is better to use java.time.LocalDate
and java.time.Instant
, which were introduced in Java 8.
In this post, I will cover common operations related to datetime.
In this post, I will cover the performance optimization for the entire process of web applications, including the frontend, backend, networking, and web server.
Add watermark
document.getElementsByTagName('body')[0].style.backgroundImage = 'url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\' version=\'1.1\' height=\'100px\' width=\'100px\'><text transform=\'translate(20, 100) rotate(-30)\' fill=\'rgba(128,128,128, 0.3)\' font-size=\'20\' >watermark</text></svg>")'; |
const div = document.createElement("div"); |