WO2007067578A1 - Metadata driven user interface - Google Patents

Metadata driven user interface Download PDF

Info

Publication number
WO2007067578A1
WO2007067578A1 PCT/US2006/046464 US2006046464W WO2007067578A1 WO 2007067578 A1 WO2007067578 A1 WO 2007067578A1 US 2006046464 W US2006046464 W US 2006046464W WO 2007067578 A1 WO2007067578 A1 WO 2007067578A1
Authority
WO
WIPO (PCT)
Prior art keywords
metadata
controls
user interface
control
computer
Prior art date
Application number
PCT/US2006/046464
Other languages
French (fr)
Inventor
Patrick M. Dengler
Arvind K. Krishnan
Jagdish Singh Gachibowli
Lawrence M. Sanchez
Nabarun Mondal Gachibowli
Namendra Kumar Gachibowli
Richard Roma Dalfo
Sai Shankar Gachibowli
Satish Kumar Chittamuru Gachibowli
Zoltan Pekic
Original Assignee
Microsoft Corporation
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Microsoft Corporation filed Critical Microsoft Corporation
Priority to CN2006800455212A priority Critical patent/CN101322096B/en
Priority to KR1020087010883A priority patent/KR101331260B1/en
Publication of WO2007067578A1 publication Critical patent/WO2007067578A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/448Execution paradigms, e.g. implementations of programming paradigms
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/448Execution paradigms, e.g. implementations of programming paradigms
    • G06F9/4488Object-oriented
    • G06F9/449Object-oriented method invocation or resolution

