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

Summary

Building software that makes full use of PHP5 involves creating numerous classes that model aspects of the problem being solved. It is usually convenient to keep each one in its own file. But this makes it difficult to keep track of whether a class is already loaded.

The neatest PHP5 solution to the problem is to implement a generalized autoload mechanism for classes. This chapter has shown that it need not be especially complex, even when built to be very flexible, and to handle dynamic additions to the stock of classes.

In the next chapter, another important general area is discussed—the provision of services that will help with the use of a database.

主站蜘蛛池模板: 克山县| 江阴市| 扎囊县| 扎赉特旗| 泸州市| 镇远县| 兴仁县| 若尔盖县| 奎屯市| 高青县| 九寨沟县| 时尚| 高雄县| 和平县| 康马县| 闸北区| 远安县| 福海县| 凤城市| 柘荣县| 泸定县| 鹿泉市| 阜新市| 江都市| 马公市| 沽源县| 会同县| 民勤县| 西华县| 高雄市| 海城市| 舞阳县| 庆城县| 磐安县| 喀什市| 镇雄县| 陈巴尔虎旗| 临泉县| 保康县| 车致| 湄潭县|