jQuery integration

Author Message

John Moritz

Friday 04 April 2008 3:30:46 am

Just a short Question. Is it possible for an unexperienced ez Publich User to integrate jQuery? Its on heavy use in my Project which is Managed by a selfmade CMS. I want to migrate tu ez Publish and afraid to get some Problems with that.

André R.

Friday 04 April 2008 3:47:18 am

Well, jQuery is client side only, so as long as you know html and some javascript you only need to learn parts of the template language to be good to go. So it's more a matter of what you serverside code that you call from jQuery (/ajax) does (if you have any), it is mostly only this part that needs to be ported to eZ Publish (PHP) and reused as a eZ Publish module with views for the different server scripts.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

John Moritz

Friday 04 April 2008 4:12:11 am

Thank you very much for quick answer. Most of my jQuery actions dont use PHP Scripts. So i am glad to hear that!

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 18 2025 18:24:54
Script start
Timing: Jan 18 2025 18:24:54
Module start 'layout'
Timing: Jan 18 2025 18:24:54
Module start 'content'
Timing: Jan 18 2025 18:24:55
Module end 'content'
Timing: Jan 18 2025 18:24:55
Script end

Main resources:

Total runtime0.5942 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0052 589.0078152.6094
Module start 'layout' 0.00520.0026 741.617239.4141
Module start 'content' 0.00780.5850 781.0313530.7734
Module end 'content' 0.59280.0014 1,311.804712.3438
Script end 0.5942  1,324.1484 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.5259160.0002
Check MTime0.00130.2112160.0001
Mysql Total
Database connection0.00080.138510.0008
Mysqli_queries0.554093.2353570.0097
Looping result0.00050.0873550.0000
Template Total0.564395.020.2821
Template load0.00190.314020.0009
Template processing0.562494.639420.2812
Template load and register function0.00020.039710.0002
states
state_id_array0.00150.257510.0015
state_identifier_array0.00110.187720.0006
Override
Cache load0.00150.254590.0002
Sytem overhead
Fetch class attribute can translate value0.00050.092420.0003
Fetch class attribute name0.00110.192340.0003
XML
Image XML parsing0.00050.090220.0003
class_abstraction
Instantiating content class attribute0.00000.001540.0000
General
dbfile0.00080.1335170.0000
String conversion0.00000.004340.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 9
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs