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

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 18 2025 04:27:49
Script start
Timing: Jan 18 2025 04:27:49
Module start 'layout'
Timing: Jan 18 2025 04:27:49
Module start 'content'
Timing: Jan 18 2025 04:27:49
Module end 'content'
Timing: Jan 18 2025 04:27:49
Script end

Main resources:

Total runtime0.0230 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0063 589.2891152.6563
Module start 'layout' 0.00630.0035 741.945339.5078
Module start 'content' 0.00980.0112 781.453197.3672
Module end 'content' 0.02090.0020 878.820342.3047
Script end 0.0230  921.1250 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002510.7409140.0002
Check MTime0.00125.1323140.0001
Mysql Total
Database connection0.00114.958410.0011
Mysqli_queries0.003515.377430.0012
Looping result0.00000.077610.0000
Template Total0.00167.210.0016
Template load0.00093.977110.0009
Template processing0.00073.160410.0007
Override
Cache load0.00062.649010.0006
General
dbfile0.00031.344780.0000
String conversion0.00000.030040.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_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