donglan6967 2013-02-13 12:22
浏览 48

关于组件或模块与不同版本的Joomla(3)的兼容性

Just I have one doubt that why one component or module is compatiable with one version of Joomla(Ex-> Joomla 2.5) but the same component or module is not compatiable with another version of Joomla(Ex-> Joomla 3.0).

If I want to make it compatiable with another versions also then what changes I need to do

  • 写回答

1条回答 默认 最新

  • duandong1963 2013-02-13 13:12
    关注

    The problem with compatibility is Joomla! is a delicate one.

    The Joomla! platform / API is evolving all the time (especially between LTS releases like 1.5 and 2.5), so classes / functions are changed or deprecated and later removed. New things are added and so on.

    For developers is possible to maintaing a component under different versions (I am not saying it's easy), but they need to know what has changed in the API.

    Also constructs like (in pseudocode)

    if (Joomla! version == 1.5) then do this else do that.

    are used to make sure some parts of the code are used only in a specific version.

    To better understand what is going on have a look at:

    Potential backward compatibility issues in Joomla 3.0

    You you easily see:

    • Renamed classes
    • Removed classes
    • etc.
    评论

报告相同问题?

悬赏问题

  • ¥20 机器学习能否像多层线性模型一样处理嵌套数据
  • ¥20 西门子S7-Graph,S7-300,梯形图
  • ¥50 用易语言http 访问不了网页
  • ¥50 safari浏览器fetch提交数据后数据丢失问题
  • ¥15 matlab不知道怎么改,求解答!!
  • ¥15 永磁直线电机的电流环pi调不出来
  • ¥15 用stata实现聚类的代码
  • ¥15 请问paddlehub能支持移动端开发吗?在Android studio上该如何部署?
  • ¥20 docker里部署springboot项目,访问不到扬声器
  • ¥15 netty整合springboot之后自动重连失效