如何为Google App Engine设计可扩展的CMS? [英] How to design an extensible CMS for Google App Engine?

查看:141
本文介绍了如何为Google App Engine设计可扩展的CMS?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是CMSes的可扩展性的粉丝。您可以上传一些代码(通常是PHP),并从CMS管理面板授权,并且正在运行。

I am a fan of the extensibility of the CMSes. You can upload some code (usually PHP), authorize it from the CMS admin panel and it's running.

我不知道Google App Engine是否可以。我没有检查现有的CMSes的可扩展性为Google App Engine,但如果有任何支持插件,我想知道他们是如何做到,他们是否是JS插件,或者他们支持Python / Java

I wonder if it is possible in Google App Engine. I haven't checked the extensibility of existing CMSes for Google App Engine, but if there is any of them that supports plugins I would like to know how they did it, and whether they are JS plugins only, or if they support Python/Java plugins too.

推荐答案

实际上,我在App Engine应用程序中没有看到支持插件的概念性问题。例如,在Java上,您可以从数据存储或memcache(在应用程序初始化阶段)获取插件jar到内存,然后使用自定义类加载器根据需要加载插件类。实际上,您甚至可以从请求数据加载类,并根据需要即时评估(如何在 AppWrench Java控制台)。

Actually I see no conceptual problem with supporting plugins in App Engine application. For example on Java you may fetch plugin jar to memory from data store or memcache (on application initialization phase), and then use custom class loader to load plugin classes as needed). Actually you even may load classes from request data and evaluate them on the fly if needed (how we do it in AppWrench Java console).

尊敬的,
Pavel。

Regards, Pavel.

这篇关于如何为Google App Engine设计可扩展的CMS?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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