# code: # * George Moschovitis # * Anastasios Koutoumanos # # (c) 2004 Navel, all rights reserved. # $Id: page-handler.rb 99 2004-10-22 09:50:28Z gmosx $ require "cgi" require "singleton" require "sync" require "n/utils/cache" require "n/utils/uri" require "n/app/script" require "n/app/fragment" require "n/app/handlers" module N; module App # = PageHandler # # web server handler that render xml pages (.sx scripts). # This is the main handler of the Nitro Application Server. # # The handler evaluates the given script. The result of # this evaluation is called a Fragment. The result of a top # level script, ie a top level fragments is called a page. # # == Advantages over the original .rx format: # # - xml based # - strips