If you run a WordPress site most likely you have already met with the dreaded "Error Establishing a Database Connection" error message. Your site content has completely gone and displayed nothing else but a blank page with the message. Although "Error Establishing a Database Connection" can be caused by different reasons and it takes some time to investigate the problem, it's a more or less routine WordPress management task. What "Error Establishing a Database Connection" Exactly Means ... In...
React is a lightweight JavaScript library created by Facebook that has become highly popular in the recent years. It allows you to build beautiful UIs for your web apps using isolated and reusable building blocks called components. React also has a huge ecosystem mainly created by third-party developers, including several tools, component libraries, IDEs, extensions for code editors and web browsers, boilerplates, and more. In this article, we have collected the 20 best tools and resources for...
Java is a general-purpose, mid-level, backend programming language with which you can build websites, web applications, Android applications for mobile and tablet, and other different kinds of software. Arrays are one of the most frequently used data structures in Java, therefore it's crucial to understand how they work. Java arrays are, in fact, variables that allow you to store more than one values of the same data type and call any of them whenever you need. Characteristics of a Java Array ......
Currently, Sass is the most popular CSS preprocessor among web developers. It allows you to introduce programmatic logic to your CSS code and make use of advanced features such as variables, mixins, functions, inheritance, nesting, and others. Mixins are probably the most popular feature of Sass, as they let you create groups of CSS declarations that you can easily reuse whenever you need. With mixins, you can save a lot of time, avoid repetitions, and make your code more readable. In this article,...
The wp-config file is one of the most important files in your WordPress install. You can use it to customize your site to suit your needs. With wp-config, you can make your WordPress site more secure, enforce best practices, reduce page load time, optimize your database, and perform many other customizations. You can find the wp-config.php file in the root folder of your WordPress install. The root folder is usually the public_html directory on live servers. In this article, we'll take a look at the...
Code editors are probably the most important tools of web developers. Finding one that best fits your workflow and goals, and has all the features you need can save you a lot of time and significantly improve your code quality. In this article, I will show you the five best cross-platform code editors for web developers. All of them run on the three major operating systems, Windows, Linux, and OS X. The features you will need mainly depend on your working style, current coding knowledge, and the kind of...
A .htaccess file is a distributed Apache server configuration file in which you can give commands to your server about how to serve your website. It can be used for many different kinds of configuration, such as security settings, directory protection, pretty permalinks, redirecting and rewriting URLs, and others. The main .htaccess file can be found in your root directory, inside the public_html folder on live servers. However, it's possible to set up a .htaccess file inside other directories...
The CSS Grid Layout Module has quickly got traction among front-end developers. It's a new web standard that allows us to create two-dimensional layouts with pure CSS. Imagine a grid system similar to Bootstrap or Foundation, that makes it possible to lay out web pages without using additional libraries or external grid systems. With the CSS Grid, we can lay out elements on the page along two axes—horizontally and vertically. In this article, we'll look into how to create a CSS Grid step-by-step....