Forums / Developer / eZJSCore, YUI2, YUI3 tutorials

eZJSCore, YUI2, YUI3 tutorials

Author Message

Piotrek Karaś

Thursday 15 October 2009 11:52:02 am

Hi there,

Are there any tutorials or documentation pieces available for the ezjscore extension? I'm sure we will eventually be forced to read its entire code, but this may take some time and I'm pretty sure more and more people will require that with the new version...

It would be great to:
- have an overview of the extension, the basic principles as well as what the particular operators, classes, views are for,
- have more examples, especially regarding mixing YUI2/3 (if possible/supported), using YUI2 (some YUI components are not available for YUI3, for example calendar),
- learn how to incorporate the new ajax controler index.php file,
- some good/bad practices gathered together.

I'd be grateful if someone could share their experiences and I think everyone will agree that there could be a bit of documentation available...

--
Company: mediaSELF Sp. z o.o., http://www.mediaself.pl
eZ references: http://ez.no/partners/worldwide_partners/mediaself
eZ certified developer: http://ez.no/certification/verify/272585
eZ blog: http://ez.ryba.eu

Felix Laate

Thursday 15 October 2009 12:29:33 pm

Hi all,

I second that. At the very least a couple of tutorials to get people started.

Reading the complete code is a nice way to spend an empty life :-)

Felix

Publlic Relations Manager
Greater Stavanger
www.greaterstavanger.com

Łukasz Serwatka

Thursday 15 October 2009 12:38:13 pm

Hi,

We are working on the article where we will present in-depth look on this extension, covering what Piotrek wrote above as well as some additional things :) We are expecting to publish it some time in the middle of next week.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Piotrek Karaś

Thursday 15 October 2009 12:45:21 pm

Great news, thanks for braking it, can't wait already.

Few more questions which could perhaps be addressed by the article:
- the packers for JS/CSS - how to get most of those? how are multiple calls handled and can they be optimized?
- how to prepare/optimize non-ezjscore layouts (prior to 4.2.x, plain, dedicated etc) for the new JSCore extension

Cheers,
Piotrek

--
Company: mediaSELF Sp. z o.o., http://www.mediaself.pl
eZ references: http://ez.no/partners/worldwide_partners/mediaself
eZ certified developer: http://ez.no/certification/verify/272585
eZ blog: http://ez.ryba.eu

Piotrek Karaś

Monday 26 October 2009 1:45:52 am

Hi guys,

Any update on the article subject?

Cheers,
Piotrek

--
Company: mediaSELF Sp. z o.o., http://www.mediaself.pl
eZ references: http://ez.no/partners/worldwide_partners/mediaself
eZ certified developer: http://ez.no/certification/verify/272585
eZ blog: http://ez.ryba.eu

André R.

Monday 26 October 2009 4:21:00 am

Yes, planning on a open review round on it on Tuesday / Wednesday, if you need an early look log on to jabber.

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

Philip K.

Tuesday 17 November 2009 1:03:07 am

Hi.

Are there any update news available for this article? Some documentation would be nice...

Philip

Linux is like a wigwam; no windows, now gates, and apache inside!

Sylvain Gogel

Tuesday 17 November 2009 11:39:58 am

I also look forward your article! ^_^

I'm more interested in ezJSCore + jquery

--
http://www.ecedi.fr
Agence Web, Créa/Conseils, Accessibilité
eZPublish, Drupal, Zend, Symfony

Georg Franz

Thursday 19 November 2009 2:44:47 am

I also can't wait... :-)

Best wishes,

Georg.

Best wishes,
Georg.

--
http://www.schicksal.com Horoskop website which uses eZ Publish since 2004

Sylvain Gogel

Wednesday 25 November 2009 12:32:23 pm

Today i installed a brand new ezp 4.2 for a new project and notice it comes bundle with YUI and jquery

Unfortunatly i did not find how to set jquery as the default and include it to my pagelayout.tpl

anyone can help me with the basics of ezjscore?

Thanks

--
http://www.ecedi.fr
Agence Web, Créa/Conseils, Accessibilité
eZPublish, Drupal, Zend, Symfony

eZ debug

Timing: Jan 30 2025 00:56:04
Script start
Timing: Jan 30 2025 00:56:04
Module start 'content'
Timing: Jan 30 2025 00:56:04
Module end 'content'
Timing: Jan 30 2025 00:56:05
Script end

Main resources:

Total runtime0.1395 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.0060 587.9297180.8359
Module start 'content' 0.00610.0075 768.7656109.8672
Module end 'content' 0.01360.1259 878.6328539.0234
Script end 0.1395  1,417.6563 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00332.3807200.0002
Check MTime0.00140.9955200.0001
Mysql Total
Database connection0.00070.530210.0007
Mysqli_queries0.093667.10641410.0007
Looping result0.00110.76431390.0000
Template Total0.125690.010.1256
Template load0.00080.539610.0008
Template processing0.124889.449010.1248
Override
Cache load0.00050.372010.0005
Sytem overhead
Fetch class attribute can translate value0.00090.620610.0009
XML
Image XML parsing0.00030.202810.0003
General
dbfile0.00926.6118200.0005
String conversion0.00000.004330.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