並び順

ブックマーク数

期間指定

  • から
  • まで

81 - 120 件 / 178件

新着順 人気順

"Clean Architecture"の検索結果81 - 120 件 / 178件

  • FluxとClean Architectureについて比較して考えてみた - Qiita

    はじめに CyberAgentのインターンで触れたアーキテクチャである、Flux, Clean Architectureについての個人的な見解を述べるだけです 「アーキテクチャはこうあるべき」みたいな原理主義的な話はしません この記事で書くこと Fluxの特徴 Clean Architectureの特徴 MVVM × Clean Architecture Fluxの特徴 FluxはFacebook社が作成したアーキテクチャパターンで、もともとはJSで使われていたものです。 各要素の役割として以下の通りです。 Dispatcher: 発火されたActionをStoreに通知するもの Action: Viewなどから発火されたEventをDispatcherに通知するもの Store: Dispatcher経由できたActionに応じて、データを管理するもの View: StoreのデータをU

      FluxとClean Architectureについて比較して考えてみた - Qiita
    • Clean Architecture for Dummies

      Image by Rishabh Dutta via WallpaperUse Copyright-freeThe hexagonal architecture (ports and adapters) is a must-know architectural pattern to separate the domain from the infrastructure. The onion architecture and the clean architecture introduce entities and use cases. These architectures are domain-centric — inspired by domain-driven design (DDD). I’ll present what I believe matters from each. U

        Clean Architecture for Dummies
      • Flutter Clean Architecture Series — Part 1

        The Clean Architecture is the most powerful software design which promotes the separation of concerns and the creation of highly maintainable and flexible software systems, and this can be done by organizing the codebase into independent layers that communicate through defined interfaces. The layers are arranged in a hierarchical manner, with the more abstract and business-specific layers at the t

          Flutter Clean Architecture Series — Part 1
        • 世界一わかりやすいClean Architecture release-preview

          Visual Studio Users Community Japan #1 https://vsuc.connpass.com/event/143114/ における発表の発表ちょっと前バージョンです。Read less

            世界一わかりやすいClean Architecture release-preview
          • Clean Architecture, 2 years later

            UPDATE: This post is old and no longer reflects what I believe to be an ideal structure for a project. In 2023, I am using and recommending what my colleagues and I have described in this post. In February 2018 I wrote what would become the most relevant text I have ever published: Clean Architecture using Golang. With more than 105k views, the post generated presentations at some Go and PHP event

            • ZealsでのMicroservices設計を徹底解説 ~Clean Architectureを添えて~

              メリークリスマス!! 2020年の初投稿が Zeals Advent Calendar の23日目のエントリーになってしまったパンディーです!!ZealsではGolangでのMicroservices開発やKubernetesベースのインフラ構築に携わっています。 今年はコロナの影響で各業界で大きな変化がありましたが、Zealsはこの1年で大きく成長することができました。そして自分がZealsに入ってから1年半が経とうとしています。 今回のエントリーでは、当時の2019年後半からスタートした、Microservices開発、特にその設計方法やプラクティスについてご紹介します! TL;DR;Clean Architectureを採用し、Microservicesを変更に強くしよう!Microservices設計時に最も重要なのは Entity!!Usecaseはサービスの説明書。ドキュメンテ

                ZealsでのMicroservices設計を徹底解説 ~Clean Architectureを添えて~
              • Clean Architecture with FastAPI

                ⚠️ Warning: This post is over a year old. The information may be out of date. Clean Architecture# Tired of your projects getting a mess? Impossible to scale for more features and endpoints? I have a solution to your problems. Today we will explore clean architecture using abstract classes, repository pattern and use cases. Why Clean Architecture?# Clean architecture is a design approach that empha

                • Comparison of Domain-Driven Design and Clean Architecture Concepts | Khalil Stemmler

                  Eric Evans' "Domain-Driven Design" and Uncle Bob's "Clean Architecture" are books that have introduced tactical approaches towards building complex enterprise applications. Given the fact that we implement ideas from both, in this article, I'll aim to clear up any confusion between parallel topics introduced from both. Before I got into software design and architecture, my code was hurting 🤕. I s

                    Comparison of Domain-Driven Design and Clean Architecture Concepts | Khalil Stemmler
                  • Nestjs Dependency Injection and DDD / Clean Architecture

                    I'm experimenting with Nestjs by trying to implement a clean-architecture structure and I'd like to validate my solution because I'm not sure I understand the best way to do it. Please note that the example is almost pseudo-code and a lot of types are missing or generic because they're not the focus of the discussion. Starting from my domain logic, I might want to implement it in a class like the

                      Nestjs Dependency Injection and DDD / Clean Architecture
                    • Clean architecture of Flutter application. Part 2 - Practice

                      Clean architecture of Flutter application. Part 2 - Practice Hello everyone. In the previous article, we spoke about clean architecture concepts. Now it's time to implement them. For a good understanding, we are going to develop a simple app. The app receives info about solar flares and storms from the NASA API and presents it on the view. Create Project First of all, you have to install flutter.

                        Clean architecture of Flutter application. Part 2 - Practice
                      • Golang and clean architecture

                        Not only Dame Time but also Go TimeI wanted to publish this article during the early days of the NBA Playoffs, when Damian Lillard was balling. Although it’s a bit too late now, he still deserves a big shout out. In this post we will review and deploy a golang application that follows the clean architecture principles. Source code can be found here.Update: 3.7.2021: Removed OpenAPI client generati

                          Golang and clean architecture
                        • Clean Architecture with ASP.NET Core

                          Clean Architecture with ASP.NET Core STEVE SMITH ARDALIS.COM | @ARDALIS | STEVE@DEVIQ.COM DEVIQ.COM Learn More After Today 1) Pluralsight ◦ N-Tier Apps with C# http://bit.ly/PS-NTier1 ◦ Domain-Driven Design Fundamentals http://bit.ly/ddd-fundamentals 2) DevIQ ◦ ASP.NET Core Quick Start http://aspnetcorequickstart.com 3) Microsoft FREE eBook/Sample App ◦ eShopOnWeb eCommerce Sample https://ardalis.

                          • iOS Clean Architecture勉強会のまとめ - Qiita

                            この文章は2020年1月21日に行われた「iOS Clean Architecture勉強会 sponsored by Sansan」という勉強会のまとめです。 発表内容 yimajo: 「クリーンアーキテクチャとiOSアプリ開発のためのVIPERと」 依存関係逆転の原則(DIP)について VIPER VIPERの種類色々ある VIPERはDIPを使ってない DIPを使ってない場合の依存を取り除くには Interactorごと取り替える DBに依存したデータを表示するためのstructなどに置き換える スライド dotrikun: 「ゼロイチフェーズからのClean Architecture」 DeNAテックカンファレンスあります 新規アプリでクリーンアーキテクチャは食い合わせ悪いのか これまで3本は非CA 4本目はCAを採用 AppRootViewController使ってる 起動時 R

                              iOS Clean Architecture勉強会のまとめ - Qiita
                            • PythonでLayered ArchitectureとClean Architectureを使ってカレーと肉じゃがを作ってみた - Qiita

                              PythonでLayered ArchitectureとClean Architectureを使ってカレーと肉じゃがを作ってみたPythonDDDSOLIDCleanArchitectureレイヤードアーキテクチャ 概要 突然ですがClean Architectureについて皆さん理解できていますか? この記事を書くまで僕の理解度はこれくらいでした。 「Clean Architecture?ああ、有名なドーナツの図のアレだよね。」 (ref: https://blog.cleancoder.com/uncle-bob/2012/08/13/the-clean-architecture.html) Clean Architectureに関する記事をネットで調べると正直上記のような「有名なドーナツの図のアレ。」と書いてあるだけの記事も散見します。 そこでこの記事ではClean Architec

                                PythonでLayered ArchitectureとClean Architectureを使ってカレーと肉じゃがを作ってみた - Qiita
                              • GitHub - thanhchungbtc/vue-shopping-clean-architecture: Shopping cart app demonstrate clean architecture

                                You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                  GitHub - thanhchungbtc/vue-shopping-clean-architecture: Shopping cart app demonstrate clean architecture
                                • 【連載 第4回】freeeカード Unlimited でのClean Architecture実践 - freee Developers Hub

                                  こんにちは、金融チームでエンジニアをしているlvmingbeiです。この記事はfreeeカード Unlimited の開発の裏側について紹介する連載の第4回目になります。 この記事では、freeeカード Unlimitedの開発でClean Architectureを導入して学んだことをシェアできればと思います。 第1回~第3回の連載記事は以下のリンクでご覧ください。 【連載 第1回】freeeカード Unlimited の開発の道のり - freee Developers Blog 【連載 第2回】freeeカード Unlimited での非同期通信の設計と実装 - freee Developers Blog 【連載 第3回】EMから再度エンジニアとしてプロダクト開発に挑戦して学んだこと - freee Developers Blog Clean Architectureの概要 Clea

                                    【連載 第4回】freeeカード Unlimited でのClean Architecture実践 - freee Developers Hub
                                  • GitHub - vilarjp/react-clean-architecture: This repository contains all the fundamentals of Clean Architecture and SOLID principles applied in a React.js application

                                    You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                      GitHub - vilarjp/react-clean-architecture: This repository contains all the fundamentals of Clean Architecture and SOLID principles applied in a React.js application
                                    • ウェブフロントに見る clean architecture の一例

                                      ウェブフロントに見る clean architecture の一例 ウェブフロントに見る clean architecture の一例 さて、ここでクイズです。「Clean architecture とは、 controllers や use cases、entities というクラスを作って繋げるアーキテクチャのことだ、○か×か」。どっちでしょうか? → → → 正解は×です。 あの同心円は、あくまで clean architecture の一例として『Clean Acrhitecture』で紹介されたものです。 ストア層とコンポーネント層をわけるアーキテクチャには以下のメリットがあります。 ストア層の改修がコンポーネント層に影響しなくなる コンポーネント側の変更もストア層に影響しない あくまでレイヤー毎に独立していること、レイヤー間はインターフェイスやポート&アダプタで接続されること、

                                      • Janith's Blog – My take on doing 'Clean Architecture' in React (Part 1)

                                        Friendship is magic? Wait till you see Dependency Inversion! Clean Architecture, simplified. I'm a huge fan of Robert C. Martin's work in general, and Clean Architecture in particular. I'm frequently on the lookout for how to apply it to the different system architectures and frameworks we work with. Which modules should be decoupled? I think the rule is similar to the previous rule: Any module th

                                        • 次のAmazonレビューを確認してください: Clean Architecture 達人に学ぶソフトウェアの構造と設計

                                          本当に、ひたすら冗長で、そして実用性に欠ける書籍でした。 DI(依存性の注入)を中心としたClean Architecture についてはwebにたくさんの情報があり、より詳細があるかと期待してこの本を買う人は期待はずれでしょう。Web以上の情報はありません。 著者の Robert C. Martin("Uncle Bob"として知られる)は テスト駆動開発(TDD)の熱狂的支持者…いや扇動者として有名です。そして彼は今やおそらくコードを書いていません。 この書籍の最初の30%はBobおじさんが語る、構造化設計、オブジェクト指向、関数型言語などのパラダイムの説明。そして彼の最もよく知られてる成果「SOLIDの原則」について語っています。いくつかの彼自身が仕事していた日々の楽しいトリビア(例えば、パンチテープから磁気テープに変わる時代の!)には価値を感じるなら別ですが、とても古い時代の、本当

                                          • GitHub - kgrzybek/sample-dotnet-core-cqrs-api: Sample .NET Core REST API CQRS implementation with raw SQL and DDD using Clean Architecture.

                                            You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

                                              GitHub - kgrzybek/sample-dotnet-core-cqrs-api: Sample .NET Core REST API CQRS implementation with raw SQL and DDD using Clean Architecture.
                                            • 世界一わかりやすいClean Architecture - Visual Studio Users Community Japan Edition - nuits.jp blog

                                              本稿は「Visual Studio Users Community Japan #1」で登壇させていただいた内容の解説記事になります。 最新の記事はこちらになりますので、あわせてご覧ください。 www.nuits.jp 本稿のスライドはこちら。 世界一わかりやすいClean Architecture from Atsushi Nakamura www.slideshare.net 本稿のサンプルコードはこちらで公開しています。 github.com Clean Architectureの次の点についてお話させていただきます。 誤解されがちな二つのこと おさえるべき二つのこと 本項はあくまで私の解釈です。 特に極端に要約しているので、本稿がすべてではないことはご理解ください。また、書籍の記載とやや異なる説明もします。 それでも私は著者が本当に言いたかったこと、クリーンアーキテクチャでもっとも

                                                世界一わかりやすいClean Architecture - Visual Studio Users Community Japan Edition - nuits.jp blog
                                              • 「Clean Architectureで実装するバッチ処理」についての勉強 - tsuchinaga

                                                外部から叩かれて動くプログラムの記事から、内部から自発的に動くプログラムの設計をするのは無理だなーと常日頃から感じていたので、どういったサイトの何を参考にして、自分なりのアーキテクチャを構築したかをまとめます。

                                                  「Clean Architectureで実装するバッチ処理」についての勉強 - tsuchinaga
                                                • Combining DDD, CQRS, and Clean Architecture in Go

                                                  Robert Laszczak Principal Engineer at SlashID. Co-founder of Three Dots Labs. Creator of Watermill. In the previous articles, we introduced techniques like DDD Lite, CQRS, and Clean (Hexagonal) Architecture. Even if using them alone is beneficial, they work the best together. Like Power Rangers. Unfortunately, it is not easy to use them together in a real project. In this article, I will show you

                                                    Combining DDD, CQRS, and Clean Architecture in Go
                                                  • クライアント、サーバー それぞれから視点で見た Clean Architecture - Qiita

                                                    2019/06/13追記 本記事の内容から考え方を改めました。 新しい考え方は【改訂版】クライアント、サーバー それぞれから視点で見た Clean Architecture にまとめましたので、こちらを見ていただければと思います。 一応、比較の意味を込めて本記事は残させていただきます。 TL;DR クライアントアプリ、サーバーアプリ両方を作ってみた上で、Clean Architecture とは何かを改めて考えて自分の中でまとめてみました。 登場するレイヤーや役割は、 こちら を参考にさせて頂きました。 なお、 View が、 ユーザーに対しての表示 の役割と、 ユーザーからの入力 の役割を兼ねているので、 入力側の役割を Action と別途名前を付けて分割させて頂きました。 Action View が、 ユーザーに対しての表示 の役割と、 ユーザーからの入力 の役割を兼ねているので、入

                                                      クライアント、サーバー それぞれから視点で見た Clean Architecture - Qiita
                                                    • DDDとClean Architectureによる依存関係の整理 - Qiita

                                                      メディアドゥ アドベントカレンダーの記事です。 実践度合いについて まだまだ実践では模索しながら整理していっているため、プロダクトで採用はしているが実績はまだない、程度のフェーズのものですが、一旦図でまとめてみたので公開してみます。 技術書のドメイン駆動設計と、Clean Architectureは読んだ上で、よくわからないので3週目ずつくらいの勉強度合い・・・。ちなみに、DDDやるならユビキタス言語から組織的に決めなきゃだめじゃんという点は、許してください、あくまでコーディング目線の内容です。 実践しているプログラミング言語はGo言語です。 まとめた図 デスクトップ版のDraw.ioが便利でした。 各レイヤーで理解に時間がかかった点 レイヤーというのはClean Architectureのあの円の図を元にする。 Entity 各種オブジェクト 最初に書いた実際のコードでは、構造体が並んで

                                                        DDDとClean Architectureによる依存関係の整理 - Qiita
                                                      • Trying Clean Architecture on Golang

                                                        After reading the uncle Bob’s Clean Architecture Concept, I’m trying to implement it in Golang. This is a similar architecture that we used in our company, Kurio - App Berita Indonesia, but with a little different structure. Not too different, same concept but different in the folder structure. You can look for a sample project here https://github.com/bxcodec/go-clean-arch, a sample CRUD managemen

                                                          Trying Clean Architecture on Golang
                                                        • Clean Architecture with Spring Boot | Baeldung

                                                          REST with Spring Boot The canonical reference for building a production grade API with Spring Learn Spring Security ▼▲ THE unique Spring Security education if you’re working with Java today

                                                            Clean Architecture with Spring Boot | Baeldung
                                                          • iOSアプリの設計にClean Architectureを採用して約3年運用してきた知見

                                                            家族アルバムみてね でエンジニアをやっているロクネム( @_rockname )です この記事ではみてねのiOSアプリ開発で採用しているClean Architectureについて、運用して約3年が経ちましたのでそこで得られた知見について紹介させていただきます 背景みてねのiOSアプリは、コードベースで数えると2014年2月に最初のコミットが積まれてから今年で8年目を迎えています。 初期はCocoa MVCにならって開発を進めていましたが、次第に以下のような問題が頻発していきました 様々な機能やロジックを詰め込んだFatViewControllerの誕生モジュール間の依存関係の複雑化各モジュールにおける責務の曖昧化このような問題の発生によって開発効率が徐々に低下していきました そこで、2018年1月に新しい設計としてClean Architecture(+ MVP)が提案されました Cle

                                                              iOSアプリの設計にClean Architectureを採用して約3年運用してきた知見
                                                            • GolangとClean ArchitectureでAPIサーバーを構築してみた

                                                              目的 どうも、@yanteraです。 Goで実際にClean Architectureで開発する場合どのような構築をすれば、開発しやすいのか設計してみました。 実践を想定して構築を考えています。APIドキュメントの代わりにsawaggerを実装しています。 使用するツール docker echo(air) gorm swagger goa ディレクトリ構成 ├─ docker/ ├─ api └─ environments ├─ production/ ├─ development/ └─ test/ ├─ document └─ mysql ├─ documents/ └─ design/ ├─ server/ ├─ adapters/ ├─ controllers/ ├─ gateways/ └─ presenter/ ├─ infrastructure/ ├─ routes/ └─

                                                                GolangとClean ArchitectureでAPIサーバーを構築してみた
                                                              • iOS Clean Architecture勉強会のまとめ - Qiita

                                                                この文章は2020年1月21日に行われた「iOS Clean Architecture勉強会 sponsored by Sansan」という勉強会のまとめです。 発表内容 yimajo: 「クリーンアーキテクチャとiOSアプリ開発のためのVIPERと」 依存関係逆転の原則(DIP)について VIPER VIPERの種類色々ある VIPERはDIPを使ってない DIPを使ってない場合の依存を取り除くには Interactorごと取り替える DBに依存したデータを表示するためのstructなどに置き換える スライド dotrikun: 「ゼロイチフェーズからのClean Architecture」 DeNAテックカンファレンスあります 新規アプリでクリーンアーキテクチャは食い合わせ悪いのか これまで3本は非CA 4本目はCAを採用 AppRootViewController使ってる 起動時 R

                                                                  iOS Clean Architecture勉強会のまとめ - Qiita
                                                                • Clean ArchitectureとDDDの概念と得られるもの - sambaiz-net

                                                                  Clean Architecture 関心事をレイヤーに分割し、依存方向を下位から上位に制限したアーキテクチャ。次のような円で説明され、中央のビジネスルールが上位、外側のフレームワークやドライバが下位となる。 依存方向を制限することで上位のレイヤーが下位のレイヤーの変更の影響を受けづらくなり安定させることができる。また、テストも書きやすくなる。 Web APIサーバーを想定して次のような関心事のレイヤーを切る。 handler: WAFとusecase間のデータ変換 usecase: アプリケーション固有のビジネスルール entity: ビジネスデータとそれを操作するビジネスルール repository: データへのアクセス これらを図に当てはめると次のようになる。 依存方向逆転の原則(DIP) ここで問題になるのがrepositoryの位置で、usecaseやentityよりも下位にある

                                                                    Clean ArchitectureとDDDの概念と得られるもの - sambaiz-net
                                                                  • Pythonの開発環境を一新した - Clean Architecture, Clean Life

                                                                    はじめに 最近個人開発でよくPythonを使ってるのですが、仕事でも使うようになり、そろそろ開発環境を真面目に構築しようと思い、色々調べたのでご紹介しようと思います 構成 今回は以下のパッケージを使用しました パッケージ管理+仮装環境 rye Linter ruff 静的型チェック mypy rye ちなみに業務の方ではryeではなく、poetry+venv(pyenv)の構成で使っています 一応公式には実験的プロジェクトでプロダクトでの利用は不向きと判断したからです Rye は、Rust の Rustup と Cargo からインスピレーションを得て、Python に新しいタイプのパッケージング エクスペリエンスを構築する実験的な取り組みです。まだ製品化の準備ができていませんが、フィードバックや提案をいただければ幸いです。 まずはryeをダウンロードします 公式サイトの通りに進めます r

                                                                      Pythonの開発環境を一新した - Clean Architecture, Clean Life
                                                                    • 社内勉強会開催レポート(Clean Architecture/ 自律移動ロボット/3D CADデモ) - CADDi Tech Blog

                                                                      キャディでエンジニア採用を担当しております片渕です。 今回は、エンジニアの社内勉強会「STUDDi」にてプレゼンがありました一部の情報(3ネタほど)を、レポート形式でお伝えしたいと思います。 STUDDIは、エンジニア全員が持ち回りで発表機会があるものですが、入社してくる方も増えてきたこともあり まだ一度もスピーカーになっていない方(新しく入られた方)の発表する場として優先する 好きな技術について思う存分語ってOK という方針でやっておりまして、今回は Clean Architecture 自律移動ロボット 3D CADのデモンストレーション の3つをご紹介していきます。 [toc] Clean Architecture for UI 今回はまず2021年12月13日に開催された社内勉強会、濱口からのプレゼン内容をまとめております。 なじみがないマイクロサービスのチケットが取れない理由は何

                                                                        社内勉強会開催レポート(Clean Architecture/ 自律移動ロボット/3D CADデモ) - CADDi Tech Blog
                                                                      • 世界一わかりやすいClean Architecture - nuits.jp blog

                                                                        本項は「C# Tokyo オンライン「世界一わかりやすいClean Architecture」他」による発表の登壇原稿となります。過去に発表した.NET版の記事はこちらにアーカイブしています。 本稿のサンプルコード・PPTはこちらで公開しています。 「CC BY-SA 4.0」で公開していますので、気に入っていただけたら営利目的含め、ライセンスの範囲で自由に利用していただいて問題ありません。 github.com また動画を以下で配信しています。よろしければご覧ください。 世界一わかりやすいClean Architecture はじめに まず初めに、クリーンアーキテクチャの誤解されがちな二つのことについてお話させていただきます。 その上で、クリーンアーキテクチャの本質とは何か?押さえておくべき、本当に重要だと考えている三つの事について、お話しします。 注意事項 さて本題に入る前に、少し注意

                                                                          世界一わかりやすいClean Architecture - nuits.jp blog
                                                                        • 【React-Redux-DDD-clean-architecture】記事を読んでひたすら考える(1) | 武骨日記

                                                                          毎日朝7時更新/プログラミング芸人/WEBデザイン/フォトグラファー/インド/JavaScript芸人/Reactエンジニア

                                                                            【React-Redux-DDD-clean-architecture】記事を読んでひたすら考える(1) | 武骨日記
                                                                          • Clean Architecture の『骨』

                                                                            この記事のゴール Clean Architecture とは何か。 あらゆる装飾を剥ぎ取ったそのエッセンスを一次テクストから読み解くことがこの記事のゴールだ。 一次テクストとは、 Robert C. Martin 氏のブログ記事 "The Clean Architecture" である。 同 Robert C. Martin 氏著の書籍『Clean Architecture』は参照しない。 Clean Architecture が初めて提唱されたのは、上記のブログであり、 いろいろな概念が付加される以前の「みずみずしいエッセンス」を抽出したいためである。 Robert C. Martin氏のブログ記事 "The Clean Architecture" 日本語訳:Robert C. Martin氏のブログ記事 "The Clean Architecture" 0. 【結論】Clean Arc

                                                                              Clean Architecture の『骨』
                                                                            • Clean Architecture with Go - Qiita

                                                                              💡 はじめに この記事は、クリーンアーキテクチャとGo言語を半年ほど勉強した人の知見をまとめたものです。zennにも同じ内容を投稿しています。この記事の対象者としては、 クリーンアーキテクチャ聞いたことあるけどGoでの実装方法? といった方を想定しています。 自分自身も、完全に理解しているとは言い難いですが、ある程度知見が溜まってきたのでまとめておきます。Go言語でクリーンアーキテクチャを実現したい方の参考になれば幸いです。 🤔 クリーンアーキテクチャとは? システム設計ガイドラインの1つ メリット 疎結合、関心の分離により変化に強い テストが容易 デメリット コードが冗長 わかりにくい 🛠 実際に実装してみる クリーンアーキテクチャに関しては、ネット上の記事を読んでもあまりピンとこないかもしれないので、実際に実装してみることあるいは実際のコードを読むことが理解の近道だと思います。そ

                                                                                Clean Architecture with Go - Qiita
                                                                              • Clean Architectureのサンプルコードの関係性をそのまま可視化してみた - Qiita

                                                                                Clean Architectureの説明は理解できるが,サンプルコードを理解しようとしたら,脳がOOMになったので,サンプルコードの対応関係を全部可視化して見てみた,という記事です. 少しでも,Clean Architectureの理解を試みた人の助けになれば嬉しいです. また,バックエンド初心者なので,間違っているところがあれば,ご指摘お願いします. Clean Architectureとは Clean Architectureについては,たくさんの解説記事があるので,本稿では本当に説明しません. 以下に僕が読んだ中で理解しやすいと感じたClean Architectureの記事のリンクを載せておきます. Clean ArchitectureでAPI Serverを構築してみる Clean Architecture を用いた go + gin のバックエンド (API) 構築 はじめに

                                                                                  Clean Architectureのサンプルコードの関係性をそのまま可視化してみた - Qiita
                                                                                • Clean Architecture・DDDをもとにしたFlutterアプリのモジュール分割&命名法 - TetsuFeの個人開発ブログ

                                                                                  DDDの戦術的設計とは、DDD(ドメイン駆動設計)という設計手法における具体的な実装の方法論を指します。 これは、レイヤー分けの方法論で、例えば以下のようになります。 アプリケーション固有のロジック: XXX、XXXService 永続化(DBなど)に関するコード: Repository アプリケーション固有のロジックを組み立てる役目: ApplicationService、UseCase UI (アプリケーション固有のロジックに関しては、Entity、ValueObjectというパターンを使うことでXXXクラスを作るという形になります) これらは、アプリケーション全体の構成を把握するために便利でもあります。この記事では、上記をさらに拡張して、以下のようにしてみます。タイトルは「Flutterアプリの」としましたが、Flutterアプリ以外でも同じようなものかと思います。 ドメイン(ある分

                                                                                    Clean Architecture・DDDをもとにしたFlutterアプリのモジュール分割&命名法 - TetsuFeの個人開発ブログ