简体   繁体   English

Alfresco - /alfresco 和 /share 的区别

[英]Alfresco - /alfresco and /share difference

So i have installed Alfresco and have two web applications /alfresco and /share.所以我安装了Alfresco并有两个 Web 应用程序 /alfresco 和 /share。 Whats the difference and purposes of these applications?这些应用程序的区别和目的是什么? Can one application exist without the other?一个应用程序可以在没有另一个应用程序的情况下存在吗?

/alfresco

This context points you to the Repository application.此上下文将您指向 Repository 应用程序。 It's the "core" app, where the content is effectively stored and where all the magic happens.它是“核心”应用程序,内容被有效存储,所有魔法都在这里发生。 Back in the old times, it was the one and only application, so that when Alfresco introduced Share, it was the only place where to find a UI for some features.在过去,它是唯一的应用程序,所以当 Alfresco 推出 Share 时,它​​是唯一可以找到某些功能 UI 的地方。 Now, Share is missing just a couple things.现在,Share 只缺少一些东西。

Currently, the idea is that this JSF application should be a kind of Admin only interface, only to be accessed whenever Share is missing something.目前的想法是,这个 JSF 应用程序应该是一种仅限管理员的界面,只有在 Share 缺少某些内容时才能访问。 However, if you really love JSF (really?) you can still opt to use this interface to build your Alfresco implementation.但是,如果您真的喜欢 JSF(真的吗?),您仍然可以选择使用此接口来构建您的 Alfresco 实现。

This application is mainly interesting for its features rather than for its UI: all the connections to external systems, like DB, CIFS or IMAP for example, happen from here.这个应用程序主要是因为它的功能而不是它的 UI:所有与外部系统的连接,比如 DB、CIFS 或 IMAP,都从这里发生。

On a side note, the "original" implementation of Alfresco WCM is built around this application.附带说明一下,Alfresco WCM的“原始”实现是围绕此应用程序构建的。 Anyway, because of several reasons this implementation of WCM is being phased out, with a new implementation built around Share and its concepts (eg Sites) that will grow quite a lot soon.无论如何,由于多种原因,WCM 的实现正在逐步淘汰,围绕 Share 及其概念(例如站点)构建的新实现将很快增长。

Don't expect new fancy development on this UI.不要指望在这个 UI 上有新的花哨的开发。


/share

This is usually intended the main UI for end users.这通常是面向最终用户的主 UI。 No JSF here (thanks, God!), it's a Spring Surf frontend to Alfresco that focuses on providing a Collaborative environment.这里没有 JSF(感谢上帝!),它是 Alfresco 的Spring Surf前端,专注于提供协作环境。 Here you will find the concepts of Sites, project/topic focussed containers for content, blogs and wikis.在这里,您将找到站点的概念、以项目/主题为中心的内容容器、博客和 wiki。

As all the content is stored via the other application, Share is almost stateless: no DB connection is opened from here, everything is pulled and pushed to /alfresco via Alfresco REST API and CMIS .由于所有内容都通过其他应用程序存储,因此 Share 几乎是无状态的:没有从这里打开数据库连接,所有内容都通过 Alfresco REST APICMIS拉取并推送到/alfresco

As already mentioned, the new WCM is leveraged from here, as well as all the common ECM features of Alfresco such as workflows, versioning, document transformations, ACLs and so on.如前所述,新的 WCM 以及 Alfresco 的所有常见 ECM 功能(例如工作流、版本控制、文档转换、ACL 等)都是从这里利用的。 Plus, document previews and thumbnails, Blogs, Wikis, Data Lists, ...此外,文档预览和缩略图、博客、Wiki、数据列表、...

This is most likely the UI Alfresco will continue to improve, adding all the whistles and bells they can come up with.这很可能是 UI Alfresco 将继续改进,添加他们能想出的所有口哨和铃声。

Adding some more information on latest version alfresco 5.0b.添加有关最新版本 alfresco 5.0b 的更多信息。

Major changes in alfresco 5.0b is that Alfresco web client is removed from alfresco .So there wont be any JSF coding alfresco 5.0b 的主要变化是从 alfresco 中删除Alfresco Web 客户端。因此不会有任何 JSF 编码

Repository Architecture is still there, So if you want to deal with core app "/alfresco" is the location which will be used for creating webscript,workflows and other thing.存储库架构仍然存在,所以如果你想处理核心应用程序,“/alfresco”是用于创建 web 脚本、工作流和其他东西的位置。

Conclusion结论


  • Share will be only used as frontend application.All core portion will be on alfresco repository. Share 将仅用作前端应用程序。所有核心部分将在 alfresco 存储库中。

Alfresco: By a developer point of view I would describe "alfresco" as the backend repository that sums up most of the functionality for which we use ACS. Alfresco:从开发人员的角度来看,我将“alfresco”描述为后端存储库,它总结了我们使用 ACS 的大部分功能。 The services that share uses are defined in alfresco.共享使用的服务在 alfresco 中定义。

Share: Share was introduced so that a person with not so much technical knowledge may be able to get as much as possible out of the ECM.分享:引入分享是为了让技术知识不是很多的人能够从ECM中获得尽可能多的东西。 If you are new to share you should look into model manager, smart folders and actions.如果您不熟悉共享,则应查看模型管理器、智能文件夹和操作。

In 2020, think of /alfresco as the repository part of Alfresco and /share as the user interface. 2020 年,将 /alfresco 视为 Alfresco 的存储库部分,将 /share 视为用户界面。 Keep in mind that Share is now deprecated and will be replaced more and more with something called Alfresco Digital Workspace.请记住,共享现在已被弃用,并将越来越多地被称为 Alfresco Digital Workspace 的东西所取代。 For now, they have most of the same functionality except that the old Share uses an older Javascript framework, called "Surf" that integrates with a much older version of Spring.目前,它们具有大部分相同的功能,除了旧的 Share 使用旧的 Javascript 框架,称为“Surf”,该框架与旧版本的 Spring 集成。 The Alfresco Digital Workspace is created using Angular and is a client that can be run from its own WAR. Alfresco Digital Workspace 是使用 Angular 创建的,是一个可以从它自己的 WAR 运行的客户端。

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

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