Interview with Matouš about news in PhpStorm plugins
If you use PhpStorm you certainly have plugins installed for better interoperability with Nette Framework. I’m talking specifically about Nette framework helpers, Latte, Neon, Nette Tester a Nette factory interface generator. They were created and maintained by many other authors e.g. Jan Doleček,…
Dependency Injection: intro (1/6)
Do you remember your first program?
Webpack integration into Nette projects
In the age of single-page-application, developers build webapps with help of frontend frameworks instead of classic templating systems. One of the tools that enable us to build such applications is Webpack. It allows structuring frontend apps in the nice, maintainable way using import/export…
Sign emails with DKIM
DKIM (DomainKeys Identified Mail) is a trustworthy email technology that also helps detect spoofed messages. The sent message is signed by the SMTP server with the private key of the sender's domain and this signature is stored in the email header. The recipient's server compares this signature…
How to use Doctrine ORM with Nette Framework
In this article, I'll try to provide you step by step guide, how to use Doctrine ORM with Nette FW. Most recommended Doctrine integration to Nette is called Nettrine, it's maintained by the contributte team.
How to automatically register classes into DIC
Many of you didn't know the fact that Nette 3 has a built-in extension for automatic registration of your classes to dependency injection container. Such extension can save you time writing hundreds of lines of neon configurations where you register classes with similar names (<Something>Factory, …
Nette fully supports PHP 7.4. What does it mean?
Just a few days ago PHP 7.4 was born. This version is another important milestone in language development. The great news is that the Nette Framework is thoroughly prepared and fully tested with the new version. And beware, this applies not only to the current version 3.0 but also to the previous…
How to properly update Nette
“Nette is perfectly backward compatible. Switching from Nette 0.9 to 2.4 took me one afternoon on a relatively large application. That was a great result!” said one satisfied user. Here are some tips on how to update your project to the latest version of Nette.
HTTP requests and responses – Part 3
In the first and second sections of this mini-series I describe the possibilities of controlling HTTP protocol from the presenter in Nette application. In this episode, I focus on tools for working with HTTP caches in Nette.
HTTP requests and responses – Part 2
In the first part I describe presenter methods, by which we can control HTTP responses of the application. In this section, I will address the interface Nette\Application\IResponse, with which HTTP responses can be formed very accurately.
HTTP requests and responses – Part 1
Nette offers two layers of abstraction to work with HTTP. The first, low-level, is provided by namespace classes Nette\Http. They offer a nice API to handle HTTP headers, pull URLs, incoming parameters and files, or set a response numeric code. We are almost shielded from this layer in the Nette…