18. The method of claim 11 wherein the first source file comprises code declaring an event transaction that causes, upon execution of the second source file, instantiation of a transaction object that records updates to other one or more objects.
11. In a network environment comprising a client machine coupled to a server machine via a communication network, a method of processing a request received from the client machine, the method comprising: storing, at the server machine, a set of source files; receiving, at the server machine, a request for an application from a client program executing on the client machine; responsive to the request, determining, at the server machine, a first source file for the application from the set of source files, the first source file written in a first language, the first source file comprising a set of pragmas and code declaring at least a first object class that inherits from another object class; generating, at the server machine, a preprocessed first source file by replacing each pragma in the first source file with a corresponding pragma output; generating, at the server machine, a second source file from the preprocessed first source file, wherein the second source file is written in a JavaScript executable by the client program; communicating the second source file from the server machine to the client machine over the communication network; and executing the second source file using the client program, including: loading one or more classes identified in the second source file, loading one or more objects instantiated from the one or more classes, and partitioning, by a namespace manager of the client program, a namespace of the client program into at least a first namespace and a second namespace, wherein (1) a first class and a first object associated with the first programming language are loaded in the first namespace and (2) a second class and a second object associated with a JavaScript engine typically having a single global namespace are loaded in the second namespace.