试图找到一个基于 PHP5 API 的可嵌入 CMS [英] Trying to find a PHP5 API-based embeddable CMS

查看:17
本文介绍了试图找到一个基于 PHP5 API 的可嵌入 CMS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在研究可以用作 API 的 CMS,采用某种嵌入式"模式.我的意思是我不希望 CMS 做任何逻辑或演示.我希望将它用作 API,然后我可以在现有站点中使用它.我不想被束缚在 CMS 的架构上.

I've been making the rounds for a CMS that I can use as an API, in a sort of "embedded" mode. I mean by this that I don't want the CMS to do any logic or presentation. I want it to be used as an API, which I can then use within an existing site. I don't want to be tied to the architecture of the CMS.

NC-CMS 就是一个很好的例子(http://www.nconsulting.ca/nc-cms/).它所需要的只是顶部的一个包含,然后在需要可编辑内容的任何地方,它只是一个带有唯一标签的函数调用.它也很完美,因为它允许区分小字符串(如标题、标签)和文本(需要富文本编辑器).

A good example of this is NC-CMS (http://www.nconsulting.ca/nc-cms/). All it needs is an include at the top, then wherever editable content is desired it's only a function call with a unique label. It's also perfect in the sense that it allows to differentiate between small strings (like titles, labels) and texts (which require a rich-text editor).

这是我发现的唯一符合此描述的 CMS,但它有点太轻了,因为它无法处理站点结构.我需要能够允许我的客户添加页面,为布局选择一个现有的模板.需要最少的后端.

It's the only CMS I found that fits this description, but it is a little too light as it does not handle site structure. I need to be able to allow my client to add pages, choosing an existing template for the layout. A minimal back-end is required.

Wordpress 也符合一些要求,因为它只处理内容编辑,并允许主题自由地调用内容,让他们在他们想要的地方和方式调用内容.但它是基于文章的并且是倒退的,因为它将网站(作为主题)嵌入到其结构中,而不是嵌入到像 NC 这样的网站中.

Wordpress also fits some requirements in that it handles only content editing and allows freedom for the themes by letting them call the content where and how they want it. But it is article-based and backwards, in that it embeds sites (as themes) within its structure, rather than being embeddable in sites like NC.

有趣的是如何检查所有的 CMS,几乎所有人都声称大多数 CMS 不是自给自足的,他们不处理应用程序逻辑,而(几乎)我发现的每一个都只有一个例外所以.许多都是基于文章的博客引擎,这不符合我的需要.

It's funny how checking out all the CMS out there, almost all of them claim that most CMS are not self-sufficient, that they do not handle application logic, while (almost) every single on I found with only one exception do so. Many are mostly article-based blog engines, which does not fit my need.

如果有任何符合一般描述的 CMS,我将不胜感激.

I would appreciate any CMS that fits the general description.

推荐答案

nc-cms 的创建者在这里.

Creator of nc-cms here.

添加到 nc-cms 可能是一个现实的选择,具体取决于您想要做什么.整个 nc-cms 项目总共不到 2,000 行,并且出于每个项目/客户端的可扩展性,代码库保持相当干净和简单.

Adding on to nc-cms may be a realistic option, depending on exactly what you want to do. The entire nc-cms project is under 2,000 lines in total and the codebase is kept rather clean and simple for the very reason of per project/client expandability.

这篇关于试图找到一个基于 PHP5 API 的可嵌入 CMS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