发明名称 Validation pipeline
摘要 Techniques for configuring validation rules in a client-server architecture, and for enforcing such validation rules are provided. A developer is enabled to configure a display screen for an application to enable a user at a client to input data. The developer is further enabled to input a validation rule that is configured to be applied to validate the data at the client and/or at a server. The validation rule is integrated into code of the application. During execution of the application, a client-side rules engine may be present to evaluate the validation rule at the client, and a server-side rules engine may be present to evaluate the validation rule at the server. The client-side rules engine and server-side rules engine may be configured to evaluate validation rules in an asynchronous manner.
申请公布号 US9026580(B2) 申请公布日期 2015.05.05
申请号 US200912622492 申请日期 2009.11.20
申请人 Microsoft Technology Licensing, LLC 发明人 Ramanathan Premanand;Seefeldt Daniel
分类号 G06F15/16;G06F21/64;G06F17/30 主分类号 G06F15/16
代理机构 代理人 Sullivan Kevin;Drakos Kate;Minhas Micky
主权项 1. A method, comprising: enabling a user to execute an application at a client; displaying a display screen of the application at the client that includes a user interface element capable of receiving data from the user; performing, in an asynchronous manner, a first validation at the client of data received by the user interface element according to a client-side rule; displaying a validation error in the display screen if the data received from the user does not validate according to the client-side rule; enabling the user to interact with the display screen to attempt to save the data if the data received from the user validates according to the client-side rule; transmitting the data from the client to the server if the user interacts with the display screen to attempt to save the data; displaying a validation error in the display screen in response to a failure of the data to validate at the server according to a server-side rule that corresponds to the client-side rule; and persisting the data into a database accessible at the server in response to a success of the data to validate at the server according to the server-side rule.
地址 Redmond WA US