python 内网 CMS 的哪个软件 - Django 或 Joomla?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/423916/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-11-03 20:04:23  来源:igfitidea点击:

Which software for intranet CMS - Django or Joomla?

pythondjangocontent-management-systemjoomla

提问by zalun

In my company we are thinking of moving from wiki style intranet to a more bespoke CMS solution. Natural choice would be Joomla, but we have a specific architecture. There is a few hundred people who will use the system. System should be self explainable (easier than wiki).

在我的公司,我们正在考虑从 wiki 风格的内部网转向更定制的 CMS 解决方案。自然选择 Joomla,但我们有特定的架构。有数百人将使用该系统。系统应该是自我解释的(比维基更容易)。

We use a lot of tools web, applications and integrated within 3rd party software. The superior element which is a glue for all of them is API. In example for the intranet tools we do use Django, but it's used without ORM, kind of limited to templates and url - every application has an adequate methods within our API. We do not use the Django admin interface, because it is hardly dependent on ORM.

我们使用了很多工具 web、应用程序和集成在 3rd 方软件中。API 是所有这些的粘合剂。在 Intranet 工具的示例中,我们确实使用了 Django,但它在没有 ORM 的情况下使用,仅限于模板和 url - 每个应用程序在我们的 API 中都有足够的方法。我们不使用 Django 管理界面,因为它几乎不依赖于 ORM。

Because of that Joomla may be hard to integrate. Every employee should be able to edit most of the pages, authentication and privileges have to be managed by our API.

因此,Joomla 可能难以集成。每个员工都应该能够编辑大部分页面,身份验证和权限必须由我们的 API 管理。

How hard is it to plug Joomla to use a different authentication process? (extension only - no hacks)

插入 Joomla 以使用不同的身份验证过程有多难?(仅限扩展 - 没有黑客)

If one knows Django better than Joomla, should Django be used?

如果比 Joomla 更了解 Django,应该使用 Django 吗?

回答by Josh Smeaton

Django isn't a CMS. If you want to build an application then you'd use Django (by the sound of your post you understand that though). If you just want to be able to edit/store content and have permissions for your users - a CMS would be the way to go. I really don't know anything about Joomla though. It should be easy enough to mock up a hack to do whatever authentication you need - even if that's just a POST directly to the server.

Django 不是 CMS。如果您想构建一个应用程序,那么您将使用 Django(不过,根据您的帖子的声音,您明白这一点)。如果您只想能够编辑/存储内容并为您的用户授予权限 - CMS 将是您的最佳选择。虽然我真的对 Joomla 一无所知。模拟一个 hack 来执行您需要的任何身份验证应该很容易 - 即使这只是直接发送到服务器的 POST。

Django will take a long time to get up to the point where you're using it for the purposes you mention. The admin interface will need to be used (or you're building a CMS from scratch) - which means creating models to model the content you already own. Then you have to customise each model page, and 'plug in' whatever authentication system you want.

Django 需要很长时间才能达到您将其用于您提到的目的的程度。需要使用管理界面(或者您正在从头开始构建 CMS)——这意味着创建模型来为您已经拥有的内容建模。然后您必须自定义每个模型页面,并“插入”您想要的任何身份验证系统。

Lot of work.

很多工作。

回答by Oli

Perhaps you can check Django CMS.

也许您可以检查Django CMS

回答by kn3l

Plone option cancelled on today's meeting.

在今天的会议上取消了 Plone 选项。

In my view Plone is very powerful for building an intranet.

在我看来,Plone 在构建内部网方面非常强大。

Some references:

一些参考:

回答by jlleblanc

Joomla! has authentication plugins; you can write your own without hacking the core. When someone attempts to log into your site, it will go through all published authentication plugins (in the order you set) until one returns true. If you only want to use one method, unpublish all of the other plugins except for your custom one.

乔姆拉!有认证插件;您可以自己编写而无需破解核心。当有人尝试登录您的站点时,它将遍历所有已发布的身份验证插件(按照您设置的顺序),直到返回 true。如果您只想使用一种方法,请取消发布除自定义插件之外的所有其他插件。

Also, Joomla! already has a plugin for LDAP if your system supports this.

还有,Joomla!如果您的系统支持,则已经有 LDAP 插件。

The part that may be more difficult would be managing specific privileges through the API. Joomla! currently lacks group level access control; it currently has permission level access control (Editors, Publishers, Administrators, etc...).

可能更困难的部分是通过 API 管理特定权限。乔姆拉!目前缺乏组级访问控制;它目前具有权限级别的访问控制(编辑器、发布者、管理员等...)。

回答by Kurt Pattyn

As you tagged your question with Python, you can have a look at plone (http://plone.org)

当你用 Python 标记你的问题时,你可以看看 plone ( http://plone.org)

回答by Edgar

If you use FLEXIcontent and FLEXiaccess you can get granular level permissions on Joomla

如果您使用 FLEXIcontent 和 FLEXiaccess,您可以获得 Joomla 上的细粒度权限

回答by zalun

Thanks for that. The system has been chosen behind my back by higher management.

感谢那。该系统已被上级管理层背着我选中。

It's SilverStripe.

是银条。

  • Slow Admin interface
  • No experienced programmer in the company knowing this product
  • Implemented by a graphic designer who's leaving in about two weeks, but "he can do consulting as he's going to be a freelancer"
  • 缓慢的管理界面
  • 公司没有经验的程序员知道这个产品
  • 由大约两周后离职的平面设计师实施,但“他可以做咨询,因为他将成为一名自由职业者”

I'm not happy at all

我一点都不开心

Thanks again.

再次感谢。

回答by zalun

Thank you for all the answers.

谢谢大家的回答。

Plone option cancelled on today's meeting.

在今天的会议上取消了 Plone 选项。

Using Joomla will involve quite a lot of coding to make it act as the rest of the intranet. I think that writing a CMS in Django (with "stealing" some code from existing cms solutions) will win. Newforms are very interesting and it shouldn't be that hard (I wrote already a CMS system in PHP build on my own framework - used on about 15 sites)

使用 Joomla 将涉及大量编码以使其充当 Intranet 的其余部分。我认为在 Django 中编写一个 CMS(从现有的 cms 解决方案中“窃取”一些代码)将会获胜。Newforms 非常有趣,它不应该那么难(我已经在我自己的框架上用 PHP 编写了一个 CMS 系统 - 在大约 15 个站点上使用)

回答by zalun

Django CMS way of work requires using a built-in ORM model and an admin interface.

Django CMS 的工作方式需要使用内置的 ORM 模型和管理界面。