Coder Social home page Coder Social logo

cezarygrabowski / demandforclasses Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 0.0 3.73 MB

Design and implementation of the university platform in the microservices architecture supporting the demands for classes

PHP 59.64% HTML 6.22% Dockerfile 1.58% Shell 0.88% JavaScript 0.65% TypeScript 24.85% CSS 0.72% Gherkin 4.47% Twig 0.99%

demandforclasses's Introduction

Demands for classes

Design and implementation of the university platform in the microservices architecture supporting the demands for classes

Current implementation is just a small piece of this platform. Thanks to fragmentation to two applications (WebService, ApiService) we can easily add new applications, e.g., ScheduleService which can be responsible for creating new schedules based on created demands.

Development Process

First step was to collect all requirements - STRQ, FEAT ,UC, TERM. Then I could separate functional areas and create UC Diagrams for each of them. Because of the limited domain knowledge I haven't split ApiService yet - suggested division would be: UserService and DomainService. Thanks to use cases that I had created, I prepared scenarios in Behat - collection of those scenarios was my test suite. I decided to separate commands from queries (CQRS). Every command is a separate file. There is currently somewhere about 10 commands in the system - it shows how limited number of business capabilities is implemented. I think that CQRS makes it easier for a new developer to understand the domain. One only needs to understand created commands(10 files) to have the big picture - queries do not provide essential domain knowledge. To implement CQRS in my application (ApiService) I used tactician command bus https://github.com/thephpleague/tactician.

Built With

  • Docker - services are separate containers which communicate with each other over HTTP protocol
  • TypeScript, Angular 7 - used to build WebService
  • Symfony, PHP, Behat, PHPSpec - used to build ApiService
  • PostgreSQL - database

demandforclasses's People

Contributors

cezarygrabowski avatar

Stargazers

Przemysław Ciurzyński avatar

Watchers

James Cloos avatar Przemysław Ciurzyński avatar  avatar

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.