Blog | falk-m.de
Like other developers, I read articles, test new features, analyze code from others and so on.
Also, I have some interesting code snippets used in projects, if I need them, I always search in old projects.
This blog is my central place now, to collect interesting code snippets, features, etc. |
RSS Feed
JS Debounce and Throttle functions
from falk-m.de
· 2025-05-03
JS
Debounce
limiting function executions for automate search inputs for example or resize events
function debounce(func, delay) {
let timeoutId;
return function (...args) {
clearTimeout(timeou...
WCAG Link list
from falk-m.de
· 2025-05-01
OTHER
Checklist
tab navigation and focus frames
add „Skip to Content“ Link
Alternative texts for images, control elements, objects
check contrasts (colors)
scalability up to 400% zoom
semantic HTML ...
Kirby CMS presentation
from falk-m.de
· 2025-04-19
PHPPRESENTATION
Funktionsweise Flat file CMS
blueprints
config
content managent
site-object, page-object, pages-collection
templating (templates, snippels, layout)
panel basics
extention basics (co...
Links and stuff of the week
from falk-m.de
· 2025-04-18
Other
ecosia.org: AI Chat on ecosia
tauri: build cross-platform apps, mobile and desktop
tntsearch: php full text search engine
gpt4all: runs large language models (LLMs) privately on desktops
easydiffu...
html dialog element demo
from falk-m.de
· 2025-03-20
JSCSSHTML
Visit demo
standard dialog
A dialog element is hidden by default.
.showModal() open the centered dialog and add a Backdrop element.
.show() open the dialog on top position and don't add a Backdrop...
create a multistep form
from falk-m.de
· 2025-03-12
JS
I want to create a multistep HTML form. That means you have to input some data to access the next step and so on, until you can submit the form in the last step.
Requirements:
form is normal usabl...
git commands i did not know
from falk-m.de
· 2025-03-11
GIT
I read about some interesting git commands that I don't know.
Local test environment
For testing I like to use a local 'remote' repository
create a directory 'remote-repo'
navigate on the comma...
MySQL, string length and a crazy behavior
from falk-m.de
· 2025-03-09
PHPMYSQL
This week I have a very crazy behavior when insert rows in a database.
Given is the following table:
CREATE TABLE IF NOT EXISTS `text_test` (
`id` INT NOT NULL AUTO_INCREMENT,
`text...
Links and stuff of the week
from falk-m.de
· 2025-03-09
Other
attendize, self-hosted php based ticket system
pixijs: animation engine
sleekdb: php, file based, data-store
scroll-snap: js; smooth scoll snap
layoutsfortailwind: Useful layouts for Tailwind CSS
...
basic instruction to php unit tests
from falk-m.de
· 2025-03-05
PHP
It follows a short basic instruction to start with unit tests in PHP.
Install
There are some other ways, but the best way is to install with composer.
{
"require-dev": {
"phpunit/phpuni...
require git repos with composer
from falk-m.de
· 2025-03-04
GITPHP
As a PHP developer, you will certainly also love composer to manage dependencies.
Sometimes I need another repo in a project. There is an easy way to use other repos without a registration of them ...
Fluid-design
from falk-m.de
· 2025-03-05
CSS
Fluid-design want to implement a responsive design without using of media queries.
Try the Demo on your desktop pc and play with font size and window width.
Padding
A normal padding looks nice on w...
how hashing works
from falk-m.de
· 2025-03-01
OTHER
It is hard to discripe concepts like blockchains or digital signatures, without to describe the fundamental concepts of hash-functions.
On the future I can refer to this post:-)
What is it?
A hash ...
CSS order property
from falk-m.de
· 2025-02-27
CSS
Short CSS thing:
Imagine a CSS flexbox container with three children: 1 | 2 | 3
Did you know that we can change the order of the children by using the order attribute?
Examples:
.container div:nth-...
UUIDs as primary key
from falk-m.de
· 2025-02-26
JS
In my next task at work, I have to import data from an API which use UUIDs as primary key and for relations between the data entities.
Shopware also use UUIDs since version 6 instead of integers as...