hgraca / explicit-architecture-php Goto Github PK
View Code? Open in Web Editor NEWThis repository is a demo of Explicit Architecture, using the Symfony Demo Application.
License: MIT License
This repository is a demo of Explicit Architecture, using the Symfony Demo Application.
License: MIT License
Hey @hgraca! Sorry if this is the wrong place to post this, but I have been very much so interested in hexagonal architecture for a while now and I am still wrapping my head around the approach of this repository.
One thing I noticed is that you have query implementations under the DQL
folder in the application layer. Am I wrong in thinking that these queries are best implemented in the infrastructure layer since they tie back to dependencies and/or frameworks? What is the thinking around the approach chosen here?
When I run make up I get this error
Step 1/4 : FROM hgraca/explicit-architecture:app.sfn.dev
ERROR: Service 'app' failed to build: manifest for hgraca/explicit-architecture:app.sfn.dev not found: manifest unknown: manifest unknown
Do I need to download the image first? if so there is an issue with image in https://hub.docker.com/r/hgraca/explicit-architecture
Hi,
Just trying to setup the project return some errors during the composer install (Composer version 1.8.5 2019-04-09) :
explicit-architecture-php git:(master) composer install
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Package operations: 138 installs, 0 updates, 0 removals
- Installing symfony/flex (v1.0.80): Loading from cache
Plugin installation failed, rolling back
- Removing symfony/flex (v1.0.80)
[ErrorException]
Declaration of Symfony\Flex\ParallelDownloader::getRemoteContents($originUrl, $fileUrl, $context) should be compatible with Composer\Util\RemoteFilesystem::getRemoteContents($originUrl, $fileUrl, $context, ?array &$responseH
eaders = NULL)
install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--ignore-platform-reqs] [--] [<packages>]...
This issue seems related to a symfony/flex
issue (symfony/flex#397).
A composer flex update might fix this.
PR will follow.
According to the readme:
Execute the following commands to prepare the project locally:
$ composer install
$ make box-build-prd
$ make dep_analyzer-install
But I want to get the Docker up before doing composer install
as I may have a different version of PHP (or none at all) on my local machine. But I won't be able to get the Docker up, as I need to create the SQL data file first (with the make box-build-prd
command). And I need libraries ready to do so, so I need composer install
first...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.