Definitions

  • Metadata is defined to create customized user interface (UI) portions for an application.
  • the metadata is created according to a metadata schema that defines mechanisms for data binding application data to the controls of the UI.
  • the metadata may be XML-based and is interpreted and then rendered to implement a customized UI that also supports data binding between data and the UI controls.
  • an application developer can write a metadata file that defines basic as well as custom UI controls, properties of the controls, layout of the controls, and the like.
  • the metadata is processed by a rendering engine to display the UI controls.
  • An interpreter may be used to interpret the metadata file before it sent to the rendering engine. Neither the rendering engine nor the interpreter needs knowledge of the host application and provides support for arbitrary metadata driven UI.
  • the metadata schema may include mechanisms to create custom controls for the UI; programmatically modify the UI controls by providing access to a code-behind assembly as well as support event handling for the UI controls.
  • FIGURE 1 illustrates an exemplary computing environment
  • FIGURE 2 shows a user interface metadata system
  • FIGURES 3 A and 3B show an example UI form that is described by a metadata file
  • FIGURE 4 illustrates a process for using metadata to describe a UI form
  • FIGURE 5 show a process for rendering a UI form with associated metadata.
  • FIGURE 1 and the corresponding discussion are intended to provide a brief, general description of a suitable computing environment in which embodiments may be implemented.
  • program modules include routines, programs, components, data structures, and other types of structures that perform particular tasks or implement particular abstract data types.
  • Other computer system configurations may also be used, including hand-held devices, multiprocessor systems, microprocessor-based or programmable consumer electronics, minicomputers, mainframe computers, and the like.
  • Distributed computing environments may also be used where tasks are performed by remote processing devices that are linked through a communications network, hi a distributed computing environment, program modules may be located in both local and remote memory storage devices.
  • FIGURE 1 illustrates an exemplary computer environment 100, which can be used to implement the techniques described herein.
  • the computer environment 100 is only one example of a computing environment and is not intended to suggest any limitation as to the scope of use or functionality of the computer and network architectures. Neither should the computer environment 100 be interpreted as having any dependency or requirement relating to any one or combination of components illustrated in the example computer environment 100.
  • Computer environment 100 includes a general-purpose computing device in the form of a computer 102.
  • the components of computer 102 can include, but are not limited to, one or more processors or processing units 104, system memory 106, and system bus 108 that couples various system components including processor 104 to system memory 106.
  • System bus 108 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures.
  • such architectures can include an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MCA) bus, an Enhanced ISA (EISA) bus, a Video Electronics Standards Association (VESA) local bus, a Peripheral Component Interconnects (PCI) bus also known as a Mezzanine bus, a PCI Express bus, a Universal Serial Bus (USB), a Secure Digital (SD) bus, or an IEEE 1394, i.e., FireWire, bus.
  • ISA Industry Standard Architecture
  • MCA Micro Channel Architecture
  • EISA Enhanced ISA
  • VESA Video Electronics Standards Association
  • PCI Peripheral Component Interconnects
  • Mezzanine bus a PCI Express bus
  • USB Universal Serial Bus
  • SD Secure Digital
  • IEEE 1394 i.e., FireWire
  • Computer 102 may include a variety of computer readable media. Such media can be any available media that is accessible by computer 302 and includes both volatile and non-volatile media, removable and non-removable media.
  • System memory 106 includes computer readable media in the form of volatile memory, such as random access memory (RAM) 110; and/or non- volatile memory, such as read only memory (ROM) 112 or flash RAM.
  • RAM random access memory
  • ROM read only memory
  • BIOS Basic input/output system
  • BIOS Basic input/output system
  • RAM 110 typically contains data and/or program modules that are immediately accessible to and/or presently operated on by processing unit 304.
  • Computer 102 may also include other removable/non-removable, volatile/nonvolatile computer storage media.
  • FIGURE 1 illustrates hard disk drive 116 for reading from and writing to a non-removable, non- volatile magnetic media (not shown), magnetic disk drive 118 for reading from and writing to removable, nonvolatile magnetic disk 120 (e.g., a "floppy disk"), and optical disk drive 122 for reading from and/or writing to a removable, non- volatile optical disk 124 such as a CD-ROM, DVD-ROM, or other optical media.
  • Hard disk drive 116, magnetic disk drive 118, and optical disk drive 122 are each connected to system bus 108 by one or more data media interfaces 125.
  • hard disk drive 116, magnetic disk drive 118, and optical disk drive 122 can be connected to the system bus 108 by one or more interfaces (not shown).
  • the disk drives and their associated computer-readable media provide nonvolatile storage of computer readable instructions, data structures, program modules, and other data for computer 102.
  • a hard disk 116, removable magnetic disk 120, and removable optical disk 124 it is appreciated that other types of computer readable media which can store data that is accessible by a computer, such as magnetic cassettes or other magnetic storage devices, flash memory cards, CD-ROM, digital versatile disks (DVD) or other optical storage, random access memories (RAM), read only memories (ROM), electrically erasable programmable read-only memory
  • EEPROM electrically erasable programmable read-only memory
  • Any number of program modules can be stored on hard disk 116, magnetic disk 120, optical disk 124, ROM 112, and/or RAM 110, including by way of example, operating system 126 (which in some embodiments include low and high priority I/O file systems ' and indexing systems described above), one or more application programs 128, interpreter 130, and rendering engine 132. Each of such operating system 126, one or more application programs 128, a metadata interpreter 130, a UI rendering engine 132 and metadata 133 (or some combination thereof) may implement all or part of the resident components.
  • the metadata repository 133 includes information that allows the
  • the metadata can include information that allows the customization of UI forms for UI 164 that is displayed on monitor 142.
  • the metadata repository 133 may include information for multiple applications on various coupled computing devices.
  • a user can enter commands and information into computer 102 via input devices such as keyboard 134 and a pointing device 136 (e.g., a "mouse").
  • Other input devices 138 may include a microphone, joystick, game pad, satellite dish, serial port, scanner, and/or the like.
  • input/output interfaces 140 are coupled to system bus 108, but may be connected by other interface and bus structures, such as a parallel port, game port, or a universal serial bus (USB).
  • Monitor 142 or other type of display device can also be connected to the system bus 108 via an interface, such as video adapter 144.
  • other output peripheral devices can include components such as speakers (not shown) and printer 146 which can be connected to computer 102 via I/O interfaces 140.
  • Computer 102 can operate in a networked environment using logical connections to one or more remote computers, such as remote computing device 148.
  • remote computing device 148 can be a PC, portable computer, a server, a router, a network computer, a peer device or other common network node, and the like.
  • Remote computing device 148 is illustrated as a portable computer that can include many or all of the elements and features described herein relative to computer 102.
  • Logical connections between computer 102 and remote computer 348 are depicted as a local area network (LAN) 150 and a general wide area network (WAN) 152.
  • LAN local area network
  • WAN wide area network
  • Such networking environments are commonplace in offices, enterprise- wide computer networks, intranets, and the Internet.
  • computer 102 When implemented in a LAN networking environment, computer 102 is connected to local network 150 via network interface or adapter 154. When implemented in a WAN networking environment, computer 102 typically includes modem 156 or other means for establishing communications over wide network 152. Modem 156, which can be internal or external to computer 102, can be connected to system bus 108 via I/O
  • interfaces 140 or other appropriate mechanisms.
  • the illustrated network connections are examples and that other means of establishing at least one communication link between computers 102 and 148 can be employed.
  • remote application programs 158 reside on a memory device of remote computer 148.
  • applications or programs and other executable program components such as the operating system are illustrated herein as discrete blocks, although it is recognized that such programs and components reside at various times in different storage components of computing device 102, and are executed by at least one data processor of the computer.
  • program modules include routines, programs, objects, components, data structures, etc. for performing particular tasks or implement particular abstract data types.
  • functionality of the program modules may be combined or distributed as desired in various embodiments.
  • Computer readable media can be any available media that can be accessed by a computer.
  • Computer readable media may comprise "computer storage media" and
  • Computer storage media includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules, or other data.
  • Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by a computer.
  • Communication media typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal, such as carrier wave or other transport mechanism.
  • Communication media also includes any information delivery media.
  • modulated data signal means a signal that has one or more of its characteristics set or changed in such a manner as to encode information in the signal.
  • communication media includes wired media such as a wired network or direct-wired connection, and wireless media such as acoustic, RF, infrared, and other wireless media. Combinations of any of the above are also included within the scope of computer readable media.
  • FIGURE 2 shows a user interface metadata system.
  • system 200 includes metadata 210, interpreter 220, code-behind assembly 225, rendering engine 230 that renders user interface 240 and back-end data source 250.
  • a developer or some other user, specifies metadata 210 for a given UI Form.
  • the interpreter 220 accesses the metadata and then passes the UI information to rendering engine 230 such that the UI 240 may be displayed to a user.
  • interpreter 220 is illustrated separately from rendering engine 230 its functionality may be included within rendering engine 230 as illustrated by the dashed box surrounding the interpreter 220 and rendering engine 230.
  • Metadata 210 allows the developer to specify a set of events 215 for each control 241-243 that are included on the user interface 240.
  • the metadata 210 allows the UI forms developer to specify the controls to be added to the UI; define custom events on these added controls (or add events to the existing controls); and define the event-handlers via code in a code-behind assembly 225 for these new custom events (or modify existing custom-handlers by overriding the default behavior).
  • An Object Model (OM) is exposed that allows the developer to read/modify properties of the controls on the form such that the event-handlers are defined in the code behind assembly 225.
  • the name and location of the code-behind assembly 225 is captured as part of the metadata 210.
  • the events mirror the typical events supported for the same type of control in a WINFORMS environment.
  • additional controls and custom events may be added through the metadata 210.
  • the rendering engine 230 receives the metadata defining the UI through interpreter 220 and renders the UI form 240.
  • rendering engine 230 renders the UI form either in an IBF task pane or a MICROSOFT OUTLOOK custom form.
  • the rendering engine 230 creates a .NET control object correpsonding to the UI that is defined by the metadata 210 and that .NET control is hosted either in the EBF task pane or OUTLOOK custom form.
  • the rendering engine 230 parses the metadata that is supplied by interpreter 220 and instantiates the different controls (i.e. 241-243) that are described by metadata 210 and outputs a .NET control describing the UI form.
  • the rendering engine 230 provides ten basic controls which the UI forms developer can use while designing a UI form using metadata 210. These ten basic controls include: Panel; Label; LinkLabel; TextBox; Button; ListBox; ComboBox; RadioButton; CheckBox and an Image control. As discussed previously, custom control and events may also be created. Other basic controls may also be provided.
  • Each control includes a wrapper class which wraps the control (i.e. a native WINFORM (.NET) control).
  • the wrapper provides functionality for data binding and exposing control properties to the code behind assembly 225 through a programmatic object model (OM).
  • OM programmatic object model
  • the 'IXamlTextBox' interface exposes TextBox specific properties to the code behind file.
  • An application developer can access a textbox control on the UI in the code behind using the 'IXamlTextBox' interface and read/write the control properties.
  • the 'XamlControP provides the base class for the controls rendered by the rendering engine 230.
  • the 'IXamlControl' interface exposes the control to the code behind file. An application developer can access properties of a control through this interface in the code behind assembly 225.
  • the 'IBindable' interface is used by the 'Binder' component to set control properties which are bound to properties in a data source.
  • the 'XamlControl' class receives the pseudo XAML metadata (XML) defining the control and then it instantiates the native .NET WINFORM control (depending upon type) and sets the control properties specified in the metadata for the control.
  • the rendering engine 230 When the rendering engine 230 receives the pseudo XAML metadata defining a UI form it reads/parses the input XML and instantiates the wrapper classes for the controls passing in the metadata defining the control. According to one embodiment, the parsing is done in a depth first manner. Other methods may also be used.
  • the wrapper class instantiates the native WINFORM (.NET) control and sets the control properties as defined in the metadata.
  • a wrapper class for each control sets the control properties as specified in the metadata.
  • the base 'XamlControl' class sets the properties which are common to every control (for e.g. Background, Foreground, Anchor, Font etc).
  • the specific derived classes such as: 'XamlTextBox' handles the control (textbox) specific properties.
  • the wrapper class passes the control, property name and binding expression to the 'Binder,' which then gets the property value from the data source and then sets the specific control property through the 'IBindable' interface.
  • the wrapper class for each control also subscribes to the control events (SubscribeToEventsQ) exposed by the pseudo XAML metadata. When an event on a control fires then the rendering engine 230 forwards the event to the event handler defined in the code behind assembly 225.
  • the wrapper class also calls a 'GetChildControls()' method which instantiates the child controls for the control.
  • Event handlers 226 may be developed for control events occurring on the form. To handle a specific event on a control, the developer performs steps, including: developing a code behind assembly 225 which contains the event handler code; specifying the code behind assembly in the metadata; and specifying the event handler (method) name which handles a particular event for a control. According to one embodiment, to specify an event handler in the metadata for an event on a control the developer supplies the event handler method name present in the code behind assembly as the value of the attribute
  • the metadata 210 specifies that the "Click" event for the Button control is handled by the method "ButtonClick” which is present as a public method in the code behind assembly.
  • the signature for the event handler is same as what it would be for that event on that particular control in case of .NET WINFORMS environment.
  • the event handler for the click event on a Button would have the following signature: public void ButtonClick(object sender, System.EventArgs e) ⁇ ⁇ . According to one embodiment, this is the same signature as the original button control which provides for programmer understanding and consistency.
  • Rendering engine 230 loads the code behind assembly 225 when it parses the metadata 210 provided by interpreter 220 and instantiates the code behind class through reflection.
  • the events that are exposed through the metadata on a control are subscribed to when that control is instantiated during parsing of the metadata.
  • the event handlers for control events bubble up the event to the "Page" level and then the event handler in the code behind assembly is called through reflection.
  • More than one "code behind" assembly can be associated to a "page” or form. Providing more than one "code behind” assembly allows for multiple levels (multiple parties) of extensibility.
  • Data may also be bound to one or more of the controls (e.g. controls 241-243) from a backend data source 250.
  • the binding expressions that bind data source 250 to one or more of the controls are specified in the metadata.
  • Each property of a control i.e. controls 241-243
  • the data source changes control properties that are associated with the controls when the data source 250 is changed.
  • More than one data source may be bound. For example, control 1 (241) could be bound to one data source while control 2 (242) is bound to a different data source.
  • there are two different types of data sources including an object data source and an XML data source.
  • An object data source is a .NET class residing in a .NET assembly which acts as a data source for controls on the UI.
  • An XML Data Source acts as a source of XML data which is specified inline in the XAML metadata defining the UI.
  • the "DataSourceClass” implements the 'TBindData” and "INotifyPropertyChanged” interfaces. Exemplary embodiments of these interfaces are described below:
  • the "IBindData” interface allows to bind data between the data source and control properties (explained below) through the standard .NET event delegate model.
  • the "INotifyPropertyChanged” interface allows the data source to signal any changes that happen on the data source so that the UI properties which are bound to that data source can be updated.
  • the data source raises the "PropertyChanged” event whenever a property in the data source changes.
  • the relevant properties on the UI are then updated whenever this event fires.
  • the developer supplies a binding expression as the value of the attribute corresponding to that property.
  • the 'Source' clause refers to a data source defined in the metadata. This could be an Object data Source or XML Data Source.
  • Object Data Source the value of the 'Path' clause is passed to the data source's "GetData(string path)" method when retrieving the value for the bound property.
  • XML Data source the 'Path' clause is an Xpath expression in this embodiment, which selects a particular node/attribute in the XML data whose value would be the bound to the control property.
  • the 'Mode' clause indicates 'OneWay' or 'Two Way' binding. If the data flows from the data source to controls on the UI then the binding is 'OneWay' but if UI property changes are also propagated back to the data source then the binding is 'Two Way'.
  • 'UpdateSourceTrigger' is an enumeration which specifies when (what event) to signal the data source that a UI property has changed and the changed property value needs to be propagated to the data source.
  • the value for this clause is 'PropertyChanged' which means that when a bound property changes then it is signaled to the data source. According to one embodiment, this only takes effect in case of 'Two Way' binding.
  • the TtemsSource' attribute of a List Control allows binding of the items in the list to a collection of objects coming from a data source.
  • the data source returns a .NET collection implementing the
  • the 'DisplayMemberPath' attribute of the List Control specfies the property of the .NET object(s) which form the collection whose value is used as the display text for the item in the list control. If the 'DisplayMemberPath' is null then the default 'ToStringO' method is called on the .NET object and the string returned is used as the display text. For example, suppose the data source returns a collection of 'Customer' obejcts which are shown in the list control then the 'Customer' object may have a 'Name' property whose value is to be used as the display text in the list control.
  • 'DisplayMemberPath' is set to 'Name.
  • 'SelectedValuePath' is set to the property of the .NET object(s) forming the collection whose value is returned by the 'SelectedValue' property of the list control when a particular item is selected in the list control.
  • the 'Customer' object has a 'CustomerID' property whose value is returned by the 'SelectedValue' property when the 'SelectedValuePath' property of the list control is set to 'CustomerID.
  • the whole object ('Customer' obejct) is returned by the 'SelectedValue' property of the list control.
  • the 'Path' clause in the above binding expression is actually an Xpath expression which returns a list of nodes which are populated in the list control from the XML Data Source.
  • the 'SelectedValuePath' attribute may be an Xpath pointing to the 'ISBN' attribute of the book item.
  • Controls utilizing data binding implement the TBindable' interface as illustrated below:
  • the 'GetData(string path)' method of the relevant data source (specified in the binding expression) is called passing in the value of the 'Path' clause in the binding expression as an argument. This method returns a value of type 'object.
  • the 'SetBoundValue(string propName, object value)' is called on the control whose property is bound passing in the name of the bound property and the 'value' returned by the data source. The control has the responsibility for understanding the 'value' object and interpreting it to update the bound property.
  • the data source signals the binder of a change in data source (INotifyPropertyChanged).
  • the binder finds out which control properties are bound to the changed data source and updates those properties.
  • the binder is notified and the binder then propagates the changed property value back to the data source.
  • the rendering engine 230 also provides a generic framework for hosting custom built controls.
  • the framework supports custom .NET winform controls.
  • any custom controls derive from the class: 'System.Windows.Forms.UserControl.'
  • Each custom control has a default contractor and also implements the ICustomControl interface and the 'IBindable' interface so that it can participate in data binding.
  • ControlEventFiredArgs System.EventArgs
  • EventName ⁇ get; ⁇
  • the 'SetControlProperty(string propName, string prop Value)' method is used by the rendering engine 230 to set custom properties for the control. For each custom property which the custom control exposes and which is not included in the basic properties of a control (e.g. Width, Height, Top, Left etc) the rendering engine 230 calls the
  • the 'ControlEventFired' event is raised by the custom control when a custom event exposed by the control fires. This is to signal the rendering engine 230 that an event has fired on the custom control and the rendering engine needs to call the event handler (if any) for that event in the code behind assembly 225.
  • the rendering engine 230 does not know at compile time what are the events (and event signatures) supported by the custom control. As such, the rendering engine 230 requires the custom control to notify it when a custom event fires on the custom control.
  • the custom control creates an instance of the 'ControlEventFiredArgs' class and passes it to the 'ControlEventFired' event which is received by the rendering engine 230.
  • the 'ControlEventFiredArgs' contains information about the name of the event which fired, sender and event arguments which need to be passed to the event handler for that event. Once the rendering engine 230 has this information it can call the event handler for that event specified in the code behind assembly 225.
  • the custom controls reside in a .NET assembly at run time.
  • a custom control can be specified in the metadata through the following exemplary metadata: ⁇ custom:CustomControl
  • the rendering engine 230 instantiates the custom control through reflection and first set the basic properties of a control like Height, Width, Top, Left, and the like and then for other properties (custom properties) the rendering engine 230 calls the
  • a mechanism within the metadata schema allows the UI forms developer to access the UI controls and their properties in the code behind assembly.
  • the code behind class implements the 'IPageCodeBehind' interface which is described below:
  • the 'PageControls' property is populated by the rendering engine 230 when it renders the UI form and instantiates the controls.
  • the 'Application' property represents the host application (i.e. OUTLOOK) in which the UI forms are being rendered.
  • the 'Mediator' property allows the code behind developer to execute IBF actions defined in metadata.
  • 'ReturnValue' is a variable which can be set by the code behind developer which is passed back to the caller who renders the form. This is used in case of modal dialogs to pass back a value from the dialog to the caller.
  • IPageControlCollection ICollection, Enumerable
  • the 'IXamlControl' interface exposes the properties for a control on the form, public interface IXamlControl
  • 'IXamlControl' interface exposes the basic properties of a control that are common to every control.
  • specific properties for a control e.g. IsChecked for a CheckBox control
  • the developer can cast the 'IXamlControP object to the specific control interface, such as: 'IXamlCheckBox', ⁇ XamiTextBox', and the like.
  • IXamlCheckBox IXamlControl
  • the rendering engine 230 generates the same .NET control from the metadata describing the UI form irrespective of whether the UI form is hosted in an IBF task pane, an OUTLOOK custom form or a dialog.
  • the following scenarios provide example of how the .NET control may be hosted.
  • the IBF task pane supports hosting any .NET control which implements the 'IRegion' interface.
  • the rendering framework contains a blank (empty) .NET control which implements the 'IRegion' interface and which hosts the .NET control generated by the UI rendering engine from the UI metadata.
  • To display a metadata defined UI form in the IBF task pane the 'MSIBF.UI.ShowRegion' custom operation is used which displays the blank .NET host control part of the UI rendering framework.
  • the input passed to this 'MSIBF.UI.ShowRegion' operation is the metadata defining the UI form which is to be hosted in the EBF task pane.
  • MSIBF.UI.ShowRegion' operation instantiates the blank host .NET control and passes the metadata defining the UI form as 'Data' to the blank host .NET control.
  • the host control calls the rendering engine 230 passing in the metadata defining the UI form and which returns a .NET control describing the UI form and which is then added to the host control resulting in the display of the UI form in the IBF task pane.
  • an ActiveX container control capable of hosting .NET controls is added to the OUTLOOK form and then the .NET control is added describing the UI form as a child control of the container control.
  • the ActiveX container control is a part of the UI
  • Forms 2.0 hosts the ActiveX containter which hosts the .NET WinForms control described by metdata.
  • Metadata defined forms may also be created in modal .NET W ⁇ nform dialogs.
  • program code such as that contained within an addin calls the rendering engine 230 passing in the XAML metadata defining a form and the rendering engine 230 passes back the .NET control generated from the XAML metadata which can then be hosted either in the IBF task pane, OUTLOOK Custom Form or a dialog.
  • the addin instantiates an instance of the 'RenderEngine' class which implements the
  • the caller can call the 'CreateXamlForm' method passing in the XAML metadata describing the form.
  • the rendering engine 230 instantiates the necessary controls and pass back an object ('IXamlPage') which represents the 'xamF form,
  • the 'NativeControl' property above represents the .NET control describing the metadata UI form which can be hosted either in the IBF task pane, OUTLOOK custom form or a dialog.
  • the 'ReturnValue' property is a variable which can be set from the code behind file and would be used to return a value from a modal dialog.
  • FIGURES 3 A and 3B show an example UI form that is described by a metadata file. Referring to FIGURE 3A, UI form 300 includes label 305, page 310, panel 315, text box 320, check box 325, link 330, button 335, list box 340 and radio button list 345.
  • FIGURE 3B shows an exemplary UI metadata file 360 that may be used to define the UI form 300 as illustrated in FIGURE 3 A.
  • the example UI metadata file 360 illustrates that the properties of a control are specified by the attributes of the corresponding XML node. According to one embodiment, most properties have a default value and do not need to be specifically specified.
  • indicator 362 shows the description of the panel 310; indicator 364 shows the description of the label 305; indicator 366 shows the description of textbox 320; indicator 368 shows the description of checkbox 325; indicator 370 shows the description of button 335; indicator 372 shows the description of link 330; indicator 374 shows the description of the list box 340 and indicator 376 shows the description of the radio button list 345.
  • FIGURE 4 illustrates a process for using metadata to describe a UI form. After a start operation, the process moves to operation 410 where the metadata file is defined. As discussed above, the metadata within the file describes the UI and includes information on the controls, the data binding, and other relevant information relating to the user interface.
  • the metadata file is stored.
  • the metadata file is stored on a computer-readable medium, such as a hard drive.
  • the metadata file may be stored locally and/or remotely from the computing device displaying the related UI.
  • the metadata file is accessed.
  • the metadata file is accessed by a rendering engine.
  • an interpreter may be used to access the metadata file.
  • zero or more data sources may be bound to one or more of the controls defined for the UI through the metadata.
  • the metadata is interpreted and then rendered to display the UI.
  • Each control of the UI form is rendered on the UI (see FIGURE 5 and related discussion).
  • FIGURE 5 show a process for rendering a UI form with associated metadata.
  • control is instantiated.
  • the control is instantiated based on the type of control (i.e. label, text box, and the like).
  • the base properties of the control are set.
  • the properties such as the top, left, height, width, and the like are set.
  • control properties are set.
  • the control properties that are set depend on the type of control.
  • control events that are specified within the metadata are subscribed to.
  • Flowing to operation 550 any child controls for the control are instantiated. The process then moves to an end operation and returns to processing other actions.
  • substitutionGroup "xaml:ListControlItem" />
  • substitutionGroup "xaml:ListControlItem" />
  • substitutionGroup : "xaml:Contror ⁇ />

Abstract

Metadata is used to create customized user interface (UI) portions for an application. The metadata may be XML-based and can be interpreted and then rendered to implement a customized UI that also supports data binding between data and the UI controls. Once created, the metadata is processed by a rendering engine to display the UI controls. An interpreter may be used to interpret the metadata file before it sent to the rendering engine. Neither the rendering engine nor the interpreter needs knowledge of the host application and provides support for arbitrary metadata driven UI. The metadata schema may include mechanisms to create custom controls for the UI; programmatically modify the UI controls by providing access to a code-behind assembly as well as support event handling for the UI controls.

Description

METADATA DRIVEN USER INTERFACE
BACKGROUND
[0001] Some application developers desire to customize their applications to interoperate with certain widely-used existing applications such as: word-processing applications; email applications; and the like. In some instances, the application developer would like to provide a user interface that is customized for an application but that can still be easily modified or extended as the application changes. Today, the application developer hard codes this functionality into the application making it cumbersome to change and update.
SUMMARY
[0002] This Summary is provided to introduce a selection of concepts in a simplified form that are further described below in the Detailed Description. This Summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used as an aid in determining the scope of the claimed subject matter.
[0003] Metadata is defined to create customized user interface (UI) portions for an application. The metadata is created according to a metadata schema that defines mechanisms for data binding application data to the controls of the UI. The metadata may be XML-based and is interpreted and then rendered to implement a customized UI that also supports data binding between data and the UI controls. For example, an application developer can write a metadata file that defines basic as well as custom UI controls, properties of the controls, layout of the controls, and the like. Once created, the metadata is processed by a rendering engine to display the UI controls. An interpreter may be used to interpret the metadata file before it sent to the rendering engine. Neither the rendering engine nor the interpreter needs knowledge of the host application and provides support for arbitrary metadata driven UI. The metadata schema may include mechanisms to create custom controls for the UI; programmatically modify the UI controls by providing access to a code-behind assembly as well as support event handling for the UI controls.
BRIEF DESCRIPTION OF THE DRAWINGS
[0004] FIGURE 1 illustrates an exemplary computing environment; [0005] FIGURE 2 shows a user interface metadata system;
[0006] FIGURES 3 A and 3B show an example UI form that is described by a metadata file;
[0007] FIGURE 4 illustrates a process for using metadata to describe a UI form; and
[0008] FIGURE 5 show a process for rendering a UI form with associated metadata.
DETAILED DESCRIPTION
[0009] Referring now to the drawings, in which like numerals represent like elements, various embodiments will be described, hi particular, FIGURE 1 and the corresponding discussion are intended to provide a brief, general description of a suitable computing environment in which embodiments may be implemented.
[0010] Generally, program modules include routines, programs, components, data structures, and other types of structures that perform particular tasks or implement particular abstract data types. Other computer system configurations may also be used, including hand-held devices, multiprocessor systems, microprocessor-based or programmable consumer electronics, minicomputers, mainframe computers, and the like. Distributed computing environments may also be used where tasks are performed by remote processing devices that are linked through a communications network, hi a distributed computing environment, program modules may be located in both local and remote memory storage devices.
[0011] FIGURE 1 illustrates an exemplary computer environment 100, which can be used to implement the techniques described herein. The computer environment 100 is only one example of a computing environment and is not intended to suggest any limitation as to the scope of use or functionality of the computer and network architectures. Neither should the computer environment 100 be interpreted as having any dependency or requirement relating to any one or combination of components illustrated in the example computer environment 100.
[0012] Computer environment 100 includes a general-purpose computing device in the form of a computer 102. The components of computer 102 can include, but are not limited to, one or more processors or processing units 104, system memory 106, and system bus 108 that couples various system components including processor 104 to system memory 106. [0013] System bus 108 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures can include an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MCA) bus, an Enhanced ISA (EISA) bus, a Video Electronics Standards Association (VESA) local bus, a Peripheral Component Interconnects (PCI) bus also known as a Mezzanine bus, a PCI Express bus, a Universal Serial Bus (USB), a Secure Digital (SD) bus, or an IEEE 1394, i.e., FireWire, bus.
[0014] Computer 102 may include a variety of computer readable media. Such media can be any available media that is accessible by computer 302 and includes both volatile and non-volatile media, removable and non-removable media.
[0015] System memory 106 includes computer readable media in the form of volatile memory, such as random access memory (RAM) 110; and/or non- volatile memory, such as read only memory (ROM) 112 or flash RAM. Basic input/output system (BIOS) 114, containing the basic routines that help to transfer information between elements within computer 102, such as during start-up, is stored in ROM 112 or flash RAM. RAM 110 typically contains data and/or program modules that are immediately accessible to and/or presently operated on by processing unit 304.
[0016] Computer 102 may also include other removable/non-removable, volatile/nonvolatile computer storage media. Byway of example, FIGURE 1 illustrates hard disk drive 116 for reading from and writing to a non-removable, non- volatile magnetic media (not shown), magnetic disk drive 118 for reading from and writing to removable, nonvolatile magnetic disk 120 (e.g., a "floppy disk"), and optical disk drive 122 for reading from and/or writing to a removable, non- volatile optical disk 124 such as a CD-ROM, DVD-ROM, or other optical media. Hard disk drive 116, magnetic disk drive 118, and optical disk drive 122 are each connected to system bus 108 by one or more data media interfaces 125. Alternatively, hard disk drive 116, magnetic disk drive 118, and optical disk drive 122 can be connected to the system bus 108 by one or more interfaces (not shown).
[0017] The disk drives and their associated computer-readable media provide nonvolatile storage of computer readable instructions, data structures, program modules, and other data for computer 102. Although the example illustrates a hard disk 116, removable magnetic disk 120, and removable optical disk 124, it is appreciated that other types of computer readable media which can store data that is accessible by a computer, such as magnetic cassettes or other magnetic storage devices, flash memory cards, CD-ROM, digital versatile disks (DVD) or other optical storage, random access memories (RAM), read only memories (ROM), electrically erasable programmable read-only memory
(EEPROM), and the like, can also be utilized to implement the example computing system and environment.
[0018] Any number of program modules can be stored on hard disk 116, magnetic disk 120, optical disk 124, ROM 112, and/or RAM 110, including by way of example, operating system 126 (which in some embodiments include low and high priority I/O file systems'and indexing systems described above), one or more application programs 128, interpreter 130, and rendering engine 132. Each of such operating system 126, one or more application programs 128, a metadata interpreter 130, a UI rendering engine 132 and metadata 133 (or some combination thereof) may implement all or part of the resident components. The metadata repository 133 includes information that allows the
customization of UI elements on a UI that is associated with application programs 128. For example, the metadata can include information that allows the customization of UI forms for UI 164 that is displayed on monitor 142. The metadata repository 133 may include information for multiple applications on various coupled computing devices.
[0019] A user can enter commands and information into computer 102 via input devices such as keyboard 134 and a pointing device 136 (e.g., a "mouse"). Other input devices 138 (not shown specifically) may include a microphone, joystick, game pad, satellite dish, serial port, scanner, and/or the like. These and other input devices are connected to processing unit 104 via input/output interfaces 140 that are coupled to system bus 108, but may be connected by other interface and bus structures, such as a parallel port, game port, or a universal serial bus (USB).
[0020] Monitor 142 or other type of display device can also be connected to the system bus 108 via an interface, such as video adapter 144. In addition to monitor 142, other output peripheral devices can include components such as speakers (not shown) and printer 146 which can be connected to computer 102 via I/O interfaces 140.
[0021] Computer 102 can operate in a networked environment using logical connections to one or more remote computers, such as remote computing device 148. By way of example, remote computing device 148 can be a PC, portable computer, a server, a router, a network computer, a peer device or other common network node, and the like. Remote computing device 148 is illustrated as a portable computer that can include many or all of the elements and features described herein relative to computer 102.
[0022] Logical connections between computer 102 and remote computer 348 are depicted as a local area network (LAN) 150 and a general wide area network (WAN) 152. Such networking environments are commonplace in offices, enterprise- wide computer networks, intranets, and the Internet.
[0023] When implemented in a LAN networking environment, computer 102 is connected to local network 150 via network interface or adapter 154. When implemented in a WAN networking environment, computer 102 typically includes modem 156 or other means for establishing communications over wide network 152. Modem 156, which can be internal or external to computer 102, can be connected to system bus 108 via I/O
interfaces 140 or other appropriate mechanisms. The illustrated network connections are examples and that other means of establishing at least one communication link between computers 102 and 148 can be employed.
[0024] hi a networked environment, such as that illustrated with computing
environment 100, program modules depicted relative to computer 102, or portions thereof, may be stored in a remote memory storage device. By way of example, remote application programs 158 reside on a memory device of remote computer 148. For purposes of illustration, applications or programs and other executable program components such as the operating system are illustrated herein as discrete blocks, although it is recognized that such programs and components reside at various times in different storage components of computing device 102, and are executed by at least one data processor of the computer.
[0025] Various modules and techniques may be described herein in the general context of computer-executable instructions, such as program modules, executed by one or more computers or other devices. Generally, program modules include routines, programs, objects, components, data structures, etc. for performing particular tasks or implement particular abstract data types. Typically, the functionality of the program modules may be combined or distributed as desired in various embodiments.
[0026] An implementation of these modules and techniques may be stored on or transmitted across some form of computer readable media. Computer readable media can be any available media that can be accessed by a computer. By way of example, and not limitation, computer readable media may comprise "computer storage media" and
"communications media." [0027] "Computer storage media" includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules, or other data. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by a computer.
[0028] "Communication media" typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal, such as carrier wave or other transport mechanism. Communication media also includes any information delivery media. The term "modulated data signal" means a signal that has one or more of its characteristics set or changed in such a manner as to encode information in the signal. As a non-limiting example only, communication media includes wired media such as a wired network or direct-wired connection, and wireless media such as acoustic, RF, infrared, and other wireless media. Combinations of any of the above are also included within the scope of computer readable media.
[0029] FIGURE 2 shows a user interface metadata system. As illustrated, system 200 includes metadata 210, interpreter 220, code-behind assembly 225, rendering engine 230 that renders user interface 240 and back-end data source 250. Initially, a developer, or some other user, specifies metadata 210 for a given UI Form. Generally, once the metadata has been created and specified, the interpreter 220 accesses the metadata and then passes the UI information to rendering engine 230 such that the UI 240 may be displayed to a user.
Although interpreter 220 is illustrated separately from rendering engine 230 its functionality may be included within rendering engine 230 as illustrated by the dashed box surrounding the interpreter 220 and rendering engine 230.
[0030] Metadata 210 allows the developer to specify a set of events 215 for each control 241-243 that are included on the user interface 240. The metadata 210 allows the UI forms developer to specify the controls to be added to the UI; define custom events on these added controls (or add events to the existing controls); and define the event-handlers via code in a code-behind assembly 225 for these new custom events (or modify existing custom-handlers by overriding the default behavior). An Object Model (OM) is exposed that allows the developer to read/modify properties of the controls on the form such that the event-handlers are defined in the code behind assembly 225. The name and location of the code-behind assembly 225 is captured as part of the metadata 210.
[0031] According to one embodiment, the events mirror the typical events supported for the same type of control in a WINFORMS environment. In addition to the standard events that may be initially supported by a control, additional controls and custom events may be added through the metadata 210.
[0032] As illustrated, the rendering engine 230 receives the metadata defining the UI through interpreter 220 and renders the UI form 240. According to one embodiment, rendering engine 230 renders the UI form either in an IBF task pane or a MICROSOFT OUTLOOK custom form. According to this embodiment, the rendering engine 230 creates a .NET control object correpsonding to the UI that is defined by the metadata 210 and that .NET control is hosted either in the EBF task pane or OUTLOOK custom form. In this embodiment, the rendering engine 230 parses the metadata that is supplied by interpreter 220 and instantiates the different controls (i.e. 241-243) that are described by metadata 210 and outputs a .NET control describing the UI form.
[0033] According to one embodiment, the rendering engine 230 provides ten basic controls which the UI forms developer can use while designing a UI form using metadata 210. These ten basic controls include: Panel; Label; LinkLabel; TextBox; Button; ListBox; ComboBox; RadioButton; CheckBox and an Image control. As discussed previously, custom control and events may also be created. Other basic controls may also be provided.
[0034] Each control includes a wrapper class which wraps the control (i.e. a native WINFORM (.NET) control). The wrapper provides functionality for data binding and exposing control properties to the code behind assembly 225 through a programmatic object model (OM). The following is an exemplary wrapper class for a textbox control:
internal class XamlTextBox : XamlControl, IXamlTextBox
{
// Native winform (.NET) control
private TextBox textBox = null;
}
[0035] The 'IXamlTextBox' interface exposes TextBox specific properties to the code behind file. An application developer can access a textbox control on the UI in the code behind using the 'IXamlTextBox' interface and read/write the control properties. [0036] The 'XamlControP provides the base class for the controls rendered by the rendering engine 230.
internal class XamlControl : IXamlControl, IBindable
{
// Native winform (.NET) control
protected Control Control - null;
}
[0037] The 'IXamlControl' interface exposes the control to the code behind file. An application developer can access properties of a control through this interface in the code behind assembly 225. The 'IBindable' interface is used by the 'Binder' component to set control properties which are bound to properties in a data source. The 'XamlControl' class receives the pseudo XAML metadata (XML) defining the control and then it instantiates the native .NET WINFORM control (depending upon type) and sets the control properties specified in the metadata for the control.
public XamlControl(XmlNode nodeXml, IControlParent parent, string type)
{
this. Control = CreateControl(type);
}
[0038] When the rendering engine 230 receives the pseudo XAML metadata defining a UI form it reads/parses the input XML and instantiates the wrapper classes for the controls passing in the metadata defining the control. According to one embodiment, the parsing is done in a depth first manner. Other methods may also be used. The wrapper class instantiates the native WINFORM (.NET) control and sets the control properties as defined in the metadata. A wrapper class for each control sets the control properties as specified in the metadata. The base 'XamlControl' class sets the properties which are common to every control (for e.g. Background, Foreground, Anchor, Font etc). The specific derived classes such as: 'XamlTextBox' handles the control (textbox) specific properties. If a particular control property is bound to a property in a data source, such as data source 250, then the wrapper class passes the control, property name and binding expression to the 'Binder,' which then gets the property value from the data source and then sets the specific control property through the 'IBindable' interface. The wrapper class for each control also subscribes to the control events (SubscribeToEventsQ) exposed by the pseudo XAML metadata. When an event on a control fires then the rendering engine 230 forwards the event to the event handler defined in the code behind assembly 225. The wrapper class also calls a 'GetChildControls()' method which instantiates the child controls for the control.
[0039] Event handlers 226 may be developed for control events occurring on the form. To handle a specific event on a control, the developer performs steps, including: developing a code behind assembly 225 which contains the event handler code; specifying the code behind assembly in the metadata; and specifying the event handler (method) name which handles a particular event for a control. According to one embodiment, to specify an event handler in the metadata for an event on a control the developer supplies the event handler method name present in the code behind assembly as the value of the attribute
corresponding to the event on the control. The metadata 210 specifies that the "Click" event for the Button control is handled by the method "ButtonClick" which is present as a public method in the code behind assembly. According to one embodiment, the signature for the event handler is same as what it would be for that event on that particular control in case of .NET WINFORMS environment. For example, the event handler for the click event on a Button would have the following signature: public void ButtonClick(object sender, System.EventArgs e) { }. According to one embodiment, this is the same signature as the original button control which provides for programmer understanding and consistency.
[0040] Rendering engine 230 loads the code behind assembly 225 when it parses the metadata 210 provided by interpreter 220 and instantiates the code behind class through reflection. The events that are exposed through the metadata on a control are subscribed to when that control is instantiated during parsing of the metadata. In one implementation the event handlers for control events bubble up the event to the "Page" level and then the event handler in the code behind assembly is called through reflection. More than one "code behind" assembly can be associated to a "page" or form. Providing more than one "code behind" assembly allows for multiple levels (multiple parties) of extensibility.
[0041] Data may also be bound to one or more of the controls (e.g. controls 241-243) from a backend data source 250. According to one embodiment, the binding expressions that bind data source 250 to one or more of the controls (e.g controls 241-243) are specified in the metadata. Each property of a control (i.e. controls 241-243) can be bound to data coming from a data source. Thus, the data source changes control properties that are associated with the controls when the data source 250 is changed. More than one data source may be bound. For example, control 1 (241) could be bound to one data source while control 2 (242) is bound to a different data source. According to one embodiment, there are two different types of data sources, including an object data source and an XML data source. An object data source is a .NET class residing in a .NET assembly which acts as a data source for controls on the UI. An XML Data Source acts as a source of XML data which is specified inline in the XAML metadata defining the UI.
[0042] According to one embodiment, an object data source can be specified in the metadata in the following manner: <xaml:ObjectDataSource Name="myDataSource" TypeName="DataSourceNamespace.DataSourceClass, DataSourceAssembly" /> The "DataSourceClass" implements the 'TBindData" and "INotifyPropertyChanged" interfaces. Exemplary embodiments of these interfaces are described below:
public interface IBindData
{
object GetData(string path); // gather data
bool SetData(string path, object val); // scatter data
}
[0043] In this embodiment, the "IBindData" interface allows to bind data between the data source and control properties (explained below) through the standard .NET event delegate model.
public interface INotifyPropertyChanged
{
event PropertyChangedEventHandler PropertyChanged;
}
public delegate void PropertyChangedEventHandler(object sender,
PropertyChangedEventArgs e);
public class PropertyChangedEventArgs : System.EventArgs
{
public virtual string PropertyName {get; }
}
[0044] The "INotifyPropertyChanged" interface allows the data source to signal any changes that happen on the data source so that the UI properties which are bound to that data source can be updated. The data source raises the "PropertyChanged" event whenever a property in the data source changes. The relevant properties on the UI are then updated whenever this event fires. Once the data sources are specified in the metadata then any property of a control can be bound to data coming from a data source.
[0045] To specify a binding for a control property the developer supplies a binding expression as the value of the attribute corresponding to that property. For example, to bind the "Text" property of a text box, the developer can specify a binding expression in the metadata 210 as follows: <xaml:TextBox Name="textBoxl" Top="40" Left="8"
Width- '200" Text=" {Binding Source=DataSourceName, Path=CustomerName,
Mode=TwoWay}" Anchor="Top,Left,Right" /> The expression Text =" {Binding
Source=DataSourceName, Path=CustomerName, Mode=TwoWay}" is a binding expression for the 'Text' property. The 'Source' clause refers to a data source defined in the metadata. This could be an Object data Source or XML Data Source. In case of Object Data Source the value of the 'Path' clause is passed to the data source's "GetData(string path)" method when retrieving the value for the bound property. For an XML Data source the 'Path' clause is an Xpath expression in this embodiment, which selects a particular node/attribute in the XML data whose value would be the bound to the control property. The 'Mode' clause indicates 'OneWay' or 'Two Way' binding. If the data flows from the data source to controls on the UI then the binding is 'OneWay' but if UI property changes are also propagated back to the data source then the binding is 'Two Way'. The
'UpdateSourceTrigger' is an enumeration which specifies when (what event) to signal the data source that a UI property has changed and the changed property value needs to be propagated to the data source. By default, in this embodiment, the value for this clause is 'PropertyChanged' which means that when a bound property changes then it is signaled to the data source. According to one embodiment, this only takes effect in case of 'Two Way' binding.
[0046] The TtemsSource' attribute of a List Control allows binding of the items in the list to a collection of objects coming from a data source. When the 'ItemsSource' property is bound then the data source returns a .NET collection implementing the
'System.Collections.IEnumerable' interface. The 'DisplayMemberPath' attribute of the List Control specfies the property of the .NET object(s) which form the collection whose value is used as the display text for the item in the list control. If the 'DisplayMemberPath' is null then the default 'ToStringO' method is called on the .NET object and the string returned is used as the display text. For example, suppose the data source returns a collection of 'Customer' obejcts which are shown in the list control then the 'Customer' object may have a 'Name' property whose value is to be used as the display text in the list control. In this case the 'DisplayMemberPath' is set to 'Name.' Similarly 'SelectedValuePath' is set to the property of the .NET object(s) forming the collection whose value is returned by the 'SelectedValue' property of the list control when a particular item is selected in the list control. For example, suppose that the 'Customer' object has a 'CustomerID' property whose value is returned by the 'SelectedValue' property when the 'SelectedValuePath' property of the list control is set to 'CustomerID.' If no 'SelectedValuePath' attribute is provided then the whole object ('Customer' obejct) is returned by the 'SelectedValue' property of the list control.
[0047] In case of a XML Data Source, the binding expression for 'ItemsSource' attribute of a list control returns a list of XML nodes. For example, assume that the following is an XML data source:
<XmlDataSource Name="BookData">
<Books xmlns="">
<Book ISBN="0-7356-0562-9" Stock="in">
<Title>XML in Action</Title>
<Sunimary>XML Web Technology</Summary>
</Book>
<Book ISBN="0-7356-1370-2" Stock="in">
<Title>Programming Microsoft Windows With C#</Title> <Summary>C# Programming using the .NET Framework</Summary> </Book>
<Book ISBN="0-7356-1288-9" Stock="out">
<Title>Inside C#</Title>
<Summary>C# Language Programming</Summary>
</Book>
<Book ISBN="0-7356-1377-X" Stock="in">
<Title>Introducing Microsoft .NET</Title>
<Summary>Overview of .NET Technology</Summary> </Book>
<Book ISBN="0-7356-1448-2" Stock="out">
<Title>Microsoft C# Language Specifications</Title>
<Summary>The C# language definition</Summary> </Book>
</Books>
</XmlDataSource>
[0048] The binding expression for the 'ItemsSource' property of a list which shows the list of books is: <ListBox ItemsSource=" {Binding Source=BookData,
Path=/Books/Book}" /> The 'Path' clause in the above binding expression is actually an Xpath expression which returns a list of nodes which are populated in the list control from the XML Data Source. The 'DisplayMemberPath' attribute of the list control should be an Xpath (in case of XmlDataSource) which selects the node/attribute whose value is to be used as the display text in the list control. For example, if the UI forms developer wants to display the 'Title' for each book in the list control, then the user's XML would look like: <ListBox ItemsSource^" {Binding Source=BookData, Path=/Books/Book}"
DisplayMemberPath="Title7> Similarly, the 'SelectedValuePath' attribute of the list control points to the node/attribute of the list item whose value is returned by the
'SelectedValue' attribute of the list.
[0049] For example, suppose that the UI forms developer wants to return the 'ISBN' value for a book in the 'SelectedValue' property of the list control when a particular book is selected in the list, then the 'SelectedValuePath' attribute may be an Xpath pointing to the 'ISBN' attribute of the book item.
[0050] <ListBox ItemsSource=" {Binding Source=BookData, Path=/Books/Book} " DisplayMemberPath="Title" SelectedValuePath="@ISBN7>
[0051] Controls utilizing data binding implement the TBindable' interface as illustrated below:
public interface IBindable
{
object GetBoundValue(string propName);
void SetBoundValue(string propName, object val);
}
[0052] When the UI form 240 is initially rendered then for every bound property the 'GetData(string path)' method of the relevant data source (specified in the binding expression) is called passing in the value of the 'Path' clause in the binding expression as an argument. This method returns a value of type 'object.' Next, the 'SetBoundValue(string propName, object value)' is called on the control whose property is bound passing in the name of the bound property and the 'value' returned by the data source. The control has the responsibility for understanding the 'value' object and interpreting it to update the bound property. Besides the initial rendering of the UI form whenever the data source changes the data source signals the binder of a change in data source (INotifyPropertyChanged). The binder finds out which control properties are bound to the changed data source and updates those properties. In the case of 'TwoWay' binding then whenever a bound UI property changes on the UI form then the binder is notified and the binder then propagates the changed property value back to the data source.
[0053] As discussed briefly above, the rendering engine 230 also provides a generic framework for hosting custom built controls. According to one embodiment, the framework supports custom .NET winform controls. According to one embodiment, any custom controls derive from the class: 'System.Windows.Forms.UserControl.' Each custom control has a default contractor and also implements the ICustomControl interface and the 'IBindable' interface so that it can participate in data binding. The following is an exemplary 'ICustomControl' interface:
public interface ICustomControl
{
void SetControlProperty(string propName, string prop Value);
event ControlEventFiredHandler ControlEventFired;
}
public delegate void ControlEventFiredHandler(object sender, ControlEventFiredArgs e);
public class ControlEventFiredArgs : System.EventArgs
{
public string EventName {get;}
public object Sender { get; }
public object Event Args {get;}
}
[0054] The 'SetControlProperty(string propName, string prop Value)' method is used by the rendering engine 230 to set custom properties for the control. For each custom property which the custom control exposes and which is not included in the basic properties of a control (e.g. Width, Height, Top, Left etc) the rendering engine 230 calls the
'SetControlProperty' method on the custom control and it is up to the custom control to understand and interpret the 'string' property value that is specified in the metadata which would be passed to the 'SetControlProperty' method.
[0055] The 'ControlEventFired' event is raised by the custom control when a custom event exposed by the control fires. This is to signal the rendering engine 230 that an event has fired on the custom control and the rendering engine needs to call the event handler (if any) for that event in the code behind assembly 225. The rendering engine 230 does not know at compile time what are the events (and event signatures) supported by the custom control. As such, the rendering engine 230 requires the custom control to notify it when a custom event fires on the custom control. The custom control creates an instance of the 'ControlEventFiredArgs' class and passes it to the 'ControlEventFired' event which is received by the rendering engine 230. The 'ControlEventFiredArgs' contains information about the name of the event which fired, sender and event arguments which need to be passed to the event handler for that event. Once the rendering engine 230 has this information it can call the event handler for that event specified in the code behind assembly 225.
[0056] According to one embodiment, the custom controls reside in a .NET assembly at run time. The custom control assembly in the metadata may be specified in the following way: <xaml:Mapping XmlNamespace="urn-Mendocino/CustomControls"
ClrNamespace="CustomControlNamespace" Assembly="CustomControlAssembly, Version=l .0.0.0, Culture=neutral, PubricKeyToken=nuH" /> The 'Mapping' element is a processing directive rather than an XML element. Other ways of specifying the custom control assembly may also be utilized.
[0057] A custom control can be specified in the metadata through the following exemplary metadata: <custom:CustomControl
Figure imgf000017_0001
Mendocino/CustomControls" Toρ="0" Left="0" Height="100" Width="100" .../> In this embodiment, the rendering engine 230 instantiates the custom control through reflection and first set the basic properties of a control like Height, Width, Top, Left, and the like and then for other properties (custom properties) the rendering engine 230 calls the
'SetControlPropertyO' method on the custom control.
[0058] A mechanism within the metadata schema allows the UI forms developer to access the UI controls and their properties in the code behind assembly. The code behind class implements the 'IPageCodeBehind' interface which is described below:
public interface JP ageCodeBehind {
string Name { get; set; }
IPageControlCollection PageControls { get; set; }
object Application { get; set; }
object Mediator {get; set; }
object ReturnValue { get; set; }
}
[0059] The 'PageControls' property is populated by the rendering engine 230 when it renders the UI form and instantiates the controls. The 'Application' property represents the host application (i.e. OUTLOOK) in which the UI forms are being rendered. According to one embodiment, the 'Mediator' property allows the code behind developer to execute IBF actions defined in metadata. 'ReturnValue' is a variable which can be set by the code behind developer which is passed back to the caller who renders the form. This is used in case of modal dialogs to pass back a value from the dialog to the caller.
[0060] The following is an exemplary 'IPageControlCollection' interface:
public interface IPageControlCollection : ICollection, Enumerable
{
IXamlControl this[string name] { get; }
}
[0061] The 'IXamlControl' interface exposes the properties for a control on the form, public interface IXamlControl
i <
// Properties...
string Name { get;set; }
int Top { get; set; }
int Left { get; set; }
Color Background { get;set; }
bool IsEnabled { get;set; }
int Height { get; set; }
int Width { get;set; }
// Other properties //...
} [0062] This allows the UI forms developer to access a control on the form in the following way: MessageBox.Show(this.PageControls["myButton"].Text); The
'IXamlControl' interface exposes the basic properties of a control that are common to every control. To access specific properties for a control (e.g. IsChecked for a CheckBox control) the developer can cast the 'IXamlControP object to the specific control interface, such as: 'IXamlCheckBox', ΥXamiTextBox', and the like.
((rXamlCheckBox)this.PageControls["myCheckBox"]).IsChecked
[0063] The following is an exemplary 'IXamlCheckBox' interface that derives from the 'rXamlContror interface:
public interface IXamlCheckBox : IXamlControl
{
// CheckBox specific properties...
Content Alignment TextAlignment {get; set;}
bool IsChecked {get; set;}
}
[0064] Similarly specific interfaces for the controls are exposed which allow the UI forms developer to access control specific properties.
[0065] According to one embodiment, the rendering engine 230 generates the same .NET control from the metadata describing the UI form irrespective of whether the UI form is hosted in an IBF task pane, an OUTLOOK custom form or a dialog. The following scenarios provide example of how the .NET control may be hosted.
[0066] According to one embodiment, the IBF task pane supports hosting any .NET control which implements the 'IRegion' interface. The rendering framework contains a blank (empty) .NET control which implements the 'IRegion' interface and which hosts the .NET control generated by the UI rendering engine from the UI metadata. To display a metadata defined UI form in the IBF task pane the 'MSIBF.UI.ShowRegion' custom operation is used which displays the blank .NET host control part of the UI rendering framework. The input passed to this 'MSIBF.UI.ShowRegion' operation is the metadata defining the UI form which is to be hosted in the EBF task pane. The
MSIBF.UI.ShowRegion' operation instantiates the blank host .NET control and passes the metadata defining the UI form as 'Data' to the blank host .NET control. The host control calls the rendering engine 230 passing in the metadata defining the UI form and which returns a .NET control describing the UI form and which is then added to the host control resulting in the display of the UI form in the IBF task pane.
[0067] According to another embodiment, to host a .NET control describing a UI form in an OUTLOOK an ActiveX container control capable of hosting .NET controls is added to the OUTLOOK form and then the .NET control is added describing the UI form as a child control of the container control. The ActiveX container control is a part of the UI
Rendering framework. According to one embodiment, Forms 2.0 hosts the ActiveX containter which hosts the .NET WinForms control described by metdata.
[0068] Metadata defined forms may also be created in modal .NET Wϊnform dialogs. In this embodiment, program code, such as that contained within an addin calls the rendering engine 230 passing in the XAML metadata defining a form and the rendering engine 230 passes back the .NET control generated from the XAML metadata which can then be hosted either in the IBF task pane, OUTLOOK Custom Form or a dialog. The addin instantiates an instance of the 'RenderEngine' class which implements the
'IRenderEngine' interface:
public interface IRenderEngine
{
IXamlPage CreateXamlForm(XmlNode pageXml);
}
[0069] The caller can call the 'CreateXamlForm' method passing in the XAML metadata describing the form. The rendering engine 230 instantiates the necessary controls and pass back an object ('IXamlPage') which represents the 'xamF form,
public interface IXamlPage
{
string Name { get; }
Control NativeControl { get; }
IPageControlCollection Controls { get; }
object ReturnValue { get; }
}
[0070] In this embodiment, the 'NativeControl' property above represents the .NET control describing the metadata UI form which can be hosted either in the IBF task pane, OUTLOOK custom form or a dialog. The 'ReturnValue' property is a variable which can be set from the code behind file and would be used to return a value from a modal dialog. [0071] FIGURES 3 A and 3B show an example UI form that is described by a metadata file. Referring to FIGURE 3A, UI form 300 includes label 305, page 310, panel 315, text box 320, check box 325, link 330, button 335, list box 340 and radio button list 345.
[0072] FIGURE 3B shows an exemplary UI metadata file 360 that may be used to define the UI form 300 as illustrated in FIGURE 3 A. The example UI metadata file 360 illustrates that the properties of a control are specified by the attributes of the corresponding XML node. According to one embodiment, most properties have a default value and do not need to be specifically specified. As illustrated in FIGURE 3B, indicator 362 shows the description of the panel 310; indicator 364 shows the description of the label 305; indicator 366 shows the description of textbox 320; indicator 368 shows the description of checkbox 325; indicator 370 shows the description of button 335; indicator 372 shows the description of link 330; indicator 374 shows the description of the list box 340 and indicator 376 shows the description of the radio button list 345.
[0073] FIGURE 4 illustrates a process for using metadata to describe a UI form. After a start operation, the process moves to operation 410 where the metadata file is defined. As discussed above, the metadata within the file describes the UI and includes information on the controls, the data binding, and other relevant information relating to the user interface.
[0074] Moving to operation 420, the metadata file is stored. According to one embodiment, the metadata file is stored on a computer-readable medium, such as a hard drive. The metadata file may be stored locally and/or remotely from the computing device displaying the related UI.
[0075] Transitioning to operation 430, the metadata file is accessed. According to one embodiment, the metadata file is accessed by a rendering engine. Alternatively, as discussed above, an interpreter may be used to access the metadata file.
[0076] Flowing to operation 440, zero or more data sources may be bound to one or more of the controls defined for the UI through the metadata.
[0077] Moving to operation 450, the metadata is interpreted and then rendered to display the UI. Each control of the UI form is rendered on the UI (see FIGURE 5 and related discussion).
[0078] The process then moves to an end operation and returns to processing other actions. [0079] FIGURE 5 show a process for rendering a UI form with associated metadata.
After a start operation, the process moves to operation 510 where a control is instantiated. The control is instantiated based on the type of control (i.e. label, text box, and the like).
[0080] Flowing to operation 520, the base properties of the control are set. For example, the properties such as the top, left, height, width, and the like are set.
[0081] Moving to operation 530 the control properties are set. The control properties that are set depend on the type of control.
[0082] Next, at operation 540, the control events that are specified within the metadata are subscribed to. Flowing to operation 550 any child controls for the control are instantiated. The process then moves to an end operation and returns to processing other actions.
[0083] The following is an exemplary schema which may be used for defining a UI form using metadata.
[0084] <?xml version="1.0" encoding="utf-8" ?>
<xs : schema targetNamespace="urn-Mendocino/xaml"
elementFormDefault="qualified"
xmlns :xaml="urn-Mendocino/xaml"
xmlns:xs- 'http://www.w3.org/2001/XMLSchema"
<xs:complexType name="ControlType">
<xs:attributeGroup ref="xaml:ControlTypeAttributes" />
</xs:complexType>
<xs:complexType name="ParentControlType">
<xs :complexContent>
<xs:extensionbase="xaml:ControlType">
<xs:sequence>
<xs:element
Figure imgf000022_0001
minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs : extension>
</xs : complexContent>
</xs : complexType>
<xs:complexType name- TageType">
<xs:complexContent> <xs:extension base="xaml:ParentControlType">
<xs:sequence>
<xs:element ref="xaml:ObjectDataSource" minOccurs="0" maxOccurs="unbounded" />
<xs:element ref="xaml:XmlDataSource" minOccurs="0" maxOccurs- 'unbounded" />
</xs:sequence>
<!-- Events «>
<xs:attribute name="Load" type="xs:string" use="optional" /> <!-- Code Behind Assembly— >
<xs:attribute name=" Assembly" type="xs:string" use="optional" /> <xs:attribute name="TypeName" type="xs:string" use="optional" /> </xs:extension>
</xs : complexContent>
</xs:complexType>
<xs:complexType name="ObjectDataSourceType">
<xs:attribute name="Name" type- 'xs: string" use="required" />
<!-- Data source class ~>
<xs:attribute name="TypeName" type="xs:string" use="optional" />
<xs:attribute name="Parameters" type="xs: string" use="optional" /> </xs : complexType>
<!-- Inline XML data source— >
<xs:complexType name="XmlDataSourceType">
<xs:sequence>
<xs:any processContents="skip" />
</xs:sequence>
<xs:attribute name="Name" type="xs:string" user="required" /> </xs:complexType>
<xs:complexType name="PanelType"> <xs : complexContent>
<xs:extensionbase="xaml:ParentControlType">
</xs:extension>
</xs : complexContent>
</xs : complexTyp e>
<xs:complexType name="LabelType">
<xs :complexContent>
<xs:extensionbase="xaml:ControlType">
<xs: attribute name="TextAlignment" type="xs:string" use="optional" />
</xs:extension>
</xs:complexContent>
</xs : complexTyp e>
<xs:complexType name="TextBoxType">
<xs :complexContent>
<xs : extension base="xaml : ControlType">
<xs:attribute name="TextAlignment" type="xs:string" use="optional" /> <xs:attribute name="MaxLength" type="xs: string" use- Optional" /> <xs:attribute name="MinLines" type="xs:string" use="optional" /> <xs:attribute name="Wrap" type="xs:string" use=" optional" />
</xs : extension>
</xs : complexContent>
</xs:complexType>
<xs:complexType name="ButtonType">
<xs : complexContent>
<xs:extension base="xaml:ControlType">
<xs:attribute name="TextAlignment" type="xs: string" use="oρtional" />
</xs:extension>
</xs : complexContent>
</xs:complexType> <xs:complexType name="LinkLabelType">
<xs :complexContent>
<xs:extensionbase="xaml:ControlType">
<xs:attribute name="TextAlignment" type="xs:string" use="optional" /> <xs:attribute name="LinkBehavior" type="xs:string" use="optional" />
</xs:extension>
</xs : complexContent>
</xs : complexType>
<xs:complexType name="ImageType">
<xs : complexContent>
<xs:extension base="xaml:ControlType">
<xs: attribute name="Source" type="xs: string" use="required" /> </xs:extension>
</xs : complexContent>
</xs : complexTyp e>
<xs:complexType name="CheckBoxType">
<xs : complexContent>
<xs:extension base="xaml:ControlType">
<xs:attribute name="TextAlignment" type="xs:string" use="optional" /> <xs:attribute name="IsChecked" type="xs: string" use="optional" /
<!- Events ->
<xs:attribute name- 'IsCheckedChanged" type^'xs: string" use="optional" />
</xs:extension>
</xs : complexContent>
</xs : complexTyp e>
<! - List Control Type -->
<xs:complexType name="ListControlType">
<xs : complexContent>
<xs:extensionbase="xaml:ControlType"> <xs:attribute name^'OisplayMemberPath" type="xs:string" use="optional" /> <xs: attribute name- 'SelectedValuePath" type- 'xs:string" use- Optional" />
<xs:attribute name="SelectedValue" type="xs:string" use="optional" />
<xs:attribute name="ItemsSource" type="xs: string" use- Optional" />
<xs:attribute name="SelectedIndex" type="xs:string" use="oρtional" />
<!- Events ~>
<xs:attribute name="SelectionChanged" type="xs:string" use="optional" /> <!-
<xs:sequence>
<xs:element ref="xaml:ListControlItem" minOccurs="0" maxθccurs="unbounded" />
</xs:sequence>
~>
</xs:ektension>
</xs:complexContent>
</xs : complexType>
<!— <xs : element name="ListControl" type="xaml:ListControlType" abstract="true"
<xs:simpleTypename="ListControlItemType">
<xs:restriction base="xs:string">
</xs:restriction>
</xs:simpleType>
<xs:element name=:"ListControlItem" type="xaml:ListControlItemType" abstract="trae" />
<xs:element name="ListBoxItem" type="xaml:ListControlItemType"
substitutionGroup="xaml:ListControlItem" />
<xs:element name="ComboBoxItem" type="xaml:ListControlItemType" substitutionGroup="xaml:ListControlItem" /> <xs:element name="RadioButton" type="xaml:ListControlItemType"
substitutionGroup="xaml:ListControlItem" />
<xs:complexType name="ListBoxType">
<xs : complexContent>
<xs : extension base="xaml :ListControlType">
<xs:sequence>
<xs : element ref="xaml : ListBoxItem" minOccurs="0" maxθccurs="unbounded" />
</xs:sequence>
<xs:attribute name="SelectionMode" type="xs:string" use="optional" />
</xs:extension>
</xs:complexContent>
</xs : complexType>
<xs:complexType name="ComboBoxType">
<xs :complexContent>
<xs:extensionbase="xaml:ListControlType">
<xs:sequence>
<xs:element ref="xaml:ComboBoxItem" minOccurs="0" maxθccurs="unbounded" />
</xs:sequence>
<xs:attribute name="DropDownStyle" type="xs:string" use="optional" />
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="RadioButtonListType">
<xs:complexContent>
<xs : extension base="xaml :ListControlType">
<xs:sequence> <xs:element ref="xaml:RadioButton" minOccurs="0" maxOccurs^'unbounded" />
</xs:sequence>
</xs:extension>
</xs : complexContent>
</xs:comρlexType>
<!- UI Elements -->
<xs:element name="Control" type="xaml:ControlType" abstract="true" />
<xs:element name="Page" type="xaml:PageType"
substitutionGroup="xaml:Control" />
<xs:element name="ObjectDataSource" type- 'xaml:ObjectDataSourceType" />
<xs:element name:="XmlDataSource" type="xaml:XmlDataSourceType" />
<xs:element name^'Tanel" type="xaml:PanelType"
substitutionGroup="xaml:Control" />
<xs:element name="ListBox" type="xaml:ListBoxTyρe"
substitutionGroup=:"xaml:Controrι />
<xs:element name="ComboBox" type="xaml:CoiriboBoxType"
substitutionGroup="xaml : Control" />
<xs : element name="RadioButtonList" type=:"xaml:RadioButtonListType" substitutionGroup="xaml:Control" />
<xs:element name="Label" type="xaml:LabelType"
substitutionGroup="xaml:Control" />
<xs:element name="TextBox" type="xaml:TextBoxType"
substitutionGroup:="xaml:Control" />
<xs: element name="Button" type="xaml:ButtonType"
substitutionGroup="xaml:Control" />
<xs:element name="CheckBox" type="xaml:CheckBoxType"
substitutionGroup="xaml:Control" /> <xs:element nanie="Im.age" type="xaml:ImageTyρe"
substitutionGroup="xaml:Control" />
<xs:element
Figure imgf000029_0001
type="xaml:LinkLabelType"
substitutionGroup="xarnl:Contror />
<!-- Control attributes— >
<!-- Since all attribute values could actually be binding expressions therefore the type for each attributeis xs:string -->
<xs:attributeGroup name="ControlTypeAttributes">
<!-- Properties -->
<!-- Top and Left can be made required attributes but it's ok to
have them as optional -->
<xs:attribute name="Toρ" tyρe="xs:string" default="O" use="oρtional" /> <xs:attribute name="Left" type="xs: string" default="O" use="oρtional" /> <xs:attribute name="Width" type="xs:string" use="optional" />
<xs:attribute name="Height" type- 'xs: string" use="optional" />
<xs: attribute name=" Anchor" type- 'xs: string" use="optional" />
<!— Here we could have specfied an enumeration of Anchor values but since this could also be a binding expression we have to leave it as a simple string— >
<xs:attribute name=:"Background" type- 'xs:string" use="optional" /> <xs:attribute name="Foreground" type="xs:string" use=" optional" /> .
<xs:attribute name="FontFamily" type="xs:string" use=" optional" />
<xs:attribute name- 'FontSize" type="xs:string" use="optional" /> <xs:attribute name="FontStyle" type="xs:string" use="optional" />
<xs:attribute
Figure imgf000029_0002
use="required" /> <xs:attribute name="Tag" type="xs:string" use="optional" />
<xs:attribute name="Tabmdex" type="xs:string" use=" optional" />
<xs:attribute name="IsEnabled"
Figure imgf000029_0003
optional" /> <xs:attribute name- 'Visibility" type="xs: string" use- Optional" />
<xs:attribute name- ToolTip" type="xs:string" use="optional" /> <xs:attribute name- 'Text" type="xs:string" use="optional" />
<!-- Events -->
<xs:attribute name="Click" type="xs: string" use="optional" />
<xs: attribute name- 'GotFocus" type="xs: string" use="optional" /> <xs:attribute name^'LostFocus" type- 'xs: string" use=" optional" /> <xs:attribute name- 'KeyUp" type="xs:string" use^'Optional" /> <xs:attribute name="KeyDown"
Figure imgf000030_0001
/> <xs:attribute name-'MouseUp" type="xs: string" use="optional" /> <xs:attribute name="MouseDown"
Figure imgf000030_0002
use="optional" /> <xs:attribute name="TextChanged" type^'xs: string" use="optional"/> </xs : attributeGroup>
</xs:schema>
[0085] The above specification, examples and data provide a complete description of the manufacture and use of the composition of the invention. Since many embodiments of the invention can be made without departing from the spirit and scope of the invention, the invention resides in the claims hereinafter appended.

