eZ Publish 4: Enterprise Web Sites Step-by-Step

eZ Publish 4: Enterprise Web Sites Step-by-Step
eBook: $29.99
Formats: PDF, PacktLib, ePub and Mobi formats
save 15%!
Print + free eBook + free PacktLib access to the book: $79.98    Print cover: $49.99
save 37%!
Free Shipping!
UK, US, Europe and selected countries in Asia.
Also available on:
Table of Contents
Sample Chapters
  • Build an enterprise-level eZ Publish web site
  • Improve user experience via better information architecture and improved visual design
  • Learn the secrets of the eZ Publish templating system to design your own pages
  • Leverage the extensibility of the eZ Publish CMS
  • Covers the full range of services, knowledge sharing, and support to create your own commercial solutions

Book Details

Language : English
Paperback : 292 pages [ 235mm x 191mm ]
Release Date : October 2009
ISBN : 1904811647
ISBN 13 : 9781904811640
Author(s) : Francesco Fullone, Francesco Trucchia
Topics and Technologies : All Books, CMS and eCommerce, Content Management (CMS), Open Source


Table of Contents

Chapter 1: Installing eZ Publish
Chapter 2: Creating Our Siteaccesses
Chapter 3: Defining and Creating Content Classes
Chapter 4: Creating Content Structure
Chapter 5: Creating an Extension
Chapter 6: Creating a Design
Chapter 7: Template Content Class
Chapter 8: Adding Community Forums
Chapter 9: Internationalization and Localization
Chapter 10: Creating Roles and Privileges
Chapter 11: Cache Configuration
Chapter 12: Deployment
Appendix A: APC Installation and Optimization
Appendix B: Advance Debugging
Appendix C: eZ Publish's Best Extensions
  • Chapter 1: Installing eZ Publish
    • What is eZ Publish?
      • What is a CMF?
    • eZ Publish packages
      • eZ Webin—the out of the box CMS
      • eZ Flow—web publishing for news and media portals
    • Installation
      • Hosting requirements
        • Software required
        • Hardware required
        • PHP configuration
        • Shared versus dedicated hosting
      • eZ components
      • Setting up
        • Unpacking the installation
        • Initializing the database
        • Apache virtual host settings
        • Image settings
        • Cron jobs
        • Configuration files
    • The setup wizard
      • Welcome to eZ Publish
        • System check
        • Email settings
        • Choose a database
        • Database initialization
        • Language support
        • Site packages
        • Site access configuration
        • Site details
        • Site security
        • Site registration
        • Finished
    • Summary
  • Chapter 2: Creating Our Siteaccesses
    • What is the siteaccess system?
      • Siteaccess folder structure
      • Enterprise siteaccess schema
      • Creating siteaccesses for dev and staging
      • Creating symbolic links
      • Configuring the database parameters
  • Creating multilingual siteaccesses
    • Copying the configuration file
      • Editing ini files for locale components
  • Selecting a siteaccess using host or URI-based matching
    • URI
      • Setting the default siteaccess
    • Host
  • Summary
  • Chapter 3: Defining and Creating Content Classes
    • Managing the content
      • Separation of content and design
      • Content structure in eZ Publish
      • Object-oriented content
    • eZ Publish content classes
      • Class attributes
      • Content class management
        • Content class structure
    • Packt Media Site's content class
      • Creating the profile content class
        • Extending the Article class
        • The other content classes
    • Summary
  • Chapter 4: Creating Content Structure
    • Understanding the backend
      • Content structure
        • The secondary menu
        • The content area
    • The content tree
      • The "Issue archive" section
        • Editing an object
        • Adding more folders
      • The staff section
      • Creating an article
        • Publish and Unpublish date
        • Enabling comments
      • The feedback form
      • Other sections
    • Summary
  • Chapter 5: Creating an Extension
    • What is an extension?
      • Extension type
      • The directory structure of an extension
    • Build the extension
      • Settings extension
      • Design an extension
      • Template operator extension
      • Translations extension
    • Activating an extension
      • Manual activation
      • Backend activation
      • Design activation
    • Extension portability
      • Content class package
      • Extension packages
    • Business with extensions
    • Summary
  • Chapter 6: Creating a Design
    • eZ Publish templating
      • Templating
      • The templating markup
        • Control structure operators
        • Fetch functions
        • Generic template functions and operators
    • Creating a new design
      • The homepage
      • Issue page
      • The issue archive
      • The staff profile page
    • eZ Webin
      • Overriding the standard page layout
        • Section for our project
        • Creating a new section
        • Setting up the section permission access
      • Customizing the page layout
        • CSS editing
        • Creating a new style package
    • Summary
  • Chapter 7: Template Content Class
    • Introduction to the content template
    • The override system
      • Creating a template override
      • Creating a template override from a graphic interface
      • Creating a template override manually
        • Profile class
        • Folder class for the issue year archive
        • Folder class for issue
        • Folder class for the issue archive section
        • Article class
        • Frontpage embed object
      • Creating our custom template file
    • Customizing our class templates
      • Staff profile template
        • Line template
        • Full template
        • Embed template
      • Issue template
        • Line template
        • Full template
        • Thumb template
        • Embed template
      • Issue archive template
        • Full template
        • Embed template
      • Issue year template
        • Full template
      • Issue article template
        • Line template
        • Full template
        • Embed template
    • Summary
  • Chapter 8: Adding Community Forums
    • The magazine's forum
      • Adding the Forum
        • Creating a sticky post
        • Forum access control list
        • Creating the Private forums section
    • Creating the magazine's blog
      • Adding the blog
    • Set up the feeds
      • Creating the blog feed
      • Creating the forum feed
    • Summary
  • Chapter 9: Internationalization and Localization
    • A multilingual site
      • Internationalization
      • Localization
      • Locale identifiers
        • Creating a new locale file
    • Multi-language site management
      • Class attribute translations
        • Class default language
      • Content translation
      • URL translation
    • Multilingual extensions
      • The extension folder structure
      • The extension siteaccess
      • The template strings
    • Summary
  • Chapter 10: Creating Roles and Privileges
    • Policies, roles, and groups
      • Policies
      • Roles
        • Applying a role
      • User groups
    • eZ Publish user management
      • User accounts
      • Creating a new user
        • Extending eZ Publish user classes
      • Managing a user
        • Disabling a user
        • Deleting a user
      • The eZ Webin predefined groups
    • Some steps into the workflows
      • The default workflow events
        • Approve
        • Wait until date
        • Multiplexer
        • Simple Shipping
        • Payment Gateway
      • Creating a notification workflow
    • Summary
  • Chapter 11: Cache Configuration
    • Caching system
      • Template cache
        • eZ Webin cache block
      • Compiling a template
        • Template optimization
      • View cache
        • Enabling/Disabling the cache by context
        • Clearing the view cache
        • Smart cache
    • Default caching settings
    • Advanced eZ Publish caching system
      • Advanced settings
        • Override cache
        • Pre-generation cache
        • Translation cache
        • Role cache
        • Static cache
        • Opcode cache
        • Proxy and HTTP Accelerator
    • Customize cache settings to speed up the performance
    • What not to do in a template
    • Summary
  • Chapter 12: Deployment
    • Environments
      • Development environment
      • Staging environment
      • Production environment
        • Preparing the production server
    • Deploying an eZ Publish site
      • eZ Deploy
      • Creating the automatic tests
        • Installing the Selenium IDE
        • Recording a session
        • Customizing tests
      • Configuring the staging and production siteaccesses
      • Deploying the database
        • Deploying the code
        • Configuring the extension
        • Excluding files from deploy
        • Starting the synchronization
      • Checking the validity
      • Quality assurance
      • Deploying to the production server
    • Summary

