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

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

问题描述

我已经在一种嵌入模式下使用CMS作为API,可以用作API。我的意思是,我不想让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天全站免登陆