Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 2e9c43658e374d290a2de15d25134ac8 > files > 837

db4o-doc-8.0-1.fc15.i686.rpm

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns:MadCap="http://www.madcapsoftware.com/Schemas/MadCap.xsd" MadCap:lastBlockDepth="2" MadCap:lastHeight="120" MadCap:lastWidth="624" MadCap:disableMasterStylesheet="true" MadCap:tocPath="Platform Specific Issues" MadCap:InPreviewMode="false" MadCap:RuntimeFileType="Topic" MadCap:TargetType="WebHelp" MadCap:PathToHelpSystem="../../" MadCap:HelpSystemFileName="index.xml" MadCap:SearchType="Stem">
    <head><title>Web Environment</title>
        <script type="text/javascript">/* <![CDATA[ */
window.onload = function(){
	var pathToFlash = $('html').attr('MadCap:PathToHelpSystem') + 'Content/Resources/Code/ZeroClipboard.swf';
	ZeroClipboard.setMoviePath(pathToFlash);
			
	function bindToClipBord(element,content){
		var clip = new ZeroClipboard.Client();
		clip.setText(content);
		clip.glue(element);
	};
		
	if(location.protocol==='file:'){
		$('.copylink-marker').remove();
	} else{
			$('.copylink-marker').each(function(){
				var text = $(this).parent().parent().children('.prettyprint').html();
				$(this).hover(function(){
					bindToClipBord(this,text);
				},
				function(){});
			});	
	}		
	prettyPrint();	
};
                /* ]]> */</script>
        <link href="../SkinSupport/MadCap.css" rel="stylesheet" />
        <link href="../Resources/Stylesheets/OnlineStyle.css" rel="stylesheet" />
        <script src="../SkinSupport/MadCapAll.js">
        </script>
        <script src="../Resources/Code/prettify.js">
        </script>
        <script src="../Resources/Code/lang-vb.js">
        </script>
        <script src="../Resources/Code/jquery.min.js">
        </script>
        <script src="../Resources/Code/ZeroClipboard.js">
        </script>
    </head>
    <body>
        <p class="MCWebHelpFramesetLink" style="display: none;"><a href="../../index_CSH.html#platform_specific_issues/web_environment.htm" style="">Open topic with navigation</a>
        </p>
        <div class="MCBreadcrumbsBox"><span class="MCBreadcrumbsPrefix">You are here: </span><a class="MCBreadcrumbsLink" href="../platform_specific_issues.htm">Platform Specific Issues</a><span class="MCBreadcrumbsDivider"> &gt; </span><span class="MCBreadcrumbs">Web Environment</span>
        </div>
        <p>
            <script type="text/javascript">/*<![CDATA[*/document.write('<a href="' + location.href +'">');
				document.write("Direct Link");
			document.write('</a>');/*]]>*/</script>
        </p>
        <p>
        </p>
        <h1><a name="kanchor105"></a><a name="kanchor106"></a>Web Environment</h1>
        <p>db4o runs perfectly well in a web environment. It can be used to build your web-application. </p>
        <p>In most web-application multiple concurrent requests are processes. Normally you want to isolate each request from another. You can use db4o transactions to archive this isolation. <a href="web/web_isolation.htm" target="" title="" alt="" class="MCXref">See "Isolation in Web-Applications"</a> <![CDATA[ ]]></p>
        <p>In most web-applications a object is only alive during a request. So you have to identify objects across requests. Therefore you need to add an additional id to your object. There are different possibilities for this. <a href="disconnected_objects.htm" target="" title="" alt="" class="MCXref">See "Disconnected Objects"</a></p>
        <p>When you run in a web-environment, you often have stricter security limitations. Take a look at the security requirements. <a href="web/asp.net_security.htm" target="" title="" alt="" MadCap:conditions="Primary..NET" class="MCXref">See "ASP.NET Security"</a></p>
        <p>Take a look how you create a object-container for each request. <a href="web/asp.net_request_example.htm" target="" title="" alt="" MadCap:conditions="Primary..NET" class="MCXref">See "ASP.NET Request Example"</a></p>
        <div MadCap:conditions="Primary..NET">
            <p>You might run into trouble because of ASP.NET assembly naming policy. <a href="web/asp.net_assembly_naming.htm" target="" title="" alt="" class="MCXref">See "ASP.NET Assembly Naming"</a></p>
            <p>Take a look a small example ASP.NET MVC application, which includes all these concerns. <a href="web/asp.net_mvc_example.htm" target="" title="" alt="" class="MCXref">See "ASP.NET MVC Example"</a></p>
            <H2>More Information</H2>
            <p>Additional information about using db4o in ASP.NET environment can be found in db4o <a href="http://developer.db4o.com/ProjectSpaces/view.aspx/All_Tools_and_Add-Ons">Project Spaces</a>. The following community projects featuring db4o ASP.NET membership providers exist:</p>
            <UL>
                <LI value="1"><a href="http://www.codeplex.com/db4oProviders">db4o ASP.NET Providers</a>
                </LI>
                <LI value="2"><a href="http://developer.db4o.com/ProjectSpaces/view.aspx/Db4oMembership_Provider">db4oMembershipProvider for ASP.NET2</a>
                </LI>
            </UL>
        </div>
        <script type="text/javascript" src="../SkinSupport/MadCapBodyEnd.js">
        </script>
    </body>
</html>