<div dir="ltr"><div>What I meant was the we have a in-house development system that we would like to integrate with Opencms.</div><div><br></div><div>Our in-house system is a booking system where you can book hotels, holiday homes and more..</div>
<div><br></div><div>We used to integrate our booking system in the old CMS by the cms fetching html fragments from the booking system to add in pages mostly static while for dynamic pages like listings the booking system fetched a template from the cms system in which the listing was placed.</div>
<div><br></div><div>Starting this project of making both responsive we thought that it might be an idea to change the in-house system to a backend of opencms serving opencms unformatted data in json or xml format which opencms format and present for the customer.</div>
<div><br></div><div>And the question is:</div><div><br></div><div>Is it possible to create listings in opencms where data doesn't come articles in opencms but an external source.</div><div><br></div><div>And pointers on how to do it?</div>
<div><br></div><div class="gmail_extra"><br clear="all"><div>Med venlig hilsen / Kind regards,<br><br>Christian Bjørnbak<br><br>Chefudvikler / Lead Developer<br>TouristOnline A/S<br>Islands Brygge 43<br>2300 København S<br>
Denmark<br>TLF: +45 32888230<br>Dir. TLF: +45 32888235<br></div>
<br><br><div class="gmail_quote">2014-04-10 10:45 GMT+02:00 Stephan Hartmann <span dir="ltr"><<a href="mailto:hartmann@metamesh.de" target="_blank">hartmann@metamesh.de</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div><div><div>Hi Christian,<br><br></div>First let's talk about your second question.<br></div>Where do your external contents come from (database, file system) and what kind of data is it (XML, JSON, plain text)? Depending on that there are several ways to handle such content.<br>
</div><div>For example, each resource type (like xml content) in OpenCms has a loader that handles a request for that kind of resource. E.g. the XML content loader reads the template property of a resource and forwards the requests to this path, expecting that it is a JSP.<br>
</div><div>But there is also the possibility to register a request handler that acts on a URL path pattern, e.g. there is a permalink handler that handles all requests beginnging with "/permalink".<br><br></div>
<div>Regarding your first question, OpenCms is about managing and serving content. Having that said, it is of course possible to implement UI applications with OpenCms.<br></div><div>The most straight forward way would be to use plain Servlet and JSP technology (personally I use Servlets that serve as base class for JSPs in the OpenCms vfs - that way I can easily gain access to OpenCms internals in my servlet class). Integration of other frameworks like JSF or Struts with OpenCms is always a hassle.<br>
</div><div>But here also it depends: do you need access to OpenCms internals and vfs resources in your GUI? And one important question is: do you need to write back to OpenCms resources?<br></div><div>Would you like to integrate your system as a backend view in OpenCms or in the frontend?<br>
<br></div><div>Kind regards,<br>Stephan<br><br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-04-08 16:59 GMT+02:00 Christian Bjørnbak <span dir="ltr"><<a href="mailto:cbj@touristonline.dk" target="_blank">cbj@touristonline.dk</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Hi,<div><br></div><div>We're about to rewrite the UI of our self developed system to get responsive webdesign.</div>
<div><br></div><div>At the same time we are replacing our old cms with opencms also to be able to RWD..</div>
<div><br></div><div>To avoid learning two new UI frameworks at the same time we're considering using opencms as the frontend of our own system..</div><div><br></div><div>Is this a viable solution?</div><div><br></div>
<div>Can opencms load external content and format like the internal xml content blocks?</div><div><br></div><div><br></div><div><br><div><div>Med venlig hilsen / Kind regards,<br><br>Christian Bjørnbak<br><br>Chefudvikler / Lead Developer<br>
TouristOnline A/S<br>Islands Brygge 43<br>2300 København S<br>Denmark<br>TLF: <a href="tel:%2B45%2032888230" value="+4532888230" target="_blank">+45 32888230</a><br>Dir. TLF: <a href="tel:%2B45%2032888235" value="+4532888235" target="_blank">+45 32888235</a><br>
</div>
</div></div></div>
<br></div></div>_______________________________________________<br>
This mail is sent to you from the opencms-dev mailing list<br>
To change your list options, or to unsubscribe from the list, please visit<br>
<a href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev</a><br>
<br>
<br>
<br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
This mail is sent to you from the opencms-dev mailing list<br>
To change your list options, or to unsubscribe from the list, please visit<br>
<a href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev</a><br>
<br>
<br>
<br>
<br></blockquote></div><br></div></div>