PHP Classes

How to Use a PHP Aggregate Pattern Implememntation to Model Business Objects Learning from the Package Aggregate Entity Value Object: Compose aggregates, entities, and value objects

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2024-08-07 (2 months ago) RSS 2.0 feedNot yet rated by the usersTotal: 19 This week: 1All time: 11,314 This week: 34Up
Version License PHP version Categories
aggregate-entity-val 1.0.0The PHP License7Design Patterns, PHP 7, Business
Description 

Author

This package can compose aggregates, entities, and value objects.

It provides interfaces and classes that demonstrate in practice how to implement the concepts of aggregate, entity, and value object classes

Currently, it can:

- Value object classes that can represent business names, amounts, and unique identifiers (UUID)

- A transaction entity class that associates a business name with a transaction identified (UUID) and a transaction amount

- A budget class that can aggregate transactions and calculate the budget amount

Picture of DeGraciaMathieu
  Performance   Level  
Name: DeGraciaMathieu <contact>
Classes: 21 packages by
Country: France France
Age: ???
All time rank: 289780 in France France
Week rank: 18 Up2 in France France Up
Innovation award
Innovation award
Nominee: 15x

Winner: 2x

  Files folder image Files (13)  
File Role Description
Files folder imageapp (4 directories)
Files folder imagetests (1 file)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file composer.lock Data Auxiliary data
Accessible without login Plain text file Makefile Data Auxiliary data
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files (13)  /  app  
File Role Description
Files folder imageAggregates (1 file)
Files folder imageEntities (1 file)
Files folder imageInterfaces (3 files)
Files folder imageValueObjects (3 files)

  Files folder image Files (13)  /  app  /  Aggregates  
File Role Description
  Plain text file Budget.php Class Class source

  Files folder image Files (13)  /  app  /  Entities  
File Role Description
  Plain text file Transaction.php Class Class source

  Files folder image Files (13)  /  app  /  Interfaces  
File Role Description
  Plain text file Aggregate.php Class Class source
  Plain text file Entity.php Class Class source
  Plain text file ValueObject.php Class Class source

  Files folder image Files (13)  /  app  /  ValueObjects  
File Role Description
  Plain text file Amount.php Class Class source
  Plain text file Name.php Class Class source
  Plain text file Uuid.php Class Class source

  Files folder image Files (13)  /  tests  
File Role Description
  Plain text file WorkflowTest.php Class Class source

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:19
This week:1
All time:11,314
This week:34Up