Giter Club home page Giter Club logo

explicit-architecture-php's Issues

Question around queries

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?

Error on make up

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

Composer issue with Flex

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.

Vicious circle when building the environment

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...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.