Claims

WHAT IS CLAIMED IS:
1. A computer-readable medium having computer executable instructions for creating a metadata driven user interface, comprising:
accessing metadata that is used in defining a user interface, wherein the metadata defines controls within the user interface and wherein the metadata supports binding data to one or more controls of the user interface; and
rendering the user interface according to the metadata.
2. The computer-readable medium of Claim 1 , further comprising providing a metadata schema that includes mechanisms to: create the controls within the user interface; programmatically modify the controls and support event handling for the controls.
3. The computer-readable medium of Claim 2, further comprising creating the metadata for the user interface according to the metadata schema and storing the metadata in a file.
4. The computer-readable medium of Claim 3, wherein the metadata defines properties that are associated with the controls within the user interface and defines a layout of the controls within the user interface.
5. The computer-readable medium of Claim 2, wherein the metadata schema provides the ability to define custom controls and include standard controls within the user interface.
6. The computer-readable medium of Claim 2, wherein programmatically modifying the controls comprises providing access to a code-behind assembly.
7. The computer-readable medium of Claim 6, wherein the code-behind assembly is specified in the metadata.
8. The computer-readable medium of Claim 6, further comprising exposing an object model that is configured to allow properties of the controls to be read and modified.
9. The computer-readable medium of Claim 5, wherein binding data to one or more of the controls of the user interface comprises specifying a binding expression in the metadata.
10. The computer-readable medium of Claim 9, wherein specifying the binding expression comprises specifying a data source that is associated with at least one control of the user interface.
11. The computer-readable medium of Claim 10, wherein the data source comprises at least one of an object data source and an XML data source.
12. The computer-readable medium of Claim 10, wherein the metadata schema is an XML schema and provides a text box type; a button type; a link type; an image type; a check box type; a list control type; and a radio list type.
13. A method for creating a user interface using metadata, comprising: accessing metadata that defines controls for a user interface; wherein the metadata is created according to a metadata schema;
binding a data source to at least one of the controls within the user interface; wherein the data source maybe selected from an object data source and an XML data source; and
rendering the user interface according to the metadata.
14. The method of Claim 13, further comprising using the metadata schema for programmatically modifying the controls and supporting event handling for the controls.
15. The method of Claim 14, further comprising providing a wrapper class to wrap the controls of the user interface.
16. The method of Claim 15, wherein the wrapper class wraps a native .NET control.
17. The method of Claim 14, wherein rendering the user interface according to the metadata comprises setting control properties as specified in the metadata for each control.
18. The method of Claim 17, further comprising developing a code behind assembly which contains event handler code; specifying the code behind assembly in the metadata; and specifying an event handler that handles a particular event for a control.
19. An apparatus for rendering a user interface using metadata, comprising: a processor and a computer-readable medium;
an operating environment stored on the computer-readable medium and executing on the processor;
a data store that is configured to store a metadata file that specifies controls within a user interface and wherein the metadata includes binding expressions that are used to bind data to one or more controls of the user interface; and
a rendering engine comprising functionality that is configured to interpret the metadata and render the user interface according to the metadata.
20. The apparatus of Claim 19, wherein the metadata is created according to a metadata schema that includes mechanisms to: create the controls within the user interface; programmatically modify the controls and support event handling for the controls.
PCT/US2006/046464 2005-12-05 2006-12-05 Metadata driven user interface WO2007067578A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN2006800455212A CN101322096B (en) 2005-12-05 2006-12-05 Metadata driven user interface
KR1020087010883A KR101331260B1 (en) 2005-12-05 2006-12-05 Metadata driven user interface

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
US74224005P 2005-12-05 2005-12-05
US60/742,240 2005-12-05
US11/418,829 2006-05-05
US11/418,829 US8095565B2 (en) 2005-12-05 2006-05-05 Metadata driven user interface

