Breaking from the KISS style of creating the XML file, you can also build a hierarchy of styles and apply them to components.
除了在创建XML文件时使用KISS式样之外,还可以构建分层次的一些式样,并将这些式样应用于组件中。
I recommend creating a style mapping document, an example of which is in Listing 11.
我建议创建一个样式映射文档,清单11显示了该文档的一个例子。
To take full advantage of using JRuby in creating the DSL, tips on style were provided.
为了全面获得使用JRuby创建DSL的好处,演讲中还给出了关于编程方式的技巧。
应用推荐