Author: drweb

PHP

The 2024.1 versions of JetBrains IDEs introduced the new terminal as an opt-in feature, which can be enabled via Settings/Preferences | Tools | Terminal | Enable New Terminal. While we are actively gathering feedback and working on improvements, the new terminal remains in its Beta version. In the previous post, we covered the significant changes made to the terminal for the initial launch. This post will focus on the updates and enhancements introduced in the 2024.2 versions of JetBrains IDEs. AI-powered command generation The new terminal now features AI-powered command generation capabilities. Users of JetBrains AI Assistant can generate commands…

Read More

I don’t mind HTML email, but it really can be overdone. There is a tendency to do too much. Too much layout. Too many images. Too much text. Too many styles. The reason I don’t mind it though is that the HTML part of an HTML email offers some styling control that, when reigned in, makes for a clear and nice-looking email. A plain text email can be nice too. The constraint of plain text can help an email get to the point and not do too much. But if we go for HTML email, we can apply just enough…

Read More
PHP

Releases PhpStorm 2024.2 has been released now! Here are the highlights of the most impactful changes introduced in this update. Download PhpStorm 2024.2 Log files support Laravel, Symfony, and WordPress log files can now be viewed directly in the IDE with proper highlighting of dates, times, events (by severity level), and hyperlinks. The same functionality is also available when opening .log files in the terminal via the cat, tail, and head commands. Starting with 2024.2, the Ideolog plugin is bundled with the IDE to further improve the logging experience. Editing from a floating toolbar The new floating toolbar that appears…

Read More

You can use many great tools to help you in your software development journey. One such tool is pre-commit, a framework for managing and maintaining multi-language pre-commit hooks. You use pre-commit to run one or more tools before allowing you to commit your code locally. For example, you might run the Flake8 linter or the Ruff formatter on your Python code in GitHub Actions or some other CI. But rather than waiting for CI to run, you want to run those checks locally and automatically. That is where pre-commit comes in. You tell pre-c0mmit what to run, and it will run right…

Read More

With the release of Angular 17.3, signal-based components have become a reality. A signal-based component is one in which all data inputs, outputs, and queries are independent of RxJs and use Angular Signals instead.In other words, here is how we used to write Angular components:import { AsyncPipe } from ‘@angular/common’;import { Component, EventEmitter, Input, Output, ViewChild } from ‘@angular/core’;@Component({//…})export class HelloComponent {@Input()name = ‘World’;@Output()greetingClicked = new EventEmitter();@ViewChild(ProfileComponent)profileComponent: ProfileComponent;Here is what the same component looks like with the signal-based approach:import { AsyncPipe } from ‘@angular/common’;import { Component, input, output, viewChild } from ‘@angular/core’;@Component({//…})export class HelloComponent {name = input(‘World’);greetingClicked = output();profileComponent =…

Read More
PHP

Asymmetric visibility for PHP property One of the lesser visible feature coming to PHP 8.4, pun intended, is the assymetric visibility for PHP properties. It is an upgrade of the current visibility, and also, a number of refined features over readonly, properties hooks or magic methods. It is not for everyone, but it might be quite useful. Let’s take a look! Asymmetric Visibility Personnally, I didn’t know that visibility was symmetric. How can public, protected and private have some symmetry? It actually boils down to read and write. A property is both private for reading and writing. That’s all. …

Read More

The Powered by Docker is a series of blog posts featuring use cases and success stories from Docker partners and practitioners. This story was contributed by Neal Patel from Siimpl.io. Neal has more than ten years of experience developing software and is a Docker Captain. Background As a platform engineer at a mid-size startup, I’m responsible for identifying bottlenecks and developing solutions to streamline engineering operations to keep up with the velocity and scale of the engineering organization. In this post, I outline some of the challenges we faced with one of our clients, how we addressed them, and provide…

Read More
PHP

Tutorials Today I want to look at a new feature in PhpStorm, one that I think many Laravel developers will find very interesting. Now, to be clear, I’m a Developer Advocate at JetBrains, so you might think it’s obvious I’m excited about PhpStorm. Well, I wouldn’t be writing this post if I weren’t genuinely thrilled about it myself. First and foremost, I’m a PHP and Laravel developer, and I write code daily. So yes, I can say from experience: I’m really excited about this one! So, let’s take a look at how the latest version of PhpStorm has improved logger…

Read More

In the ever-evolving landscape of web development, the quest for the perfect CSS framework is akin to seeking the Holy Grail. It’s a journey filled with challenges, but the rewards promise a future where web design is both exhilarating and effortlessly beautiful. Imagine a world where the ideal CSS framework exists – a utopian toolkit that blends flexibility, ease of use, and sheer aesthetic appeal into one seamless package. Let’s dive into what this dream framework would look like. We’ll also explore existing CSS frameworks that already embody some of these principles, showcasing how they contribute to the dream of…

Read More
PHP

The Ultimate Guide to Navigating PHP Features Updates As PHP evolves, so do the language’s features, functionalities. And even the nuances in its behaviors. Yes, there are changed behaviors in PHP. They range from syntax changes to change in behavior of certain functions. And it can be overwhelming to keep track of how each new version of PHP might impact your code. This is the grouning reason for “Changed Behavior in PHP“: it is the reference of features that are changing from one PHP version to the next. With clear explanations, illustrations, and actionable recommendations, this encyclopedia is an essential…

Read More