Jump to content

User talk:Krauss/arXiv-2

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Objectioves, remember

[edit]
  • A syntax-independent approach for indetify and do basic classification

Use cases and contexts

[edit]
  • sobre letter frame:
    • Andy Channelle (2009), "Beginning OpenOffice 3: From Novice to Professional". Apress, ISBN 978-1-4302-1590-5.
      pag 53, chapter 2, colors, "frames".
      (pag 45) - books.google.
  • sobre form letter:
    • Gary B. Shelly, Thomas J. Cashman, Misty E. Vermaat (2007), "Microsoft Office Word 2007: Complete Concepts and Techniques". Cengage Learning, 560 pp.
      Pag. 309 (Identifying the main document for form letters) - books.google
    • Gurdy Leete, Ellen Finkelstein, Mary Leete (2004), "OpenOffice.org for dummies", 359 pp. ISBN 978-0764542220.
      (pag 98) - books.google.


—Preceding unsigned comment added by Gabriel.scapin (talk contribs) 18:53, 10 September 2010 (UTC)[reply]

Pipeline approaches

[edit]
  • P[P'(L,C),C']: tipico em CMS, onde o resultado do template principal é uma pagina dinamica. Exemplo: P processado em PHP, registrado como cache, e P' em ASP.
  • P[L,P'(L',C)]: tambem usado em CMS, ver caso MediaWiki.
  • P[L,P(L',C)]: see Cocoom pipelines. The P composition is possible if C and R are on the same format (ex. XML), like in an Apache Cocoon pipeline[1].

If the candidate system was modeled as a complex dataflow, simplifier hypothesis must done to the characterization. The template properties are tested only for the final output.

--Krauss (talk) 11:22, 13 September 2010 (UTC)[reply]

T with no-content and structure of R

[edit]

Lembrar de rever o problema na introducao, e avaliar se inclui a questao no dominio de R... Tambem o problema do modelo baseado em concatenacao (ao menos chamar atencao de que será contornado com a nocao de black-box).

A Short History of the automated reuse of contents

[edit]

macros, mail merging, etc.

Similarities and differences:

  • macro languages (from assembler usage) vs template languages: macro do sub-template expansion, not placeholder (input data expansion)
  • query languages vs template languages: template are dual (embedded), query have focus on data... query languages not do only simple projection, but filter and summarization... XQuery is a template language... SQL is only a query language...
  • ...

templates as closures

[edit]

In functional programming there are the concept of closure, that explains, in the print scale template, the use ok K.

See closure: are used to implement (functional) continuation-passing style, and in this manner, hide state. (...) Anonymous functions in Perl become closures when they reference variables defined in their enclosing functions.

## the template definition with K,C instead only C is a stratey to to implement continuation passing style, 
## and in this manner, hide state.

sub template_k {
    my $k1 = shift; my $k2 = shift;
    return sub { 
    	my $c = shift; 
    	return $k1.$c.$k2; 
    };
}
 
my $T1_en = template_k('Hello ','!');
my $T1_pt = template_k('Olá ','!');
my $T1_es = template_k('¡Hola ','!');

my $T2_en = template_k('Bye ','.');
my $T2_pt = template_k('Tchau ','.');

print $T1_en->('Jonh');  #Hello Jonh!
print $T1_es->('Jonh');  #¡Hola Jonh!
print $T1_en->('Mary');  #Hello Mary!
print $T2_en->('Mary');  #Bye Mary.
  1. ^ For a composition like   PXSLT(L, PXQuery(T, C))   see Cocoon pipelines at http://cocoon.apache.org