137 notes in 6 topics
Notes
Short texts on how an idea becomes a product.
Nothing found. Try another word.
Product and briefs
-
Custom web app vs. rented SaaS: real TCO and limits
Rented SaaS wins on speed to first revenue when standard workflows fit; custom web applications win on long-term TCO once platform workarounds, per-seat fees, and integration debt start compounding.
-
AI agents in SME automation: where ROI works
Start AI automation with narrow, verifiable back-office workflows that keep a human approval step; avoid autonomous agents on high-risk legal, financial, or customer-facing actions.
-
Validate before you build: what to check first
Test the assumption that could sink the idea first, then decide whether the next step is a prototype or production code.
-
Mobile app vs. responsive web and PWA: how to choose
Most early products ship faster as a responsive web app or PWA: one codebase, instant releases and no app store review gate. Build a native mobile app only when hardware, offline storage or background execution genuinely require it.
-
User stories and acceptance criteria
Write each story around a person, a need and a goal, then check it against acceptance criteria before building starts.
-
A roadmap without false promises
Describe each item by the problem and intent it serves, show how sure you are about each horizon, and review the roadmap regularly.
-
What to cut from a first version
Cut everything that does not help the first release answer its one question, then sort what is left into must, should and won’t.
-
Interviewing users before you build
Ask about what people did last time, recruit people who use the service today, and keep notes close to what was said and seen.
-
Running a small usability test
Write tasks that do not give the answer away, watch participants try them, and turn the notes into a short list of actions.
-
What each kind of prototype can and cannot tell you
Pick the cheapest kind and fidelity that answers your riskiest assumption, and throw the prototype code away at the end of alpha.
-
Naming a product or service people can find
Choose a name that uses the words people search for, describes the task and stays accurate when the product changes.
-
Writing a one-page product brief
A one-page product brief names the problem, the user, the outcome, the constraints and the non-goals, and leaves features out until the need is agreed.
-
Measuring whether a product works
Track three or four measures tied to what the product is for, record a baseline before you change anything, and read the numbers in context.
-
Forms people actually finish
People finish a form when each page asks one thing, every label stays visible and each error appears where they will look.
-
Error messages that help people fix the problem
Tell people what happened and how to fix it, in plain words that match the question they answered.
-
Measuring satisfaction without over-reading the score
Ask people once they have finished, include an open question, and act on patterns in feedback rather than on single scores.
-
Writing in plain language for the web
Write so that readers understand the page the first time, with short sentences, everyday words and a check with real users.
-
Private beta, public beta and live
Private beta invites a limited group, public beta opens the service to anyone who needs it, and live starts after the live assessment at the end of public beta.
-
Designing good questions for forms
Ask only what the service needs, one thing per page, with a clear label, a short hint and an error message that says how to fix the problem.
-
Retiring a feature or product without stranding users
Decide what happens to the need, tell people early, and redirect them to a working start page for a set period.
-
Informed consent in user research
Tell participants what will happen to them and their data, keep a record of their consent, and delete the data if they withdraw.
-
How to test a service for accessibility
Combine automated scans with manual checks, testing with assistive technology and testing with disabled users, starting in alpha.
Engineering
-
Zero-downtime database migrations in practice
Code deploys and schema changes rarely happen at the exact same millisecond. Use expand-and-contract migrations so old and new application code run safely against the same database.
-
SaaS architecture for small B2B teams
A small B2B SaaS rarely needs microservices, but it cannot cut corners on tenant isolation, server-side roles, idempotent billing state and clean onboarding.
-
API authentication: cookies, JWT or API keys?
Most web apps need stateful HttpOnly session cookies for browsers and hashed, scoped API keys for server-to-server integrations. Choose stateless JWTs only when multiple independent services must verify identity without calling a central store.
-
In-app search: SQL, full-text or search engine?
Product and admin search does not start with a separate search cluster. Match the search backend to catalogue size, typo tolerance, faceting and sync complexity.
-
Preventing SQL injection with prepared statements
Send every user-supplied value to the database as a bound parameter, take table names and sort orders from fixed lists, and give the application only the rights it needs.
-
HTTP status codes and what each one tells a client
Pick the status code by asking who caused the problem, then which part of the request is wrong, using the meanings in RFC 9110 and MDN.
-
SQLite in production (WAL) for B2B tools vs. Postgres
For single-node B2B portals and internal tools with moderate write volume, SQLite in WAL mode eliminates database network hops and ops overhead; switch to PostgreSQL once multi-node writes or heavy write concurrency appear.
-
Plain PHP or a framework? An honest comparison
Neither option is the safe default; the right choice depends on the size of the project, the team, the expected lifetime and the work you will own.
-
SQLite or MySQL for a small product
Choose SQLite when one application on one host reads and writes the data and writers can take turns; choose MySQL when many machines or simultaneous writers share it.
-
A Content Security Policy that holds in practice
A policy holds when inline scripts are gone, every nonce is fresh on each response, and the rules have been tested in report-only mode first.
-
CSRF protection in plain terms
Every state-changing request needs its own token; SameSite and an Origin check add layers of defence, but they do not replace the token.
-
Escaping output so that XSS cannot run
Escape each value for the place where it is printed, because text that is safe in HTML can still run as code inside a script, a URL or CSS.
-
Versions and changelogs that readers can follow
Raise MAJOR for incompatible public changes, MINOR for compatible new features and PATCH for compatible fixes, and record each release in a changelog people can read.
-
When a database index helps and when it only adds cost
An index helps when a frequent query can use it to find, filter or sort rows, and every write pays for it, so add one only for a query you actually run.
-
HTTP security headers worth setting
Set Strict-Transport-Security, X-Content-Type-Options, Referrer-Policy and Permissions-Policy, roll each one out in a safe order and check that nothing breaks.
-
Storing passwords correctly in PHP
Store passwords with password_hash() using PASSWORD_DEFAULT or Argon2id, check them with password_verify(), and rehash older hashes at the next login.
-
Sessions and cookies done safely
Protect session cookies with explicit attributes, a new ID at login and timeouts enforced on the server.
-
Semantic HTML and why element choice matters
Choose each element for the meaning it gives content, because screen readers, keyboards and search engines all read the structure you write.
-
Planning a PHP version upgrade
Plan an upgrade around the support dates and the changes that affect your code, and keep a way back to the previous version.
-
Accepting file uploads safely in PHP
Check every upload on the server, accept only the file types the application needs, and store the file where no visitor can run it or fetch it directly.
-
UTF-8 from the editor to the database
Use UTF-8 in every layer, declare it in the HTTP header and the page, name utf8mb4 explicitly in MySQL, and normalise text to NFC.
-
Loading scripts with defer, async and modules
Use defer for scripts that need the page and must keep their order, async for independent scripts, and type module for modern code, which is deferred by default.
-
Storing dates and time zones without surprises
Store moments in UTC, keep the local time and zone for future events, and use immutable PHP date objects with IANA zone names.
-
Client-side validation that never replaces the server
Use the constraints HTML already provides, add clear custom messages where they help, and check every value again on the server.
-
API error responses that clients can act on
Return the status code, then a problem details body with a stable type, a short title, a detail for this request and no internal information.
-
Keeping dependencies up to date, one step at a time
Commit the lock file, audit what you actually install and update one package at a time with tests, so that fixes arrive without breaking the release.
-
Progressive enhancement in practice: HTML first
Build the page so the main task works with HTML alone, then add CSS and JavaScript as improvements that never block the baseline.
-
PHP error handling and logging without leaking details
Show visitors a generic message, write the details to the server log, and let uncaught exceptions reach one handler that stops the script cleanly.
Performance and accessibility
-
CDN edge caching: Vary, cookies and safe purging
An unconfigured CDN either misses HTML and XML sitemaps completely or accidentally caches another user’s session cookie. Understand cache keys, Vary headers and targeted purging before turning on edge caching.
-
Fixing Largest Contentful Paint one delay at a time
Split the LCP delay into four parts, then fix the largest one first instead of guessing at image tweaks.
-
What changed in WCAG 2.2 and what to check
The new criteria that most affect shops and sign-in are focus not obscured, target size and accessible authentication, and one pass can check them.
-
The European Accessibility Act and online shops
The Act applies to e-commerce services from 28 June 2025, and the exemption for microenterprises covers services only, not products.
-
Speed as part of design: Core Web Vitals in practice
Speed is part of the design: visitors feel it in loading, responsiveness and layout stability, and the Core Web Vitals give a shared way to measure all three.
-
Fixing Cumulative Layout Shift without jumping content
Give every element its space before it loads, because content that arrives late and pushes the page is the usual cause of layout shift.
-
Fixing Interaction to Next Paint, long tasks first
Find which of the three delay parts dominates each slow interaction, then shorten long tasks and keep event handlers light.
-
Alternative text for three kinds of image
Alternative text must serve the same purpose as the image, so informative images get a description, functional images describe their action, and decorative images get an empty value.
-
Contrast ratios WCAG 2.2 requires for text and controls
Normal text needs a 4.5:1 contrast ratio, large text and interface components need 3:1, and each colour pair must be checked on its own.
-
Where lazy loading helps and where it hurts
Use lazy loading for images and iframes below the first screen, and never for the element that shows first.
-
Choosing an image format for the web
Use JPEG for photographs, PNG for transparency and exact detail, SVG for icons and diagrams, and WebP or AVIF with a fallback where they help.
-
How HTTP caching decides what is reused
Caching is safe to use when each response carries an explicit Cache-Control header that matches how often its content changes.
-
Web fonts without slowing the page or moving the text
Ship one compressed, subsetted file per style you need, and pick a font-display value for each family on purpose.
-
Responsive images that fit the screen and the layout
Send each screen a file that matches the space the image occupies, and declare its dimensions so the layout holds while it loads.
-
What keyboard accessibility asks for in WCAG 2.2
Every function must work from the keyboard, timing must not decide the result, and repeated blocks need a way to be bypassed.
-
The real cost of third-party scripts
A third-party script costs your visitors time even when it is small, so load it with care and remove what adds no clear value.
-
Preload, preconnect and fetch priority
Use preconnect for the few most critical third-party origins, preload only what a page needs very soon, and set fetchpriority on the main image.
-
Field data from real visitors
Field data shows what real visitors experience at the 75th percentile, and it should set priorities before any lab test starts.
-
Focus indicators that stay visible and unhidden
A focus indicator must be visible, keep at least 3:1 contrast with its surroundings, and never be covered entirely by a sticky header.
-
Performance budgets you can enforce in review
A performance budget is a limit that a page must stay within, checked before changes ship rather than after visitors complain.
-
Respecting reduced motion in CSS and interfaces
Use the prefers-reduced-motion query to replace large movement with gentler motion, and keep only the animation that carries information.
-
Text compression with Brotli and gzip
Serve HTML, CSS, JavaScript and SVG compressed with Brotli or gzip, and check the Content-Encoding header on real responses.
Search
-
Multilingual EU web architecture and edge caching
EU expansion requires distinct crawlable URLs per language, self-referencing canonicals, bidirectional hreflang, and strict separation between public cached HTML and authenticated sessions.
-
Legacy e-commerce migration without an SEO traffic drop
Organic traffic drops during a shop migration almost always stem from unmapped URLs, redirect chains, broken canonicals, or blocked crawling; prevent them with log-driven 301 maps and staged verification.
-
Canonical URLs when one page has many addresses
A canonical URL is the address you want search engines to treat as the main version, and you signal it with redirects, rel=canonical and your sitemap.
-
Structured data basics for search
Structured data describes a page in a format that search engines can read, using labelled properties and standard types from schema.org.
-
hreflang for multilingual sites
Hreflang works when every version lists itself and every other version, using valid language and region codes.
-
Choosing between 301, 302, 307 and 308 redirects
Use a permanent code when an old address should be retired, and a temporary one only when the original address is meant to return.
-
XML sitemaps that help search engines
An XML sitemap helps search engines find the pages you want considered, within the protocol limits of 50,000 URLs and 50 MB per file.
-
robots.txt and noindex are different controls
robots.txt decides which URLs crawlers may fetch, while noindex decides whether a fetched page may appear in search results.
-
Internal links that search engines can follow
Use real a href links with descriptive text, placed in context, and give every page you care about at least one link from another page.
-
Moving a site without losing search traffic
Map every important old URL to its new equivalent, redirect it permanently, then update links and sitemaps and watch the results for weeks.
-
URL structure that lasts
A good URL uses readable words, hyphens and one letter case, and it changes as rarely as possible.
-
Product structured data for search results
Use merchant listing markup for product pages where customers can buy, and product snippet markup where they cannot.
-
What Google can see on a JavaScript page
Google can render JavaScript, but server-side or pre-rendered HTML with crawlable links is still the safer default for content that must be found.
-
Crawl budget: who needs to care
Crawl budget matters only for very large or fast-changing sites, and the first step is to check the Page Indexing report.
-
Titles and snippets in search results
Google writes title links and snippets automatically, so clear and specific page text is the main thing you control.
-
The robots meta tag and X-Robots-Tag
Put a robots meta tag in the head of an HTML page and an X-Robots-Tag header on other files, and make sure robots.txt does not block the page.
-
Writing helpful content for people first
Write for the person who searched, show first-hand knowledge, and do not publish pages made mainly to attract search engine visits.
-
Breadcrumbs and their structured data
Each breadcrumb step needs a position, a name and a URL, and the visible trail should match the markup.
-
404, 410 and soft 404 errors
A removed page should return a real 404 or 410, a moved page a 301 redirect, and a soft 404 is an error message sent with a success code.
-
Pagination and faceted navigation for search
Give each page its own plain link and URL, and either block filter combinations you do not need in Search or keep them crawlable and return a 404 when they are empty.
-
Domains, subdomains or folders for countries
Choose a country domain, a subdomain or a subdirectory for each market, and then set the target explicitly with hreflang and clear signals.
E-commerce and rules
-
Integrating Pohoda, ABRA Flexi and ERP via API
Connecting an online shop or marketplace to Pohoda or ABRA Flexi reliably depends on queue isolation, idempotent order keys and explicit stock reservation rules rather than live checkout calls.
-
Custom B2B dealer and client ordering portals
B2B ordering portals fail when built on B2C store templates: customer-specific price matrices, spending approvals, invoice payment terms and multi-buyer isolation belong in the core data model from day one.
-
Automating an online shop without losing control
Automate what follows from a recorded fact, keep refunds and exceptions with people, and switch each flow on in steps with a record of what it did.
-
E-commerce technical audit before scaling
Scaling paid traffic onto a slow, leaky, or misconfigured store multiplies acquisition waste; run a structured technical audit across speed, security, crawlability, and checkout first.
-
GDPR for a small online shop
A small shop must name a lawful basis for each purpose, collect and keep less, sign contracts with processors and answer requests within one month.
-
Cookie consent without dark patterns
A shop must ask for permission before storing cookies that need it, and under the GDPR that consent must be specific, informed and as easy to withdraw as to give.
-
The 14-day right of withdrawal for online sales
Consumers who buy online or by phone can cancel within 14 days without giving a reason, except for a short list of purchases such as made-to-order goods.
-
A checkout that keeps shoppers to the end
Ask one thing per page, show errors where people can fix them, and let shoppers check their answers before they confirm the order.
-
What an invoice must contain in the EU
An EU VAT invoice must always show seven particulars, including a sequential number, the issue date, the supplier’s VAT number and the VAT rate applied.
-
The two-year legal guarantee for goods
Sellers of goods in the EU must give buyers a legal guarantee of conformity of at least two years from delivery, with repair, replacement or a refund as remedies.
-
The One Stop Shop for VAT on cross-border sales
The One Stop Shop is an optional scheme for reporting VAT on cross-border sales to EU consumers, and an annual EUR 10,000 threshold applies to some of these sales.
-
Announcing discounts lawfully in the EU
A discount must be measured from the lowest price you charged in the 30 days before the reduction, not from a higher price shown as the before price.
-
Getting order emails delivered to the inbox
Order emails reach the inbox when receivers can check that your domain authorised the sender, which SPF, DKIM and DMARC records make possible.
-
What the EU rules require for customer reviews
A shop that says its reviews come from buyers needs reasonable and proportionate checks, and should say whether and how it makes them.
-
Strong Customer Authentication for online shops
Strong Customer Authentication requires two independent checks on most card payments from EEA customers, with exemptions that depend on risk and amount.
-
Product feed quality, checked line by line
A product feed passes review when every attribute matches the landing page and checkout, and every identifier can be shown to be correct.
-
Information an online shop must give before the order
Before a consumer orders online, the shop must show the main characteristics, its own identity, the total price and the payment duty, and label the order button clearly.
-
Delivery deadlines and the passing of risk
Unless you agree otherwise, the trader must deliver within 30 days of the contract, and a late delivery lets the consumer end the contract after an extra period.
-
Selling price and unit price: what the rules require
Shops must show the unit price, such as the price per kilogram or litre, next to the selling price, with taxes included and in a form that is easy to read.
-
Surcharges for card payments: what the EU bans
Traders may not charge customers extra for paying by consumer credit or debit card, online or in a shop, and any allowed fee must not exceed the cost of processing the payment.
-
Charging once, not twice
Idempotency keys let the server recognise a repeated payment request and return the first result, so a retry never creates a second charge or order.
-
GTIN and EAN codes
A GTIN is the product number that the manufacturer assigns, so enter only the number printed on the packaging or issued for that product.
Operations and security
-
AI features in production: reliability and safety
A convincing prompt in a demo is easy; running an LLM feature in production means treating model outputs as untrusted data, scoping inputs strictly and capping cost and agency.
-
AI extraction for invoices and PDFs: accuracy and cost
Structured Outputs guarantee JSON field types, not arithmetic truth; reliable invoice and order extraction pairs schema-constrained models with deterministic line-sum checks, supplier lookups and human sign-off on exceptions.
-
Internal tools: when to replace spreadsheets
Spreadsheets and glue scripts are the cheapest way to start an internal workflow. Replace them with a focused operations panel once concurrent edits, silent formula breaks or missing audit trails cost more than a small app.
-
Background queues, retries and dead-letter jobs
Moving slow emails, PDF invoices or webhook syncs off the HTTP request thread is only step one. Make workers idempotent, space out retries with jitter and route permanent failures to a dead-letter queue.
-
The EU AI Act: transparency duties for features
Article 50 of the EU AI Act sets disclosure and marking duties for certain AI systems, and it applies from 2 August 2026.
-
Backups you can actually restore
A backup counts only once you have restored from it, so follow the 3-2-1 rule, keep one copy disconnected and test restores on a schedule.
-
The OWASP Top 10 for product owners
The OWASP Top 10 is an awareness list of the most critical web risks, and the 2025 edition gives ten categories you can turn into planning questions.
-
HTTPS and certificates: renewal, HSTS and mixed content
Automate renewal well before expiry, send HSTS only over HTTPS with a deliberate max-age, and serve every resource over HTTPS.
-
Rate limiting that protects forms and logins
Rate limiting caps how often a client may repeat an action, and a 429 response with Retry-After tells honest clients when to try again.
-
Code review that helps rather than blocks
A useful code review checks whether a change improves the overall health of the code, and it stays fast when changes are kept small.
-
A password policy that users can follow
Set a minimum length, allow long passwords, block known weak choices, and change passwords only when there is a sign of compromise.
-
Two-factor sign-in for admin accounts
Require a second factor for every admin account, prefer phishing-resistant methods, and keep recovery from becoming a way around MFA.
-
Incident response for a small team
A small team handles an incident well when roles, severity levels and the first hour are agreed before anything breaks.
-
Keeping secrets out of your code and logs
Keep secrets in a store outside the code, give each one the smallest access it needs, and rotate it on schedule and after any leak.
-
Staging environments that match production
A staging site helps only when it behaves like production, holds no more real customer data than it must and stays out of search results and away from strangers.
-
Scheduled jobs that do not fail silently
A scheduled job fails silently unless each run is recorded, a missing run raises an alert and a repeated run does no harm.
-
Monitoring and alerts for a small product
Alert on what users experience, and keep pages for problems that need a person to act now.
-
What to record in logs and how long to keep them
Log the security events that help you answer what happened, keep passwords, tokens and personal data out of logs, and protect the logs you keep.
-
Releases and rollbacks you can reverse
Small, frequent releases are easier to test and easier to reverse than large ones, so plan the way back before you ship.
-
Service levels and error budgets
A service level objective sets a measurable reliability target, and the error budget is the amount of failure that target still allows.
-
Blameless postmortems that prevent repeats
Write a postmortem when an incident meets the criteria your team agreed in advance, and focus it on systems and processes rather than people.
-
security.txt and vulnerability reports
Publish a security.txt file at /.well-known/security.txt with Contact and Expires fields, and renew it before the expiry date passes.