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

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
主站蜘蛛池模板: 洛南县| 新和县| 旺苍县| 绵阳市| 时尚| 客服| 石屏县| 北海市| 志丹县| 新疆| 皮山县| 临清市| 巨野县| 察雅县| 太仆寺旗| 墨江| 柏乡县| 邯郸市| 仁寿县| 武川县| 屏东市| 绍兴县| 正安县| 海安县| 务川| 永年县| 荥经县| 隆德县| 南安市| 张北县| 福清市| 旺苍县| 方正县| 门源| 常宁市| 襄垣县| 凭祥市| 博罗县| 城固县| 浪卡子县| 潮州市|