发明名称 OBJECT-ORIENTED PROGRAMMING SYSTEM AND LIBRARY
摘要 The described technology is directed towards an object-oriented programming (OOP) system and library that maps conventional object-oriented concepts such as class hierarchies, interfaces, and static methods and properties onto a prototypal object system such as JavaScript®. Various functions of the OOP system are called to create a class-like structure that is instantiated into an object instance upon request. The OOP system allows for use of a wrapper pattern to wrap selected objects with added functionality such as validation and tracing, and to provide enhanced functionality with respect to properties, such as to call a function associated with a property when the property's value changes, and/or to lazily generate property values only when accessed.
申请公布号 US2016070579(A1) 申请公布日期 2016.03.10
申请号 US201514843916 申请日期 2015.09.02
申请人 Home Box Office, Inc. 发明人 Furtwangler Brandon C.;Furtwangler Tyler R.;Furtwangler Nathan J. E.
分类号 G06F9/44 主分类号 G06F9/44
代理机构 代理人
主权项 1. A method comprising: receiving a call to create a class, the function call associated with class member definitions, and in response creating the class; for each member or group of members associated with the call, executing a function to add one or more definitions to the class corresponding to that member or group of members; and instantiating a prototypal object based upon the class and the definitions of the class.
地址 New York NY US