import / export class definitions

Author Message

Alexandre Cunha

Thursday 09 January 2003 3:08:18 am

Hi all,

How to import or export a class definition from one database to another ?

For example, I create a class FAQ to manage a FAQ session. I want copy this class definition to other databases.

thanks

--axel

http://AlexandreCunha.com

Jan Borsodi

Monday 13 January 2003 3:10:11 am

> Hi all,
>
> How to import or export a class definition from one database
> to another ?
>
> For example, I create a class FAQ to manage a FAQ session. I
> want copy this class definition to other databases.

There will be import/export using an XML format, but it's not prioritized at the moment, we will finish up the features for 3.0 and stabilize it.

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq

Paul Borgermans

Monday 13 January 2003 5:53:35 am

> > Hi all,
> >
> > How to import or export a class definition from one
> database
> > to another ?
> >
> > For example, I create a class FAQ to manage a FAQ session.
> I
> > want copy this class definition to other databases.
>
> There will be import/export using an XML format, but it's
> not prioritized at the moment, we will finish up the
> features for 3.0 and stabilize it.

I thought the xml import/export was geared towards objects (data) only, but I may (hope to) be wrong.

The method outlined by Bård Farstad to have multiple hosts on the same installation may be a solution: the same database is used for different sites.

Paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Jan Borsodi

Monday 13 January 2003 6:37:53 am

> > > Hi all,
> > >
> > > How to import or export a class definition from one
> > database
> > > to another ?
> > >
> > > For example, I create a class FAQ to manage a FAQ
> session.
> > I
> > > want copy this class definition to other databases.
> >
> > There will be import/export using an XML format, but
> it's
> > not prioritized at the moment, we will finish up the
> > features for 3.0 and stabilize it.
>
> I thought the xml import/export was geared towards objects
> (data) only, but I may (hope to) be wrong.

xml import/export will cover more than just objects, exactly what we will incorporate is not clear yet but at least classes will be added (since they are important for objects).

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq

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 30 2025 21:11:38
Script start
Timing: Jan 30 2025 21:11:38
Module start 'layout'
Timing: Jan 30 2025 21:11:38
Module start 'content'
Timing: Jan 30 2025 21:11:38
Module end 'content'
Timing: Jan 30 2025 21:11:38
Script end

Main resources:

Total runtime0.0261 sec
Peak memory usage6,144.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0060 588.2500151.2266
Module start 'layout' 0.00600.0039 739.4766220.7188
Module start 'content' 0.00990.0143 960.19531,001.8359
Module end 'content' 0.02420.0019 1,962.031333.9922
Script end 0.0261  1,996.0234 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002911.2169140.0002
Check MTime0.00124.6221140.0001
Mysql Total
Database connection0.00072.627510.0007
Mysqli_queries0.002911.039130.0010
Looping result0.00000.042010.0000
Template Total0.00135.210.0013
Template load0.00114.124110.0011
Template processing0.00031.002310.0003
Override
Cache load0.00072.513510.0007
General
dbfile0.00114.391480.0001
String conversion0.00000.034740.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