Update of /cvsroot/xdoclet/generama/xdocs
In directory sc8-pr-cvs1:/tmp/cvs-serv15320/xdocs
Modified Files:
faq.fml
Log Message:
Now ignoring order of XML attributes and comments in XML comparison in test suite
Index: faq.fml
===================================================================
RCS file: /cvsroot/xdoclet/generama/xdocs/faq.fml,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** faq.fml 20 Aug 2003 14:25:41 -0000 1.1
--- faq.fml 30 Aug 2003 17:33:06 -0000 1.2
***************
*** 7,31 ****
<faq id="fish">
<question>
! What if fish?
</question>
<answer>
<p>
! Because of the water
</p>
-
- <source>bla bla</source>
</answer>
</faq>
! <faq id="why-not">
<question>
! Why not?
</question>
<answer>
<p>
! Exactly!
</p>
</answer>
</faq>
</part>
--- 7,88 ----
<faq id="fish">
<question>
! What is Generama?
</question>
<answer>
<p>
! It's a generic code generation framework based on Velocity and Jelly.
</p>
</answer>
</faq>
! <faq id="why-not-directly">
<question>
! What does it buy me over using Velocity or Jelly directly?
! </question>
! <answer>
! <ul>
! <li>No needed configuration of the said template engines.</li>
! <li>A plugin framework.</li>
! <li>An Ant task.</li>
! <li>IDE plugins.</li>
! <li>An MVC model.</li>
! </ul>
! </answer>
! </faq>
!
! <faq id="what-plugin-framework">
! <question>
! What's this plugin framework?
</question>
<answer>
<p>
! You can for example extend VelocityPlugin and write an associated script
! and jar them up in a jar (only two files required). Then register
! them with Generama, and you're ready to go.
</p>
</answer>
</faq>
+
+ <faq id="multiple-files">
+ <question>
+ How do I descide wether or not my plugin generates multiple files?
+ </question>
+ <answer>
+ <p>
+ By calling the Plugin's setMultiOutput method.
+ </p>
+ </answer>
+ </faq>
+
+ <faq id="metadata">
+ <question>
+ How do my templates get access to metadata, like e.g. QDox JavaClass objects?
+ </question>
+ <answer>
+ <p>
+ By registering a MetadataProvider in Generama that provides the desired
type
+ of objects.
+ </p>
+ </answer>
+ </faq>
+
+ <faq id="mvc">
+ <question>
+ What's this MVC thing. How do I do complicated stuff X?
+ </question>
+ <answer>
+ <p>
+ If you need advanced functinaolity that's hard to do in Velocity
+ or Jelly, you can implement the logic in your plugin class as a
+ public method. You can then call the method directly from the
+ scripts.
+ </p>
+ <p>
+ This is inspired of the MVC pattern. The script just renders the data
+ provided by the plugin (and the metadata).
+ </p>
+ </answer>
+ </faq>
+
</part>
***************
*** 39,43 ****
<answer>
<p>
! You don't. It's a library.
</p>
</answer>
--- 96,101 ----
<answer>
<p>
! You don't. It's a library. It's meant to be used as a building block in
! more specialised code generators like XDoclet and Middlegen.
</p>
</answer>
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel