Nette Framework

418 posts

Nette Framework banner
Nette Framework

Nette Framework

@nettefw

Tools for PHP that you will ❤️ Hash tag #nettefw. Search https://t.co/e5HDU8PsRh

انضم Ocak 2009
11 يتبع2.7K المتابعون
Nette Framework
Nette Framework@nettefw·
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-templ…
English
0
1
7
473
Nette Framework
Nette Framework@nettefw·
🔥 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-c… #nettefw
English
3
2
7
525
Nette Framework
Nette Framework@nettefw·
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-operat… #php #php85
English
1
0
8
390
Nette Framework
Nette Framework@nettefw·
From the first pencil strokes to the finished design. That is how software libraries come to life.
Nette Framework tweet mediaNette Framework tweet media
English
1
0
7
551
Nette Framework
Nette Framework@nettefw·
🔥 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-w…
English
0
1
9
305
Nette Framework
Nette Framework@nettefw·
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-minutes…
English
0
0
6
422
Nette Framework
Nette Framework@nettefw·
🚀 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-generat… #nettefw #php #php84
English
0
2
9
376
Nette Framework
Nette Framework@nettefw·
🔥 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-ho… #php #php84 #dev
English
0
1
8
548
Nette Framework
Nette Framework@nettefw·
💡A piece of PHP history: Nette SmartObject Born in 2007, it brought modern OOP features to PHP that we now take for granted. With PHP 8.4, its mission is complete - everything is now native! 17 years ahead of its time! Read the full story 👇doc.nette.org/en/utils/smart… #php84 #php
Nette Framework tweet media
English
0
2
6
623
Nette Framework
Nette Framework@nettefw·
The Nette Framework brings performance benefits and memory optimization by using so-called generators. Let's look at three areas where their power is utilized in ways that might surprise even experienced developers. blog.nette.org/en/nette-utils…
English
0
2
6
456
Ozan
Ozan@akmandev·
PHP developers seem to think having an Interface suffix is a good idea. I assume it's because they adopted a naming convention that was supposed to be for PSR packages? I avoid adding an unnecessary Interface suffix. What's your preference and why? I avoid it because the suffix doesn't serve any purpose. It's a few more characters for no reason. It makes the names longer and harder to read. ❌ WriterInterface -> HtmlWriter, TxtWriter, CsvWriter ✅ Writer -> HtmlWriter, TxtWriter, CsvWriter
Ozan tweet mediaOzan tweet media
English
27
8
99
38.1K
Nette Framework
Nette Framework@nettefw·
The #[Requires] attribute allows you to define rules for accessing presenters or their methods. Imagine being able to restrict access to certain actions to POST requests only, or conversely, allow calls only from AJAX. blog.nette.org/en/requires-at… #nettefw #php
English
0
0
4
442