Tutorials & articles written by Łukasz Serwatka

Building mobile browser and hybrid applications with eZ Publish

eZ Publish is a Web Content Management System that provides a platform to publish content via any channel. Its powerful presentation engine enables you to create websites and pages that display your content in a variety of renderings. Its powerful API directly and simply integrates your content with any web-enabled application on any device, such as the iPad, iPhone, or an Android device, without ever interfering with, or impacting the platform itself.

At the end of this tutorial, you will have learnt the basics of mobile application development for both iOS and Android platforms, consuming content from eZ Publish. CMS-side adjustments for the mobile channel will be acquired too. This cheatsheet will help you leverage the multichannel capabilities of eZ Publish, and its REST API in future projects, in a more systematic fashion.

 

Extending eZ Publish’s REST API - Developer Preview #2

At the end of this tutorial, you will be able to embed your custom RESTful interface into eZ Publish, to be further consumed by any 3rd party-service :

  • mobile application
  • external business application
  • web service
 

ezjscore: eZ Publish JavaScript and Ajax framework

ezjscore is an eZ Publish extension that provides a simple framework for using Ajax, JavaScript, and (to a smaller extent) CSS. It is bundled with eZ Flow and Website Interface installations in eZ Publish 4.2 and is mostly compatible with previous eZ Publish 4.x versions. In this article, we will provide documentation for ezjscore and show you some example code, all with the goal of helping you to build more powerful, richer, and better performing eZ Publish websites.

eZ Publish Performance Optimization Part 3 of 3: Practical Cache and Template Solutions

This article concludes our three-part performance optimization series by looking at the most common solutions for improving your eZ Publish site's performance in two main categories: cache and templates. We will also explore miscellaneous settings to optimize performance regarding images and the Administration Interface.

eZ Publish Performance Optimization Part 2 of 3: Identifying Trouble Spots by Debugging

This article is the second in a three-part series on eZ Publish performance. The first article introduced basic performance terminology and discussed tools to benchmark your site's performance. This article will outline the eZ Publish debug output features.

The eZ publish Web Server Environment

This article describes the optimal eZ publish operating environment. It provides instructions for installing and configuring Apache, PHP and APC (Alternative PHP Cache). The article assumes that you are running Linux in both your development and production environments, as Linux provides the best performance and stability for an eZ publish installation.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 17 2025 23:59:44
Script start
Timing: Jan 17 2025 23:59:44
Module start 'layout'
Timing: Jan 17 2025 23:59:44
Module start 'community'
Timing: Jan 17 2025 23:59:44
Module end 'community'
Timing: Jan 17 2025 23:59:44
Script end

Main resources:

Total runtime0.1432 sec
Peak memory usage4,096.0000 KB
Database Queries88

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0054 587.7891152.6094
Module start 'layout' 0.00540.0022 740.398431.6563
Module start 'community' 0.00750.1347 772.0547781.6875
Module end 'community' 0.14220.0010 1,553.742218.4844
Script end 0.1432  1,572.2266 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00281.9709140.0002
Check MTime0.00120.8182140.0001
Mysql Total
Database connection0.00080.545910.0008
Mysqli_queries0.093465.2089880.0011
Looping result0.00100.7040850.0000
Template Total0.126788.420.0633
Template load0.00120.830820.0006
Template processing0.125587.597920.0627
Template load and register function0.00010.074110.0001
Override
Cache load0.00090.6563320.0000
states
state_id_array0.00302.095860.0005
state_identifier_array0.00312.147360.0005
Sytem overhead
Fetch class attribute name0.00070.509860.0001
class_abstraction
Instantiating content class attribute0.00000.008560.0000
General
dbfile0.00020.109070.0000
String conversion0.00000.004330.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1community/articles.tpl<No override>extension/community_design/design/suncana/templates/community/articles.tplEdit templateOverride template
6content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/separator.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltags/separator.tplEdit templateOverride template
4content/datatype/view/ezxmltags/link.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/link.tplEdit templateOverride template
1content/datatype/view/ezxmltags/li.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/li.tplEdit templateOverride template
1content/datatype/view/ezxmltags/ul.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/ul.tplEdit templateOverride template
1content/datatype/view/ezxmltags/strong.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/strong.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 24
 Number of unique templates used: 9

Time used to render debug report: 0.0001 secs