By

Paulo Lopes
Software architecture is the fundamental structure underlying a software system. It encompasses the high-level organization and arrangement of components within the system. Think of it as the blueprints for constructing a building, but in the context of software development. Here are some key points about software architecture: Structures and Elements: Software architecture defines the software elements, their relationships, and the properties of both. These structures...
Read More
String and Nullable Field:We want a name column to store product names. It should be a string and nullable (i.e., it can be empty). php artisan make:migration create_products_table --create=products --schema="name:string:nullable" Integer Field with Default Value:We’ll add an quantity column to store the product quantity. It’s an integer with a default value of 0. php artisan make:migration create_products_table --create=products --schema="name:string:nullable,...
Read More
Create a Model with Migration: If you want to create a database table for your model, use the -m or --migration option: php artisan make:model ModelName This will generate a migration file in the database/migrations/ directory. Edit the migration file to define your table schema. Create a Controller: To create a resourceful controller (with CRUD methods), use the --resource or -r option: php artisan make:controller...
Read More
Packages: composer require symfony/maker-bundle --dev composer require security composer require orm composer require twig composer require form validator composer require symfonycasts/verify-email-bundle symfony/mailer composer require symfonycasts/reset-password-bundle Start and configure your database on the .env file. DATABASE_URL="mysql://app:!ChangeMe!@127.0.0.1:3306/!DatabaseName!?serverVersion=10.4.32-MariaDB&charset=utf8mb4"
Read More
Symfony Encore is a powerful tool that simplifies integrating Webpack into your web application. It provides a clean and efficient API for bundling JavaScript modules, pre-processing CSS and JS, and compiling and minifying assets.  Add encore to composer: symfony composer require encore If necessary, update your npm: nvm install --lts Now run npm install: npm install Install bootstrap:...
Read More
Create an entity for your CRUD: symfony console make:entity Create the CRUD: symfony console make:crud Create a migration for your database and execute it: symfony console make:migration php bin/console doctrine:migrations:migrate
Read More
If you don’t have the necessary packages install them: Check the post: Link Create an user entity: symfony console make:user Create an authentication method: symfony console make:auth Create a registration form: symfony console make:registration-form Create a reset password method: symfony console make:reset-password Create a migration for your database and execute it: symfony console make:migration php...
Read More
1 4 5 6 7