Liferay

来自开放百科 - 灰狐
2008年4月4日 (五) 10:59Allen (讨论 | 贡献)的版本

跳转到: 导航, 搜索
Liferay-logo.png

Liferay Portal is a Java/J2EE portal system that provides personalization (like Yahoo!), web email (like Hotmail), blogs (like Xanga), document library, CMS, message boards (like Jive), shopping (e-commerce), Wiki and many other web tools all available

License : MIT License

Infoworld-2007.jpg InfoWorld 2007 Technology of the Year Awards:

Liferay Wins for Best Open Source Portal!

最新版: 4.3

CEO, Bryan Cheung will be presenting a keynote entitled, "Beyond Portals - Collaboration, Social Networking, and Web 2.0 for the Enterprise".

目录

Install

Windows

Liferay 4.3

安装最新版: 4.3.3, 新版本中可在线安装 Plugins 也就是一个一个的Portlet,不过好像有些问题

wget http://download.huihoo.com/liferay/4.3/liferay-portal-glassfish-4.3.3-win32.jar
java -jar liferay-portal-glassfish-4.3.3-win32.jar
cd D:\liferay-4.3.3\glassfish-2.0b41d\bin
asadmin.bat start-domain domain1
http://localhost:8080/web/guest/home
username: [email protected] password: test
http://localhot:4848/
admin/adminadmin

Linux

get it from http://download.huihoo.com/liferay/
unzip liferay-portal-jetty-4.2.2.zip
vi bin/run.sh 
java -Xmx256m ... //估计你没有 768m的内存 :)
bin/run.sh 
http://localhost:8080/
[email protected]/test

Plugins

wget http://download.huihoo.com/liferay/4.3/plugin/alfresco-content-portlet-4.3.3.1.war
rename alfresco-content-portlet-4.3.3.1.war alfresco.war
In the Plugin Installer Portlet, click on the Upload tab.
Click Browse and locate the alfresco.war file.
Click Deploy. 

Mail Server

Liferay Mail Server 的配置, 参考: http://docs.huihoo.com/liferay/4.3/installation-guide/ch05.html

打开${TOMCAT_HOME}\conf\Catalina\localhost\Root.xml文件,编辑其中的Mail/MailSession段,设置如下:

   <Resource
          name="mail/MailSession"
          auth="Container"
          type="javax.mail.Session"
          mail.imap.host="localhost"
          mail.pop3.host="localhost"
          mail.smtp.host="localhost"
          mail.store.protocol="imap"
          mail.transport.protocol="smtp"
  />

在Admin→Authentication可以设置用邮件或者用户名或识别号进行登录。在没有设置好邮件系统的时候,可选择使用用户名方式验证登录。

Road Map

Integration Alfresco Portlets, Magnolia CMS, MVN Forum, OpenCMS ...

Refactor Portal Core using JSF

Refactor Portlets using JSF

Business Intelligence Suite (Liferay Vision)

Learning Management System (Liferay University)

http://wiki.liferay.com/index.php/Liferay_Portal_Road_Map

核心技术

Liferay Infrastructure is SOA Framework
Architecture

Journal

Journal

Liferay Journal is Liferay Portal's built-in content management system (CMS) ready to deliver portal-based web publishing and document management.

http://www.liferay.com/web/guest/products/cms

SSO

Permissions

Permissions Tables

explains the inner details of how the permissions system works in Liferay

http://wiki.liferay.com/index.php/Permissioning_Explained

Internal API

Liferay-theme-resources.gif

http://www.liferay.com/web/guest/devzone/forums/message_boards/message/18493

Liferay Ecosystem

Liferay Ecosystem

Chutes and Ladders - Liferay. The diagram below is incomplete but begins to show how the Liferay community can work to create an ecosystem and how the some of the roles interact. Note that many activities cause benificial positive feedback loops which lead to a strong community, a strong product and thus a strong business model for Liferay, Service Integrators, and Customers.

Liferay Dependencies

Liferay 项目中所使用的软件包

http://wiki.liferay.com/index.php/Liferay_Dependencies

High Availability

Liferay High Availability

Liferay High Availability 涉及以下几个层次:

  • Virtual Hosting
  • Tomcat Clustering
  • Load Balancing
  • Database Clustering

更多细节: http://wiki.liferay.com/index.php/High_Availability_Guide

相关文档

Liferay技术文档

本文档v1.0包含以下内容:

  • Liferay系统架构
  • 核心技术
  • 表现层
  • 分析AddressBook Portlet
  • 开发Portlet
  • 修改、完善Liferay
  • 编译Liferay
  • 配置数据库
  • 代码生成
  • Liferay的定制
  • 支持多语言
  • 细节整理

html文档 - http://docs.huihoo.com/liferay/liferay-tech.html

word文档 - http://docs.huihoo.com/liferay/liferay-tech.doc

Developer

Source Code Organization

You just downloaded the source code. Inside you find a the following directory structure:

  • -rwx------ 1 app.server.properties
  • drwx------+ 7 applets
  • -rwx------ 1 build-common-ejb.xml
  • -rwx------ 1 build-common-java.xml
  • -rwx------ 1 build-common-web.xml
  • -rwx------ 1 build-common.xml
  • -rwx------ 1 build.properties
  • -rwx------ 1 build.xml
  • -rwx------ 1 changes.txt
  • drwx------+ 2 classes
  • drwx------+ 3 cms-web
  • -rwx------ 1 copyright.txt
  • drwx------+ 4 counter-ejb
  • drwx------+ 2 definitions
  • drwx------+ 4 documentlibrary-ejb
  • drwx------+ 5 filters
  • drwx------+ 4 laszlo-web
  • drwx------+ 3 layouttpl
  • drwx------+ 5 lib
  • drwx------+ 4 lock-ejb
  • drwx------+ 5 mail-ejb
  • drwx------+ 3 portal-client
  • drwx------+ 3 portal-ear
  • drwx------+ 4 portal-ejb
  • drwx------+ 4 portal-kernel
  • drwx------+ 3 portal-web
  • drwx------+ 8 portlets
  • -rwx------ 1 release.properties
  • -rwx------ 1 sample-dao-portlet-4.1.0.war
  • -rwx------ 1 sample-jsf-myfaces-portlet-4.1.0.war
  • -rwx------ 1 sample-jsf-sun-portlet-4.1.0.war
  • -rwx------ 1 sample-json-portlet-4.1.0.war
  • -rwx------ 1 sample-jsp-portlet-4.1.0.war
  • -rwx------ 1 sample-struts-portlet-4.1.0.war
  • drwx------+ 19 sql
  • drwx------+ 2 themes
  • drwx------+ 4 tools
  • drwx------+ 3 tunnel-web
  • drwx------+ 4 util-bridges
  • drwx------+ 4 util-java
  • drwx------+ 4 util-taglib
  • drwx------+ 4 util-wsrp
  • drwx------+ 3 web-sites

NetBeans

Eclipse

http://download.huihoo.com/liferay/liferay-ide-eclipse-1.0.2.jar

User

http://www.liferay.com/web/guest/stories

相关项目

相关链接

成功应用

分享您的观点
个人工具
名字空间

变换
操作
导航
工具箱