Discussion:
[opencms-dev] folders/files starting with dot in 9.0.1 ?
Christoph Kukulies
2014-08-21 13:59:30 UTC
Permalink
During browsing through the 9.0.1 demos I found a couple of
folders/files in the VFS starting with "." (dot), e.g. .content, .config.
What's the magic behind this? Reminds of unix files starting with .
designating a hidden file.
--
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de
Schliemann, Kai
2014-08-21 14:18:02 UTC
Permalink
Hi Chris,
have a look at the documentation PDF shipped with OpenCms. It is a great document which explains a lot about the new page structure since OpenCms 8 and gives an overview of usable cms:xx tags for developers (and much more).
If you prefer to read it in German, I may suggest the translation of the documentation shipped with OpenCms 8.5.1: http://www.comundus.com/export/sites/default/downloads/opencms/OpenCms_8_5_1_Handbuch_v1_2_DEUTSCH.pdf

HTH
Best regards
Kai


-----Urspr?ngliche Nachricht-----
Von: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] Im Auftrag von Christoph Kukulies
Gesendet: Donnerstag, 21. August 2014 16:00
An: The OpenCms mailing list
Betreff: [opencms-dev] folders/files starting with dot in 9.0.1 ?

During browsing through the 9.0.1 demos I found a couple of folders/files in the VFS starting with "." (dot), e.g. .content, .config.
What's the magic behind this? Reminds of unix files starting with .
designating a hidden file.

--
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de _______________________________________________
This mail is sent to you from the opencms-dev mailing list To change your list options, or to unsubscribe from the list, please visit http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev
Christoph Kukulies
2014-08-22 07:51:05 UTC
Permalink
Post by Schliemann, Kai
Hi Chris,
have a look at the documentation PDF shipped with OpenCms. It is a great document which explains a lot about the new page structure since OpenCms 8 and gives an overview of usable cms:xx tags for developers (and much more).
If you prefer to read it in German, I may suggest the translation of the documentation shipped with OpenCms 8.5.1: http://www.comundus.com/export/sites/default/downloads/opencms/OpenCms_8_5_1_Handbuch_v1_2_DEUTSCH.pdf
HTH
Best regards
Kai
-----Urspr?ngliche Nachricht-----
Von: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] Im Auftrag von Christoph Kukulies
Gesendet: Donnerstag, 21. August 2014 16:00
An: The OpenCms mailing list
Betreff: [opencms-dev] folders/files starting with dot in 9.0.1 ?
During browsing through the 9.0.1 demos I found a couple of folders/files in the VFS starting with "." (dot), e.g. .content, .config.
What's the magic behind this? Reminds of unix files starting with .
designating a hidden file.
Hi Kai,

great to know that OpenCMS now comes with a documentation PDF. Indeed I
overlooked it when unpacking. I had expected to find the usual combo
of history.txt install.html license.txt :) and went ahead deploying
the .war file.

Although the new features of OpenCMS look fine and appealing, the
document does not answer my question about the files starting with ".".

I'm not sure whether I will use the new features to build a web site.
Looks like the people at Alkacon put much effort into giving OpenCMS
more features of
modern CMS systems to build websites, and for quite a while OpenCMS
seemed to lag a bit behind what other CMSs were offering (Wordpress,
Contao, Joomla),
OTOH I'm glad to have sticked with OpenCMS all the time, alone looking
at the security leaks that all these PHP based CMSs had to suffer from
during the past.

At present I construct a web site e.g. using YAML, but the CSS into my
frontend modules, and design the JSPs to inject the columns, navigation
etc. into the pages.

But I'm getting carried away.

Let's come back to the question of the meaning of the dot-files. :)
--
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de
Tobias Karrer
2014-08-22 09:13:20 UTC
Permalink
Hi Christoph,

at the best have a look at the documentation together with the demo
templates or the developer demo.

