简体   繁体   English

卸下Joomla CMS的零件

[英]Removing parts of Joomla CMS

Background 背景

I have been developing a web application. 我一直在开发Web应用程序。 I have been using Joomla platform and CMS as the base from my application. 我一直在使用Joomla平台和CMS作为应用程序的基础。 My application relies heavily on the joomla platform, but uses very few features of the CMS (I have to login users etc so I use the _users component of the CMS). 我的应用程序在很大程度上依赖于joomla平台,但使用的CMS功能很少(我必须登录用户等,因此我使用CMS的_users组件)。

Question

What is the best way to start removing some of the excess CMS that I don't need? 开始删除一些不需要的多余CMS的最佳方法是什么? For example when I being building my production site, I will want to avoid creating a load of joomla component database tables etc. I have read that an application can be build from the ground up using just the joomla platform, but i still want to include the _users component and would also like to avoid having to start coding all the session handling aspects. 例如,当我建立自己的生产站点时,我将希望避免创建大量的joomla组件数​​据库表等。我已经读到可以仅使用joomla平台从头开始构建应用程序,但是我仍然想包括_users组件,并且还希望避免必须开始对所有会话处理方面进行编码。

I guess I need to continue to have the basic CMS application, but with a really stripped down list of core components and no administrator backend. 我想我需要继续拥有基本的CMS应用程序,但是核心组件列表确实很精简,并且没有管理员后端。

Any advice? 有什么建议吗?

You can uninstall core extensions and modules using the extension manager. 您可以使用扩展管理器来卸载核心扩展和模块。 At that point if you want you could rebuild the joomla.sql file with just the tables you need (I recommend always doing this by exporting an actual database you have gone through this procedure with, don't try to do it by hand) and zip up the whole thing as an installable package. 此时,如果您希望仅使用所需的表来重建joomla.sql文件(我建议始终通过导出已通过此过程进行操作的实际数据库来执行此操作,请勿尝试手动进行操作),然后将整个内容压缩为可安装的软件包。

In terms of back end in principle they are totally independent but there are some models and maybe some helpers called from the backend by the front end, so you will want to look at what you have left when you are done and then think about it. 就后端而言,它们在原则上是完全独立的,但是有一些模型,也许有一些从后端调用的助手,所以您将需要查看完成后剩下的内容,然后再进行思考。 In particular the articles model is one you will want to watch out for. 特别是,文章模型是您要提防的模型。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM