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.