Francesco Fullone

Francesco Fullone is a geek who, in his spare time, acts as the founder and the CEO of Ideato, a Web 2.0 company based in Italy. He is a senior consultant, skilled in Agile methods and any kind of PHP development.

Francesco is also the president of the Italian PHP User Group (GrUSP) and an evangelist on open source software and PHP technologies. You can meet him in Italy at one of the tech conferences, where he usually participates as a speaker or a staff member.

Francesco Trucchia

Francesco Trucchia, after taking a degree in computer science, worked for some years as a web engineer on small, medium, and large projects for some Italian companies.

He is now the co-founder and the CTO of Ideato, a PHP Italian company that is expert in web software development, systems integration, and Agile methods.

Francesco likes to develop with Agile methods. He has introduced these practices in Ideato for their software's lifecycle process, and has received a lot of positive feedback for it.

Sorry, we don't have any reviews for this title yet.

Code Downloads

Download the code and support files for this book.

Submit Errata

Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.

Sample chapters

You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.

Frequently bought together

eZ Publish 4: Enterprise Web Sites Step-by-Step +    Oracle ADF Enterprise Application Development – Made Simple: Second Edition =
50% Off
the second eBook
Price for both: $43.05

Buy both these recommended eBooks together and get 50% off the cheapest eBook.

What you will learn from this book

  • Install and configure an eZ Publish CMS
  • Manage content classes and create a content structure for your site
  • Leverage the extensibility of the eZ Publish CMS to create extensions thereby making projects reusable and portable
  • Handle a powerful subscription system that allows your users to subscribe to site updates
  • Learn the basics eZ Publish's templating system and the design override feature
  • Make use of the Online Editor to edit objects through an easy-to-use interface
  • Manage the templates and styles in your system through web-based management
  • Customize custom class views through the override system and the template engine
  • Tweak your server to bring out the full power of the CMS
  • Use the powerful RSS module that allows you to create RSS feeds from any part of your content tree
  • Upload and download content from the eZ Publish server directly from your WebDAV client

Chapter 1: Installing eZ Publish
This chapter looks at the processes involved in installing eZ Publish for the magazine project, including hosting requirements. Choices to be made during installation are also covered.

Chapter 2: Creating our site accesses
What are site accesses? When we work on a customer site it would be useful to have different environments available to show your customer what we are doing. In this chapter we'll create some simple site access rules to manage these areas. We will also take a deeper look at what site accesses are, and how they work.

Chapter 3: Defining and creating content classes
This chapter introduces us to the standard content classes of eZ Publish. We will also learn to create the required classes for the additional structured content, as defined by the project.

Chapter 4: Creating content structure
This chapter looks at creating the default content structure for the magazine as well as adding some initial content, so that we can see the structure and layout of various default content classes. We also introduce the eZ Publish backend and its functionality.

Chapter 5: Creating an extension
We will create an extension to hold all our customizations for this project, which is much better than working in the standard folders and will help us in any future system upgrade.

Chapter 6: Template design
In this chapter we see how to apply a template to a single content or node folder. We also take a look at the template overrides, creating a design extension.

Chapter 7: Template content classes
Custom templates for content approval and checkout processes are important concepts in many eZ Publish undertakings and will be featured in this chapter. We will also create a custom template for a standard and a custom class.

Chapter 8: Adding community forums
In this chapter we take a look at the built-in forums available through the ezwebin packages; we implement these content classes and templates. Then we work on them further, adding functionality not previously included in eZ Publish 4.0 but which will be useful to the magazine.

Chapter 9: Multi-lingual content
This chapter provides a brief overview of the internationalization capabilities of eZ Publish and implements some additional language translations for our customers who may be visiting, and looking to enroll at the magazine.

Chapter 10: Creating roles and privileges
After all this defining and creating we need to actually get useful content into the system. There are a number of approaches to do so, and this chapter covers the main ones in detail with a short suggestion on other methods.

Chapter 11: Cache configuration
The cache system is one of the most important subsystems of eZ Publish. In this chapter we explain how to use it and how to customize it for our needs.

Chapter 12: Deployment
The deployment chapter will investigate the processes associated with deploying our development site to production.

In Detail

eZ Publish provides developers with a structure to build highly impressive applications and then quickly deploy them into a live environment. eZ Publish is complex, with a steep learning curve, but with the right direction it offers great flexibility and power. What makes eZ Publish special is not the long list of features, but what's going on behind the scenes.

Created specifically for newcomers to eZ Publish, and using an example Magazine web site, this book focuses on designing, building and deploying eZ Publish to create an enterprise site quickly and easily.

This tutorial takes eZ Publish's steep learning curve head-on, and walks you through the process of designing and building content-rich web sites. It makes the unrivalled power and flexibility of eZ Publish accessible to all developers.

The book is organized around technical topics, which are handled in depth, with a general progression that follows the learning experience of the reader, and features a single magazine web site project from installation to completion and deployment. This hands-on guide helps the reader to understand the Content Management System to create a web 2.0-ready web site by creating new extensions or overriding the existing ones. In turn, it helps you to become confident when working in the eZ Publish administration area and offers an environment in which you can practice while working through the chapters.

A step-by-step guide that brings out the unrivalled power and flexibility of eZ Publish for developers


The book is a carefully structured, practical, step-by-step guide to overcoming the trials and tribulations of building an eZ Publish enterprise web site. Each chapter will be based on a three-layer approach. Firstly, it teaches the techniques and principles required to fulfill the needs of our site, then it goes deep in the CMS approach to fulfill them. Lastly, example code and step-by-step screenshots are used to dig deeper.

Who this book is for

This book is written for beginners to eZ Publish who need to work on an enterprise-level site with a complex publishing workflow. This book is best for people who want to use eZ Publish from scratch without hard-core programming skills.

Even if you are not a PHP-guru, and you don't want to study eZ Publish core functionality – this book is for you. In general, however, you'll get more out of the book if you know a little PHP, have some concept of Object-Oriented Programming, and have a general familiarity with CMS concepts.

Code Download and Errata
Packt Anytime, Anywhere
Register Books
Print Upgrades
eBook Downloads
Video Support
Contact Us
Awards Voting Nominations Previous Winners
Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software