官术网_书友最值得收藏!

Chapter 6. Leveraging the Full Toolset of the Language

After our in-depth discussions on both, the manifest structure elements (class and define) and encompassing structure (modules), you are in a great position to write manifests for all of your agents. Make sure that you get Forge modules that will do your work for you. Then, go ahead and add site-specific modules that supply composite classes for the node blocks to be used, or rather, included.

These concepts are quite a bit to take in. It's now time to decelerate a bit, lean back, and tackle simpler code structures and ideas. You are about to learn some techniques that you are not going to need every day. They can make difficult scenarios much easier, though. So, it might be a good idea to come back to this chapter again after you have spent some time in the field. You might find that some of your designs can be simplified with these tools.

Specifically, these are the techniques that will be presented:

  • Templating dynamic configuration files
  • Creating virtual resources
  • Exporting resources to other agents
  • Overriding resource parameters
  • Saving redundancy using resource defaults
  • Avoiding antipatterns
主站蜘蛛池模板: 阿克| 乃东县| 迁安市| 沿河| 都江堰市| 瑞金市| 长阳| 邛崃市| 兴山县| 彭阳县| 南靖县| 阳江市| 竹北市| 虹口区| 宿松县| 宽城| 界首市| 宕昌县| 太仓市| 霍山县| 高雄县| 邓州市| 炉霍县| 师宗县| 得荣县| 洛隆县| 奉化市| 泌阳县| 秭归县| 莱阳市| 昌图县| 轮台县| 广灵县| 皮山县| 民乐县| 沂水县| 嘉兴市| 武强县| 荃湾区| 郴州市| 额尔古纳市|