Building Websites with OpenCms
eBook - ePub

Building Websites with OpenCms

Matt Butcher

Compartir libro
  1. 276 páginas
  2. English
  3. ePUB (apto para móviles)
  4. Disponible en iOS y Android
eBook - ePub

Building Websites with OpenCms

Matt Butcher

Detalles del libro
Vista previa del libro
Índice
Citas

Información del libro

This book takes you through the process of creating content-rich websites and applications using OpenCms. Although powerful and flexible, OpenCms can be daunting on first approach, but its advanced features reward the investment in learning. This book exists to ease Java developers into getting the most from OpenCms. OpenCms OpenCms is a professional-level, open source Website Content Management System, with which you can create and manage complex websites. Based on Java and XML technology, it fits into almost any modern IT environment. With hard-won experience of the practical difficulties faced by developers working with OpenCms, this book is the embodiment of the author's expertise, and the perfect way to master the system. This book takes you through the process of creating content-rich websites and applications using OpenCms. Although powerful and flexible, OpenCms can be daunting on first approach, but its advanced features reward the investment in learning. This book exists to ease Java developers into getting the most from OpenCms. With hard-won experience of the practical difficulties faced by developers working with OpenCms, this book is the embodiment of the author's expertise, and the perfect way to master the system. This book was written for version 5.0 of OpenCms. Visit the Free Online Edition for Building Websites with OpenCms and learn more about the book, you can read through two full chapters, "The OpenCms Workplace", and "Creating an OpenCms Module" and discover what each chapter from this best selling book has in store. http://OpenCmsBook.PacktPub.com If you are a web developer new to OpenCms, or are an experienced OpenCms developer who is looking to get the most from the system, then this is the book for you. A working knowledge of Java, JSP, and XML is required to get the most from OpenCms, and from this book.

Preguntas frecuentes

¿Cómo cancelo mi suscripción?
Simplemente, dirígete a la sección ajustes de la cuenta y haz clic en «Cancelar suscripción». Así de sencillo. Después de cancelar tu suscripción, esta permanecerá activa el tiempo restante que hayas pagado. Obtén más información aquí.
¿Cómo descargo los libros?
Por el momento, todos nuestros libros ePub adaptables a dispositivos móviles se pueden descargar a través de la aplicación. La mayor parte de nuestros PDF también se puede descargar y ya estamos trabajando para que el resto también sea descargable. Obtén más información aquí.
¿En qué se diferencian los planes de precios?
Ambos planes te permiten acceder por completo a la biblioteca y a todas las funciones de Perlego. Las únicas diferencias son el precio y el período de suscripción: con el plan anual ahorrarás en torno a un 30 % en comparación con 12 meses de un plan mensual.
¿Qué es Perlego?
Somos un servicio de suscripción de libros de texto en línea que te permite acceder a toda una biblioteca en línea por menos de lo que cuesta un libro al mes. Con más de un millón de libros sobre más de 1000 categorías, ¡tenemos todo lo que necesitas! Obtén más información aquí.
¿Perlego ofrece la función de texto a voz?
Busca el símbolo de lectura en voz alta en tu próximo libro para ver si puedes escucharlo. La herramienta de lectura en voz alta lee el texto en voz alta por ti, resaltando el texto a medida que se lee. Puedes pausarla, acelerarla y ralentizarla. Obtén más información aquí.
¿Es Building Websites with OpenCms un PDF/ePUB en línea?
Sí, puedes acceder a Building Websites with OpenCms de Matt Butcher en formato PDF o ePUB, así como a otros libros populares de Informatik y Informationstechnologie. Tenemos más de un millón de libros disponibles en nuestro catálogo para que explores.

Información

Año
2004
ISBN
9781904811046
Edición
1
Categoría
Informatik

Building Websites with OpenCms

Matt Butcher


Table of Contents

