翻訳と辞書
Words near each other
・ Mustafa IV
・ Mustafa İnan
・ Mustafa Jabbar
・ Mustafa Jaffer Sabodo
・ Mustafa Jalal
・ Mustafa Jassem Al-Shamali
・ Mustafa Jawda
・ Mustafa Kalemli
・ Musta'arabim
・ Musta'min
・ Mustaa kahvia
・ Mustaali
・ Mustaba District
・ Mustabad
・ Mustacciuoli
Mustache (template system)
・ Mustache March
・ Mustache Pete
・ Mustad
・ Mustaf Ali Duhulow
・ Mustaf Haji Mohamed
・ Mustafa
・ Mustafa 'Abd al-Raziq
・ Mustafa (disambiguation)
・ Mustafa (film)
・ Mustafa A.G. Abushagur
・ Mustafa Abdellaoue
・ Mustafa Abdi
・ Mustafa Abdul Jalil
・ Mustafa Abdul-Hamid


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Mustache (template system) : ウィキペディア英語版
Mustache (template system)

Mustache is a simple web template system with implementations available for ActionScript, C++, Clojure, CoffeeScript, ColdFusion, D, Delphi, Erlang, Fantom, Go, Haskell, Io, Java, JavaScript, Julia, Lua, .NET, Objective-C, Perl, PHP, Pharo, Python, Racket, Ruby, Rust, Scala, Swift, CFEngine and XQuery.
Mustache is described as a "logic-less" system because it lacks any explicit control flow statements, like ''if'' and ''else'' conditionals or for loops; however, both looping and conditional evaluation can be achieved using section tags processing lists and lambdas.
It is named "Mustache" because of heavy use of curly braces ,, that resemble a sideways moustache.
Mustache is used mainly for mobile and web applications.〔"Smashing Mobile Web Development", G. Avola and J. Raasch, 2012. ISBN 9781118348123.〕〔"Functional Programming Applied to Web Development Templates", J. Cady, 2011. (MS Project Report ).〕
== History and principles ==
(Mustache-1 ) was inspired by (ctemplate ) and (et ),〔https://github.com/defunkt/mustache/blob/master/README.md〕 and started as a GitHub distribution at the end of 2009. A first version of the template engine was implemented with Ruby, running YAML template texts. The (preserved) main principles were:
* "logic-less": no explicit control flow statements, all control driven by data.
* strong "separating logic from presentation": it is impossible to embed application logic in the Mustache templates.
The input data can be a class, so input data can be characterized as an MVC-view. The Mustache ''template'' does nothing but reference methods in the (input data) ''view''.〔 All the logic, decisions, and code is contained in this ''view'', and all the markup (ex. output XML) is contained in the ''template''. In an MVP context: input data is from MVP-''presenter'', and the Mustache template is the MVP-''view''.

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Mustache (template system)」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.