Web scripts can be developed that run in the presentation tier. You could have the repository running on one server (say at port 8080) and the presentation tier running on another server (say on port 8081). These two tiers can communicate - for example, Share accesses the repository via the Repository REST API. When running a web script in the presentation tier, the web script has access to numerous root objects that are only available in the presentation tier. Likewise, some root objects that are available to web scripts when running in the repository tier are not available to web scripts running in the presentation tier. For example, objects associated with core repository concepts, such as nodes, are not directly available to web scripts running in the presentation tier.