Publications (1)

Publication Number Publication Date
WO2007067578A1 true WO2007067578A1 (en) 2007-06-14

Family

ID=38120015

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US2006/046464 WO2007067578A1 (en) 2005-12-05 2006-12-05 Metadata driven user interface

Country Status (4)

Country Link
US (1) US8095565B2 (en)
KR (1) KR101331260B1 (en)
CN (1) CN101322096B (en)
WO (1) WO2007067578A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102081361A (en) * 2010-11-29 2011-06-01 广东威创视讯科技股份有限公司 Hardware equipment control method and system
CN111752563A (en) * 2020-05-18 2020-10-09 深圳市东微智能科技股份有限公司 Method, device, terminal and computer readable storage medium for dynamically modifying interface

Families Citing this family (85)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2451164C (en) 2003-09-11 2016-08-30 Teamplate Inc. Customizable components
CA2443454A1 (en) * 2003-09-11 2005-03-11 Teamplate Inc. Data binding method in workflow system
WO2007134265A2 (en) 2006-05-12 2007-11-22 Captaris, Inc. Workflow data binding
US7987443B2 (en) * 2006-10-30 2011-07-26 Hewlett-Packard Development Company, L.P. Declarative association of dialog fields
US8839232B2 (en) * 2007-02-23 2014-09-16 Sugarcrm Inc. Customer relationship management portal system and method
US8316309B2 (en) * 2007-05-31 2012-11-20 International Business Machines Corporation User-created metadata for managing interface resources on a user interface
WO2008156640A2 (en) * 2007-06-12 2008-12-24 Smartmicros Usa, Llc A method and apparatus for encoding data
US20080313210A1 (en) * 2007-06-15 2008-12-18 Microsoft Corporation Content Publishing Customized to Capabilities of Device
US20090037829A1 (en) * 2007-08-01 2009-02-05 Microsoft Corporation Framework to integrate web services with on-premise software
US8560938B2 (en) * 2008-02-12 2013-10-15 Oracle International Corporation Multi-layer XML customization
US8281287B2 (en) * 2007-11-12 2012-10-02 Finocchio Mark J Compact, portable, and efficient representation of a user interface control tree
US20090199112A1 (en) * 2008-02-04 2009-08-06 Deserranno Allen Simplified opc to wpf xaml binding method
US8538998B2 (en) * 2008-02-12 2013-09-17 Oracle International Corporation Caching and memory optimizations for multi-layer XML customization
US8788542B2 (en) * 2008-02-12 2014-07-22 Oracle International Corporation Customization syntax for multi-layer XML customization
US8875306B2 (en) * 2008-02-12 2014-10-28 Oracle International Corporation Customization restrictions for multi-layer XML customization
US8966465B2 (en) * 2008-02-12 2015-02-24 Oracle International Corporation Customization creation and update for multi-layer XML customization
US8229976B2 (en) * 2008-03-27 2012-07-24 Microsoft Corporation Data binding for XML schemas
US8782604B2 (en) * 2008-04-11 2014-07-15 Oracle International Corporation Sandbox support for metadata in running applications
US8082494B2 (en) 2008-04-18 2011-12-20 Microsoft Corporation Rendering markup language macro data for display in a graphical user interface
US9164737B2 (en) * 2008-05-16 2015-10-20 Microsoft Technology Licensing, Llc Augmenting programming languages with a type system
US8667031B2 (en) * 2008-06-13 2014-03-04 Oracle International Corporation Reuse of shared metadata across applications via URL protocol
US9298684B2 (en) * 2008-06-18 2016-03-29 Microsoft Technology Licensing, Llc Implementing custom user interface forms in a personal information manager
KR101502096B1 (en) 2008-07-22 2015-03-12 삼성전자 주식회사 Control method of air conditioner
US8209355B2 (en) * 2008-07-28 2012-06-26 Microsoft Corporation Automatic user interface generation for entity interaction
US8799319B2 (en) 2008-09-19 2014-08-05 Oracle International Corporation System and method for meta-data driven, semi-automated generation of web services based on existing applications
US8996658B2 (en) * 2008-09-03 2015-03-31 Oracle International Corporation System and method for integration of browser-based thin client applications within desktop rich client architecture
US9122520B2 (en) * 2008-09-17 2015-09-01 Oracle International Corporation Generic wait service: pausing a BPEL process
US8332654B2 (en) * 2008-12-08 2012-12-11 Oracle International Corporation Secure framework for invoking server-side APIs using AJAX
GB2458755A (en) * 2009-02-24 2009-10-07 Promethean Ltd Creating a document using a software application by associating content with a state of the software application
US9727320B2 (en) * 2009-02-25 2017-08-08 Red Hat, Inc. Configuration of provisioning servers in virtualized systems
US9529648B2 (en) * 2009-06-26 2016-12-27 International Business Machines Corporation Generic declaration of bindings between events and event handlers regardless of runtime structure
US8595236B2 (en) * 2009-11-05 2013-11-26 International Business Machines Corporation Searching existing user interfaces to enable design, development and provisioning of user interfaces
US8856737B2 (en) * 2009-11-18 2014-10-07 Oracle International Corporation Techniques for displaying customizations for composite applications
US20110138335A1 (en) * 2009-12-08 2011-06-09 Sybase, Inc. Thin analytics for enterprise mobile users
AU2010337218B2 (en) * 2009-12-14 2015-09-24 Ab Initio Technology Llc Specifying user interface elements
CN102118652A (en) * 2009-12-31 2011-07-06 康佳集团股份有限公司 Method, device and system for switching element positions in network television interface
US20110185294A1 (en) * 2010-01-22 2011-07-28 Microsoft Corporation Pattern-based user interfaces
US20110246913A1 (en) * 2010-03-30 2011-10-06 Microsoft Corporation Automated User Interface Generator
US9513882B2 (en) 2010-04-15 2016-12-06 Microsoft Technology Licensing, Llc Platform independent presentation composition
EP3734449B1 (en) 2010-06-18 2023-07-12 Sweetlabs, Inc. Systems and methods for integration of an application runtime environment into a user computing environment
CN101976194A (en) 2010-10-29 2011-02-16 中兴通讯股份有限公司 Method and device for setting user interface
US8793706B2 (en) * 2010-12-16 2014-07-29 Microsoft Corporation Metadata-based eventing supporting operations on data
US8994985B2 (en) 2011-01-20 2015-03-31 Canon Kabushiki Kaisha Systems and methods for updating printing device capabilities
US9141314B2 (en) 2011-01-20 2015-09-22 Canon Kabushiki Kaisha Systems and methods for updating a user interface for a printing device
US9013510B2 (en) * 2011-07-29 2015-04-21 Google Inc. Systems and methods for rendering user interface elements in accordance with a device type
US8954942B2 (en) 2011-09-30 2015-02-10 Oracle International Corporation Optimizations using a BPEL compiler
CA2792188A1 (en) * 2011-10-18 2013-04-18 Research In Motion Limited Method of animating a rearrangement of ui elements on a display screen of an electronic device
CN102571934A (en) * 2011-12-22 2012-07-11 深圳华强电子交易网络有限公司 WEB page data binding method
US9031922B2 (en) 2012-05-02 2015-05-12 Microsoft Technology Licensing, Llc Code regeneration determination from selected metadata fingerprints
US8775925B2 (en) * 2012-08-28 2014-07-08 Sweetlabs, Inc. Systems and methods for hosted applications
CN103019693A (en) * 2012-11-21 2013-04-03 用友软件股份有限公司 System and method for generating user interface
CN103092625B (en) * 2013-01-28 2016-01-20 中国航空结算有限责任公司 A kind of method and apparatus of the process civil aviation passenger transport passenger ticket ticket data based on .NET Framework platform
US10296562B2 (en) 2013-02-12 2019-05-21 Oath Inc. Dynamic generation of mobile web experience
CN104007907B (en) * 2013-02-26 2018-08-10 北京三星通信技术研究有限公司 A kind of method and intelligent terminal carrying out prompt operation to application program
US9116766B2 (en) 2013-07-31 2015-08-25 Sap Se Extensible applications using a mobile application framework
US10254931B2 (en) * 2013-09-20 2019-04-09 Sap Se Metadata-driven list user interface component builder
KR102146557B1 (en) * 2013-11-06 2020-08-21 삼성전자주식회사 Method and apparatus for rendering data of web application and recording medium thereof
US9772755B2 (en) * 2013-11-15 2017-09-26 Microsoft Technology Licensing, Llc Remote control for displaying application data on dissimilar screens
US20150248227A1 (en) * 2014-03-03 2015-09-03 Microsoft Technology Licensing, Llc Configurable reusable controls
US9857947B2 (en) * 2014-03-03 2018-01-02 Microsoft Technology Licensing, Llc Metadata driven dialogs
US20150347352A1 (en) * 2014-06-02 2015-12-03 Microsoft Technology Licensing, Llc Form preview in a development environment
US9729606B2 (en) 2014-09-10 2017-08-08 Benefitfocus.Com, Inc. Systems and methods for a metadata driven user interface framework
US20160259840A1 (en) * 2014-10-16 2016-09-08 Yahoo! Inc. Personalizing user interface (ui) elements
US9996230B2 (en) * 2014-11-13 2018-06-12 Microsoft Technology Licensing, Llc Using sections for customization of applications across platforms
US10152558B2 (en) * 2014-12-23 2018-12-11 Intel Corporation Graph operations
US10579354B2 (en) * 2015-03-10 2020-03-03 Kordata, Llc Method and system for rapid deployment and execution of customized functionality across multiple distinct platforms
US10909186B2 (en) 2015-09-30 2021-02-02 Oracle International Corporation Multi-tenant customizable composites
US11238220B1 (en) 2015-11-13 2022-02-01 Wells Fargo Bank, N.A. Dynamic user interface framework
GB201522914D0 (en) * 2015-12-24 2016-02-10 Atom Bank Plc Update method
CN105824625B (en) * 2016-03-14 2019-07-23 北京中电普华信息技术有限公司 A kind of service application constructing apparatus and method based on cloud environment
US10921952B2 (en) * 2016-05-11 2021-02-16 Sap Se Dynamic button with visual indication of application action result
KR102588633B1 (en) * 2016-12-14 2023-10-12 현대오토에버 주식회사 Screen mirroring apparatus and method
WO2018222171A1 (en) 2017-05-30 2018-12-06 Visa International Service Association System, method, and computer program product for maintaining transaction integrity over public networks
US11501201B2 (en) * 2017-07-17 2022-11-15 MetiStream, Inc. Systems, methods, and apparatuses for training, storage, and interaction with machine learning models
US11423083B2 (en) 2017-10-27 2022-08-23 Ab Initio Technology Llc Transforming a specification into a persistent computer program
CN108549570B (en) * 2018-04-28 2021-10-26 北京小米移动软件有限公司 User interface updating method and device
US10795698B2 (en) 2018-07-24 2020-10-06 Microsoft Technology Licensing, Llc User interface based on metadata
CN109582647B (en) * 2018-11-21 2022-09-30 珠海市新德汇信息技术有限公司 Unstructured evidence file oriented analysis method and system
US10725798B2 (en) 2018-12-05 2020-07-28 Visa International Service Association Method, system, and computer program product for dynamic development of an application programming interface
CN110569025B (en) * 2019-08-26 2020-09-22 珠海格力电器股份有限公司 Variable processing method and device, readable storage medium and electronic equipment
US11403079B2 (en) * 2020-01-28 2022-08-02 Salesforce, Inc. Integrated system for designing a user interface
US11397567B2 (en) 2020-01-28 2022-07-26 Salesforce, Inc. Integrated system for designing a user interface
US10963272B1 (en) * 2020-07-09 2021-03-30 Coupang Corp. Systems and methods for deploying low-application-impact user interfaces
CN113687881A (en) * 2021-08-20 2021-11-23 广东电网有限责任公司 Metadata calling method and device, electronic equipment and storage medium
KR102579484B1 (en) * 2021-09-07 2023-09-15 네이버 주식회사 Method and system for providing wysiwyg editor

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6158044A (en) * 1997-05-21 2000-12-05 Epropose, Inc. Proposal based architecture system
US20040230572A1 (en) * 2001-06-22 2004-11-18 Nosa Omoigui System and method for semantic knowledge retrieval, management, capture, sharing, discovery, delivery and presentation
US20050091576A1 (en) * 2003-10-24 2005-04-28 Microsoft Corporation Programming interface for a computer platform
US6961900B1 (en) * 2000-08-28 2005-11-01 Microsoft Corporation Rendering data according to a present schema from an origin response message

