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

Profiles best practices summary

Here are the best practices you should note in the development of your own profiles, referring to the preceding LAMP stack as an example:

  • Design for use of the include keyword
  • Use subdirectories for sensible, readable profile class groups
  • Hide complexity with parameters, defaults, and abstraction
  • Decide how to set the parameters for component classes
  • Decide to use either automatic class parameter lookup or the lookup function

Let's examine each of these best practices now in turn.

主站蜘蛛池模板: 称多县| 冷水江市| 福州市| 嘉禾县| 灵石县| 迭部县| 安丘市| 山丹县| 肇州县| 祁东县| 邯郸市| 卢湾区| 鹤庆县| 靖州| 抚州市| 雅江县| 嘉峪关市| 内丘县| 宜兰县| 安阳市| 大荔县| 克拉玛依市| 郓城县| 扎鲁特旗| 繁昌县| 通榆县| 垣曲县| 垣曲县| 札达县| 镇平县| 莒南县| 丰台区| 五家渠市| 上高县| 安丘市| 金秀| 自贡市| 河南省| 本溪| 兴业县| 陈巴尔虎旗|