Hi Günter, This is just a quick reply, but you could have a look at the DBA XQuery code embedded with BaseX. Here, similar problems have been resolved: All pages have the same layout, static files are served as well, etc.
Feel free to ask if you need some more help with the code. It’s definitely not perfect; for example, the function-based generation of buttons, tables, etc. is just one of many options, and I am convinced there should be better alternatives. Christian On Thu, Apr 7, 2016 at 5:08 PM, Günter Dunz-Wolff <kle...@mail.dunzwolff.de> wrote: > Hi, > > I'm planning to relaunch my website (kleist-digital.de) with OpenShift as > BaseX-Server. After some difficulties and a lot of help from Christian and > Andy the server is running now. > > I took a look at RESTXQ and it seems quite interesting to build the whole > frontend for my app with it. Some questions I have: > > 1. I'm working with a basic layout for all pages. This basic layout-file > includes header, footer and changing content. What is the best approach with > RESTXQ. How to build a modular concept with RESTXQ? > > 2. Is there any site-structure preferred? > > 3. Most of the site is dynamic. But I need also static files like images, > css, javascript. Where to put them best (so that the Openshift-Server can > handle them)? > > Thanks for any advice and help. > > Günter