A method implemented by an application executing in a browser of a computing device, the application comprising presentation logic, emulated network request logic, an emulated web server, and business logic, the emulated web server and the business logic executing in a background process of the browser, the method comprising: by the emulated network request logic: receiving, from the presentation logic, a network request application programming interface, API, call to a method of a first network request object, the network request API call including a uniform resource identifier, URI, that identifies the emulated web server and a payload including parameters to be used as input to a method of the business logic to be invoked, wherein either the URI or the payload or both further specify the method of the business logic to be invoked; instead of generating an actual network request based on the network request API call, translating the network request API call to a second API call that is compatible with an API of the background process, the second API call including the URI and the payload; and transmitting the second API call to the emulated web server via the API of the background process; and by the emulated web server: receiving the second API call via the API of the background process; determining the method of the business logic to be invoked based on one or more of the URI or the payload included in the second API call; generating a second network request object for processing by the business logic, the second network request object identifying the method of the business logic to be invoked and including the payload; and providing the second network request object to the business logic, the business logic being configured to invoke the method to be invoked identified by the second network request object using the input parameters extracted from the payload of the second network request object. by the emulated network request logic: receiving, from the presentation logic, a network request application programming interface, API, call to a method of a first network request object, the network request API call including a uniform resource identifier, URI, that identifies the emulated web server and a payload including parameters to be used as input to a method of the business logic to be invoked, wherein either the URI or the payload or both further specify the method of the business logic to be invoked; instead of generating an actual network request based on the network request API call, translating the network request API call to a second API call that is compatible with an API of the background process, the second API call including the URI and the payload; and transmitting the second API call to the emulated web server via the API of the background process; and receiving, from the presentation logic, a network request application programming interface, API, call to a method of a first network request object, the network request API call including a uniform resource identifier, URI, that identifies the emulated web server and a payload including parameters to be used as input to a method of the business logic to be invoked, wherein either the URI or the payload or both further specify the method of the business logic to be invoked; instead of generating an actual network request based on the network request API call, translating the network request API call to a second API call that is compatible with an API of the background process, the second API call including the URI and the payload; and transmitting the second API call to the emulated web server via the API of the background process; and by the emulated web server: receiving the second API call via the API of the background process; determining the method of the business logic to be invoked based on one or more of the URI or the payload included in the second API call; generating a second network request object for processing by the business logic, the second network request object identifying the method of the business logic to be invoked and including the payload; and providing the second network request object to the business logic, the business logic being configured to invoke the method to be invoked identified by the second network request object using the input parameters extracted from the payload of the second network request object. receiving the second API call via the API of the background process; determining the method of the business logic to be invoked based on one or more of the URI or the payload included in the second API call; generating a second network request object for processing by the business logic, the second network request object identifying the method of the business logic to be invoked and including the payload; and providing the second network request object to the business logic, the business logic being configured to invoke the method to be invoked identified by the second network request object using the input parameters extracted from the payload of the second network request object.