view _test/Resources/app.xml @ 65:2840c4c85db8

Application configuration improvements Documentation
author wizard
date Tue, 16 Mar 2010 17:36:13 +0300
parents 76b878ad6596
children f47f93534005
line wrap: on
line source

<?xml version="1.0" encoding="UTF-8"?>
<Application id='app' type="Test::Web::Application::Instance">
	<name>Sample application</name>
	<dataSource type='IMPL::Config::Activator' id='ds'>
		<factory>IMPL::Object</factory>
		<parameters type='HASH'>
			<db>data</db>
			<user>nobody</user>
		</parameters>
	</dataSource>
	<securityMod type='IMPL::Config::Activator'>
		<factory>IMPL::Object</factory>
		<parameters type='HASH'>
			<ds refid='ds'/>
		</parameters>
	</securityMod>
	<options type="HASH">
		<dataSource refid='ds'/>
	</options>
	<responseCharset>utf-8</responseCharset>
	<factoryAction type="IMPL::Object::Factory">
		<factory>IMPL::Web::Application::Action</factory>
		<parameters type='HASH'>
			<responseFactory type='IMPL::Object::Factory'>
				<factory>IMPL::Web::Application::Response</factory>
				<parameters type='HASH'>
					<streamOut>memory</streamOut>
				</parameters>
			</responseFactory>
		</parameters>
	</factoryAction>
	<handlersQuery type="IMPL::Object::List">
		<item type="IMPL::Web::QueryHandler::PageFormat">
			<templatesCharset>cp1251</templatesCharset>
		</item>
	</handlersQuery>
</Application>