Coder Social home page Coder Social logo

mystrictlaraclean's Introduction

Build Status Total Downloads Latest Stable Version License

About Laravel

Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel attempts to take the pain out of development by easing common tasks used in the majority of web projects, such as:

Laravel is accessible, yet powerful, providing tools needed for large, robust applications.

Learning Laravel

Laravel has the most extensive and thorough documentation and video tutorial library of any modern web application framework, making it a breeze to get started learning the framework.

If you're not in the mood to read, Laracasts contains over 1100 video tutorials on a range of topics including Laravel, modern PHP, unit testing, JavaScript, and more. Boost the skill level of yourself and your entire team by digging into our comprehensive video library.

Laravel Sponsors

We would like to extend our thanks to the following sponsors for helping fund on-going Laravel development. If you are interested in becoming a sponsor, please visit the Laravel Patreon page:

Contributing

Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the Laravel documentation.

Security Vulnerabilities

If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell via [email protected]. All security vulnerabilities will be promptly addressed.

License

The Laravel framework is open-sourced software licensed under the MIT license.

クリーンアーキテクチャの各層について

  • エンティティ

ビジネスルールを含むコード。 DDDでいうドメイン層。packages/Domain 配下に格納。

  • ユースケース

システムのユースケースを含むコード。 ユースケースはエンティティに依存し、エンティティはユースケースに依存しない。 入力としてリクエストデータ構造を受け取り、出力としてレスポンスデータ構造を戻す。どちらもシンプルな構造でフレームワークに依存したものではない。 ユーザインターフェースに関する事も把握しない。 DDDで言うアプリケーション層。packages/App 配下に格納。

  • インターフェースアダプター

ユースケースやエンティティに便利なフォーマットから、DBやWEBなどの外部エージェントに便利なフォーマットにデータを変換するアダプター。 コントローラ・ゲートウェイ・プレゼンターがこの層にあたる。 packages/Adapter 配下に格納。

ソースコードの依存性は内側の層だけに向かっていなければならない。

InputData

Controllerはウェブなどの外部から入力されたデータを受け取り、ユースケースにとって都合のいい構造に変換してユースケースに渡す。 その変換されたフォーマットの事をInputDataとしている。

OutputData

ユースケースでは、自身にとって都合のいいフォーマットから、ウェブなどの外部エージェントに便利なフォーマットにデータを変換して、プレゼンターに渡す。 その変換されたフォーマットの事をOutputDataとしている。

ViewModel

ここに含まれるのはViewがデータの表示に使用する文字列やフラグ。 例えば、ユースケース層の戻り値であるOutputDataにDateオブジェクトが含まれることもあるが、 Presenterはユーザのために適切にフォーマットされた文字列を含んだViewModelを読み込む。 Viewでは、ViewModelからHTMLページにデータを移動することのみを任せる。

mystrictlaraclean's People

Contributors

atushi-koga avatar

Watchers

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