关于HMVC和MVC的疑惑~
终于看完官网上一哈子的视频了……可是听他说还有续集,要用HMVC实现一些功能,可是不是说CI是MVC的吗?又看到论坛中又个Kohana 框架
好像就是用HMVC实现的,这两者又差别吗? kohana框架也是mvc的,只是它有hmvc的模块。
ci也有很多hmvc的模块。
去看下开源项目openblog,它是用hmvc来写的。 HEX给的HMVC扩展很好用,我用了一下,不错。你可以在论坛里搜一下Hmvc
kohana国内好像没什么人气,用的不多。 本帖最后由 thatday 于 2011-10-14 17:24 编辑
xiaoniao 发表于 2010-1-19 22:06 http://codeigniter.org.cn/forums/static/image/common/back.gif
kohana框架也是mvc的,只是它有hmvc的模块。
ci也有很多hmvc的模块。
去看下开源项目openblog,它是用hmvc ...
发现openblog的php源文件末尾都有例如:
/* End of file social_bookmarking.php */
/* Location: ./application/modules/admin/controllers/social_bookmarking.php */
这样的结尾tag,应该是编辑器自动生成的,看到ci框架文件里面也是这样。
请问有大虾知道这个是用什么编辑器活方法来实现的吗?
官方文档里提到,但没说怎么加的
http://codeigniter.com/user_guide/general/styleguide.html
这里还有说加注释不好,直接去掉?>就得了
http://tristram.squarespace.com/home/2010/5/12/the-codeigniter-end-of-file-comment-convention.html
页:
[1]