[opencms-dev] Technical information for a newbie

Peter Höltschi phoeltschi at yahoo.com
Sat May 22 15:12:01 CEST 2004


Dear Mr. Kaffamanesh and Mr. Arrasz

Thanks for your fast reply, I do really appreciate this. You said, that 
the content of html files is within "the database" and even binary files 
are stored in the mysql db.
Which db files you mean exactly? Are these the files under 
c:\mysql\data\opencms\*.*? So all the files and folders under "(Root 
folder)" in the ocms-Explorer view are saved in there? Which db file 
holds binary files, which holds html content ...> Filenames? Is 
therefore the vfs just a bunch of mysql db's (in case one uses mysql)? 
Is there any technical documentation, which tells me which mysql db file 
(*.myd, *.myi,*.frm, ...) stores what or has which funtion ?

Thanks and have a good weekend
Peter

Arash Kaffamanesh schrieb:

>Hi Peter,
>
>The virtual file system (vfs) is stored through the database and if you
>choose the dynamic mode to work with ocms, you won't be able to find any
>of your files on the harddrive, unless you make a synchronization of the
>vfs with your file system (see syncronization chapter in ocms docu and
>also goto Administration view and klick on the synchronization button).
>
>You can also run ocms in a static export enabled mode and enable it in
>opencms.properties (set static_export=true), then you will see an icon
>in the backoffice administration "Static Export" which will allow you to
>export the vfs to the filesystem. After the first installation I think
>the static_export is set to false, which you could change. In my case I
>have the dynamic mode enabled and use the sync function to have my files
>on the harddrive, change them and then sync them back to the vfs.
>
>  
>
>>>So how is it possible to save a file (e.g. 
>>>      
>>>
>index.html) in an mysql database?
>
>The content of html pages are saved into the cells of the db tables as
>string and the layout e.g jsp templates too, and then they will be
>parsed together, so that you can see the result as html page.
>
>In case of an backup, which files 
>(including this vfs) do I need to backup?
>
>Backup your opencms db and export your module through backoffice -->
>goto module section --> select your module and click export
>
>I hope it helps :-)
>Regards
>Arash 
>
>-----Original Message-----
>From: opencms-dev-admin at opencms.org
>[mailto:opencms-dev-admin at opencms.org] On Behalf Of Peter Höltschi
>Sent: Saturday, May 22, 2004 10:12 AM
>To: opencms-dev at opencms.org
>Subject: [opencms-dev] Technical information for a newbie
>
>
>Dear Opencms-Dev-Team
>I get to you because I couldn't find any answer to my questions (I went 
>trough mailing-archive, documentations and the internet):
>First I would like to know if there is any documentation which shows me 
>where Website files (*.html, *.jsp, *.xml, *.gif, ...) are saved on my 
>harddisk.. What is vfs? Where is the vfs on my disk? Is everything saved
>
>in mysql? I thought that mysql consists only of tables which contains 
>data like an Excel-Sheet. So how is it possible to save a file (e.g. 
>index.html) in an mysql database? In case of an backup, which files 
>(including this vfs) do I need to backup?
>
>I would be appreciative if you could reply to all my questions to have a
>
>better technical understanding of opencms.
>
>Thanks in advance
>
>Peter
>
>_______________________________________________
>This mail is send to you from the opencms-dev mailing list
>To change your list options, or to unsubscribe from the list, please
>visit http://mail.opencms.org/mailman/listinfo/opencms-dev
>
>_______________________________________________
>This mail is send to you from the opencms-dev mailing list
>To change your list options, or to unsubscribe from the list, please visit
>http://mail.opencms.org/mailman/listinfo/opencms-dev
>
>  
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20040522/a88a1812/attachment.htm>


More information about the opencms-dev mailing list