Forums / Suggestions / AJAX functionality discussion

AJAX functionality discussion

Author Message

Andreas Kaiser

Tuesday 26 June 2007 4:24:39 am

Hello,

Not sure if I should put this post in another forum...

In featurerequests_ezp39_v1.1.pdf I've seen some requested for AJAX improve of the admin interface... This are great news. In the document there is also following comment: "It should at least consider have a AJAX library in eZ publish". I think this is very important, but this could be also a problem if someone wants to use a different java library as the default in future versions of eZ Publish...

Perhaps we should discuss which java frameworks we prefer and think which one would be good to be the default eZ Publish AJAX library.

There are plenty of java frameworks with AJAX support:

- Prototype
- YUI
- Mootools
- jquery
- xAJAX

CMS or Frameworks using AJAX libraries:

- ROR / Prototype
- ModX CMF / Prototype, but will use Mootools in the next release
- Joomla / has a xAJAX extension and added Mootools in version 1.5 Beta 2: 4
- Drupal / jquery

Also some sites using java libraries:

- cnet / mootools
- technorati / jquery
- apple / prototype

I personally use Mootools a lot, because of the size, effects, modular design and roadmap...

eZ Partner in Madrid (Spain)
Web: http://www.atela.net/

Heath

Tuesday 26 June 2007 5:01:32 am

Here is a direct link to the document mentioned in the above message.
http://ez.no/content/download/131601/797920/version/5/file/featurerequests_ezp39_v1.1.pdf

Brookins Consulting | http://brookinsconsulting.com/
Certified | http://auth.ez.no/certification/verify/380350
Solutions | http://projects.ez.no/users/community/brookins_consulting
eZpedia community documentation project | http://ezpedia.org

André R.

Tuesday 26 June 2007 5:38:46 am

moo.tools, jQuery, prototype, script.aculo.us and related frameworks don't work to well with each other and is therefor not candidates for inclusion.

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

Xavier Dutoit

Tuesday 26 June 2007 5:39:03 am

No official position about what library...

I suspect ez crew is going to reinvent one that "does the same nearly as well", but I'd love to be proven wrong.

X+

P.S. Jquery +1 ;)

http://www.sydesy.com

Andreas Kaiser

Tuesday 26 June 2007 11:19:03 am

Like said, the big problem with the libraries is the incompatibilities they have when "mixing" them.

Perhaps the best would be a default library for the administration interface and the option to have the same library in the front or to disable it. So the developer could use the one he prefer.

But which library should be the default? What library is the choice from eZ crew? What is the choice from the community?

eZ Partner in Madrid (Spain)
Web: http://www.atela.net/

Xavier Dutoit

Wednesday 27 June 2007 6:10:07 am

I don't know about the other libraries, but jquery doesn't mess up with the global name space and plays it save by checking if $() is already defined before defining it.

Anyway, that $() thing is really annoying and I prefer using jQuery(). At least I know what I'm using.

X+

http://www.sydesy.com

eZ debug

Timing: Jan 30 2025 00:58:38
Script start
Timing: Jan 30 2025 00:58:38
Module start 'content'
Timing: Jan 30 2025 00:58:38
Module end 'content'
Timing: Jan 30 2025 00:58:38
Script end

Main resources:

Total runtime0.1303 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0066 587.9297180.8359
Module start 'content' 0.00660.0066 768.7656101.8672
Module end 'content' 0.01310.1171 870.6328533.5781
Script end 0.1302  1,404.2109 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00312.4159200.0002
Check MTime0.00130.9945200.0001
Mysql Total
Database connection0.00060.484510.0006
Mysqli_queries0.085665.69181410.0006
Looping result0.00090.71671390.0000
Template Total0.116889.610.1168
Template load0.00080.636410.0008
Template processing0.115988.984310.1159
Override
Cache load0.00060.449010.0006
Sytem overhead
Fetch class attribute can translate value0.00070.539710.0007
XML
Image XML parsing0.00020.164410.0002
General
dbfile0.00906.8730200.0004
String conversion0.00000.005330.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs