Salesforce Apex is an object-oriented programming language specifically designed for the Salesforce platform. It is similar to Java and is primarily used to implement custom business logic, automation, and integrations within Salesforce.
Cloud-based: Runs exclusively on Salesforce servers.
Java-like Syntax: If you know Java, you can learn Apex quickly.
Tightly Integrated with Salesforce Database (SOQL & SOSL): Enables direct data queries and manipulations.
Event-driven: Often executed through Salesforce triggers (e.g., record changes).
Governor Limits: Salesforce imposes limits (e.g., maximum SOQL queries per transaction) to maintain platform performance.
Triggers: Automate actions when records change.
Batch Processing: Handle large data sets in background jobs.
Web Services & API Integrations: Communicate with external systems.
Custom Controllers for Visualforce & Lightning: Control user interfaces.
A rate limit is a restriction on the number of requests a user or system can send to a server or API within a given time frame. It helps prevent overload, ensures fair resource distribution, and mitigates abuse (e.g., DDoS attacks or spam).
Fixed Window – A set number of requests within a fixed time window (e.g., max 100 requests per minute).
Sliding Window – A dynamic limit based on recent requests.
Token Bucket – Users get a certain number of "tokens" for requests, which regenerate over time.
Leaky Bucket – Requests are placed in a queue and processed at a controlled rate.
An API allows a maximum of 60 requests per minute per user.
A website blocks an IP after 10 failed logins within 5 minutes.
If you need to implement rate limits in web development, various techniques and tools are available, such as Redis, NGINX rate limiting, or middleware in frameworks like Laravel or Express.js.
Memcached is a distributed in-memory caching system commonly used to speed up web applications. It temporarily stores frequently requested data in RAM to avoid expensive database queries or API calls.
Key-Value Store: Data is stored as key-value pairs.
In-Memory: Runs entirely in RAM, making it extremely fast.
Distributed: Supports multiple servers (clusters) to distribute load.
Simple API: Provides basic operations like set
, get
, and delete
.
Eviction Policy: Uses LRU (Least Recently Used) to remove old data when memory is full.
Caching Database Queries: Reduces load on databases like MySQL or PostgreSQL.
Session Management: Stores user sessions in scalable web applications.
Temporary Data Storage: Useful for API rate limiting or short-lived data caching.
Memcached: Faster for simple key-value caching, scales well horizontally.
Redis: Offers more features like persistence, lists, hashes, sets, and pub/sub messaging.
sudo apt update && sudo apt install memcached
sudo systemctl start memcached
It can be used with PHP or Python via appropriate libraries.
A spider (also called a web crawler or bot) is an automated program that browses the internet to index web pages. These programs are often used by search engines like Google, Bing, or Yahoo to discover and update content in their search index.
Starting Point: The spider begins with a list of URLs to crawl.
Analysis: It fetches the HTML code of a webpage and analyzes its content, links, and metadata.
Following Links: It follows the links found on the page to discover new pages.
Storage: The collected data is sent to the search engine’s database for indexing.
Repetition: The process is repeated regularly to keep the index up to date.
Search engine optimization (SEO)
Price comparison websites
Web archiving (e.g., Wayback Machine)
Automated content analysis for AI models
Some websites use a robots.txt file to specify which areas can or cannot be crawled by a spider.
A crawler (also known as a web crawler, spider, or bot) is an automated program that browses the internet and analyzes web pages. It follows links from page to page and collects information.
Search Engines (e.g., Google's Googlebot) – Index web pages so they appear in search engine results.
Price Comparison Websites – Scan online stores for the latest prices and products.
SEO Tools – Analyze websites for technical errors or optimization potential.
Data Analysis & Monitoring – Track website content for market research or competitor analysis.
Archiving – Save web pages for future reference (e.g., Internet Archive).
Starts with a list of URLs.
Fetches web pages and stores content (text, metadata, links).
Follows links on the page and repeats the process.
Saves or processes the collected data depending on its purpose.
Many websites use a robots.txt file to control which content crawlers can visit or ignore.
An Internationalized Resource Identifier (IRI) is an extended version of a Uniform Resource Identifier (URI) that supports Unicode characters beyond the ASCII character set. This allows non-Latin scripts (e.g., Chinese, Arabic, Cyrillic) and special characters to be used in web addresses and other identifiers.
A-Z
, 0-9
, -
, .
, _
), IRIs allow characters from the entire Unicode character set.https://de.wikipedia.org/wiki/Überblick
https://de.wikipedia.org/wiki/%C3%9Cberblick
Ü
is encoded as %C3%9C
)IRIs are defined in RFC 3987 and are supported in modern web technologies like HTML5, XML, and RDF.
IRIs make the internet more linguistically inclusive by allowing websites and resources to be referenced using non-Latin characters, improving accessibility worldwide.
A SUT (System Under Test) is the system or component being tested in a testing process. The term is commonly used in software development and quality assurance.
A typical testing process includes:
The Whoops PHP library is a powerful and user-friendly error handling tool for PHP applications. It provides clear and well-structured error pages, making it easier to debug and fix issues.
✅ Beautiful, interactive error pages
✅ Detailed stack traces with code previews
✅ Easy integration into existing PHP projects
✅ Support for various frameworks (Laravel, Symfony, Slim, etc.)
✅ Customizable with custom handlers and loggers
You can install Whoops using Composer:
composer require filp/whoops
Here's a simple example of how to enable Whoops in your PHP project:
require 'vendor/autoload.php';
use Whoops\Run;
use Whoops\Handler\PrettyPageHandler;
$whoops = new Run();
$whoops->pushHandler(new PrettyPageHandler());
$whoops->register();
// Trigger an error (e.g., calling an undefined variable)
echo $undefinedVariable;
If an error occurs, Whoops will display a clear and visually appealing debug page.
You can extend Whoops by adding custom error handling, for example:
use Whoops\Handler\CallbackHandler;
$whoops->pushHandler(new CallbackHandler(function ($exception, $inspector, $run) {
error_log($exception->getMessage());
}));
This version logs errors to a file instead of displaying them.
Whoops is mainly used in development environments to quickly detect and fix errors. However, in production environments, it should be disabled or replaced with a custom error page.
SSH (Secure Shell) is a network protocol that establishes an encrypted connection between two computers. It is mainly used for securely logging into remote systems (e.g., servers) and executing commands.
ssh username@server-ip
scp file.txt username@server-ip:/destination-folder/
ssh-copy-id username@server-ip
SSH is commonly used by developers and system administrators to manage servers or establish secure connections for other applications.
Swift is a powerful and user-friendly programming language developed by Apple for building apps on iOS, macOS, watchOS, and tvOS. It was introduced in 2014 as a modern alternative to Objective-C, designed for speed, safety, and simplicity.
Swift is primarily used for Apple platforms but can also be utilized for server-side applications and even Android or Windows apps in some cases.