tag:blogger.com,1999:blog-36547168.post914669696413030671..comments2023-11-25T11:00:42.257+01:00Comments on Invisible to the eye: Practical Php Patterns: FlyweightGiorgiohttp://www.blogger.com/profile/03558287012747987157noreply@blogger.comBlogger4125tag:blogger.com,1999:blog-36547168.post-18182121577445549132010-02-08T09:52:03.803+01:002010-02-08T09:52:03.803+01:00It's a term borrowed from Java:
http://en.wiki...It's a term borrowed from Java:<br />http://en.wikipedia.org/wiki/JavaBean<br />You know, Java coffee, coffee bean... I think that's the origin of the name. :)Giorgiohttps://www.blogger.com/profile/12689416577856305650noreply@blogger.comtag:blogger.com,1999:blog-36547168.post-50363500046529631302010-02-08T01:21:25.538+01:002010-02-08T01:21:25.538+01:00What's a 'bean'? I'll make someth...What's a 'bean'? I'll make something up and pretend it is an acronym for "Business Enterprise Application Node" ;-)Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-36547168.post-4243967407858645622010-02-02T15:34:59.520+01:002010-02-02T15:34:59.520+01:00An Object Pool usually contains a fixed number of ...An Object Pool usually contains a fixed number of object of a particular kind (for instance database connections), all indistinguishable from each other, while with Flyweight objects the pool is populated on demand and specific objects are requested. In the former case object are also shared but by only Client at the time; in php given the nature of the language it's uncommon to encounter an object pool.Giorgiohttps://www.blogger.com/profile/12689416577856305650noreply@blogger.comtag:blogger.com,1999:blog-36547168.post-56529874687047472072010-02-02T13:33:52.881+01:002010-02-02T13:33:52.881+01:00How this pattern is related to the object pool pat...How this pattern is related to the object pool pattern ?Anonymousnoreply@blogger.com