並び順

ブックマーク数

期間指定

  • から
  • まで

361 - 400 件 / 671件

新着順 人気順

Dependencyの検索結果361 - 400 件 / 671件

  • なぜDependency Injectionは、それほど悪いものではないのか - Qiita

    関数型プログラミングは好きですか? 私は嫌いです。副作用がなく不変オブジェクトを使ったプログラミングは好きですが、関数型プログラミングは嫌いです。自分が難しいテクニックを使えるほど頭が良いということを示すためだけに関数型プログラミングを使うのは、いい加減やめるべきだと思います。関数型プログラミングだろう手続き型だろうと、大切なのはわかりやすく保守しやすいコードを書くことであるはずです。 難しいテクニックを知っている人が偉い、より難解なコードを書く人が偉いという技術至上主義が、「for文禁止」のような傲慢さを生み出している原因ではないでしょうか。かつてデザインパターンがたどった道が、関数型プログラミングに続いているように思います。 なぜ依存性注入は、悪いものなのか (この節のコードはこの動画を参考にしたものです) そうした人たちは次なる標的として、DIコンテナーをターゲットに定めました。 関

      なぜDependency Injectionは、それほど悪いものではないのか - Qiita
    • Java Dependency Analysis Tool - Java Dependency Analysis Tool - OpenJDK Wiki

      jdeps is a new command-line tool added since JDK 8  for developers to use to understand the static dependencies of their applications and libraries.   jdeps is a static analysis tool on the given class files and dynamic class dependencies (Class.forName or loading of service providers etc) are not reported. It also provides an -jdkinternals option to find dependencies to any JDK internal APIs that

      • Dependency Injection Guidance on Android — ADS 2019

        According to our introduction to Dependency Injection (DI), we believe you should always use DI principles in your applications. If you’re developing a professional Android app, use Dagger to better manage your dependencies. We recommended using Dagger for medium and large apps; for small apps or pet projects, it doesn’t matter the tool you use, but the sooner you add Dagger to your project, the b

          Dependency Injection Guidance on Android — ADS 2019
        • GitHub - google/fruit: Fruit, a dependency injection framework for C++

          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 - google/fruit: Fruit, a dependency injection framework for C++
          • Dependency injection in PHP 5.3/5.4

            The document discusses dependency injection in PHP. It begins with a real-world web application example to demonstrate dependency injection, showing how the User class depends on a SessionStorage class. It then explains how using constructor injection for the dependency rather than hardcoding it makes the code more customizable, configurable, and testable. Dependency injection decouples classes an

              Dependency injection in PHP 5.3/5.4
            • GitHub - uxder/Radio: Dependency-free Chainable Publish/Subscribe Library for Javascript

              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 - uxder/Radio: Dependency-free Chainable Publish/Subscribe Library for Javascript
              • Dependency graph adds vulnerability alerting support for Rust

                Dependency graph adds vulnerability alerting support for Rust dependency-graphsecurity-and-compliance June 6, 2022 The dependency graph now supports detecting Rust (Cargo.{toml,lock}) files. These will be displayed within the dependency graph section in the Insights tab. Users will receive Dependabot alerts and updates for vulnerabilities associated with their Rust dependencies. Package metadata,

                  Dependency graph adds vulnerability alerting support for Rust
                • GitHub - kubetail-org/loadjs: A tiny async loader / dependency manager for modern browsers (961 bytes)

                  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 - kubetail-org/loadjs: A tiny async loader / dependency manager for modern browsers (961 bytes)
                  • Dependency Injection in Swift using latest Swift features

                    Dependency Injection is a software design pattern in which an object receives other instances that it depends on. It’s a commonly used technique that allows reusing code, insert mocked data, and simplify testing. An example could be initializing a view with the network provider as a dependency. There are many different solutions for dependency injection in Swift, which all have their own pros and

                      Dependency Injection in Swift using latest Swift features
                    • Inno Setup Dependency Installer

                      Download and install any dependency such as .NET, Visual C++ or SQL Server during your application's installation! In this article, you will see installation, usage, integration, details, and dependencies of Inno Setup Dependency Installer. Download source code (local link) - 154 KB Download source from Github Introduction Inno Setup Dependency Installer can download and install any dependency suc

                        Inno Setup Dependency Installer
                      • A solution to dependency: using multilevel analysis to accommodate nested data - Nature Neuroscience

                        Neuroscience has seen major advances in understanding the nervous system over the past decades. Serious concerns have, however, been raised about an excess of false positive results contaminating the neuroscience literature1,2,3,4. Controlling the false positive rate is critical, since theoretical progress in the neuroscience field relies fundamentally on drawing correct conclusions from experimen

                          A solution to dependency: using multilevel analysis to accommodate nested data - Nature Neuroscience
                        • Introducing Inject, an open source JavaScript dependency management library for the browser

                          Introducing Inject, an open source JavaScript dependency management library for the browser At LinkedIn, we are rapidly evolving our front-end architecture with a whole lot of JavaScript: dust.js for templating, node.js for mobile, and JsTestDriver for our CI. Keeping all this JavaScript modular and managing the dependencies has become a critical issue. Unable to find a good solution that worked i

                            Introducing Inject, an open source JavaScript dependency management library for the browser
                          • JavaScript・TypeScriptのimport・exportの依存関係を可視化するcode-dependencyの紹介 | himenon.github.io

                            JavaScript・TypeScriptのimport・exportの依存関係を可視化するcode-dependencyの紹介 追記情報 v0.5.0で.vueの拡張子もサポートするようになりました。はじめに現在のJavaScriptはexport、importによるモジュールの切り離しと結合が可能であるため。大きなプロジェクトに成長させることができます。 実装が進むにつれてファイル間の依存が複雑になっていき、実装全体の依存関係を把握するのが難しくなっていきます。これはプロジェクトに対して新しいメンバーが増えたときに、コードリーディングの時間を十分に取る必要があります。また、OSSのライブラリに貢献したいときも同様の状況が生まれるでしょう。特に後者は開発メンバーが近くにいるとも限らず、他国の方である可能性も十分に高いため開発に参加するための準備が必要になります。 このような、全体の依存関

                              JavaScript・TypeScriptのimport・exportの依存関係を可視化するcode-dependencyの紹介 | himenon.github.io
                            • GitHub - pytube/pytube: A lightweight, dependency-free Python library (and command-line utility) for downloading YouTube Videos.

                              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 - pytube/pytube: A lightweight, dependency-free Python library (and command-line utility) for downloading YouTube Videos.
                              • Dependency injection in Scala with Play 2: it’s free

                                Dependency injection in Scala with Play 2: it’s free When you write a software you generally split it into several modules with no hardcoded dependencies between them so you can reuse and test them more easily: you just need to wire the different modules together at startup according to your desired configuration. In the Java world, some tools help to perform the wiring task, e.g. Spring or Guice,

                                • ASP.NET Core 1.0 の Startup クラス定義の基本と Dependency Injection の話 - しばやん雑記

                                  ASP.NET Core では Startup クラスを用意して、その中でアプリケーションの設定を行うようになっています。OWIN でも存在していた Startup クラスですが、ASP.NET Core では大きく変化しています。 大きく変化しているのですが、それぞれのメソッドで役割が綺麗に分離されているので、結構簡単に理解できると思います。基本的な流れは以下の通りです。 コンストラクタ JSON / 環境変数などから設定を読み込む ConfigureServices メソッド サービスクラスを DI コンテナに登録する Configure メソッド ミドルウェアを登録、ログの設定などを行う これだけでも理解できそうな感じですが、せっかくなのでもうちょっと深堀してみます。 コンストラクタ コンストラクタでは IHostingEnvironment が渡されるので、それを使って Condi

                                    ASP.NET Core 1.0 の Startup クラス定義の基本と Dependency Injection の話 - しばやん雑記
                                  • GitHub - ets-labs/python-dependency-injector: Dependency injection framework for Python

                                    Dependency Injector is a dependency injection framework for Python. It helps implement the dependency injection principle. Key features of the Dependency Injector: Providers. Provides Factory, Singleton, Callable, Coroutine, Object, List, Dict, Configuration, Resource, Dependency, and Selector providers that help assemble your objects. See Providers. Overriding. Can override any provider by anothe

                                      GitHub - ets-labs/python-dependency-injector: Dependency injection framework for Python
                                    • React Has Built-In Dependency Injection

                                      Dependency Injection is a popular pattern that many frameworks implement - but React.js, apparently, doesn't. It turns out React has a dependency injection system built in JSX, and you probably already use it. What is Dependency Injection?Dependency Injection solves a common problem, which is hardcoded dependencies. When an object A depends on a second object B and creates that second object, then

                                        React Has Built-In Dependency Injection
                                      • Dependency Injection The Python Way « Python recipes « ActiveState Code

                                        1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127

                                        • GitHub - hung-phan/cyclus: dependency injection and lifecycle lib for javascript

                                          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 - hung-phan/cyclus: dependency injection and lifecycle lib for javascript
                                          • Extend your dependency information in the GitHub Dependency Graph with new GitHub Actions

                                            SecurityExtend your dependency information in the GitHub Dependency Graph with new GitHub ActionsNew Actions from Anchore, NowSecure, SBT, and Trivy are now available to create a more comprehensive GitHub Dependency Graph. Earlier this month, we released an API that allowed you to upload dependency information directly to GitHub. Previously, GitHub built the dependency graph entirely from static s

                                              Extend your dependency information in the GitHub Dependency Graph with new GitHub Actions
                                            • マルチスレッド環境下での「RuntimeError: Circular dependency detected while autoloading constant xxxx」を解消した話 - Qiita

                                              検証環境 Rails 4.1.5 sidekiq 3.3.2 事象 sidekiqでマルチスレッド処理を実行中に、autoload_pathにアクセスしたところ、下記のエラーが発生 原因 これかな。。。? constant autoloading works fine if constants are loaded in a sequential way. I have never seen a problem with constant autoloading that didn't uncover something wrong in the application code. 定数のautoloadingは定数がシーケンシャルにロードされる時は正常に動作する。 ここによると、 If code is not eager loaded constants are loaded on de

                                                マルチスレッド環境下での「RuntimeError: Circular dependency detected while autoloading constant xxxx」を解消した話 - Qiita
                                              • What is dependency injection?

                                                There have been several questions already posted with specific questions about dependency injection, such as when to use it and what frameworks are there for it. However, What is dependency injection and when/why should or shouldn't it be used?

                                                  What is dependency injection?
                                                • 3 日坊主日記 - RubyGems と RPM , dependency が RubyGems で閉じていない場合

                                                  _ [Momonga][Ruby] RubyGems と RPM momonga の rpm で gem をどう扱えばよいか (個人的に) ちょこっと検討したことがあった。もう一度考えてみよう… file list と dependency は透過的にしたいなあ。 $ rpm -ql ruby-gem-rake /usr/lib/ruby/gems/1.8/specifications/rake-0.5.4.gemspec しか出ないと悲しいし。 rpm を使って gem を install, update するのは rpm の spec でできるだろう。 逆に gem を使って rpm を install, update する (RPM DB をいじる) のは rpm とか ruby-rpm を使えばできるだろう。 $ yum install ruby-gem-rake は $ gem

                                                  • 段階的に理解する Dependency Injection - Qiita

                                                    はじめに Dependency Injection (以下 "DI" と略す) とは、コンポーネントの依存関係にまつわる諸問題をいい感じに解決してくれる機構である。「コンポーネントの依存関係」とは、例えば一般的なレイヤードアーキテクチャでの Controller → Service → Repository といった上位層から下位層につながるような関係のことを指す。「いい感じに解決」とは、開発者が手動で頑張らなくてもフレームワークが良きに計らってくれることを意味する。 モダンな Java アプリケーション開発において、DI はほぼ必須の機構である。筆者は主にバックエンドを主戦場としてアプリケーションの開発と運用に携わっているが、Web アプリケーションであろうがコマンドラインから起動するバッチであろうが、Java でアプリケーションを開発するのであれば使い捨てを除くほとんどの場合で DI

                                                      段階的に理解する Dependency Injection - Qiita
                                                    • Angular8 Dependency Injection まとめ - Qiita

                                                      この記事は Angular Advent Calendar 2019 三日目の記事です。 こんにちは。カルテットコミュニケーションズ で働いている @ringtail003 です。この記事は、公式ドキュメント Angular の依存性の注入 | angular.jp を読みつつ手元で試して理解した事を「こう書いたら、こう動く」視点でまとめたものです。クッソ長いですが、ナナメ読みして後からかんたんにテキスト検索できるように情報をてんこ盛りにしておきましたので、ぜひ開発の参考にしていただけたらと思います。 この記事の対象読者: 公式ドキュメントを読んで「なるほど、よく分からん!」になっている人 なんとなく DI 使っているけど時々詰まる人 この記事を書いた環境: node v12.13 @angular/cli 8.3.12 記事の中のサンプルコードは GitHub にて公開しています。 テス

                                                        Angular8 Dependency Injection まとめ - Qiita
                                                      • mockito-allとdexmakerをinstrumentTestのdependencyに追加する - _development,

                                                        mockito-allとdexmakerをdepencenciesに追加すると、dex化の段階でjava.lang.IllegalArgumentException: already added: Lorg/hamcrest/BaseDescription;というエラーが発生します。 このエラーは、dexmaker-mockitoのdependenciesであるhamcrest-coreに含まれるクラスがmockito-allにも含まれるため発生します。 dependencies { ... instrumentTestCompile "com.google.dexmaker:dexmaker:${dexmakerVersion}" instrumentTestCompile "com.google.dexmaker:dexmaker-mockito:${dexmakerVersion}"

                                                          mockito-allとdexmakerをinstrumentTestのdependencyに追加する - _development,
                                                        • PythonでのDependency Injection 依存性の注入 - Qiita

                                                          Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?

                                                            PythonでのDependency Injection 依存性の注入 - Qiita
                                                          • GitHub - uber-go/fx: A dependency injection based application framework for Go.

                                                            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 - uber-go/fx: A dependency injection based application framework for Go.
                                                            • Dependency injection in Android  |  Android Developers

                                                              Get started Start by creating your first app. Go deeper with our training courses or explore app development on your own.

                                                                Dependency injection in Android  |  Android Developers
                                                              • dependency injection – a functional way | getting #er

                                                                  dependency injection – a functional way | getting #er
                                                                • Dependency Injection slowness solved by Doctrine Proxies

                                                                  Dependency Injection Containers and Performance Dependency Injection Containers are a vital tool for developers of complex and modular applications. Using a Dependency Injection Container in your application brings you great benefits, allowing you to compose complex object graphs without compromises or unnecessary ugliness (i.e. static methods). By using a Dependency Injection Container you automa

                                                                  • ECS の Enhanced Container Dependency Management でタスク終了時のコンテナの依存関係を考慮する

                                                                    先日次のような記事を書きました。 ECS タスクの終了時にコンテナの依存関係が考慮されない問題を解決するコマンドを作った [ECS] [Proposal]: Container Ordering · Issue #123 · aws/containers-roadmap が導入されるまでの役目となるでしょうが、同じような悩みを抱えている人のお役に立てば幸いです。 その約 2 週間後に ecs-agent v1.26.0 がリリースされ、コンテナの依存関係を記述できるようになりました。 cf. Amazon ECS Introduces Enhanced Container Dependency Management Pull Request はこちら https://github.com/aws/amazon-ecs-agent/pull/1904 ecswrap が約 2 週間でお役御免

                                                                      ECS の Enhanced Container Dependency Management でタスク終了時のコンテナの依存関係を考慮する
                                                                    • Dependency Injection Without Frameworks - Supple software

                                                                      edit Dependency Injection Without Frameworks Posted Sun, 16 Apr 2006 14:00:00 GMT I had to do this really small app recently. I wanted to use dependency injection, which I have come to really like now, but it seemed absolutely ridiculous to dump the spring jar and the few megs of dependencies in a project that only consisted of 20-odd classes. So I decided to roll my own. Initial thoughts The main

                                                                      • Dependency Walker 日本語化パッチ+α - G-PROJECT

                                                                        スクリーンショット 注意事項 対応Versionをご確認の上ダウンロードください ダウンロード For Dependency Walker 2.2.6000 X86 Ver 1Media:Dw2.2.6000.lzh For Dependency Walker 2.1.3790 X86 Ver n/aMedia:Dw2.1.3790.lzh For Dependency Walker 2.1.3623 X86 Ver3.5aMedia:Dw2.1.3623.lzh

                                                                        • Dependency Finder

                                                                          • A Dependency Injection Showdown

                                                                            Choosing a dependency framework for your Android app is a big decision, it’s not something that you can easily replace later on. Dependency injection spans all layers of your app so it’s important that the DI framework that you choose meets all your requirements and that includes testing. I am going to compare 4 popular frameworks: Dagger, Koin, Kodein, and Toothpick. It’s interesting that all of

                                                                              A Dependency Injection Showdown
                                                                            • Generating Python Module Dependency Graphs

                                                                              Generating Python Module Dependency Graphs Controlling physical dependencies is an important part of any software architecture. We noticed a shortage of tools for analysing Python program when we started work on Tintag Explorer, and the tools described here were created as a result. Below is a shrunken version of the dependency graph from several subsystems of the current development version of Ti

                                                                              • GitHub - darwindarak/rallyup: rallyup is a lightweight Wake-On-LAN (WOL) scheduler and dependency manager designed for small businesses and homelabs.

                                                                                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 - darwindarak/rallyup: rallyup is a lightweight Wake-On-LAN (WOL) scheduler and dependency manager designed for small businesses and homelabs.
                                                                                • Is Dependency Injection Replacing the Factory Patterns?

                                                                                  Is Dependency Injection Replacing the Factory Patterns? Dependency Injection (DI) has been a hot topic since at least 2003 and onwards. Lots of dependency injection frameworks have appeared (including my own Butterfly DI Container), and lots of forums and blogs has discussed the technique. Yet I still experience big enterprise software development departments, who have not yet embraced the idea. I