Creating Java Maven Project on a GitHub
- Create empty Maven project without any dependencies
- Create HelloWorld class with lambda to test that Java 8 was set up correctly.
- Setup Git. Create .gitignore.
- Create a GitHub repository for the project.
Hello World Using HTML and CSS
This tutorial is about creating an outstanding web page using HTML and CSS. While simple HTML allows you to place different components in the appropriate order, CSS (which stands for Cascading Style Sheets) turns a simple page into a thing of beauty by adding some style to it. Continue reading
In this sample, the basic script of processing login information will be presented using plain HTML and PHP. Continue reading
Python IDEs: IDLE and PyCharm
As usual, there is no single answer on what IDE is the best for Python. There are many of them, and each is good for certain purposes. In this tutorial, PyCharm and IDLE will be discussed and compared. Continue reading
Python Graphics With Turtle
The turtle module in Python is a very simple tool for creating various objects and animations. The idea behind this name is based on real life: a turtle can go forward, backward, right, or left, and when doing so it leaves a trail. It is possible to command a turtle to take up its tail, though no footprint will be visible. In fact, these two sentences explain how everything works here, so let’s see how far we can get. Continue reading
Java Web: Servlets, JSP, MySQL
In this sample, we present a program using servlets, Java Server Pages (JSPs), and a connection to the MySQL database. The database is called “Student” and has one table with the same name. The program in Java allows us to add a new student, delete an old student, and update existing ones, and shows all students that are in the database. Continue reading
Introduction to Java Web: Servlets
The Java programming language is used in such popular websites as Google, Facebook, YouTube, Amazon, and many others. This proves that Java is good for multiple purposes. In this sample I would like to pay attention to the basics of web technologies bound to the usage of Java. Continue reading
DAO Pattern in Java
In order to continue the topic of database connectivity in Java, it is necessary to look at the DAO pattern, which facilitates operation with the database.
The main idea of the Data Access Object (DAO) pattern is to hide all backend operations of the connection to the database and unite them in one main class. This may be necessary when the program consists of multiple entities interconnected with each other, and it would be very complex and of poor practice to make connection from each entity every time. Continue reading
Performing basic operations with a database in MySQL using Java
Continuing the previous guide, it is possible now to create and perform any operations using a database in MySQL. Let’s start with the simplest operation of creating a database in MySQL using Java and performing standard queries. Continue reading