Dependent selectboxes elegantly in Nette and pure JS
How to create chained select boxes, where after selecting a value in one the options are dynamically updated in the other? This is an easy task in Nette and pure JavaScript. We will show a solution that is clean, reusable end secure.
News in PhpGenerator 3.5
PhpGenerator has learned all the language features of PHP 8. Let's see how you can start using them right away.
News in Nette Forms 3.1
The vulnerability of a CSRF is based on the trick that the form is spoofed by an attacker and sent from his site, ie from another domain, against which Nette has always had protection, which is turned on by the method addProtection(). This protection is gradually being replaced by a new and fully…
News in Nette Database 3.1
With an elegant way of working with a transaction comes a new method transaction(). You pass in a callback that runs in the transaction. If any exception is thrown, the transaction is rolled back. If everything goes well, the transaction will be committed.
PHP 8.0: New Functions, Classes and JIT (4/4)
PHP version 8.0 has been released. It's full of new features like no other version before. Their introduction deserved four separate articles. In the last part we'll take a look at new functions and classes and introduce the Just in Time Compiler.