1. A computer implemented method for rendering client-side logic in a webpage when the webpage is rendered, the computer implemented method comprising: initiating a script component built in a component library of a webpage development framework, wherein the script component is subject to a lifecycle of the webpage development framework, wherein the lifecycle of the webpage development framework comprises: restoring a view of the webpage requested by a client, wherein the step of restoring comprises at least one of building a new view and building a last presented view of the webpage; applying a last presented value for each attribute in the view, wherein the last presented value is a value of the at least one attribute when the webpage was last rendered; validating the last presented value for the each attribute against validation rules which define the data type to be input in the each attribute; and updating the last presented value for the each attribute with a current value from the server-side data model; defining at least one webpage attribute using at least one value-binding expression in the script component, wherein the at least one value-binding expression provides access to a server-side data model; and evaluating the at least one value-binding expression, wherein the at least one value-Binding expression comprises a current value for the server-side data model.
5. The computer implemented method of claim 1 , wherein the value-binding expression providing access to the server-side data model comprises: binding a value in the at least one value-binding expression to the server-side data model.