Author: mfortun Date: 2011-08-29 17:44:02 +0200 (Mon, 29 Aug 2011) New Revision: 1199 Url: http://nuiton.org/repositories/revision/wikitty/1199 Log: readme for filters option *base for users docs Added: trunk/wikitty-publication/src/site/doc/ trunk/wikitty-publication/src/site/doc/Faire_une_application_publication.rst trunk/wikitty-publication/src/site/doc/Outils_publication.rst trunk/wikitty-publication/src/site/doc/Rajouter_des_langages.rst trunk/wikitty-publication/src/site/doc/Wikitty_Publication_war.rst trunk/wikitty-publication/src/site/exemple/README.txt Modified: trunk/wikitty-publication/src/main/resources/filters-properties/README.txt Modified: trunk/wikitty-publication/src/main/resources/filters-properties/README.txt =================================================================== --- trunk/wikitty-publication/src/main/resources/filters-properties/README.txt 2011-08-29 15:02:04 UTC (rev 1198) +++ trunk/wikitty-publication/src/main/resources/filters-properties/README.txt 2011-08-29 15:44:02 UTC (rev 1199) @@ -1,11 +1,62 @@ -OpeningTemplate -WriteString -StringDelim -ConcatChar -EndingCar -ClosingWriterChar -OpeningWriterChar -ClosingTemplate -MimeType -Key -ContentType \ No newline at end of file + + + +Those filters options are use to transform WikittyPubText content with a +nuiton processor and filters. The goal of this is to include html (and after +other langage design for ui inside web browser) with scripting mechanism. +Instead of write the script and include inside result value html tag, do the +opposite, that what allow those filters. + +Filters options doc: + +OpeningTemplate: the string openning the template +WriteString: instruction used to write string +StringDelim: string delimiter example : " +ConcatChar: string used to concat char example: + +EndingCar: string that end instruction +ClosingWriterChar: string after write string and before String delim +OpeningWriterChar: string after string delim, before ending car +ClosingTemplate: string that close the template +MimeType: the mime type of the wikittyPubText after decoration +Key: mimetype special usualy originMime.targetMime for example html.javascript +this is linked to mimetype properties +ContentType: content type set for the result of the evaluation of this +wikitty pub text + +Example : + + +<html> +<%var name="bob"%> + + +<h1>Hello World <%=name%>!</h1> +</html> +with template: + +wpContext.setContentType("[ContentType]"); + +[OpeningTemplate]<html>[StringDelim]; +var name= bob; +[WriteString][OpeningWriterChar][StringDelim]<h1>Hello World [StringDelim][ConcatChar]name[ConcatChar]!</h1>[ConcatChar][StringDelim]; + +[WriteString][OpeningWriterChar][StringDelim]</html>[StringDelim]; + +This filters will be enable when try to evaluate wikittyPubText with mime type: +text/[Key], the mime type of the wikittyPubText after will be: [MimeType] + + +If using the default filters: + + +wpContext.setContentType("text/html; charset=UTF-8"); + +var wp_result="<html>"; +var name= bob; +wp_result+="<h1>Hello World "+name+"!</h1>"; + +wp_result+="</html>"; + +This filters will be enable when try to evaluate wikittyPubText with mime type: +text/html.javascript, the mime type of the wikittyPubText after will be: application/javascript + Added: trunk/wikitty-publication/src/site/doc/Faire_une_application_publication.rst =================================================================== --- trunk/wikitty-publication/src/site/doc/Faire_une_application_publication.rst (rev 0) +++ trunk/wikitty-publication/src/site/doc/Faire_une_application_publication.rst 2011-08-29 15:44:02 UTC (rev 1199) @@ -0,0 +1,4 @@ + + +Expliquer le cheminement faire +un pom prendre en exemple l'exemple en détaillant le tout. \ No newline at end of file Added: trunk/wikitty-publication/src/site/doc/Outils_publication.rst =================================================================== --- trunk/wikitty-publication/src/site/doc/Outils_publication.rst (rev 0) +++ trunk/wikitty-publication/src/site/doc/Outils_publication.rst 2011-08-29 15:44:02 UTC (rev 1199) @@ -0,0 +1,10 @@ + + +Syncrhonisation comment ça marche + + +Externalize. + + +Plugin maven + Added: trunk/wikitty-publication/src/site/doc/Rajouter_des_langages.rst =================================================================== --- trunk/wikitty-publication/src/site/doc/Rajouter_des_langages.rst (rev 0) +++ trunk/wikitty-publication/src/site/doc/Rajouter_des_langages.rst 2011-08-29 15:44:02 UTC (rev 1199) @@ -0,0 +1,12 @@ +Fonctionnement des mime type + + + +Rajouter des langages + + +Rajouter le mécanisme des mime type extension + + +Jouer avec la décoration + Added: trunk/wikitty-publication/src/site/doc/Wikitty_Publication_war.rst =================================================================== --- trunk/wikitty-publication/src/site/doc/Wikitty_Publication_war.rst (rev 0) +++ trunk/wikitty-publication/src/site/doc/Wikitty_Publication_war.rst 2011-08-29 15:44:02 UTC (rev 1199) @@ -0,0 +1,8 @@ + + + +Expliquer le systeme de propriété +ContextData +COntextapp + +Expliquer les actions ce qu'elle font et tout \ No newline at end of file Added: trunk/wikitty-publication/src/site/exemple/README.txt =================================================================== --- trunk/wikitty-publication/src/site/exemple/README.txt (rev 0) +++ trunk/wikitty-publication/src/site/exemple/README.txt 2011-08-29 15:44:02 UTC (rev 1199) @@ -0,0 +1,4 @@ +Ceci est un exemple de d'utilisation de wikitty publication pour faire des application + + +