Next.js is a React-based framework that simplifies the development of modern web applications. Developed by Vercel, it provides a wide range of features beyond what the React library offers. Next.js is especially appealing to developers who want to create powerful, scalable, and SEO-friendly applications.
Hybrid Rendering:
API Routes:
Built-in Routing:
pages
folder becomes a route, e.g.:
pages/index.js
→ /
pages/about.js
→ /about
Image Optimization:
next/image
component optimizes images automatically with features like lazy loading, resizing, and WebP support.TypeScript Support:
Fast Refresh:
Middleware:
npx create-next-app
).
The MERN Stack is a collection of JavaScript technologies commonly used to build modern, scalable, and dynamic web applications. The name is an acronym that represents the four main technologies in the stack:
MongoDB (M):
Express.js (E):
React.js (R):
Node.js (N):
The MERN Stack is particularly popular among startups and companies looking to build fast, interactive web applications.
The MEAN stack is a modern collection of JavaScript-based technologies used together to develop dynamic, scalable, and high-performance web applications. MEAN is an acronym representing the four main components of the stack:
M – MongoDB
E – Express.js
A – Angular
N – Node.js
The MEAN stack is often compared to the MERN stack, which uses React instead of Angular for the frontend. While Angular provides a complete solution, React allows more flexibility with its "bring-your-own-library" philosophy.
The LAMP stack is a collection of open-source software used together to develop dynamic websites and web applications. The acronym LAMP stands for the following components:
L – Linux
A – Apache
The LAMP stack is often compared to modern alternatives like the MEAN stack (MongoDB, Express.js, Angular, Node.js), but it remains popular due to its simplicity and reliability, especially for traditional web development projects.
The LEMP stack is a collection of software commonly used together to host dynamic websites and web applications. The acronym "LEMP" represents the individual components of the stack:
Linux: The operating system that serves as the foundation for the stack. It supports the other software components.
Nginx (pronounced "Engine-X"): A high-performance, resource-efficient web server. Nginx is often preferred because it scales better for handling simultaneous connections compared to Apache.
MySQL (or MariaDB): The relational database used to store data. MySQL is commonly paired with PHP to generate dynamic content. Modern setups often use MariaDB, a fork of MySQL.
PHP, Python, or Perl: The scripting language used for server-side programming. PHP is particularly popular in web development for rendering database-driven dynamic content on web pages.
The LEMP stack is a modern alternative to the better-known LAMP stack, which uses Apache as the web server.
In software development, syntax refers to the formal rules that define how code must be written so that it can be correctly interpreted by a compiler or interpreter. These rules dictate the structure, arrangement, and usage of language elements such as keywords, operators, brackets, variables, and more.
Language-Specific Rules
Every programming language has its own syntax. What is valid in one language may cause errors in another.
Example:
Python relies on indentation, while Java uses curly braces.
Python:
if x > 0:
print("Positive Zahl")
Java:
if (x > 0) {
System.out.println("Positive Zahl");
}
Syntax Errors
Syntax errors occur when the code does not follow the language's rules. These errors prevent the program from running.
Example (Syntax error in Python):
print "Hello, World!" # Fehlende Klammern
3. Syntax vs. Semantics
4. Tools for Syntax Checking
Variable Naming: Variable names cannot contain spaces or special characters.
Variablenbenennung: Variablennamen dürfen keine Leerzeichen oder Sonderzeichen enthalten.
my_variable = 10 # korrekt
my-variable = 10 # Syntaxfehler
{ ... }
.
Data Definition Language (DDL) is a part of SQL (Structured Query Language) that deals with defining and managing the structure of a database. DDL commands modify the metadata of a database, such as information about tables, schemas, indexes, and other database objects, rather than manipulating the actual data.
1. CREATE
Used to create new database objects like tables, schemas, views, or indexes.
Example:
CREATE TABLE Kunden (
ID INT PRIMARY KEY,
Name VARCHAR(50),
Alter INT
);
2. ALTER
Used to modify the structure of existing objects, such as adding or removing columns.
Example:
ALTER TABLE Kunden ADD Email VARCHAR(100);
3. DROP
Permanently deletes a database object, such as a table.
Example:
DROP TABLE Kunden;
4. TRUNCATE
Removes all data from a table while keeping its structure intact. It is faster than DELETE
as it does not generate transaction logs.
Example:
TRUNCATE TABLE Kunden;
DDL is essential for designing and managing a database and is typically used during the initial setup or when structural changes are required.
Platform as a Service (PaaS) is a cloud computing model that provides a platform for developers to build, deploy, and manage applications without worrying about the underlying infrastructure. PaaS is offered by cloud providers and includes tools, frameworks, and services to streamline the development process.
In summary, PaaS enables fast, simple, and flexible application development while eliminating the complexity of managing infrastructure.
A Remote Function Call (RFC) is a method that allows a computer program to execute a function on a remote system as if it were called locally. RFC is commonly used in distributed systems to facilitate communication and data exchange between different systems.
SonarQube is an open-source tool for continuous code analysis and quality assurance. It helps developers and teams evaluate code quality, identify vulnerabilities, and promote best practices in software development.
Code Quality Assessment:
Detecting Security Vulnerabilities:
Technical Debt Evaluation:
Multi-Language Support:
Reports and Dashboards:
SonarQube is available in a free Community Edition and commercial editions with advanced features (e.g., for larger teams or specialized security analysis).