[Yanel-commits] rev 53739 - public/yanel/trunk/src/realms/yanel-website/content

michi at wyona.com michi at wyona.com
Wed Oct 6 11:51:22 CEST 2010


Author: michi
Date: 2010-10-06 11:51:21 +0200 (Wed, 06 Oct 2010)
New Revision: 53739

Modified:
   public/yanel/trunk/src/realms/yanel-website/content/98cf223f-06d4-4915-a172-8f6f2d9f6ca7
Log:
some more documentation added

Modified: public/yanel/trunk/src/realms/yanel-website/content/98cf223f-06d4-4915-a172-8f6f2d9f6ca7
===================================================================
--- public/yanel/trunk/src/realms/yanel-website/content/98cf223f-06d4-4915-a172-8f6f2d9f6ca7	2010-10-06 08:52:48 UTC (rev 53738)
+++ public/yanel/trunk/src/realms/yanel-website/content/98cf223f-06d4-4915-a172-8f6f2d9f6ca7	2010-10-06 09:51:21 UTC (rev 53739)
@@ -1,2 +1,17 @@
-<?xml version="1.0"?><html xmlns="http://www.w3.org/1999/xhtml"><head>  <title>Creatable</title>  <link rel="neutron-introspection" type="application/neutron+xml" href="?yanel.resource.usecase=introspection"/></head><body>  <h1>Create a resource<br/></h1>  <p>In order to make a resource creatable by a so called &quot;client adapter creator&quot;, one can implement one of the <a href="http://yanel.wyona.org/javadoc/org/wyona/yanel/core/api/attributes/package-summary.html">creatable interfaces</a>. The architecture is described by the diagram below:</p><br/><img alt="Architecture of creatable interface" src="http://yanel.wyona.org/en/documentation/resources/yanel-creatable-architecture.png"/><br/><br/><a href="yanel-creatable-architecture.svg">SVG</a> created with <a href="http://www.inkscape.org/">Inkscape</a>.<br/><br/><h2>Client Adapters</h2><h3>Client Adapter: Yanel resource &quot;Resource Creator&quot;</h3>The source of this yanel resource is located at <i>YANEL_SRC_TRUN!
 K/src/contributions/resources/resource-creator/</i> and documentationm can be found at <i>YANEL_SRC_TRUNK/src/contributions/resources/resource-creator/yanel-htdocs/doc/index.html</i>.<br/><br/><h3>Client Adapter: Jelly/XSLT<br/></h3>TBD<br/><br/><h3>Client Adapter: Yanel Servlet through query string ?yanel.usecase=create&amp;create.name=test<br/></h3>TBD </body>
+<?xml version="1.0"?>
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head><title>Creatable</title>
+<link rel="neutron-introspection" type="application/neutron+xml" href="?yanel.resource.usecase=introspection"/>
+</head>
+<body>
+  <h1>Create a resource<br/></h1>
+  <p>In order to make a resource creatable by a so called &quot;client adapter creator&quot;, one can implement one of the <a href="http://yanel.wyona.org/javadoc/org/wyona/yanel/core/api/attributes/package-summary.html">creatable interfaces</a>. The architecture is described by the diagram below:</p>
+
+<p>
+Think of the controller adapter as an "editing tool" (like for example OpenOffice or Word) and the resource to create as something like a "text document" or a "spreadsheet", which means that the controller adapter has to know somehow what resource type it should actually create. This connection is currently done by using the URL parameter "adapted.resource.path". In the case of editing a resource instance, the controller adapter needs to know by this
+parameter which resource instance it should make editable (Think again of an editing tool and by clicking "open" one can select a file (resource instance) to edit).
+</p>
+
+<br/><img alt="Architecture of creatable interface" src="http://yanel.wyona.org/en/documentation/resources/yanel-creatable-architecture.png"/><br/><br/><a href="yanel-creatable-architecture.svg">SVG</a> created with <a href="http://www.inkscape.org/">Inkscape</a>.<br/><br/><h2>Client Adapters</h2><h3>Client Adapter: Yanel resource &quot;Resource Creator&quot;</h3>The source of this yanel resource is located at <i>YANEL_SRC_TRUNK/src/contributions/resources/resource-creator/</i> and documentationm can be found at <i>YANEL_SRC_TRUNK/src/contributions/resources/resource-creator/yanel-htdocs/doc/index.html</i>.<br/><br/><h3>Client Adapter: Jelly/XSLT<br/></h3>TBD<br/><br/><h3>Client Adapter: Yanel Servlet through query string ?yanel.usecase=create&amp;create.name=test<br/></h3>TBD </body>
 </html>



More information about the Yanel-commits mailing list