並び順

ブックマーク数

期間指定

  • から
  • まで

1 - 40 件 / 124件

新着順 人気順

design-patternの検索結果1 - 40 件 / 124件

  • Ruby 2.0.0で学ぶ、14個のデザインパターンを作りました[GoF][Design Pattern] - 酒と泪とRubyとRailsと

    GoFのデザインパターンとは、「プログラミングのベストプラクティスを体系化したもの」です。このベスト・プラクティスをしっかりと理解して設計すれば、ソフトウェア設計の効率を高めることができます。またデザインパターンが「プログラミングの思想」の共有をよりスムーズにしてくれます。先人たちの試行錯誤の結果を効果的に利用して、プログラミングをもっと楽しんでしまいましょう! 🗻 デザインパターンのポイントGoFのデザインパターンには下のプリンシパルがあります。 変わるものを変わらないものから分離する インタフェースに対してプログラミングし、実装に対して行わない 継承より集約 委譲、委譲、委譲 必要になるまで作るな(You Ain’t Gonna Need It./YAGNI) 🤔 デザインパターン一覧 アブストラクトファクトリ ビルダ ファクトリメソッド シングルトンパターン アダプタ コンポジッ

      Ruby 2.0.0で学ぶ、14個のデザインパターンを作りました[GoF][Design Pattern] - 酒と泪とRubyとRailsと
    • iPhoneやAndroid向けのUIパターンギャラリー・Mobile Design Pattern Gallery

      カテゴリがしっかり分けられていて 凄く見やすかったのでご紹介。iPhone やAndroid向けのUIパターンギャラリー です。アプリデベロッパーさんや アプリデザイナー、モバイル向けの デザインの参考にいかがでしょう。 パターンギャラリーはもうすでにいくつもありますけど、ここは特にちゃんと分けてくれているので見やすい印象でした。 左サイドに大まかなカテゴリーがあります。それぞれには更に細かいパターンに分けられています。たとえば、ナビゲーションならリストタイプ、メガメニュー、カルーセル真紀など。 こちらは検索のカテゴリ。検索ボックスや、オートコンプリート、ソート機能付きなどなど。 インビテーション・・・サイトツアーみたいなやつです。こういうのあんまり紹介されてませんよね。 パターンはその場でLightbox風に表示するのでページ推移も必要ありません。 みたいな感じのパターンギャラリーです。

        iPhoneやAndroid向けのUIパターンギャラリー・Mobile Design Pattern Gallery
      • デザインパターン(Design Pattern)#Singleton - Qiita

        設計を意識したコードが書けるようになる為に、デザインパターン修行しました。 他のDesign Patternもちょくちょく出していきます。 前置き 増補改訂版Java言語で学ぶデザインパターン入門をJavaからPythonにしてます。(Pythonは3.4.2) githubにコード置いてあります(まだ動かないものもある) デザインパターンをどういう時に、何を、どう使うのかを理解することが一先ずの目標。 (Javaというか静的型付言語は初めてで、且つpython歴もそんなに長くないので、Pythonistaぽっくないところがあると思います。ご指摘ございましたらご教授ください。) まず、そもそもデザインパターンってどういうものかってとこから。 デザインパターンとは ソフトウェア開発におけるデザインパターン(型紙(かたがみ)または設計パターン、英: design pattern)とは、過去のソ

          デザインパターン(Design Pattern)#Singleton - Qiita
        • Design Stencils - Yahoo! Design Pattern Library

          Yahoo! Design Stencil Kit version 1.0 is available for OmniGraffle, Visio (XML), Adobe Illustrator (PDF and SVG), and Adobe Photoshop (PNG), and covers the following topics:

          • AWS Cloud Design Pattern for Enterprise

            20190130 AWS Black Belt Online Seminar AWS Identity and Access Management (AW...Amazon Web Services Japan

              AWS Cloud Design Pattern for Enterprise
            • Interaction Design Pattern Library - Welie.com

              Pattern library All patterns are listed here. It's quite a bunch of them, but I have tried to group them meaningfully. User needs Patterns that meet a direct need of the user. Navigating around· Accordion · Headerless Menu · Breadcrumbs · Directory Navigation · Doormat Navigation · Double Tab Navigation · Faceted Navigation · Fly-out Menu · Home Link · Icon Menu · Main Navigation · Map Navigator ·

              • Design Stencils - Design Pattern Library - YDN

                Download a Stencil Kit Yahoo! Design Stencil Kit version 1.0 is available for OmniGraffle, Visio (XML), Adobe Illustrator (PDF and SVG), and Adobe Photoshop (PNG), and covers the following topics:

                • ユーザーインターフェイスまとめサイトのまとめ「25 UI Inspiration and Design Pattern Resources 」

                  TOP  >  WebService  >  ユーザーインターフェイスまとめサイトのまとめ「25 UI Inspiration and Design Pattern Resources 」 WEBを制作する上でもっとも重要な要素ともいえるユーザーインターフェイス。WEBサイトの趣旨やコンテンツにもよりますが、どんなに格好がいいデザインであっても、どんなに便利な機能があったとしてもユーザーインターフェイスがよくなければだいなしになってしまいかねません。今日紹介するのはユーザーインターフェイスの例を集めたサイトをまとめたエントリー「25 UI Inspiration and Design Pattern Resources」を紹介したいと思います。 UI Patterns いくつかのサイトが公開されていますが、その中から気になったものをピックアップして紹介したいと思います。 詳しくは以下 ■U

                    ユーザーインターフェイスまとめサイトのまとめ「25 UI Inspiration and Design Pattern Resources 」
                  • Yahoo!<wbr> Design Pattern Library

                    Welcome to the Yahoo! Design Pattern Library. We're thrilled to be sharing patterns and code with the web design and development community, we hope it's useful, and we look forward to your feedback. (A pattern describes an optimal solution to a common problem within a specific context.)Welcome Welcome to the Yahoo! Design Pattern Library. We're thrilled to be sharing patterns and code with th

                    • Yahoo! Design Pattern Library

                      Welcome Welcome to the Yahoo! Design Pattern Library. We're thrilled to be sharing patterns and code with the web design and development community, we hope it's useful, and we look forward to your feedback. In fact, we've just launched two new Design Pattern forums: one for discussing this pattern library and another for talking about the ins and out of writing design patterns and maintain

                      • デザインパターンを出自から深く理解する / understanding design pattern from the origin

                        PHPカンファレンス沖縄 2019 前夜祭 で発表したデザインパターンの出自から特性を理解しようという内容です

                          デザインパターンを出自から深く理解する / understanding design pattern from the origin
                        • デザインパターンの使い方を パタン・ランゲージとの比較から考える / design-pattern-usage-inspired-by-pattern-language

                          Object Oriented Conference 2020 にて発表した内容です。

                            デザインパターンの使い方を パタン・ランゲージとの比較から考える / design-pattern-usage-inspired-by-pattern-language
                          • Yahoo! Design Pattern Library

                            Welcome Welcome to the Yahoo! Design Pattern Library. We're thrilled to be sharing patterns and code with the web design and development community, we hope it's useful, and we look forward to your feedback. In fact, we've just launched two new Design Pattern forums: one for discussing this pattern library and another for talking about the ins and out of writing design patterns and maintain

                            • ml-system-design-pattern

                              Skip to the content. English Korean 機械学習システム デザインパターン 機械学習システムを本番稼働させるために必要な学習、推論、運用のアーキテクチャ・デザイン・パターン集です。 目的 このドキュメントの目的は機械学習システムを本番稼働させるためのシステム・デザイン・パターンを説明することです。 このドキュメントは機械学習のモデル開発でパフォーマンスを向上させる方法(正解率やRMSE)を説明するものではありませんが、パターンによってはその手法に言及することもあります。 前提 このドキュメントで書かれる機械学習システムパターンのほとんどは、パブリック・クラウドおよびKubernetesを使って稼働させることを前提に記述されています。特定のプログラミング言語に依存しない内容にするよう努めますが、機械学習で使われる最もポピュラーな言語がPythonであるため、ほ

                              • Reputation Parent - Yahoo! Design Pattern Library

                                Problem Summary A person participating in a social structure expects to develop a reputation and hopes for insight into the reputations of others, but each designed model of participation and reputation embodies its own set of biases and incentive structures. Balancing these forces determines in large measure the success or failure of a social system.

                                • Multi Cloud Design Pattern(Beta)

                                  July Tech Festa 2015 D40 http://2015.techfesta.jp/p/program.html#multiple_cloud_usecaseRead less

                                    Multi Cloud Design Pattern(Beta)
                                  • デザインパターン(Design Pattern)#Facade - Qiita

                                    設計を意識したコードが書けるようになる為に、デザインパターン修行しました。 他のDesign Patternもちょくちょく出していきます。 前置き 増補改訂版Java言語で学ぶデザインパターン入門をJavaからPythonにしてます。(Pythonは3.4.2) githubにコード置いてあります(まだ動かないものもある) デザインパターンをどういう時に、何を、どう使うのかを理解することが一先ずの目標。 (Javaというか静的型付言語は初めてで、且つpython歴もそんなに長くないので、Pythonistaぽっくないところがあると思います。ご指摘ございましたらご教授ください。) 今回は、構造に関するパターンFacadeパターン。 Facadeとは Facade(ファサード)は複雑なシステムに対するシンプルな窓口の役を果たす。つまり、大型のロジックを簡素化し、1つのシンプルな関数呼び出しにま

                                      デザインパターン(Design Pattern)#Facade - Qiita
                                    • GitHub - binarylogic/settingslogic: A simple and straightforward settings solution that uses an ERB enabled YAML file and a singleton design pattern.

                                      Settingslogic¶ ↑ Project Moved: This project has been moved to github.com/settingslogic/settingslogic¶ ↑ Settingslogic is a simple configuration / settings solution that uses an ERB enabled YAML file. It has been great for our apps, maybe you will enjoy it too. Settingslogic works with Rails, Sinatra, or any Ruby project. <img src=“https://badge.fury.io/rb/settingslogic.svg” alt=“Gem Version” /> <

                                        GitHub - binarylogic/settingslogic: A simple and straightforward settings solution that uses an ERB enabled YAML file and a singleton design pattern.
                                      • [AWS Black Belt Online Seminar] Amazon DynamoDB Advanced Design Pattern 資料及び QA 公開 | Amazon Web Services

                                        Amazon Web Services ブログ [AWS Black Belt Online Seminar] Amazon DynamoDB Advanced Design Pattern 資料及び QA 公開 先日 (2018/12/25) 開催しました AWS Black Belt Online Seminar「Amazon DynamoDB Advanced Design Pattern」の資料を公開しました。当日、参加者の皆様から頂いた QA の一部についても共有しております。 AWS Black Belt Online Seminar 2018 Amazon DynamoDB Advanced Design Pattern AWS クラウドサービス活用資料集(すべての過去資料が閲覧できます) Q. 「時系列データが必要なアプリケーション」のスライドで GSIKey Rand(0

                                          [AWS Black Belt Online Seminar] Amazon DynamoDB Advanced Design Pattern 資料及び QA 公開 | Amazon Web Services
                                        • GitHub - monochromegane/go_design_pattern: Design patterns in 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 - monochromegane/go_design_pattern: Design patterns in Golang.
                                          • AWS Black Belt Online Seminar 2018 Amazon DynamoDB Advanced Design Pattern

                                            AWS Black Belt Online Seminar 2018 Amazon DynamoDB Advanced Design Pattern

                                              AWS Black Belt Online Seminar 2018 Amazon DynamoDB Advanced Design Pattern
                                            • Consumer-Driven Contracts Design Patternを読み漁ってみた

                                              Microserviceのテストの話を調べていると、以下のような記事を見つけました。 Simplifying Micro-Service testing with Pacts このPactoと呼ばれるツールがConsumer Driven Contractsと呼ばれるデザインパターンを使っていると書いていたので、同デザインパターンを少し調べてみました。 関連: MartinFowler氏のブログ記事 Pactoに関するGitHub デザインパターンとしての説明 http://www.servicedesignpatterns.com/WebServiceEvolution/ConsumerDrivenContracts http://java.dzone.com/articles/application-pattern-consumer アプリの実装寄りの話はこの記事が参考になりそう 消費

                                                Consumer-Driven Contracts Design Patternを読み漁ってみた
                                              • Scala de Design Patternまとめ - なんじゃくにっき

                                                Scala de Design Patternのまとめ。 Gang of Fourの23パターンとそれ以外のデザインパターンが少しある。 結構ふざけた例とか分かりにくい例が多いけどそれはご愛嬌。 Scalaの言語自体の機能やライブラリが強力なので、 ここで挙げたやり方以外にもっと色々なやり方があるはず。 GoFデザインパターン 生成に関するパターン Abstract Factory Builder Factory Method Prototype Singleton 構造に関するパターン Adapter Brige Composite Decorator Façade Flyweight Proxy 振る舞いに関するパターン Chain of Responsibility Command Interpreter Iterator Mediator Memento Observer Stat

                                                  Scala de Design Patternまとめ - なんじゃくにっき
                                                • User Interface Design Pattern With CSS3

                                                  2012/09/08 HTML5 Conference 2012の講演資料です。

                                                    User Interface Design Pattern With CSS3
                                                  • デザインパターン(Design Pattern) #Factory Method - Qiita

                                                    設計を意識したコードが書けるようになる為に、デザインパターン修行しました。 他のDesign Patternもちょくちょく出していきます。 前置き 増補改訂版Java言語で学ぶデザインパターン入門をJavaからPythonにしてます。(Pythonは3.4.2) githubにコード置いてあります(まだ動かないものもある) デザインパターンをどういう時に、何を、どう使うのかを理解することが一先ずの目標。 (Javaというか静的型付言語は初めてで、且つpython歴もそんなに長くないので、Pythonistaぽっくないところがあると思います。ご指摘ございましたらご教授ください。) 今回は、生成に関するパターンFactoryMethod。 FactoryMethodとは オブジェクト作成のインタフェースと、オブジェクト生成する役割りを分けて、他のクラスのコンストラクタをサブクラスで上書き可能な

                                                      デザインパターン(Design Pattern) #Factory Method - Qiita
                                                    • Software design pattern - Wikipedia

                                                      In software engineering, a software design pattern is a general, reusable solution to a commonly occurring problem within a given context in software design. It is not a finished design that can be transformed directly into source or machine code. Rather, it is a description or template for how to solve a problem that can be used in many different situations. Design patterns are formalized best pr

                                                      • Yahoo! Design Pattern Library の訳 まとめ - hibomaの日記

                                                        【Yahoo! Design Pattern Library】 http://developer.yahoo.net/ypatterns/index.php 【Module Tabs】 【Navigation Tabs】 【Breadcrumbs】 【Item Pagnitations】 【Rating an Object】 3/10追加 【Writing a Review】3/11追加 少しずつやっていきます。 UIライブラリとは違ってやや抽象的な話が多いので即効性が薄いようですが、長いスパンで見ればいつか大きく役に立つ指針だなぁと。大規模なサイトを運営する方は必見ですね。 こういう指針を明文化しておくと仕事する際に何をすべきかをすぐに確認できるて、とても効率がいいし 結果としてストレス軽減にも繋がりそうです。 勝手に画像つかっちゃったけど・・・マズイかな。

                                                          Yahoo! Design Pattern Library の訳 まとめ - hibomaの日記
                                                        • Twisting the MVC Triad - Model View Presenter (MVP) Design Pattern

                                                          In this post we’ll review the way in which MVP (Model View Presenter) design pattern evolved from Smalltalk’s old fashion 'Classic MVC' and 'Application Model MVC' patterns (see above) and the way in which it has developed and varied during the years that followed. Hopefully, after reviewing the pattern and its variations against its MVC predecessors we'll be able to distinguish MVP from MVC and u

                                                            Twisting the MVC Triad - Model View Presenter (MVP) Design Pattern
                                                          • GitHub - mercari/ml-system-design-pattern: System design patterns for machine learning

                                                            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 - mercari/ml-system-design-pattern: System design patterns for machine learning
                                                            • The category design pattern

                                                              Functional programming is all the rage these days, but in this post I want to emphasize that functional programming is a subset of a more important overarching programming paradigm: compositional programming. If you've ever used Unix pipes, you'll understand the importance and flexibility of composing small reusable programs to get powerful and emergent behaviors. Similarly, if you program functio

                                                              • Fireworks Common Library Stencils - Design Pattern Library - YDN

                                                                Download the Stencils in Fireworks Common Library Format Follow these instructions to install the stencil kit for Fireworks: Download the Fireworks stencil kit. Install the kit: Unzip the file and drop the entire folder into the Common Library directory. Keep in the YUI/YPL Directory for easy navigation in the Common Library palette. On a Mac this folder is located here: user/username/Library/App

                                                                • The ReaderT Design Pattern - FP Complete

                                                                  Often times I’ll receive or read questions online about “design patterns” in Haskell. A common response is that Haskell doesn’t have them. What many languages address via patterns, in Haskell we address via language features (like built-in immutability, lambdas, laziness, etc). However, I believe there is still room for some high-level guidance on structuring programs, which I’ll loosely refer to

                                                                    The ReaderT Design Pattern - FP Complete
                                                                  • Cloud Design Patternを今更ながら読んだ - tjinjin's blog

                                                                    About Cloud環境での構成パターンをもっと勉強しようと、以前より目を付けていたCloud Design Patternを読みました。 Cloud Design Patternとは AWS-CloudDesignPattern AWSクラウドデザインパターン (AWS Cloud Design Pattern, 略してCDPと呼ぶ)とは、AWSクラウドを使ったシステムアーキテクチャ設計を行う際に発生する、典型的な問題とそれに対する解決策・設計方法を、分かりやすく分類して、ノウハウとして利用できるように整理したものである。 ということで先人たちの知見の塊です。 読んでみての感想 今まで使ったことのないパターンやオプションなどもあって勉強になりました!あとは自分がいいなと思っていたパターンがBootstrapという名前が付いていたり、今運用しているサービスの構成をもっとこうしたらいいかも

                                                                      Cloud Design Patternを今更ながら読んだ - tjinjin's blog
                                                                    • Smart Contract Design Pattern

                                                                      今回はその登壇で話した内容を本ブログでも紹介します。 目次スライドGOALデザインパターンとは?デザインパターンを学び、理解し、活用する意義デザインパターンの5つの分類デザインパターンの紹介デザインパターンの研究まとめ参考資料最後にスライド

                                                                        Smart Contract Design Pattern
                                                                      • Patterns - WPF Apps With The Model-View-ViewModel Design Pattern

                                                                        This browser is no longer supported. Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support. February 2009 Volume 24 Number 02 Patterns - WPF Apps With The Model-View-ViewModel Design Pattern By Josh Smith | February 2009 There are popular design patterns that can help to tame this unwieldy beast, but properly separating and addressing the multi

                                                                          Patterns - WPF Apps With The Model-View-ViewModel Design Pattern
                                                                        • Common REST Design Pattern - DZone

                                                                          Based on the same architectural pattern of the web, "REST" has a growing dominance of the SOA (Service Oriented Architecture) implementation these days. In this article, we will discuss some basic design principles of REST. SOAP : The Remote Procedure Call ModelBefore the REST become a dominance, most of SOA architecture are built around WS* stack, which is fundamentally a RPC (Remote Procedure Ca

                                                                            Common REST Design Pattern - DZone
                                                                          • [C#][Design Pattern] C# による Observer パターンの実装 その1 - 古典的な実装 (プログラミング C# - 翔ソフトウェア (Sho's))

                                                                            « [C#][dynamic] プラグイン処理 | メイン | [C#][Design Pattern] C# による Observer パターンの実装 その2 - event による実装 » [C#][Design Pattern] C# による Observer パターンの実装 その1 - 古典的な実装 「Expression を使ってラムダ式のメンバー名を取得する」と云う記事で、ラムダ式の中のメンバーの名前を取得した。 これから数回に渡って、Observer パターンの C# による実装を何種類か例に挙げ、その中で上記を活用していきたい。 今回は、その第一回として、Expression どころか C# の event すら使わない、Observer パターンの最も古典的な実装を見てみよう。 ■ Observer パターンとは 先ず Observer パターンの簡単な説明から。 Obs

                                                                            • デザインパターンの塗り薬~Sample Application for GOF's Design Pattern~

                                                                              『デザインパターンの骸骨たち』を公開してから、すでに3年以上を経過しました。この3年の間デザインパターンもより一般的なものになり、ソフトウエア開発の現場にも浸透してきたようです。でも・・・ 『デザインパターン』 なんとなく分かったけどさぁ~。ソフトウエア開発の現場では使いもんになんないね。使ってみたところで、訳のわかんないプログラムになっちゃうし、百害あって一利なし。もうパターンなんてこりごりだよ。 な~んて声を、ときどき聞きます。まぁ、ソフトウエア開発はスピードを要求される厳しい現場ですからね。俺様流のプログラミングで切り抜けるのが一番てっとり早い方法であるのは、私も異論ありません。 でも、デザインパターンはうまく使うと、ほんとに便利なんですよ。『デザインパターンの塗り薬』(※1)では、デザインパターンを使ったアプリケーションの構築を通して、デザインパターンについての私見に満ちた薀蓄をた

                                                                              • Design pattern for embedding mruby into middleware

                                                                                A design and implementation to connect middleware supporting Internet service with mruby Ryosuke Matsumoto / Pepabo R&D Institute, GMO Pepabo, Inc. 2018.06.02 RubyKaigi2018

                                                                                  Design pattern for embedding mruby into middleware
                                                                                • Improve Your Ruby with the Adapter Design Pattern — SitePoint

                                                                                  March 7, 2016Improve Your Ruby with the Adapter Design Pattern Imagine we have some code where we want to accomplish things in a variety of ways. One way to do this is with conditional branching: class Animal def speak(kind) puts case kind when :dog then "woof!" when :cat then "meow!" when :owl then "hoo!" end end end Animal.new.speak(:dog) This works, but what if a developer wants to add a new wa

                                                                                    Improve Your Ruby with the Adapter Design Pattern — SitePoint