dongxuandong2045 2010-02-02 01:00
浏览 36
已采纳

关于基于组件的框架的问题

i read about that with component-based frameworks, like yii, you could reuse every component for you next project.

could someone give a real-life example of components (i hear this word all the time, but don't know what they exactly refer to) and how i could reuse them for my next project?

are codeigniter and kohana component based frameworks?

  • 写回答

1条回答 默认 最新

  • dongtu1789 2010-02-02 01:26
    关注

    Kohana, Yii, and CodeIgniter are all OO frameworks. They let you easily extend what is provided with your own functionality.

    If you were making a website about books, for example, you could create a Book object that encapsulated whatever functions and properties you need to describe and manipulate books.

    Later, when you do another website that involves books, you can simply re-use the Book object created for the first site.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 关于#c##的问题:最近需要用CAT工具Trados进行一些开发
  • ¥15 南大pa1 小游戏没有界面,并且报了如下错误,尝试过换显卡驱动,但是好像不行
  • ¥15 没有证书,nginx怎么反向代理到只能接受https的公网网站
  • ¥50 成都蓉城足球俱乐部小程序抢票
  • ¥15 yolov7训练自己的数据集
  • ¥15 esp8266与51单片机连接问题(标签-单片机|关键词-串口)(相关搜索:51单片机|单片机|测试代码)
  • ¥15 电力市场出清matlab yalmip kkt 双层优化问题
  • ¥30 ros小车路径规划实现不了,如何解决?(操作系统-ubuntu)
  • ¥20 matlab yalmip kkt 双层优化问题
  • ¥15 如何在3D高斯飞溅的渲染的场景中获得一个可控的旋转物体