`
hulunberbus
  • 浏览: 858403 次
文章分类
社区版块
存档分类
最新评论

Joomla!的一些基本概念: Component, Module, Plugin

 
阅读更多

[译注:Component, Module, Plugin在不同的框架里面代表的含义并不一样, 因此容易让人感到迷惑.

比如在Cake中Component代表的是控制器一些公共逻辑的组装, Plugin则代表着一个独立的扩展应用.]


本文将解释这3个概念在Joomla中的定义和区别:组件(Component),模块(Module)和插件(Plugin)。


组件(Component)

事实上,一个组件是一个单独的应用程序。有它自己的功能,数据库和视图。你可以安装组件以扩展网站功能。组件的例子是一个论坛,邮件列表,相册等,这些完全可以被当作单独的应用程序。组件将显示在您的网站的主体部分,而且只有一个组件可以被显示。而菜单可以被看作是不同组件之间切换的导航栏。好比在Windows任务栏上,你看到的每个标签可以打开对应的独立应用程序。



模块(Module)

模块用来扩展网站上的某些信息。是为已经存在的内容添加新的功能和展示,它已经是你的网站的一部分。比如最新文章模块,登录模块,菜单等通常情况下,你的网页上有多个模块。组件和模块之间的区别并不总是很清楚。你可以这样想, 一个模块不能作为一个独立的应用程序,它只能显示信息,或为现有的应用程序添加功能。以邮件列表(Newsletter)为例。邮件列表是一个组件。你可以有一个网站,只作为邮件列表使用,这没有问题一般而言,邮件列表的应用会有一个订阅页面,您可能要为网站的每一页添加侧边栏订阅模块,你可以把这个模块放在网站上的任何地方,但这个模块不能脱离通讯列表组件单独存在。



插件(Plugin)

自JOOMLA 1.5.x开始,有了插件的概念。插件通常是用来在信息被展示之前对其进行加工处理的。比如ULTI Reflection插件,你在文章中放置{reflection}标签,在文章呈现前,该插件将扫描内容,找到{reflection}标签并替换为相应的图片。


translated by iefreer, original link:

http://www.ultijoomla.com/blog/Joomla-Components-Modules-and-Plugins.html


分享到:
评论

相关推荐

    Joomla! 3: Beginner’s Guide

    Joomla! is one of the most popular open source Content Management Systems, actively developed and supported by a world-wide user community. It’s a free, fun, and feature-rich tool for anyone who ...

    Joomla! 宝典.pdf

    中文名: Joomla! 宝典 原名: Joomla! Bible 别名: Joomla!,PHP,CMS,宝典,Bible 作者: Ric Shreves资源格式: PDF 出版社: Wiley书号: 978-0-470-50957-9发行时间: 2010年 地区: 美国 语言: 英文 简介:  Joomla!是...

    Joomla! 用户宝典

    最后,本书也涉及了一些普遍关注的话题,例如Joomla!如何能让搜索引擎优化(SEO)最佳化,什么资源能在Joomla!社区里获得。 本书致力于Joomla!最新的版本,也就是Joomla 1.5,是一个非常重要的CMS更新版本。 本书的...

    《Joomla!建站步步通》Joomla!组件模块安装配置视频培训教程

    《Joomla!建站步步通》Joomla!组件模块安装配置视频培训教程

    [Joomla!官方出品权威指南] The Official Joomla! Book

    The Official Joomla! Book.pdf 2011年最新出来的Joomla!教程,涵盖最新的Joomla! 1.6,Joomla!官方出品的权威指南.

    Joomla!基本组件开发

    https://docs.joomla.org/Developing_a_MVC_Component 这个教程的附件,joomla!MVC组件开发过程 可以当做开发组件的开始

    Joomla!_1.5 扩展开发

    精通 Joomla 1.5 扩展和架构开发,翻译本 学习Joomla! 1.5 扩展开发 ,翻译本

    Learning Joomla! 1.5 Extension Development Creating Modules, Components, and Plugins with PHP

    Joomla! is an award-winning content management system with a powerful extension system. This makes it easy for third-party developers to build code extending Joomla\'s core functionality ...

    Joomla! 3 Beginner's Guide(2nd) epub

    Joomla! 3 Beginner's Guide(2nd) 英文epub 第2版 本资源转载自网络,如有侵权,请联系上传者或csdn删除 查看此书详细信息请在美国亚马逊官网搜索此书

    SuperBlogger: blogging for Joomla! 1.5 just got easier and more powerful!

    SuperBlogger is a new powerful plugin adding blogging functionality to Joomla! 1.5 articles. The plugin integrates popular services like Disqus.com (for comments) and Twitter, along with commonly used...

    DOCman 1.4.x - Joomla! Document Manager

    在JOOMLA!1.5.x和1.0.x下的安装说明见下: Installation in Joomla! 1.5.x ----------------------------- DOCman only works with Joomla! v1.5RC3 or later. 1. Turn on legacy mode. [Extensions -> Plugin ...

    Joomla! 3 Beginner's Guide(2nd) mobi

    Joomla! 3 Beginner's Guide(2nd) 英文mobi 第2版 本资源转载自网络,如有侵权,请联系上传者或csdn删除 查看此书详细信息请在美国亚马逊官网搜索此书

    Joomla! Template Design

    Joomla! Template Design:Create Your Own Professional-quality Templates with This Fast, Friendly Guide.pdf

    Beginning_with_Joomla!_CMS_Web_Designing_using_Joomla!_for_Beginners_nodrm

    Beginning_with_Joomla!_CMS_Web_Designing_using_Joomla!_for_Beginners_nodrm Beginning_with_Joomla!_CMS_Web_Designing_using_Joomla!_for_Beginners_nodrm

    Joomla! 1.5 网站防黑9条戒律

    你的 Joomla! 1.5 网站安全吗?你是否知道已经有很多 Joomla 网站被黑客攻击了?就连国内某著名 Joomla 知识网站前不久也惨遭黑手,首页被替换成黑客的标语。 虽然说没有绝对的安全,但是如果采取一定的措施,总是...

    Joomla(囧啦) v1.7 中文版

    除了具有新闻/文章管理,文档/图片管理,网站布局设置,模板/主题管理等一些基本功能之外。还可通过其提供的上千个插件进行功能扩展包括:电子商务与购物车引擎,论坛与聊天软件,日历,博客软件,目录分类管理,...

    Joomla! 插件开发指南

    Joomla! 插件开发指南Joomla! 插件开发指南Joomla! 插件开发指南

Global site tag (gtag.js) - Google Analytics