並び順

ブックマーク数

期間指定

  • から
  • まで

1 - 29 件 / 29件

新着順 人気順

design-patternの検索結果1 - 29 件 / 29件

  • フロントエンドのデザインパターン

    本書は、Lydia Hallie 氏 と Addy Osmani 氏らによる Learning Patterns (https://www.patterns.dev/) の日本語訳です。原著は大きく 3 つのセクションに分かれていますが、本書は、その最初のセクションである Design Patterns を訳したものとなります。

      フロントエンドのデザインパターン
    • Pythonにおけるデザインパターン - Pythonにおけるデザインパターン

      Pythonにおけるデザインパターン 当サイトについて GoFの定義した23コのデザインパターンをPythonで実装します。 ただし、Pythonのビルトイン機能で実現できるパターンもあります。 その際は、ビルトイン機能の紹介に留めます。 Pythonらしい書き方(Pythonicな書き方)ができるものは古典的な実装とPythonicな実装の両方を紹介します。 全デザインパターン パターンカテゴリ パターン名 コメント

      • 48. GoFデザインパターンとDI (前編) w/ twada | fukabori.fm

        話したネタ デザインパターンとは? ソフトウェアパターン 書籍: オブジェクト指向における再利用のためのデザインパターン Gang of Four 進研ゼミみたいなもの Composite パターン デザインパターン以外のソフトウェアパターンとは? アーキテクチャパターン、アンチパターン、コンカレンシーパターン AWSクラウドデザインパターン パターンにはフォーマットがある GoFのデザインパターンはいつ頃生まれたもの? GoFのデザインパターン登場時に、ソフトウェア業界では何が起きていたのか? Ruby 20 周年記念パーティーレポート ―― プログラミング初心者の運営スタッフが見た Ruby コミュニティ C、C++、Perl、Smalltalk、Visual Basic の時代 デザインパターンには、どういうカテゴリがある? 生成・構造・振る舞い Javaのクラスライブラリにおけるデ

          48. GoFデザインパターンとDI (前編) w/ twada | fukabori.fm
        • Understanding design patterns in TypeScript and Node.js - LogRocket Blog

          Ganesh Mani I'm a full-stack developer, Android application/game developer, and tech enthusiast who loves to work with current technologies in web, mobile, the IoT, machine learning, and data science. Editor’s note: This article was updated 27 September 2022 to include information about state patterns and anti-patterns in TypeScript, as well as to make general revisions to the article. Design patt

            Understanding design patterns in TypeScript and Node.js - LogRocket Blog
          • 実例で分かるデザインパターン ~Webスクレイピングツールを例にして~ - Qiita

            概要 オブジェクト指向プログラミングでよく話題になる単語の一つとして、「デザインパターン」と呼ばれるものがあります。 これは有用な設計パターンに名前を付けて分類したもので、一般的にはGoFのデザインパターン23種を指します。 今となっては古い……というより言語仕様に吸収されてしまったパターンも多いですが、それでもこれについて学ぶことはソフトウェア設計を学ぶ上で重要だと思われます。 今回は、その中でもよく使われる一つである「Abstract Factoryパターン」について、適用前と適用後でどうコードが変わったのかについて具体例を交えつつ解説します。 Webスクレイピングについて軽く説明 Webスクレイピングとは、「Webページ・Webサイトを分析してデータを取り出す」手法のことです。具体的には、次のようなステップが踏まれることが多いです。 Webページ(大抵はHTML)をダウンロードする

              実例で分かるデザインパターン ~Webスクレイピングツールを例にして~ - Qiita
            • 『Rust Design Patterns』を翻訳してみました(Idiom 編) - Qiita

              はじめに rust-unofficialというところの出しているRust Design Patternsの日本語訳が見つからなかったため、理解のために翻訳してみました(分からないところは DeepL に頼りました)。 今回は Introduction と Idioms の部分です(デザインパターン・アンチパターン編の翻訳はこちらにあります)。 FFI の部分はよく分からなかったためスキップしています。 不慣れなため翻訳間違いなどある可能性が高いです(教えていただきたいです)。 以下から本文です。 Introduction デザインパターン プログラムを開発するとき、私たちは多くの問題を解決しなければなりません。プログラムは問題の解決方法と見ることができます。また、プログラムは多くの異なった問題の解決方法の集まりと見ることもできます。これらの解決方法の全てが一緒に大きな問題の解決へと働きかけ

                『Rust Design Patterns』を翻訳してみました(Idiom 編) - Qiita
              • Rails design patterns

                A design pattern is a repeatable solution to solve common problems in a software design. When building apps with the Ruby on Rails framework, you will often face such issues, especially when working on big legacy applications where the architecture does not follow good software design principles. This article is a high-level overview of design patterns that are commonly used in Ruby on Rails appli

                  Rails design patterns
                • Introduction - Rust Design Patterns

                  Introduction Participation If you are interested in contributing to this book, check out the contribution guidelines. News 2024-03-17: You can now download the book in PDF format from this link. Design patterns In software development, we often come across problems that share similarities regardless of the environment they appear in. Although the implementation details are crucial to solve the tas

                  • Recoil Patterns: Hierarchic & Separation

                    This article will discuss practical patterns in Recoil. It’s an advance topic that goes beyond Recoil basics, so we won’t spend time describing Recoil or its fundamentals concepts. If you’re not familiar with Recoil I suggest starting with the following sources: * Official Recoil YouTube * Recoil documentation This article is brought to you by WeKnow and represents insights gained during architect

                      Recoil Patterns: Hierarchic & Separation
                    • Patterns for Reactivity with Modern Vanilla JavaScript

                      Patterns for Reactivity with Modern Vanilla JavaScript August 21, 2023 “Reactivity” is how systems react to changes in data. There are many types of reactivity, but for this article, reactivity is when data changes, you do things. Reactivity Patterns are Core to Web Development We handle a lot with JavaScript in websites and web apps since the browser is an entirely asynchronous environment. We mu

                        Patterns for Reactivity with Modern Vanilla JavaScript
                      • Introduction - Rust Design Patterns

                        Introduction Participation If you are interested in contributing to this book, check out the contribution guidelines. News 2024-03-17: You can now download the book in PDF format from this link. Design patterns In software development, we often come across problems that share similarities regardless of the environment they appear in. Although the implementation details are crucial to solve the tas

                        • A guide to React design patterns - LogRocket Blog

                          Editor’s note: This React components guide was last updated on 21 December 2022 to add information about the render props pattern and state reducer pattern. Check out this article for more information on React Hooks. Design patterns are solution templates for common software development problems. In React, they are proven methods to solve common problems experienced by React developers. As the Rea

                            A guide to React design patterns - LogRocket Blog
                          • システム移行戦略「レガシーミミックパターン」&「ストラングラーフィグパターン」とは? - Qiita

                            AWS Summit Tokyoが4年ぶりに現地開催! この週末、日本で年一回のAWSの祭典「AWS Summit Tokyo」が幕張メッセにて開催されました。 4年ぶりの現地開催ということもあり、2日間ともものすごい数の人々が来場し、会場の熱気は大変なものでした! 大人気セッション「アーキテクチャ道場!」 2日間の中でも特に人気を博していたのが、AWS Japanのチーフテクノロジスト内海さんによる「アーキテクチャ道場2023!」。 昨年もオンライン開催にて好評を集めていたセッションで、30分という限られた時間内でAWS JapanのSAさんがお題に基づいてガチのアーキテクティングを行い、内海さんからその講評を受けるという流れを2本連続で実施する、大変濃密なコンテンツです。 私も最前列でガチ受講していましたので、自社ブログにて詳細なレポートを投稿しております! 実はこのアーキテクチャ道場

                              システム移行戦略「レガシーミミックパターン」&「ストラングラーフィグパターン」とは? - Qiita
                            • Rails design patterns - the big picture

                              Rails design patterns — The big picture This article is a high-level overview of design patterns that are commonly used in Ruby on Rails applications. I will also mention the advantages and disadvantages of using design patterns as, in some cases, we can harm the architecture instead of making it better. A design pattern is a repeatable solution to solve common problems in a software design. When

                                Rails design patterns - the big picture
                              • 5 Advanced React Patterns

                                An overview of 5 modern advanced React patterns, including integration codes, pros and cons, and concrete usage within public libraries. Like every React developer, you’ve probably already asked yourself one of the following questions : How do I build a reusable component to fit with different use cases?How do I build a component with a simple API, making it easy to use?How do I build an extensibl

                                  5 Advanced React Patterns
                                • Terraform Environment+Application Design Pattern: Overview and Definitions

                                  This is the first part of a series of articles on the Terraform E+A Pattern. Before getting into the details, let's establish some terminology. For the purpose of this article, the overall system consists of a number of environments that provide some shared, foundational infrastructure, and then several applications that are separately deployable into those environments. The goal of environments i

                                  • The Slotted Counter Pattern — PlanetScale

                                    It is a common database pattern to increment an INT column when an event happens, such as a download or page view. You can go far with this pattern until bursts of these types of events happen in parallel and you experience contention on a single row. When multiple transactions are trying to update the counter, you are essentially forcing these transactions to run serially, which is bad for concur

                                      The Slotted Counter Pattern — PlanetScale
                                    • How TypeScript design patterns help you write better code - LogRocket Blog

                                      Eslam Hefnawy Serverless Architect at Serverless, Inc. Co-creator of the Serverless Framework and the lead architect of Serverless Components. TypeScript is a language that has seen a lot of exposure in the modern world of software engineering. Its powerful, strict type system reduces the likelihood of running into errors during runtime or hidden bugs in production due to the lack of strong types

                                        How TypeScript design patterns help you write better code - LogRocket Blog
                                      • The Gateway Pattern

                                        The problem When building a Rails app, chances are you’ll have to integrate with one or more external APIs: processing payments, sending push notifications, and firing analytics events are just a few examples. At first, these integrations might be one-liners sprinkled into controllers or model callbacks. But as your app gets more complex, the code that “glues” your app with various external APIs c

                                        • Facade Pattern in Rails for Performance and Maintainability | AppSignal Blog

                                          academy Facade Pattern in Rails for Performance and Maintainability In today's post, we will be looking into a software design pattern called Facade. When I first adopted it, it felt a little bit awkward, but the more I used it in my Rails apps, the more I started to appreciate its usefulness. More importantly, it allowed me to test my code more thoroughly, to clean out my controllers, to reduce t

                                            Facade Pattern in Rails for Performance and Maintainability | AppSignal Blog
                                          • Solidityデザインパターン[入門編]

                                            散らばってしまっているSolidityのデザインパターン知見まとめ。 [入門編]では21のパターンを紹介しています。 反応が良ければ、[データ構造編] [Upgradeable編] [応用編]もやりたいです。 気に入っていただけたならぜひ、いいね・はてブなどお願いします。 Ethereumアドベントカレンダー2023 ( https://qiita.com/advent-calendar/2023/ethereum ) 9日目の投稿です

                                              Solidityデザインパターン[入門編]
                                            • 6月新刊情報『Head Firstデザインパターン 第2版』

                                              『Head Firstデザインパターン 第2版 ―頭とからだで覚えるデザインパターンの基本』 Eric Freeman、Elisabeth Robson 著、佐藤 直生 監訳、木下 哲也 訳 2022年6月8日発売予定 672ページ(予定) ISBN978-4-87311-976-2 定価5,280円(税込) 本書は、2005年に発刊されて以来、高い人気を誇ってきたロングセラーの改訂版で、初学者、過去に挫折した経験のある方、知識を確固たるものにしたい方を対象に、イラストや写真を使ってやさしく楽しく解説するHead Firstシリーズのデザインパターン編です。オブジェクト指向プログラミングにおいて、先人たちの知恵と経験の結晶である「デザインパターン」を学ぶことで、頻繁に起こる問題とその対応策を体得し、優れた設計に基づいた信頼性の高いコードを効率的に開発することが可能となります。GoFの真髄を

                                                6月新刊情報『Head Firstデザインパターン 第2版』
                                              • GoF デザインパターン チートシート - Qiita

                                                ここまで読んでくださった皆さんに、ちょっとしたクリスマスプレゼント。マンガでわかる GoF デザインパターン 23 種チートシートです。これでもうデザインパターンは完全にマスターしましたよ。やったね! (注: ここからはあとがきポエムです) ところでみなさん、せっかくデザインパターンを学んだので、これを使ってプログラムを書こう、チートシートがあるからなんでも書けそうだぞ、なんて思っていませんか。ダメですよ。そんなことしたら 2000 年前後に起きた失敗を繰り返してしまいます。 実は GoF のデザインパターンは、ビジネス的には成功したけど、教育には失敗しました。最初に出版された本に「オブジェクト指向における再利用のための」という肩書が付いていましたが、これが本当に良くなかった。 あの頃 (ポール・グレアムが LISP と Ruby を褒めるまで) は、「オブジェクト指向様こそが良い設計のす

                                                  GoF デザインパターン チートシート - Qiita
                                                • GitHub - senghoo/golang-design-pattern: 设计模式 Golang实现-《研磨设计模式》读书笔记

                                                  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 - senghoo/golang-design-pattern: 设计模式 Golang实现-《研磨设计模式》读书笔记
                                                  • https://longliveruby.com/articles/rails-value-object-design-pattern

                                                      https://longliveruby.com/articles/rails-value-object-design-pattern
                                                    • Exposing the design pattern at the heart of Rack Middleware

                                                      Discovering the design pattern in the middle of Rack Middleware7-minute read Rack Middleware is based on a powerful and flexible 'nested handlers' architecture that has broad application in many kinds of data processing pipeline, not just web apps. We've extracted it as a design pattern and identified some non-web use cases, but can you help us name it? One of the projects the software engineers a

                                                        Exposing the design pattern at the heart of Rack Middleware
                                                      • 逆引き!GoFデザインパターン入門 の研修コースに参加してみた | SEプラス 研修 Topics

                                                        今回の研修参加レポートは↓です。 逆引き!GoFデザインパターン入門 “オブジェクト指向を理解する” の続きでオブジェクト指向の実践的な活用パターンを学ぶコースです。 Javaプログラミング入門 (2) オブジェクト指向を理解する の研修コースに参加してみた “実践的な活用パターン” というと銀の弾丸っぽく聞こえるのですが、講師の矢沢さんから地味な話なんですよ、と冒頭に話があったように、地味でした。(笑) ただ、有名なアルゴリズム同様、知らないと思いつかないテクニックばかりで、実装上、どこに気をつけると依存性を排して書けるのか、幾つものヒントがある内容でした。 また、ご参加の方もオブジェクト指向プログラミングをもっと上手く書きたい、現場のコードで時折見る public class AdpterHoge ってなんだろう、のような疑問をお持ちの方がお集まりのようで、とても実装寄りの質問が多いコ

                                                          逆引き!GoFデザインパターン入門 の研修コースに参加してみた | SEプラス 研修 Topics
                                                        • 『独習デザインパターン』をPythonに読み替える Factory Method パターン - Qiita

                                                          Java から Python へ翻訳しよう 『独習〜』は Java で書いてあります。 Java は Java なのでそのまま Python にコードを書き換えるのは難しい部分が私にはあります。 書き換えるのが難しいと思ったところで、『あの言語でできることがこの言語ではできない』 ということは、難易度の差こそあれそんな場面はあんまりないと聞きます。 聞く機会がなかっただけかもしれんけど。 「デザインパターンってなんぞ?」というのを飲み込んでいくため、 どうも簡潔すぎる内容の『実践 Python3』を読む前の準備をしとうございます。 最近、『実践〜』の内容がいささか古い気がしてきているけど突き進む所存です。 今回は Factory Method パターンをPythonに書き直していきます。 月に1個パターンを書いてると2年経ってようやくGoFが終わるぞ。と友人から言われて恐怖しています。 要

                                                            『独習デザインパターン』をPythonに読み替える Factory Method パターン - Qiita
                                                          • pythonでtemplate methodパターン - メモ置き場

                                                            デザインパターンの中でもわかりやすいTemplate methodパターン。 Rubyによるデザインパターンで紹介されていたコードをpythonで書いてみた。 AbstractClassであるReportの各メソッドの実装はpassにしてあるけど、必ず実装してもらうためにはNotImplementedErrorをraiseするようにする。 # coding=utf-8 class Report(object): def __init__(self, title, *text): self.title = title self.text = text def output_report(self): self.output_start() self.output_head() self.output_body_start() self.output_body() self.output_bo

                                                              pythonでtemplate methodパターン - メモ置き場
                                                            1