Family Cites Families (95)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5257577A (en) 1991-04-01 1993-11-02 Clark Melvin D Apparatus for assist in recycling of refuse
US5606609A (en) 1994-09-19 1997-02-25 Scientific-Atlanta Electronic document verification system and method
US5594660A (en) 1994-09-30 1997-01-14 Cirrus Logic, Inc. Programmable audio-video synchronization method and apparatus for multimedia systems
US5642502A (en) 1994-12-06 1997-06-24 University Of Central Florida Method and system for searching for relevant documents from a text database collection, using statistical ranking, relevancy feedback and small pieces of text
US5933851A (en) 1995-09-29 1999-08-03 Sony Corporation Time-stamp and hash-based file modification monitor with multi-user notification and method thereof
US5974455A (en) * 1995-12-13 1999-10-26 Digital Equipment Corporation System for adding new entry to web page table upon receiving web page including link to another web page not having corresponding entry in web page table
US5745890A (en) * 1996-08-09 1998-04-28 Digital Equipment Corporation Sequential searching of a database index using constraints on word-location pairs
JP4025379B2 (en) 1996-09-17 2007-12-19 株式会社ニューズウオッチ Search system
US6285999B1 (en) * 1997-01-10 2001-09-04 The Board Of Trustees Of The Leland Stanford Junior University Method for node ranking in a linked database
US5960383A (en) * 1997-02-25 1999-09-28 Digital Equipment Corporation Extraction of key sections from texts using automatic indexing techniques
US5848404A (en) 1997-03-24 1998-12-08 International Business Machines Corporation Fast query search in large dimension database
US6256675B1 (en) * 1997-05-06 2001-07-03 At&T Corp. System and method for allocating requests for objects and managing replicas of objects on a network
US6012053A (en) * 1997-06-23 2000-01-04 Lycos, Inc. Computer system with user-controlled relevance ranking of search results
JPH1125119A (en) 1997-06-30 1999-01-29 Canon Inc Hypertext reference system
US6070191A (en) * 1997-10-17 2000-05-30 Lucent Technologies Inc. Data distribution techniques for load-balanced fault-tolerant web access
US6351467B1 (en) * 1997-10-27 2002-02-26 Hughes Electronics Corporation System and method for multicasting multimedia content
US6128701A (en) * 1997-10-28 2000-10-03 Cache Flow, Inc. Adaptive and predictive cache refresh policy
US6594682B2 (en) * 1997-10-28 2003-07-15 Microsoft Corporation Client-side system for scheduling delivery of web content and locally managing the web content
US6389436B1 (en) * 1997-12-15 2002-05-14 International Business Machines Corporation Enhanced hypertext categorization using hyperlinks
US6145003A (en) * 1997-12-17 2000-11-07 Microsoft Corporation Method of web crawling utilizing address mapping
US6185558B1 (en) * 1998-03-03 2001-02-06 Amazon.Com, Inc. Identifying the items most relevant to a current query based on items selected in connection with similar queries
US6125361A (en) * 1998-04-10 2000-09-26 International Business Machines Corporation Feature diffusion across hyperlinks
US6151595A (en) 1998-04-17 2000-11-21 Xerox Corporation Methods for interactive visualization of spreading activation using time tubes and disk trees
JPH11328191A (en) 1998-05-13 1999-11-30 Nec Corp Www robot retrieving system
US6098064A (en) * 1998-05-22 2000-08-01 Xerox Corporation Prefetching and caching documents according to probability ranked need S list
US6182085B1 (en) * 1998-05-28 2001-01-30 International Business Machines Corporation Collaborative team crawling:Large scale information gathering over the internet
WO1999064964A1 (en) * 1998-06-08 1999-12-16 Kaufman Consulting Services Ltd. Method and system for retrieving relevant documents from a database
US6638314B1 (en) * 1998-06-26 2003-10-28 Microsoft Corporation Method of web crawling utilizing crawl numbers
US6549897B1 (en) * 1998-10-09 2003-04-15 Microsoft Corporation Method and system for calculating phrase-document importance
US6360215B1 (en) * 1998-11-03 2002-03-19 Inktomi Corporation Method and apparatus for retrieving documents based on information other than document content
US6385602B1 (en) * 1998-11-03 2002-05-07 E-Centives, Inc. Presentation of search results using dynamic categorization
US6922699B2 (en) * 1999-01-26 2005-07-26 Xerox Corporation System and method for quantitatively representing data objects in vector space
US6418433B1 (en) * 1999-01-28 2002-07-09 International Business Machines Corporation System and method for focussed web crawling
US6304864B1 (en) * 1999-04-20 2001-10-16 Textwise Llc System for retrieving multimedia information from the internet using multiple evolving intelligent agents
US6327590B1 (en) 1999-05-05 2001-12-04 Xerox Corporation System and method for collaborative ranking of search results employing user and group profiles derived from document collection content analysis
US6973490B1 (en) * 1999-06-23 2005-12-06 Savvis Communications Corp. Method and system for object-level web performance and analysis
US6547829B1 (en) * 1999-06-30 2003-04-15 Microsoft Corporation Method and system for detecting duplicate documents in web crawls
US6631497B1 (en) * 1999-07-19 2003-10-07 International Business Machines Corporation Binding data from data source to cells in a spreadsheet
US7181438B1 (en) * 1999-07-21 2007-02-20 Alberti Anemometer, Llc Database access system
US6442606B1 (en) * 1999-08-12 2002-08-27 Inktomi Corporation Method and apparatus for identifying spoof documents
US6356933B2 (en) * 1999-09-07 2002-03-12 Citrix Systems, Inc. Methods and apparatus for efficiently transmitting interactive application data between a client and a server using markup language
US6351755B1 (en) * 1999-11-02 2002-02-26 Alta Vista Company System and method for associating an extensible set of data with documents downloaded by a web crawler
US6418452B1 (en) * 1999-11-03 2002-07-09 International Business Machines Corporation Network repository service directory for efficient web crawling
US6418453B1 (en) * 1999-11-03 2002-07-09 International Business Machines Corporation Network repository service for efficient web crawling
US6539376B1 (en) * 1999-11-15 2003-03-25 International Business Machines Corporation System and method for the automatic mining of new relationships
US7016540B1 (en) * 1999-11-24 2006-03-21 Nec Corporation Method and system for segmentation, classification, and summarization of video images
US6883135B1 (en) * 2000-01-28 2005-04-19 Microsoft Corporation Proxy server using a statistical model
US7240067B2 (en) * 2000-02-08 2007-07-03 Sybase, Inc. System and methodology for extraction and aggregation of data from dynamic content
US20010030667A1 (en) * 2000-04-10 2001-10-18 Kelts Brett R. Interactive display interface for information objects
US6871344B2 (en) * 2000-04-24 2005-03-22 Microsoft Corporation Configurations for binding software assemblies to application programs
US6741986B2 (en) * 2000-12-08 2004-05-25 Ingenuity Systems, Inc. Method and system for performing information extraction and quality control for a knowledgebase
US6772160B2 (en) * 2000-06-08 2004-08-03 Ingenuity Systems, Inc. Techniques for facilitating information acquisition and storage
US7080073B1 (en) * 2000-08-18 2006-07-18 Firstrain, Inc. Method and apparatus for focused crawling
US20030217052A1 (en) * 2000-08-24 2003-11-20 Celebros Ltd. Search engine method and apparatus
US6598051B1 (en) * 2000-09-19 2003-07-22 Altavista Company Web page connectivity server
US6560600B1 (en) * 2000-10-25 2003-05-06 Alta Vista Company Method and apparatus for ranking Web page search results
US6622140B1 (en) * 2000-11-15 2003-09-16 Justsystem Corporation Method and apparatus for analyzing affect and emotion in text
US7925967B2 (en) * 2000-11-21 2011-04-12 Aol Inc. Metadata quality improvement
US6826581B2 (en) * 2000-12-06 2004-11-30 Intel Corporation Upgrading a device over a network by downloading results of command execution from script file
US20020078045A1 (en) * 2000-12-14 2002-06-20 Rabindranath Dutta System, method, and program for ranking search results using user category weighting
US7356530B2 (en) * 2001-01-10 2008-04-08 Looksmart, Ltd. Systems and methods of retrieving relevant information
US20020103798A1 (en) * 2001-02-01 2002-08-01 Abrol Mani S. Adaptive document ranking method based on user behavior
US20020107886A1 (en) * 2001-02-07 2002-08-08 Gentner Donald R. Method and apparatus for automatic document electronic versioning system
US7203678B1 (en) * 2001-03-27 2007-04-10 Bea Systems, Inc. Reconfigurable query generation system for web browsers
US7188106B2 (en) * 2001-05-01 2007-03-06 International Business Machines Corporation System and method for aggregating ranking results from various sources to improve the results of web searching
US6738764B2 (en) * 2001-05-08 2004-05-18 Verity, Inc. Apparatus and method for adaptively ranking search results
US7076483B2 (en) * 2001-08-27 2006-07-11 Xyleme Sa Ranking nodes in a graph
US6766422B2 (en) * 2001-09-27 2004-07-20 Siemens Information And Communication Networks, Inc. Method and system for web caching based on predictive usage
US7062502B1 (en) * 2001-12-28 2006-06-13 Kesler John N Automated generation of dynamic data entry user interface for relational database management systems
US7693830B2 (en) * 2005-08-10 2010-04-06 Google Inc. Programmable search engine
US20030221165A1 (en) * 2002-05-22 2003-11-27 Microsoft Corporation System and method for metadata-driven user interface
AU2003243533A1 (en) * 2002-06-12 2003-12-31 Jena Jordahl Data storage, retrieval, manipulation and display tools enabling multiple hierarchical points of view
US20040056894A1 (en) * 2002-09-19 2004-03-25 Igor Zaika System and method for describing and instantiating extensible user interfaces
US6886010B2 (en) * 2002-09-30 2005-04-26 The United States Of America As Represented By The Secretary Of The Navy Method for data and text mining and literature-based discovery
US7934163B2 (en) * 2003-02-28 2011-04-26 Oracle International Corporation Method for portlet instance support in a graphical user interface
US20040181515A1 (en) * 2003-03-13 2004-09-16 International Business Machines Corporation Group administration of universal resource identifiers with members identified in search result
US7028029B2 (en) * 2003-03-28 2006-04-11 Google Inc. Adaptive computation of ranking
US7451130B2 (en) * 2003-06-16 2008-11-11 Google Inc. System and method for providing preferred country biasing of search results
US7293253B1 (en) * 2003-09-12 2007-11-06 Nortel Networks Limited Transparent interface migration using a computer-readable mapping between a first interface and a second interface to auto-generate an interface wrapper
US7693827B2 (en) * 2003-09-30 2010-04-06 Google Inc. Personalization of placed content ordering in search results
US7346839B2 (en) * 2003-09-30 2008-03-18 Google Inc. Information retrieval based on historical data
US20050071328A1 (en) * 2003-09-30 2005-03-31 Lawrence Stephen R. Personalization of web search
US7552109B2 (en) * 2003-10-15 2009-06-23 International Business Machines Corporation System, method, and service for collaborative focused crawling of documents on a network
US20050086192A1 (en) * 2003-10-16 2005-04-21 Hitach, Ltd. Method and apparatus for improving the integration between a search engine and one or more file servers
US20050160107A1 (en) * 2003-12-29 2005-07-21 Ping Liang Advanced search, file system, and intelligent assistant agent
US20060047649A1 (en) * 2003-12-29 2006-03-02 Ping Liang Internet and computer information retrieval and mining with intelligent conceptual filtering, visualization and automation
US7483891B2 (en) * 2004-01-09 2009-01-27 Yahoo, Inc. Content presentation and management system associating base content and relevant additional content
US7499913B2 (en) * 2004-01-26 2009-03-03 International Business Machines Corporation Method for handling anchor text
US7310632B2 (en) * 2004-02-12 2007-12-18 Microsoft Corporation Decision-theoretic web-crawling and predicting web-page change
US7281002B2 (en) * 2004-03-01 2007-10-09 International Business Machine Corporation Organizing related search results
US7257577B2 (en) * 2004-05-07 2007-08-14 International Business Machines Corporation System, method and service for ranking search results using a modular scoring system
US7363296B1 (en) * 2004-07-01 2008-04-22 Microsoft Corporation Generating a subindex with relevant attributes to improve querying
US7472375B2 (en) * 2005-03-29 2008-12-30 Intel Corporation Creating managed code from native code
US7774713B2 (en) * 2005-06-28 2010-08-10 Microsoft Corporation Dynamic user experience with semantic rich objects
US7945531B2 (en) * 2005-09-16 2011-05-17 Microsoft Corporation Interfaces for a productivity suite application and a hosted user interface

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6158044A (en) * 1997-05-21 2000-12-05 Epropose, Inc. Proposal based architecture system
US6961900B1 (en) * 2000-08-28 2005-11-01 Microsoft Corporation Rendering data according to a present schema from an origin response message
US20040230572A1 (en) * 2001-06-22 2004-11-18 Nosa Omoigui System and method for semantic knowledge retrieval, management, capture, sharing, discovery, delivery and presentation
US20050091576A1 (en) * 2003-10-24 2005-04-28 Microsoft Corporation Programming interface for a computer platform

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102081361A (en) * 2010-11-29 2011-06-01 广东威创视讯科技股份有限公司 Hardware equipment control method and system
CN111752563A (en) * 2020-05-18 2020-10-09 深圳市东微智能科技股份有限公司 Method, device, terminal and computer readable storage medium for dynamically modifying interface

