All Projects → codeliner → Php Ddd Cargo Sample

codeliner / Php Ddd Cargo Sample

Licence: bsd-3-clause
PHP 7 Version of the cargo sample used in Eric Evans DDD book

Programming Languages

javascript
184084 projects - #8 most used programming language

Labels

Projects that are alternatives of or similar to Php Ddd Cargo Sample

Kledex
.NET Standard framework to create simple and clean design. Advanced features for DDD, CQRS and Event Sourcing.
Stars: ✭ 502 (-33.33%)
Mutual labels:  ddd
Cp Ddd Framework
A lightweight flexible development framework for complex business architecture with full ecosystem!轻量级业务中台开发框架,中台架构的顶层设计和完整解决方案!
Stars: ✭ 566 (-24.83%)
Mutual labels:  ddd
Repractise
RePractise
Stars: ✭ 695 (-7.7%)
Mutual labels:  ddd
Christddd
🙌 ASP.NET Core 3.1 应用, 包含 DDD、CQRS、EDA 和ES事件回溯
Stars: ✭ 510 (-32.27%)
Mutual labels:  ddd
Spring Data R2dbc
Provide support to increase developer productivity in Java when using Reactive Relational Database Connectivity. Uses familiar Spring concepts such as a DatabaseClient for core API usage and lightweight repository style data access.
Stars: ✭ 534 (-29.08%)
Mutual labels:  ddd
Shriek Fx
An easy-to-use rapid development framework developed on the basis of.NET Core 2.0, following the constraints of domain Driven Design (DDD) specifications, combined with the CQRS architecture to provide the infrastructure for event-driven, event backtracking, responsiveness, and more. Let developers enjoy the true meaning of object-oriented design patterns brought by the aesthetic.
Stars: ✭ 644 (-14.48%)
Mutual labels:  ddd
Almin
Client-side DDD/CQRS for JavaScript.
Stars: ✭ 477 (-36.65%)
Mutual labels:  ddd
Spring Data Rest
Simplifies building hypermedia-driven REST web services on top of Spring Data repositories
Stars: ✭ 743 (-1.33%)
Mutual labels:  ddd
Spring Data Commons
Spring Data Commons. Interfaces and code shared between the various datastore specific implementations.
Stars: ✭ 542 (-28.02%)
Mutual labels:  ddd
Ddd Forum
Hacker news-inspired forum app built with TypeScript & DDD from solidbook.io.
Stars: ✭ 674 (-10.49%)
Mutual labels:  ddd
Equinoxproject
Full ASP.NET Core 5 application with DDD, CQRS and Event Sourcing concepts
Stars: ✭ 5,120 (+579.95%)
Mutual labels:  ddd
Ddd Playground
Domain-Driven Design in a PHP project using Symfony
Stars: ✭ 517 (-31.34%)
Mutual labels:  ddd
Komga
Media server for comics/mangas/BDs with API and OPDS support
Stars: ✭ 647 (-14.08%)
Mutual labels:  ddd
Event Store
PHP 7.4 EventStore Implementation
Stars: ✭ 505 (-32.93%)
Mutual labels:  ddd
Go2o
基于DDD的o2o的业务模型及基础, 使用Golang+gRPC/Thrift实现
Stars: ✭ 700 (-7.04%)
Mutual labels:  ddd
Open Loyalty
Open Loyalty is technology for loyalty solutions for starting new loyalty projects.
Stars: ✭ 476 (-36.79%)
Mutual labels:  ddd
Isis
Apache Isis™ software is a framework for rapidly developing domain-driven apps in Java. Write your business logic in entities, domain services or view models, and the framework dynamically generates a representation of that domain model as a webapp or as a RESTful API. For prototyping or production.
Stars: ✭ 605 (-19.65%)
Mutual labels:  ddd
Weapsy
ASP.NET Core CMS
Stars: ✭ 748 (-0.66%)
Mutual labels:  ddd
Pitstop
This repo contains a sample application based on a Garage Management System for Pitstop - a fictitious garage. The primary goal of this sample is to demonstrate several software-architecture concepts like: Microservices, CQRS, Event Sourcing, Domain Driven Design (DDD), Eventual Consistency.
Stars: ✭ 708 (-5.98%)
Mutual labels:  ddd
Spring Data Neo4j
Provide support to increase developer productivity in Java when using Neo4j. Uses familiar Spring concepts such as a template classes for core API usage and lightweight repository style data access.
Stars: ✭ 662 (-12.08%)
Mutual labels:  ddd

PHP DDD Cargo Sample

PHP 7 port of the cargo sample used in Eric Evans Domain-Driven Design book

Scrutinizer Quality Score Build Status

Cargo Sample Reloaded

After two years of inactivity a new version of the PHP DDD Cargo Sample is available [2015/12/07]. The new version is a complete rewrite of the cargo sample using cutting edge technology.

tl;dr

Click here 😄

What Is New?

  • [x] PHP 7 with strict scalar type hints
  • [x] PSR-7 & PSR-15 middleware layer using zend-expressive
  • [x] Doctrine ORM ^2.5 Embeddables
  • [x] PHPUnit ^5.0
  • [x] Behat ^3.0
  • [x] Single Page UI using riot.js

Goal of the Project

We want to show the PHP 7 way of implementing Domain-Driven Design with the help of the original Cargo sample used in Eric Evans book Domain-Driven Design: Tackling Complexity in the Heart of Software. This has also been done using Java, C#, Ruby and other programming languages.

It is not the one way to apply DDD and only covers the tactical part of DDD. However, the cargo sample should help you understand the theory and gives you a starting point. Also see the Caveats of the java implementation. The same applies for our version.

Installation

Structure

The annotated project overview gives you an idea of the system structure.

PHP 5.6 compatible Version

Looking for a PHP 5.6 compatible version of the cargo sample? @josecelano has downgraded his fork. You can find it here.

Support

If you have any problems with the application please open a GitHub issue. Same applies if you have a question or a feature wish.

Contributing

Contributions of any kind are welcome. The PHP 7 DDD cargo sample aims to help people understand the tactical design part of DDD. So we'd be very happy if you tell your friends about it, link it in discussions and mention it on twitter. If you've found a bug or have an idea for an improvement, just submit a PR like usual.

Behavior Driven Design

All features of the application are described in feature files. You can find them in the features folder of the project. We make use of Behat and Mink to test our business expectations.

You can run the feature tests by navigating to the project root and start the selenium server shipped with the sample app: java -jar selenium-server-standalone-2.46.0.jar After the server started successfully open another console, navigate to project root again and run Behat with the command php bin/behat.

*Note: If it does not work, check that the behat file is executable.

Unit Tests

Unit Tests are of course also available. You can find them in CargoBackend/tests. Got to the directory and simply run phpunit.

Sponsoring

prooph software

This brand new cargo sample version is sponsored by prooph software GmbH. You can follow us on twitter

Become A Member

If you want to share your experience with other DDD enthusiasts or want to ask a question about DDD then the DDDinPHP google group is good place to do so.

You can find more DDD stuff like interesting articles and related libraries on the PhpFriendsOfDdd/state-of-the-union project.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].