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

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
主站蜘蛛池模板: 姜堰市| 曲水县| 成武县| 汾阳市| 拉孜县| 南汇区| 壤塘县| 盖州市| 仁化县| 鄯善县| 辽宁省| 赤壁市| 平远县| 平舆县| 武穴市| 武义县| 永春县| 和平县| 富阳市| 漳浦县| 安阳市| 枞阳县| 舒兰市| 新营市| 江城| 波密县| 安宁市| 淮阳县| 喀喇沁旗| 正宁县| 体育| 石首市| 海伦市| 沙雅县| 包头市| 涟源市| 时尚| 怀远县| 襄垣县| 华容县| 南皮县|