/.config/ is for configurations (see page 19, 45, 79ff)
/.content/ is where the xml content is stored using ADE ("sitemap
content folder", see page 45, 79ff)
/.new/ holds the page model (see page 19, 45)
/.detailContainers/ is used for specific containers on detail pages (see
page 66+67)

//.categories// is the category repository in your site, if you don't
want to or can't use /system/categories//
.galleries/ may be your parent folder for image-/downloadgalleries (see
page 29ff), but could be any other folder of according type

(pagenumbers of OpenCms 9.0.1 Documentation)

Best,
Tobias
Re: folders/files starting with dot in 9.0.1 ?
Hi Kai,
great to know that OpenCMS now comes with a documentation PDF. Indeed I
overlooked it when unpacking. I had expected to find the usual combo
of history.txt install.html license.txt :) and went ahead deploying
the .war file.
Although the new features of OpenCMS look fine and appealing, the
document does not answer my question about the files starting with ".".
I'm not sure whether I will use the new features to build a web site.
Looks like the people at Alkacon put much effort into giving OpenCMS
more features of
modern CMS systems to build websites, and for quite a while OpenCMS
seemed to lag a bit behind what other CMSs were offering (Wordpress,
Contao, Joomla),
OTOH I'm glad to have sticked with OpenCMS all the time, alone looking
at the security leaks that all these PHP based CMSs had to suffer from
during the past.
At present I construct a web site e.g. using YAML, but the CSS into my
frontend modules, and design the JSPs to inject the columns, navigation
etc. into the pages.
But I'm getting carried away.
Let's come back to the question of the meaning of the dot-files. :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencms.org/pipermail/opencms-dev/attachments/20140822/2b89c4e6/attachment.html>
Christoph Kukulies
2014-08-22 10:22:04 UTC
Permalink
An HTML attachment was scrubbed...
URL: <http://lists.opencms.org/pipermail/opencms-dev/attachments/20140822/044256af/attachment.html>
Alexander Kandzior
2014-08-22 15:12:16 UTC
Permalink
Christoph,



the dot was chosen because in the sort order of the traditional workplace,
folders starting with a dot will usually be on top.



And since the dot folders are "system folders" - they required in order for
the system to work properly - it seemed natural to use the "." like Unix
does.



Kind Regards,

Alex.

-------------------

Alexander Kandzior



Alkacon Software GmbH - The OpenCms Experts

http://www.alkacon.com - http://www.opencms.org



Visit OpenCms Days 2014 Conference and Expo

November 3 to 4, 2014 in Cologne, Germany - http://www.opencms-days.org







From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Christoph Kukulies
Sent: Friday, August 22, 2014 12:22 PM
To: The OpenCms mailing list
Subject: Re: [opencms-dev] folders/files starting with dot in 9.0.1 ?



Hi Tobias,

thanks for doing the work of looking the respective files up for me in the
documentattion.
Now I have the meaning what the files/folders do, but my original question
was,
why it was chosen to let them start with a ".".

Is there some special mechanism behind this, having a file/folder start with
a dot in the VFS?


Am 22.08.2014 um 11:13 schrieb Tobias Karrer:

Hi Christoph,

at the best have a look at the documentation together with the demo
templates or the developer demo.

.config is for configurations (see page 19, 45, 79ff)
.content is where the xml content is stored using ADE ("sitemap content
folder", see page 45, 79ff)
.new holds the page model (see page 19, 45)
.detailContainers is used for specific containers on detail pages (see page
66+67)

.categories is the category repository in your site, if you don't want to or
can't use /system/categories/
.galleries may be your parent folder for image-/downloadgalleries (see page
29ff), but could be any other folder of according type

(pagenumbers of OpenCms 9.0.1 Documentation)

Best,
Tobias
--
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencms.org/pipermail/opencms-dev/attachments/20140822/7ddf5004/attachment.html>
Christoph Kukulies
2014-08-22 15:46:26 UTC
Permalink
An HTML attachment was scrubbed...
URL: <http://lists.opencms.org/pipermail/opencms-dev/attachments/20140822/cebff5b5/attachment.html>
Loading...