摘要:
In a composition model for large-scale extensible applications, applications are constructed in a modular fashion. The modules integrate with each other by producing and consuming functionality that conforms to a common definition. Producer modules and consumer modules are kept independent of one another, and are linked together indirectly via a definition module. .NET attributes are used to identify various code artifacts (such as classes, methods, properties, etc.) as being functionality definitions, productions, and/or consumptions. These attributes are examined by the module loader and used to create relationships between individually installed producer and consumer modules. The consumer uses .NET attributes to declare dependency on functionality and filter out implementations that don't meet the criteria specified by those attributes.
摘要:
Facilitating generic database editing to allow for data to be received from a user for entry into a database without requiring the data to conform to schema constraints for the database. A method includes examining a first schema for a first database. The first schema including a first set of constraints specified in the first schema on data to be entered into the first database. The method further includes, based on the examination, constructing a second database corresponding to the first database. The second database is associated with a second schema with a second set of constraints. The second set of constraints is a relaxed version of the first set of constraints specified in the first schema.
摘要:
Component domains used to define a binding between various components associated with the component domain. The component domain tracks the various services to be imported by each component, and tracks the various services exported by each component. At runtime, rather than at compile time, the various interrelations between the components are bound using the service import and export data. Accordingly, depending on the components available and their characteristics, the bindings may differ. This permits applications to be much more flexible. In one implementation, the binding is performed iteratively. For example, if after one iteration of binding service imports to service exports, some components may expand the services that they export, or the services that they desire to import.
摘要:
Accessing data in a data store at a field granularity. A method includes receiving a query from a user. The query specifies one or more non-unique fields of a record. The method further includes sending the query to a data store to retrieve the fields of the record at a field granularity. The method further includes receiving data for the one or more non-unique fields of the record at a field granularity.
摘要:
The display in a scrollable window of large data sets, which is not loaded into memory all at one time. Rather, a control module manages the scrollable window by repeatedly estimating data ranges of the data set that are to be either presently displayed or that may soon be displayed in the scrollable window. In response to each of at least some of such estimations, the estimated data ranges are then loaded into memory without loading the entire data set into memory. At least portions of the loaded data may then be displayed in the scrollable window. If the scrollable window is scrolled to a particular portion of the data set, but that portion of the data set is not yet loaded into memory, scrolling is permitted to that area even though the actual data is populated into the window after loading.
摘要:
An intelligent tool for assisting a developer during the creation or maintenance of software generates an icon when triggered by input. Upon selection of the icon, options are displayed for potential selection. Upon selection of an entry, event associated with the entry are deployed.
摘要:
Digital shadowing when rendering visual items (e.g., windows) at different virtual display levels (such as z-order levels). The rendering is based on the determination of a position and virtual display level for each of the visual items to be displayed. For those visual items that cast a shadow on lower-level in-shadow visual items, the determined position of the shadow-casting visual item is used to render the shadow on each of the in-shadow visual items differently depending on the corresponding virtual display level of the in-shadow visual items. In particular, the in-shadow visual item that has a lower virtual display level has a longer shadow cast by the shadow-casting visual item than those in-shadow visual items that have a higher virtual display level. This allows the shadows to have a more natural look.
摘要:
Component domains used to define a binding between various components associated with the component domain. The component domain tracks the various services to be imported by each component, and tracks the various services exported by each component. At runtime, rather than at compile time, the various interrelations between the components are bound using the service import and export data. Accordingly, depending on the components available and their characteristics, the bindings may differ. This permits applications to be much more flexible.
摘要:
Component domains used to define a binding between various components associated with the component domain. The component domain tracks the various services to be imported by each component, and tracks the various services exported by each component. At runtime, rather than at compile time, the various interrelations between the components are bound using the service import and export data. Accordingly, depending on the components available and their characteristics, the bindings may differ. This permits applications to be much more flexible. In one implementation, the binding is performed iteratively. For example, if after one iteration of binding service imports to service exports, some components may expand the services that they export, or the services that they desire to import.
摘要:
A computer software construct has a plurality of components and is built based on an architecture designed for the construct. The architecture includes a number of partitions and dependency rules, where each partition is for having at least one component associated therewith. Each dependency rule specifies whether a component of one partition may refer to any component of another partition. The method enforces the dependency rules of the architecture on each component of the construct as built. A command is received to build a particular component of the software construct based on corresponding build instructions, and the dependency rules are also received. Thereafter, it is determined whether the particular component of a particular partition violates any dependency rule by improperly referring to another component of another partition. The particular component of the software construct is built only if the particular component violates none of the dependency rules.