configure repository.xml

49 views
Skip to first unread message

Esmeralda Hysenaj

unread,
Jun 22, 2017, 6:21:26 AM6/22/17
to Hippo Community
I have just started working with Hippo and i have succesfully build a hippo project . Should i configure the repository.xml file, if i am usin the default H2 database ? And is the database shown in the console ?

Jasper Floor

unread,
Jun 22, 2017, 7:02:41 AM6/22/17
to Hippo Community
The database is mostly an implementation detail. You are mostly dealing with the CMS or with the repository. For a local development env you shouldn't need to change any configuration. For a server (production/acceptance/test) you will most likely have a real db instance and then you need to configure that. Beyond some cleanup tasks you should never need to interact with the database. The database is not shown in the console, it's just a storage system you needn't worry about.

see also:

On Thu, Jun 22, 2017 at 12:21 PM, Esmeralda Hysenaj <esmeralda...@gmail.com> wrote:
I have just started working with Hippo and i have succesfully build a hippo project . Should i configure the repository.xml file, if i am usin the default H2 database ? And is the database shown in the console ?

--
Hippo Community Group: The place for all discussions and announcements about Hippo CMS (and HST, repository etc. etc.)
 
To post to this group, send email to hippo-community@googlegroups.com
RSS: https://groups.google.com/group/hippo-community/feed/rss_v2_0_msgs.xml?num=50
---
You received this message because you are subscribed to the Google Groups "Hippo Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hippo-community+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/hippo-community.
For more options, visit https://groups.google.com/d/optout.

Esmeralda Hysenaj

unread,
Jun 22, 2017, 7:53:56 AM6/22/17
to Hippo Community
Thank you very much for the answer, i am much clear now
If i may, i would like to ask another question, if i want to show on my homepage a table which takes data from the database, how do i connect the table to automatically take data from database ?


On Thursday, June 22, 2017 at 1:02:41 PM UTC+2, jasper.floor wrote:
The database is mostly an implementation detail. You are mostly dealing with the CMS or with the repository. For a local development env you shouldn't need to change any configuration. For a server (production/acceptance/test) you will most likely have a real db instance and then you need to configure that. Beyond some cleanup tasks you should never need to interact with the database. The database is not shown in the console, it's just a storage system you needn't worry about.

see also:
On Thu, Jun 22, 2017 at 12:21 PM, Esmeralda Hysenaj <esmeralda...@gmail.com> wrote:
I have just started working with Hippo and i have succesfully build a hippo project . Should i configure the repository.xml file, if i am usin the default H2 database ? And is the database shown in the console ?

--
Hippo Community Group: The place for all discussions and announcements about Hippo CMS (and HST, repository etc. etc.)
 
To post to this group, send email to hippo-c...@googlegroups.com

RSS: https://groups.google.com/group/hippo-community/feed/rss_v2_0_msgs.xml?num=50
---
You received this message because you are subscribed to the Google Groups "Hippo Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hippo-communi...@googlegroups.com.

Jasper Floor

unread,
Jun 22, 2017, 8:11:15 AM6/22/17
to Hippo Community
On Thu, Jun 22, 2017 at 1:53 PM, Esmeralda Hysenaj <esmeralda...@gmail.com> wrote:
Thank you very much for the answer, i am much clear now
If i may, i would like to ask another question, if i want to show on my homepage a table which takes data from the database, how do i connect the table to automatically take data from database ?

I assume you mean data external to the Hippo repository? In a component class you need to retrieve this data. Either through a direct call to your db or through a service. At this point you can convert this data to an object you can use on a template (eg jsp or ftl). Put that object on the request and then use it on your template. Alternatively you can use js to connect to a service (a rest service for example) and display it on your site. There really are very many ways to approach this and the details would depend on your use case and set up.


mvg,
Jasper
 


On Thursday, June 22, 2017 at 1:02:41 PM UTC+2, jasper.floor wrote:
The database is mostly an implementation detail. You are mostly dealing with the CMS or with the repository. For a local development env you shouldn't need to change any configuration. For a server (production/acceptance/test) you will most likely have a real db instance and then you need to configure that. Beyond some cleanup tasks you should never need to interact with the database. The database is not shown in the console, it's just a storage system you needn't worry about.

see also:

On Thu, Jun 22, 2017 at 12:21 PM, Esmeralda Hysenaj <esmeralda...@gmail.com> wrote:
I have just started working with Hippo and i have succesfully build a hippo project . Should i configure the repository.xml file, if i am usin the default H2 database ? And is the database shown in the console ?

--
Hippo Community Group: The place for all discussions and announcements about Hippo CMS (and HST, repository etc. etc.)
 
To post to this group, send email to hippo-c...@googlegroups.com
RSS: https://groups.google.com/group/hippo-community/feed/rss_v2_0_msgs.xml?num=50
---
You received this message because you are subscribed to the Google Groups "Hippo Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hippo-communi...@googlegroups.com.
Visit this group at https://groups.google.com/group/hippo-community.
For more options, visit https://groups.google.com/d/optout.

--
Hippo Community Group: The place for all discussions and announcements about Hippo CMS (and HST, repository etc. etc.)
 
To post to this group, send email to hippo-community@googlegroups.com

RSS: https://groups.google.com/group/hippo-community/feed/rss_v2_0_msgs.xml?num=50
---
You received this message because you are subscribed to the Google Groups "Hippo Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hippo-community+unsubscribe@googlegroups.com.

Esmeralda Hysenaj

unread,
Jun 22, 2017, 9:01:00 AM6/22/17
to Hippo Community
I understand it, and where should i place this jsp or ftl file ? Which is the path ? 
Reply all
Reply to author
Forward
0 new messages