Forums / Suggestions / eZRest Kernel Class and Multi-Mime Support via eZMail

eZRest Kernel Class and Multi-Mime Support via eZMail

Author Message

Chad Paulson

Saturday 05 January 2008 11:05:01 am

Hello,

I was wondering if there were plans for a REST-based class. I notice that there is built-in SOAP and RSS support, but I haven't found REST specific functionality. I was also curious about eZMail and plans for future multi-mime support.

Keep up the great work, I love this software. I plan on making some contributions very soon.

Thanks,
Chad

Heath

Saturday 05 January 2008 1:07:46 pm

Take a look at eZ Components and eZ Publish 4.0

Where we have seen parts of these conversations before [1].

Search for existing conversations on the active Components Lists [2]

And checkout the existing mail component tutorial [3]

[1] http://ez.no/developer/forum/developer/ez_publish_and_multi_mime_emails

[2] http://www.google.com/search?q=ReST&as_sitesearch=lists.ez.no/pipermail/components

[3] http://ezcomponents.org/docs/tutorials/Mail

Cheers,
Heath

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

Chad Paulson

Saturday 05 January 2008 2:21:21 pm

Thanks Heath,

It seems that the eZ Publish platform is headed towards a component-based system, is that a correct assumption?

I am developing a product under eZ Publish 3.9, but we plan on upgrading to 4.0 in the near future. I have already installed 4.0 and have begun playing with and studying the components.

Chad

Heath

Monday 07 January 2008 12:51:05 am

Your welcome Chad,

<i> > It seems that the eZ Publish platform is headed towards a component-based system, is that a correct assumption?</i>

Yes. It would seems so:)

As for the multi-mime email class support. I think you would be able to use components within eZ to reach this goal fairly simply. Their are already a few extensions available which use components in eZ Publish 4.0 [1]

As for the ReST, I would recommend you take time to subscribe to eZ Components Mailing List [2] and ask this specific question on that list for the very best results.

[1] http://ez.no/developer/contribs/applications/ez_human_captcha
[2] http://lists.ez.no/mailman/listinfo/components

Cheers,
Heath

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

Heath

Friday 11 January 2008 6:01:37 am

Chad,

You may wish to take a good read of the following extension's classes [1]

The example usage code (within comments) of this file is a decent start [2]

I think this code is the basis of the following project [3]

[1]
http://svn.ez.no/svn/extensions/ezrest/trunk/extension/ezrest

[2] http://svn.ez.no/svn/extensions/ezrest/trunk/extension/ezrest/classes/ezrestclient.php

[3] http://projects.ez.no/ezrest

Cheers,
Heath

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

Kåre Køhler Høvik

Friday 11 January 2008 6:24:09 am

Hi

I've made a rest extension for eZ Publish. It includes a simple client + possibility to create your own rest services. See: http://svn.ez.no/svn/extensions/ezrest

See in-line documentation for usage, etc.

Kåre

Kåre Høvik

eZ debug

Timing: Jan 18 2025 01:03:36
Script start
Timing: Jan 18 2025 01:03:36
Module start 'content'
Timing: Jan 18 2025 01:03:37
Module end 'content'
Timing: Jan 18 2025 01:03:37
Script end

Main resources:

Total runtime0.7841 sec
Peak memory usage4,096.0000 KB
Database Queries205

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0215 589.0703180.8125
Module start 'content' 0.02150.6198 769.8828630.8047
Module end 'content' 0.64130.1427 1,400.6875342.8438
Script end 0.7840  1,743.5313 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00460.5843210.0002
Check MTime0.00190.2378210.0001
Mysql Total
Database connection0.00090.108710.0009
Mysqli_queries0.657683.86632050.0032
Looping result0.00200.25982030.0000
Template Total0.738994.220.3694
Template load0.00260.325320.0013
Template processing0.736393.905120.3682
Template load and register function0.00040.047610.0004
states
state_id_array0.00090.117810.0009
state_identifier_array0.00080.107220.0004
Override
Cache load0.00220.2849550.0000
Sytem overhead
Fetch class attribute can translate value0.00180.232140.0005
Fetch class attribute name0.00130.164290.0001
XML
Image XML parsing0.00660.842840.0017
class_abstraction
Instantiating content class attribute0.00000.0033120.0000
General
dbfile0.01111.4220390.0003
String conversion0.00000.001030.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
6content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
6content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
12content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
6content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 32
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs