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

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
主站蜘蛛池模板: 泰兴市| 攀枝花市| 海门市| 丰镇市| 沈阳市| 天等县| 汉阴县| 沂南县| 湘潭县| 腾冲县| 佛冈县| 托里县| 沧州市| 准格尔旗| 宁海县| 雅江县| 武安市| 海淀区| 海口市| 乌兰察布市| 吉安市| 沙坪坝区| 洛浦县| 吴桥县| 曲阳县| 盐城市| 北辰区| 江津市| 全州县| 隆回县| 手游| 阿拉尔市| 清苑县| 永康市| 石楼县| 上犹县| 乌苏市| 南宁市| 兴山县| 井研县| 台东县|