Currently browsing

December 24, 2012

Foreign Key and Index Binding

Foreign Key and Index Binding Introductions In this article I am trying to discuss about the foreign key Index binding features. Hope it will be interesting and we can learn something new from it. Point in focus 1.    Foreign Key Definitions 2.    Why Index Binding is necessary 3.    What we …

Members set get ArrayAccess and Iterator

Members, __set, __get, ArrayAccess and Iterator pre { background-color:#444; white-space:pre-wrap; font-size:85%; padding:0px 6px; } Lessons learned: __set() is 5 times slower than setting a member __get() + __set() is 13 times slower than incrementing a member Iterator is 4 times slower than using a member ArrayAccess is 3 times slower …