Building Websites with OpenCms
eBook - ePub

Building Websites with OpenCms

Matt Butcher

Partager le livre
  1. 276 pages
  2. English
  3. ePUB (adapté aux mobiles)
  4. Disponible sur iOS et Android
eBook - ePub

Building Websites with OpenCms

Matt Butcher

DĂ©tails du livre
Aperçu du livre
Table des matiĂšres
Citations

À propos de ce livre

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.

Foire aux questions

Comment puis-je résilier mon abonnement ?
Il vous suffit de vous rendre dans la section compte dans paramĂštres et de cliquer sur « RĂ©silier l’abonnement ». C’est aussi simple que cela ! Une fois que vous aurez rĂ©siliĂ© votre abonnement, il restera actif pour le reste de la pĂ©riode pour laquelle vous avez payĂ©. DĂ©couvrez-en plus ici.
Puis-je / comment puis-je télécharger des livres ?
Pour le moment, tous nos livres en format ePub adaptĂ©s aux mobiles peuvent ĂȘtre tĂ©lĂ©chargĂ©s via l’application. La plupart de nos PDF sont Ă©galement disponibles en tĂ©lĂ©chargement et les autres seront tĂ©lĂ©chargeables trĂšs prochainement. DĂ©couvrez-en plus ici.
Quelle est la différence entre les formules tarifaires ?
Les deux abonnements vous donnent un accĂšs complet Ă  la bibliothĂšque et Ă  toutes les fonctionnalitĂ©s de Perlego. Les seules diffĂ©rences sont les tarifs ainsi que la pĂ©riode d’abonnement : avec l’abonnement annuel, vous Ă©conomiserez environ 30 % par rapport Ă  12 mois d’abonnement mensuel.
Qu’est-ce que Perlego ?
Nous sommes un service d’abonnement Ă  des ouvrages universitaires en ligne, oĂč vous pouvez accĂ©der Ă  toute une bibliothĂšque pour un prix infĂ©rieur Ă  celui d’un seul livre par mois. Avec plus d’un million de livres sur plus de 1 000 sujets, nous avons ce qu’il vous faut ! DĂ©couvrez-en plus ici.
Prenez-vous en charge la synthÚse vocale ?
Recherchez le symbole Écouter sur votre prochain livre pour voir si vous pouvez l’écouter. L’outil Écouter lit le texte Ă  haute voix pour vous, en surlignant le passage qui est en cours de lecture. Vous pouvez le mettre sur pause, l’accĂ©lĂ©rer ou le ralentir. DĂ©couvrez-en plus ici.
Est-ce que Building Websites with OpenCms est un PDF/ePUB en ligne ?
Oui, vous pouvez accĂ©der Ă  Building Websites with OpenCms par Matt Butcher en format PDF et/ou ePUB ainsi qu’à d’autres livres populaires dans Informatik et Informationstechnologie. Nous disposons de plus d’un million d’ouvrages Ă  dĂ©couvrir dans notre catalogue.

Informations

Année
2004
ISBN
9781904811046
Édition
1

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...

Table des matiĂšres