Also Published As

Publication number Publication date
US20070130205A1 (en) 2007-06-07
US8095565B2 (en) 2012-01-10
KR101331260B1 (en) 2013-11-19
CN101322096B (en) 2012-10-10
KR20080071133A (en) 2008-08-01
CN101322096A (en) 2008-12-10

Similar Documents

Publication Publication Date Title
US8095565B2 (en) Metadata driven user interface
Blanchette et al. C++ GUI programming with Qt 4
US7707563B2 (en) System and method for network-based computing
US7853884B2 (en) Control-based graphical user interface framework
US8166396B2 (en) User interface rendering
KR20050039551A (en) Programming interface for a computer platform
US20040046789A1 (en) Extensible user interface (XUI) framework and development environment
US20110083070A1 (en) Systems and methods for rendering and increasing portability of document-based user interface software objects
US20090265705A1 (en) System and method for developing and deploying computer applications over a network
US10061575B2 (en) Managed execution environment for software application interfacing
US20050188349A1 (en) Data association
US20090100425A1 (en) Method and system for changing execution environments during application execution
Himschoot Microsoft Blazor
JP2006526180A (en) A declarative mechanism for defining a hierarchy of objects
Sunderaraman Practical Ext JS 4
JP4988797B2 (en) Method and program for creating objects
Poonsuph Enterprise User Interface and Technology Comparison
Jacobi et al. Providing Mozilla XUL Renderers
Ghosh et al. Application Design and Programming Model
Barrette Providing Mozilla XUL Renderers
Albert et al. A REST Framework for Dynamic Client Environments
Aprea et al. Validation Control
Wadia et al. The Trinidad Project
Leathem et al. Red Hat JBoss Web Framework Kit 2 RichFaces Component Reference Guide
Trinidad The Trinidad Project

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 200680045521.2

Country of ref document: CN

121 Ep: the epo has been informed by wipo that ep was designated in this application
WWE Wipo information: entry into national phase

Ref document number: 1020087010883

Country of ref document: KR

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 06839051

Country of ref document: EP

Kind code of ref document: A1