Digging into the code for the example database – aaaah memories – but I digress…..as normal I am mostly blogging this for my own notes and if someone else happens to get something out of it – great 😀
Design and Data are separate?
So the design and the data are separate – well kinda – in fact “some” of the design is separate and “all” of the data is. Following the instructions on how to deploy the starter code and mess with it I managed to change the database and add a new XPage.
BTW for those who cannot find “Start Coding” it is here….took me ages to find it in front of my nose
So the database look like this in the notes client – pretty normal
and viewing the design of this database we can see forms, views and No XPages of worth
The data can be changed through the notes client and immediately represented on the website
Looking at the boilerplate code which was downloaded from starter code we can see – no data, no form, no views – but there are the XPages
New design elements
So I created a XPage in the Design database and followed the instructions on deploying the new code – it worked
Adding a new form to the VIEW database, failed.
Adding a new form to the DESIGN database worked just fine
Conclusion – So where is everything again?
Views and Data are in the NoSQL database
XPages and Forms and in the Design database
There is a lot to learn here……..and a lot of questions….