Skip to main content

Flyweight

  • Chapter
  • First Online:
Book cover Design Patterns in PHP and Laravel
  • 3156 Accesses

Abstract

Use sharing to support large numbers of fine-grained objects efficiently.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 49.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 64.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    Design Patterns: Elements of Reusable Object-Oriented Software, p. 218

  2. 2.

    https://laravel.com/docs/master/queues

  3. 3.

    http://en.wikipedia.org/wiki/Nausica%C3%A4_of_the_Valley_of_the_Wind_%28film%29

  4. 4.

    http://en.wikipedia.org/wiki/My_Neighbor_Totoro

  5. 5.

    http://en.wikipedia.org/wiki/Spirited_Away

  6. 6.

    http://en.wikipedia.org/wiki/Ponyo

  7. 7.

    http://PHP.net/manual/en/internals2.variables.intro.PHP

  8. 8.

    http://PHP.net/manual/en/features.gc.refcounting-basics.PHP

  9. 9.

    http://PHP.net/manual/en/function.memory-get-usage.PHP

  10. 10.

    https://github.com/fzaninotto/Faker

  11. 11.

    http://en.wikipedia.org/wiki/String_interning

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2017 Kelt Dockins

About this chapter

Cite this chapter

Dockins, K. (2017). Flyweight. In: Design Patterns in PHP and Laravel. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-2451-9_14

Download citation

Publish with us

Policies and ethics