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
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...
Twind - Tailwind in js
from falk-m.de
· 2025-02-16
JS
A nice solution to use tailwind without a NodeJS watcher process or the tailwind sandbox scripts is a completely JS solution, that work directly in the browser.
And the file size is very small, onl...
Links and stuff of the week
from falk-m.de
· 2025-02-16
Other
Links
githubnext/monaspace: github monospace font
CSS
CSS only marquee
CSS Toggle Pill
varlet: Vue 3 Material Design
css container-queries-unleashed
css keyframe-animations
css transforms
modern...
PHP PDO Basics
from falk-m.de
· 2025-02-13
PHP
This little post is not about SQL or SQL syntax, only a little example about the usage of the PHP PDO adapter for database query.
Create connection
$conn = new PDO("mysql:host=mysql;dbname=db", 'db...
EPA - technical view
from falk-m.de
· 2025-02-11
PRESENTATION
Last year, I read the specs or the EPA, the German 'Elektronische Patientenakte'.
I was interested in the key management, the exchange protocols and encryption technologies.
Now I created slides fo...
Links and stuff of the week
from falk-m.de
· 2025-02-09
Other
Links
datalist element
sylius PHP based Open Source Headless eCommerce Platform
phpseclib: pure-PHP implementations of AES, DES, ...
shlink: self-hosted URL shortener
Hi.Events: self-hosted event ...