Domain Driven Design with Laravel 9

  • avatar
Preview post image

Modern web frameworks teach you to take one group of related concepts and split it across multiple places throughout your codebase. Laravel is a robust framework with a big community behind it. Usually it's standard structure is enough for most starting projects.

Building scalable applications, instead, requires a different approach. Have you ever heard from a client to work on controllers or review the models folder? Probably never - they ask you to work on invoicing, clients management or users. These concept groups are called domains.

Nginx with PHP8.1 FPM on Ubuntu 20.04

  • avatar
  • 2.2K Views
  • 13 Likes
  • 5 mins read
Preview post image

PHP is a general-purpose scripting language geared towards web development. PHP code is usually processed on a web server by a PHP interpreter implemented as a module, a daemon or as a Common Gateway Interface (CGI) executable.

By default Nginx is not capable of processing dynamic web pages with PHP so it requires the use of specific additional plugins for this purpose. One of these plugins is FPM (FastCGI Process Manager). FPM is an alternative PHP FastCGI implementation with some additional features (mostly) useful for heavy-loaded sites. It is the preferred method of processing PHP pages with Nginx and is faster than traditional CGI based methods.

How to install or upgrade to Composer v2

  • avatar
  • 2.0K Views
  • 6 Likes
  • 4 mins read
Preview post image

Composer is an application-level package manager for the PHP programming language that provides a standard format for managing dependencies of PHP software and required libraries. It manages them on a per-project basis, installing them in a directory (e.g. vendor) inside your project.

 Join Our Monthly Newsletter

Get the latest news and popular articles to your inbox every month

Domain Driven Design: Components

  • avatar
  • 1.4K Views
  • 3 Likes
  • 5 mins read
Preview post image

We already discussed about the basic concepts and terms in Domain Driven Design (DDD), check out the Introduction post if you missed it. Also we explained which Layers compose the DDD architecture. Now let's see the artifacts we use to unify these concepts and build our application (with PHP example).

Domain Driven Design with Laravel 9: User domain

  • avatar
  • 374 Views
  • 5 Likes
  • 11 mins read
Preview post image

Modern web frameworks take one group of related concepts and split it across multiple places throughout your codebase. Laravel provides a very clear structure with large variety of tools to make the development easier and faster. Along with the huge community it makes Laravel a great option for most starting projects.

Downloading and installing Node.js and NPM

  • avatar
  • 320 Views
  • 1 Likes
  • 4 mins read
Preview post image

NPM stands for Node Package Manager, which is an application and repository for developing and sharing JavaScript code. To publish and install packages to and from the public NPM registry or a private NPM registry, you must install Node.js and the NPM command line interface using either a Node version manager or a Node installer.