I was working on an existing WordPress theme that I have been using on this site. The plan was to start a Docker container for WordPress with a local directory for a WordPress theme project mapped to /var/www/html/wp-content/themes/my-theme within the
How to Install Rust on Windows 11
We can now install Rust on Windows a lot easier on Windows 11 (and probably in Windows 10 too) than before with the new Rust installer. Previously, we would go through a number steps to install Rust on Windows. The
How to make HTTP Requests in Rust lang?
Applications do not solely rely on databases or end-users as their primary data source. This fact is no less actual in complex applications. We can retrieve data from (or send to) a multitude of other sources like SFTP, queues, and
Spring Framework Basic AOP Example
AOP is one of those things in the Spring Framework that we might not need, even for basic implementation, which we have an example for in this post. But we should always consider using Spring AOP whenever possible to have
Spring Primary On Beans of a Class
We may not need the Spring Primary annotation on Beans of the same class, primarily when we use the @Bean annotation. When we have Java classes that implement the same interface, we will surely get the NoUniqueBeanDefinitionException exception. It happens
Spring Framework Minimum Dependency for IoC
Nowadays, most of us use Spring Boot, and we tend to skip the basics of the Spring Framework. Even those new to Spring would not think twice about turning to Spring Boot to develop new applications. Without Spring Boot, how
Can we use a Layered Architecture Pattern in Rust?
Can we use a layered architecture pattern in a Rust codebase? Like using controller, service, and persistent layers? Yes, we can, but we may need to implement it slightly differently than in most programming languages like Java, C#, etc. How
Getting Familiar With Java TreeSet With Examples
The Java TreeSet is a good choice when our codes, for example, do a lot of frequent read-and-write operations. It is a derivation of a Set, which means it still deals with unique items. Also, it has additional features like
Spring MVC PathVariable Annotation
Sometimes we want to send values to our web application as the path of the URL (or URI) path. For example, /tenants/123 where value 123 represents a tenant Id. To independently access the value in Spring MVC, we use the
CRUD Operations with Rust Rocket SQLX with MySQL
This post shows how to use Rust Rocket SQLX for MySQL for basic CRUD (Create, Retrieve, Update, and Delete) operations. Prerequisites For Building the Rust Application Based on Rocket We used the following items for this post. Rust Stable –