Forums / Developer / Google Chrome extension for eZ Publish developers

Google Chrome extension for eZ Publish developers

Author Message

Matthieu Sévère

Thursday 11 February 2010 4:11:21 am

Hello,

I recently played a bit with Chrome extensions system and I develop an extension that allows you to request ez.no/doc within the extension.

Here is the link : https://chrome.google.com/extensions/detail/hibpfggeoookldefpncpjopjeoicbelp

Tell me if this sound interesting for you, if so I try to add new features (any idea?).

Cheers

--
eZ certified developer: http://ez.no/certification/verify/346216

Nicolas Pastorino

Thursday 11 February 2010 6:30:59 am

That looks really cool (from the screenshots), although i can't install this yet on Chrome Mac.
Are you using thsi on a daily basis already ?

Cheers,

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye

Robin Muilwijk

Thursday 11 February 2010 6:35:06 am

Hi,

Looks good indeed. Does it also search the API doc? (http://pubsvn.ez.no/doxygen/4.0/html/index.html)

Board member, eZ Publish Community Project Board - Member of the share.ez.no team - Key values: Openness and Innovation.

LinkedIn: http://nl.linkedin.com/in/robinmuilwijk // Twitter: http://twitter.com/i_robin // Skype: robin.muilwijk

Matthieu Sévère

Thursday 11 February 2010 7:31:40 am

@Nicolas : Chromium for Mac is now compatible with extension (try this link http://www.google.com/chrome/intl/en/eula_dev.html?dl=mac) or get the last version from the beta/dev channel.

Yes, I use it on a daily basis :)

@Robin : It doesn't search the API right now but it's a very good idea, I'll try to add the feature ASAP

--
eZ certified developer: http://ez.no/certification/verify/346216

Nicolas Pastorino

Thursday 11 February 2010 8:39:43 am

Wow...

dev version installed...your Chrome extension installed...and WOW, man that rocks!
It almost makes me feel like switching to chrome for development....

I totally think this would be a fantastic project on projects.ez.no. Could be of a slightly more general purpose, like:
"Browser extensions for eZ Publish development".

Another idea in the air was to have eZ Debug in firebug for instance. Could fit in such a project.

Thanks for this Mathieu, it really rocks.
Cheers,

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye

Matthieu Sévère

Thursday 11 February 2010 8:49:25 am

Thanks Nicolas !

Ok, I'll try to create a new project on projects.ez.no

About eZ Debug, It's a very good idea. I was thinking in a first step to display error.log in the chrome extension. I'll see what we can do.

PS: I'll add a new version with search history in autocomplete :)

Cheers

PS : I'm using Chrome for development it's really nice !

--
eZ certified developer: http://ez.no/certification/verify/346216

André R.

Thursday 11 February 2010 10:36:15 am

Very cool extension, if you add API search, be sure to use latest stable version instead of 4.2, maybe even add a dropp down for it and add trunk* as well.

For debug output, lots of cool things can be done there, created a javascript to merge similar sql calls and add a count value on header of those once, good when you want to look for duplicated fetches within a page request.

Another thing, is it possible to see the source code of it somehow, interested in how to create extension for chrome.

* http://pubsvn.ez.no/doxygen/trunk/html/index.html

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

Nicolas Pastorino

Thursday 11 February 2010 10:46:50 am

"

Another thing, is it possible to see the source code of it somehow, interested in how to create extension for chrome.

"

what an enquiring mind :)

If this becomes a project on projects.ez.no, that solves the issue

@Mathieu: the autocomplete search history sounds very cool :)

Cheers all!

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye

Matthieu Sévère

Friday 12 February 2010 6:07:57 am

@andre : I just asked for a new project so you'll be able to see the source code. This is pretty simple as it is html & js. The nice thing is that Chrome support lots of html5 spec so you can use for example localStorage to store data locally.

Nice idea for the debug output ! I not sure I'll have time to do all of this right now but feel free to contribute :)

--
eZ certified developer: http://ez.no/certification/verify/346216

Niloy Ahmed

Thursday 03 March 2011 5:57:31 am

Professional looks which I expected. That looks really nice (from the screen-shots), But I also like "Adblock Plus". The ad-blocking extension "Adblock Plus" is now available for Google Chrome and can be downloaded from "https://chrome.google.com/extensions/detail/cfhdojbkjhnklbpkdaibdccddilifddb"

eZ debug

Timing: Jan 17 2025 22:50:52
Script start
Timing: Jan 17 2025 22:50:52
Module start 'content'
Timing: Jan 17 2025 22:50:53
Module end 'content'
Timing: Jan 17 2025 22:50:53
Script end

Main resources:

Total runtime0.8489 sec
Peak memory usage4,096.0000 KB
Database Queries221

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0073 593.6172180.8125
Module start 'content' 0.00730.7216 774.4297768.4453
Module end 'content' 0.72890.1199 1,542.8750348.4297
Script end 0.8488  1,891.3047 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00410.4848210.0002
Check MTime0.00150.1722210.0001
Mysql Total
Database connection0.00170.198710.0017
Mysqli_queries0.748188.12512210.0034
Looping result0.00240.28202190.0000
Template Total0.820296.620.4101
Template load0.00220.258420.0011
Template processing0.818096.364720.4090
Template load and register function0.00010.011710.0001
states
state_id_array0.00080.095510.0008
state_identifier_array0.00070.086220.0004
Override
Cache load0.00200.2384620.0000
Sytem overhead
Fetch class attribute can translate value0.00220.263060.0004
Fetch class attribute name0.00160.1881140.0001
XML
Image XML parsing0.00270.316660.0004
class_abstraction
Instantiating content class attribute0.00000.0051190.0000
General
dbfile0.00320.3796480.0001
String conversion0.00000.000630.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
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
9content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
10content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
14content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezxmltags/strong.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/strong.tplEdit templateOverride template
1content/datatype/view/ezxmltags/quote.tpldatatype/ezxmltext/quote.tplextension/ezwebin/design/ezwebin/override/templates/datatype/ezxmltext/quote.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 41
 Number of unique templates used: 8

Time used to render debug report: 0.0002 secs