Joined January 2009
53 Photos and videos
End of CSRF cookies. Nette Http 3.4 switches protection from a cookie to Sec-Fetch headers. And it brings a new API: the isFrom() method lets you declare where a request may come from – and unlike the old cookie, it can tell same-origin from same-site. blog.nette.org/en/quarter-ce…
1
1
109
A user’s avatar. An image preview in a comment. A URL sent by your AI. Whenever your PHP app fetches a URL it didn’t pick itself, it’s an SSRF target. One of the OWASP Top 10. Nette 3.4 fixes it in a single line. blog.nette.org/en/nette-http…
1
3
115
AI agents are flipping priorities in PHP 🔻PhpStorm is no longer a must-have 🔼PHPStan is becoming mandatory The agent doesn't need anyone to autocomplete. It needs someone to keep an eye on it. Running all your code through PHPStan at level 8 is now basic hygiene, not a luxury
1
4
12
1,030
Tracy 2.12 learned a new dialect. When an AI agent sits at the monitor instead of a human, it gets structured markdown straight into the JS console. And next to every .html exception in the log/ folder there’s now a .md sibling. blog.nette.org/en/tracy-debu…
1
3
252
Running external programs in PHP used to be a choice between two evils: shell_exec() can barely do anything, proc_open() does everything but its API was clearly designed by someone who doesn't like people :-) So I wrote Nette\Utils\Process. blog.nette.org/en/running-ex…
1
1
5
343
Before: 35 lines of HTML riddled with htmlspecialchars After: 12 lines of clean Latte Bonus: no runtime baggage. No XSS. PHPStan approves. How do you write templates in Latte but ship plain .phtml with zero dependencies? Latte as a ghost in the machine 👻 blog.nette.org/en/latte-temp…
2
289
Latte in Tracy? Overkill! Yes. And yet I did it – just not the way you'd expect. Latte templates get compiled into static .phtml files before commit. An elegant solution you wouldn't think was even possible. New article on how to do it: 🔗 blog.nette.org/en/latte-temp…
1
7
528
🔥 GAME CHANGER for Nette developers! Claude Code now has deep knowledge of the entire Nette ecosystem. ✓ Knows best practices for presenters, forms, DI, … ✓ Validates Latte and NEON on every save ✓ This will change the way you do PHP‼️ github.com/nette/claude-code #nettefw
3
2
7
551
PHP 8.5 brings the Pipe Operator |> 🎉 🚀 Fast? Not a chance. 👀 Readable? Only on slides. ✨ Useful? About as much as a waterproof tea bag. Read why it’s just lipstick on a pig and why I’ll (sadly) stick with helper variables. 👇 phpfashion.com/en/pipe-opera… #php #php85

1
8
405
From the first pencil strokes to the finished design. That is how software libraries come to life.
1
7
561
🔥 Latte 3.1 is out! And it brings a revolution in writing HTML attributes: ✅ Smart Attributes ✅ Arrays in class and style ✅ n:elseif ✅ Nullsafe filters ?| ✅ Migration mode for easy upgrade blog.nette.org/en/latte-3-1-…
1
9
315
🚀 I've just released the ultimate guide for Latte: Learn how to create custom tags and "passes". It's so comprehensive that it increased the size of the already extremely detailed documentation by 50% 📈 #php #twig #blade #smarty #phpcon_odawara latte.nette.org/en/extending…
2
10
518
100 minutes is less than 50? In PHP it is! See how daylight saving time transitions cause bizarre behavior where adding a longer time returns an earlier hour. Not even Einstein could have conceived this! Find out how I fixed this chaos in Nette Utils. #PHP phpfashion.com/en/100-minute…
6
430
🛡️ Are you writing your database queries safely? The new Nette Database documentation will open your eyes! From SQL injection protection to secure parameterized queries - everything you need in one place. blog.nette.org/en/write-safe… #nettefw #php #phpcon
1
6
403
🚀 Excited to share: Nette PHP Generator now fully supports PHP 8.4's game-changing Property Hooks & Asymmetric Visibility! Say goodbye to verbose getters/setters and hello to cleaner, more elegant code. Check out how → blog.nette.org/en/php-genera… #nettefw #php #php84
2
9
379
🔥 PHP 8.4 is about to change how we write OOP forever! Property hooks asymmetric visibility mean goodbye to endless getters/setters. Finally, properties become first-class citizens in PHP! Must-read for every PHP dev: phpfashion.com/en/property-h… #php #php84 #dev

1
8
551