ajax in EZ

Author Message

liu spider

Thursday 06 April 2006 8:19:16 pm

I am working on integrating FCKeditor with eZ, which uses ajax (JSON, not xml in fact) to communicate with server, and it is much faster compared to the (demo) ez online editor.

All the hard work was done, after I clean up and organize the code, I can probably import them into SVN (already registered at Sourceforge)

JSON is really awesome, both easy to parse and encode, makes it really easy to communicate with server

btw: the project is called SJSD http://sf.net/projects/sjsd

http://liucougar.scim-im.org
SCIM Input Method Platform
http://scim.sf.net
SJSD Online Editor
http://sf.net/projects/sjsd

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 20 2025 00:27:35
Script start
Timing: Jan 20 2025 00:27:35
Module start 'layout'
Timing: Jan 20 2025 00:27:35
Module start 'content'
Timing: Jan 20 2025 00:27:35
Module end 'content'
Timing: Jan 20 2025 00:27:35
Script end

Main resources:

Total runtime0.6575 sec
Peak memory usage4,096.0000 KB
Database Queries48

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0050 589.4531152.6094
Module start 'layout' 0.00500.0025 742.062539.8359
Module start 'content' 0.00740.6486 781.8984460.9297
Module end 'content' 0.65600.0014 1,242.828110.3359
Script end 0.6574  1,253.1641 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.4631160.0002
Check MTime0.00130.1968160.0001
Mysql Total
Database connection0.00070.110910.0007
Mysqli_queries0.619394.1910480.0129
Looping result0.00050.0742460.0000
Template Total0.628795.620.3143
Template load0.00210.315620.0010
Template processing0.626695.303720.3133
Template load and register function0.00020.026810.0002
states
state_id_array0.00120.182810.0012
state_identifier_array0.00070.112420.0004
Override
Cache load0.00170.251980.0002
Sytem overhead
Fetch class attribute can translate value0.00050.079710.0005
Fetch class attribute name0.00060.097720.0003
XML
Image XML parsing0.00170.263310.0017
class_abstraction
Instantiating content class attribute0.00000.000520.0000
General
dbfile0.00210.3204160.0001
String conversion0.00000.000940.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
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 5
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs