Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying eZ Publish 4: Enterprise Web Sites Step-by-Step
  • Table Of Contents Toc
eZ Publish 4: Enterprise Web Sites Step-by-Step

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

By : Francesco Fullone
1 (1)
close
close
eZ Publish 4: Enterprise Web Sites Step-by-Step

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

1 (1)
By: Francesco Fullone

Overview of this book

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.
Table of Contents (17 chapters)
close
close
13
A. APC Installation and Optimization
14
B. Advance Debugging
chevron up
16
Index

Code debugger

eZ Publish includes a wrapper for all of the errors returned by PHP, which will display the errors at the bottom of our page, or in a new page if we prefer. When we release a site, it's very important that all of the errors are fixed, in order to avoid bad surprises or a slowdown of the application.

To use the debugging capabilities of the system, we have to edit the site.ini file of the global siteaccess, and enable the DebugOutput parameter.

[DebugSettings]
DebugOutput=enabled

After we enable this setting and empty the cache, we will see the debugger, as shown in the following screenshot:

Code debugger

On this page, we can see some utils that are used to clear the cache and enable different kinds of debug, such as the loading the .ini files, the execution of the queries, or the template rendering time.

Moreover, this parameter will enable some special operators for the template that will allow us to print the HTML output of the page, and the values of the variables used.

Debug template...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
eZ Publish 4: Enterprise Web Sites Step-by-Step
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon