はてなブックマークアプリ

サクサク読めて、
アプリ限定の機能も多数!

アプリで開く

はてなブックマーク

  • はてなブックマークって?
  • アプリ・拡張の紹介
  • ユーザー登録
  • ログイン
  • Hatena

はてなブックマーク

トップへ戻る

  • 総合
    • 人気
    • 新着
    • IT
    • 最新ガジェット
    • 自然科学
    • 経済・金融
    • おもしろ
    • マンガ
    • ゲーム
    • はてなブログ(総合)
  • 一般
    • 人気
    • 新着
    • 社会ニュース
    • 地域
    • 国際
    • 天気
    • グルメ
    • 映画・音楽
    • スポーツ
    • はてな匿名ダイアリー
    • はてなブログ(一般)
  • 世の中
    • 人気
    • 新着
    • 新型コロナウイルス
    • 働き方
    • 生き方
    • 地域
    • 医療・ヘルス
    • 教育
    • はてな匿名ダイアリー
    • はてなブログ(世の中)
  • 政治と経済
    • 人気
    • 新着
    • 政治
    • 経済・金融
    • 企業
    • 仕事・就職
    • マーケット
    • 国際
    • はてなブログ(政治と経済)
  • 暮らし
    • 人気
    • 新着
    • カルチャー・ライフスタイル
    • ファッション
    • 運動・エクササイズ
    • 結婚・子育て
    • 住まい
    • グルメ
    • 相続
    • はてなブログ(暮らし)
    • 掃除・整理整頓
    • 雑貨
    • 買ってよかったもの
    • 旅行
    • アウトドア
    • 趣味
  • 学び
    • 人気
    • 新着
    • 人文科学
    • 社会科学
    • 自然科学
    • 語学
    • ビジネス・経営学
    • デザイン
    • 法律
    • 本・書評
    • 将棋・囲碁
    • はてなブログ(学び)
  • テクノロジー
    • 人気
    • 新着
    • IT
    • セキュリティ技術
    • はてなブログ(テクノロジー)
    • AI・機械学習
    • プログラミング
    • エンジニア
  • おもしろ
    • 人気
    • 新着
    • まとめ
    • ネタ
    • おもしろ
    • これはすごい
    • かわいい
    • 雑学
    • 癒やし
    • はてなブログ(おもしろ)
  • エンタメ
    • 人気
    • 新着
    • スポーツ
    • 映画
    • 音楽
    • アイドル
    • 芸能
    • お笑い
    • サッカー
    • 話題の動画
    • はてなブログ(エンタメ)
  • アニメとゲーム
    • 人気
    • 新着
    • マンガ
    • Webマンガ
    • ゲーム
    • 任天堂
    • PlayStation
    • アニメ
    • バーチャルYouTuber
    • オタクカルチャー
    • はてなブログ(アニメとゲーム)
    • はてなブログ(ゲーム)
  • おすすめ

    ノーベル賞

『Ocramius' blog - software development thoughts by Marco Pivetta』

  • 人気
  • 新着
  • すべて
  • When to declare classes final

    4 users

    ocramius.github.io

    TL;DR: Make your classes always final, if they implement an interface, and no other public methods are defined In the last month, I had a few discussions about the usage of the final marker on PHP classes. The pattern is recurrent: I ask for a newly introduced class to be declared as final the author of the code is reluctant to this proposal, stating that final limits flexibility I have to explain

    • 世の中
    • 2018/02/01 16:30
    • Doctrine 2 ORM Best Practices

      5 users

      ocramius.github.io

      Hi! I'm Marco! Ocramius Doctrine Project A group of persistence-oriented libraries for PHP We are looking for contributors! (Must be prepared to take unpopular decisions) Doctrine ORM A JSR-317 / Hibernate inspired Object Relational Mapper Doctrine 2 ORM Best Practices Know your enemy Know your enemy tools Knowledge is Power When is an ORM the appropriate tool? Who is Doctrine ORM for? OLTP DDD Fa

      • テクノロジー
      • 2017/06/01 19:42
      • あとで読む
      • Doctrine ORM Hydration Performance Optimization

        12 users

        ocramius.github.io

        If you try to re-normalize this resultset, you can actually see how many useless de-duplication operation have to happen. That is because the User ocramius@gmail.com has multiple active sessions on multiple devices, as well as multiple social accounts. SLOW! The hydration operations on this resultset are O(n * m * q), which I'm going to simply generalize as O(n ^ m), with n being the amount of res

        • テクノロジー
        • 2015/04/14 00:34
        • doctrine
        • orm
        • php
        • performance
        • Fluent Interfaces are Evil

          4 users

          ocramius.github.io

          Today, I had again a discussion on IRC on why Doctrine's EntityManager doesn't (and won't) implement a fluent interface. Here are my thoughts on why that's the case. Recap: What is a Fluent interface? A Fluent Interface is an object oriented API that provides "more readable" code. In general, the template for a fluent interface can be like following: <?php interface {InterfaceName} { /** @return s

          • 世の中
          • 2014/11/13 15:12
          • OOP
          • ZF2: From n00b to pro

            5 users

            ocramius.github.io

            • テクノロジー
            • 2014/07/04 02:16
            • php
            • Accessing private PHP class members without reflection

              7 users

              ocramius.github.io

              A couple of weeks ago I was working on a very tricky issue on ProxyManager. The problem is simple: instantiating ReflectionClass or ReflectionProperty is slow, and by slow, I mean really slow! The reason for this reasearch is that I'm trying to optimize a "hydrator" to work with larger data-sets by still keeping a low initialization overhead. PHP 5.4 to the rescue! PHP 5.4 comes with a new API for

              • テクノロジー
              • 2013/07/10 23:00
              • php
              • Dependency Injection slowness solved by Doctrine Proxies

                5 users

                ocramius.github.io

                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

                • テクノロジー
                • 2012/11/20 20:47
                • di
                • php

                このページはまだ
                ブックマークされていません

                このページを最初にブックマークしてみませんか?

                『Ocramius' blog - software development thoughts by Marco Pivetta』の新着エントリーを見る

                キーボードショートカット一覧

                j次のブックマーク

                k前のブックマーク

                lあとで読む

                eコメント一覧を開く

                oページを開く

                はてなブックマーク

                • 総合
                • 一般
                • 世の中
                • 政治と経済
                • 暮らし
                • 学び
                • テクノロジー
                • エンタメ
                • アニメとゲーム
                • おもしろ
                • アプリ・拡張機能
                • 開発ブログ
                • ヘルプ
                • お問い合わせ
                • ガイドライン
                • 利用規約
                • プライバシーポリシー
                • 利用者情報の外部送信について
                • ガイドライン
                • 利用規約
                • プライバシーポリシー
                • 利用者情報の外部送信について

                公式Twitter

                • 公式アカウント
                • ホットエントリー

                はてなのサービス

                • はてなブログ
                • はてなブログPro
                • 人力検索はてな
                • はてなブログ タグ
                • はてなニュース
                • ソレドコ
                • App Storeからダウンロード
                • Google Playで手に入れよう
                Copyright © 2005-2025 Hatena. All Rights Reserved.
                設定を変更しましたx