Skip to content
Herby Design

Blog

Programming Tips

Short, practical programming tips for PHP, JavaScript and modern web development.

Programming Tips 1 min read

Modern PHP Tips for Cleaner Code

Small modern PHP features — match, the null-safe operator, named arguments, enums and readonly properties — that make code easier to read.

Read article
Programming Tips 1 min read

How to export Next.js into HTML

Step 1: Add the “export” script Open your package.json and add this inside the “scripts” section: jsonCopyEdit”scripts”: { “dev”: “next dev”, “build”: “next build”, “start”: “next start”, “export”: “next build && next export” } ✅ This make...

Read article