Building Websites withOpenCms
Credits
About the Author
Introduction
What This Book Covers
What You Need for Using This Book
Conventions
Reader Feedback
Customer Support
Downloading the Example Code for the Book
Errata
Questions
1. Introduction to OpenCms
What Is a Content Management System?
Three Essential Components
What Is OpenCms?
Features
History
The OpenCms Community
The Purpose of This Book
Technical Overview
The Web Server and Java Servlets
The Database
Pages, Templates, and Java Server Pages
Bringing it Together
Summary
2. Installing OpenCms
Prerequisites
Configuring the MySQL Database
MySQL on Linux
MySQL on Windows
Finishing the MySQL Setup
Configuring the Tomcat Servlet Engine
Linux Configuration
Windows Configuration
Configuring Encoding
Tuning the JVM
Installing the OpenCms WAR File
Configuring OpenCms to Use UTF-8
Running the Install Wizard
Advanced Setup Screens
Basic Setup Screens
Manually Configuring Settings
Configuring the Client
Mozilla-Based Browsers
Internet Explorer
Installation Troubleshooting
Character-Set Issues
Temp File Project ID Error
Restarting Tomcat versus Reloading OpenCms
Importing Workplace Screen Freezes
MySQL User/Password Changes
Finding More Installation Help
Summary
3. The OpenCms Workplace
A Tour of the OpenCms Workplace
The Toolbar
The Explorer View
Creating and Editing Content
Creating a Folder
The WYSIWYG Editor
The Sourcecode Editor
Publishing Your Changes
Versioning
Administration
Project Management
User Management
Database Management
Static Export
Clear Element Cache
Resource Type Management
Properties Management
Gallery Management Tools
Link Checking
Module Management
Synchronization Management
Scheduled Tasks
Log File Viewer
Channels
Flex Cache Administration
Workflow
Creating and Managing Tasks
Workflow Management Strategies
Use Projects to Manage Content Areas
Use Group Hierarchies for Inherited Permissions
Track Work with Tasks
Keeping a Trail
Modules
Obtaining Official OpenCms Modules
The Help System Modules
Importing OpenCms Modules
Where Did All that Module Data Go?
Online Documentation Modules
Other Modules
Summary
4. Customizing the Site
Overview of Creating a Site
Working with Templates and Tags
Creating a Site Module for Templates
Creating a New Template
The JSP Template
Associating a Page with the New Template
JSP Tag Libraries and Scriptlets
JSP Tag Libraries
The OpenCms Tag Library
The JSP Template
Creating a JSP Document
JSP Scriptlets
Basic Scriptlets
The CmsJspActionElement Object
OpenCms Navigation
Getting the Contents of Other Files
Advanced Scriptlet Programming
A Few Things to Watch Out For
The File System
Redirecting and Forwarding
Java Synchronization
Dynamic Content and Publishing
Structuring Code and Content
The FlexCache
Tuning the FlexCache
FlexCache JSP Directives
Absolute Directives
User Directives
Time-Sensitive Directives
URL Directives
Controlling the Cache with URL Parameters
Using FlexCache
Internationalization
Modules
Creating ResourceBundles
JSPs and ResourceBundles
Summary
5. The OpenCms System Architecture
Resource Types
Coding a New Resource Type
Building the Resource Type
Building with Ant
Editing the Properties Files
Adding a Restype
Menu Items
Rule Keys
Adding Properties for the Resource Type
Editing the OpenCms Registry
Using the New Resource Type
Content Definitions
The Steps for Creating a Content Definition
Important Methods
The Virtual File System
How Page Types Are Stored in the VFS
Resource Names and the VFS
Reading from and Writing to the VFS
Class Structure
com.opencms.boot
com.opencms.core
com.opencms.dbpool
com.opencms.defaults
com.opencms.defaults.master
com.opencms.file
com.opencms.file.<database>
com.opencms.file.utils
com.opencms.flex
com.opencms.flex.cache
com.opencms.flex.jsp
com.opencms.flex.util
com.opencms.htmlconverter
com.opencms.launcher
com.opencms.linkmanagement
com.opencms.report
com.opencms.template
com.opencms.template.cache
com.opencms.util
com.opencms.workplace
Summary
6. Creating an OpenCms Module
Using Modules
The Site Module
Creating a Module
Navigating the New Module
Custom Classes and Libraries
Adding Libraries
Adding Content
Creating a Simple XML Document
A Place for XSLT Templates
JSP Elements
Adding a Scheduled Task
The BatchTransformer Class
The CronBatchTransformer Class
Scheduling a Task
How an I_CmsCronJob Is Executed
Managing the Module
Administrate
The Dependency Screen
The Module Properties Screen
Properties
Accessing Module Parameters from JSP Pages
Exporting and Deploying the Module
Summary
7. Advanced Modules
Adding an Administration Point
Creating Icons
Adding a Properties File
Creating Administration Point Folders
Adding Additional Properties
Creating an Administration JSP
The JSP Code
The Administration Point in Action
XML Templates
How XML Templates Work
Editing XML Templates
The Structure of the Workplace XML Templates
The action Folder
The administration Folder
The help and locales Folders
The resources Folder
The restypes Folder
The scripts Folder
The templates Folder
The /system/login Folder
Creating a Custom Launcher
The Basic Idea
Implementing a Launcher
Editing the Registry
Testing the Launcher
Other Considerations
Creating XML-Template-Based Launchers
Creating Resource Loaders
Master Modules
Summary
8. Deploying an OpenCms Solution
Serving Static versus Dynamic Content
Published Resources
Static Serving
Dynamic Serving
The Export Property
Changing Export Settings
Static Export
Configuring for Static Export
Export Path Settings
Export URL Settings
Using Relative Links
Running a Static Export
Touching All Files in the VFS
Web User Authentication and Management
How OpenCms Handles Authentication
The Guest User
CMS Users
Web Users
Creating Web Users
The create_webuser.jsp Scriptlet
Authenticating Web Users
Using the Authentication JSP
Restricting Access through a Template
Backup and Recovery
Backing Up the Database
Backups from Within OpenCms
Performing an OpenCms Database Export
Backing Up Large Sites
The Backup Files
Importing an Export Zip File
Users and Groups
Resources
Performance Tuning
Database Tuning
MySQL
Oracle
SQL Server
OpenCms Tuning
FlexCache
Page Streaming
Efficient Coding
Other Resources
Summary
A. Building OpenCms from Source
What You Will Need
Getting the OpenCms Source
Checking Out the Source from CVS
Building OpenCms with Ant
Generating Javadocs
Summary
B. Using the OpenCms Lucene Search Module
Searching Technologies and OpenCms
About the Op...

Índice