Laravel 创建自己的 Facade
laravel 提供了一个灵活的模式,那就是 facade 。框架内部的 DB、Auth、File 等功能也有相关的 facade 实现。那么,该如何写自己的 facade 呢?
laravel 提供了一个灵活的模式,那就是 facade 。框架内部的 DB、Auth、File 等功能也有相关的 facade 实现。那么,该如何写自己的 facade 呢?
使用CI框架做应用时网站前后台的合理目录搭建。单入口or多入口?CI框架的扩展怎么做?多入口多应用下如何使用公有模型?
Web框架的MVC符合标准的MVC吗?model和view之间需要通信吗?