Basic guide to UI design

Hi,

i want to build an application with menu on the left and content on the right side (something like this demo application http://webix.com/demos/admin-app/#!/app/dashboard ).

Im a beginner in Webix. What is a better/correct/possible way to build an application like this?

a) Creating all pages for all menu items at the beginning(like a big UI peace of code) and then hiding/showing/changing the pages on item clicks.

OR

b) Creating the UI just for first “desktop” page and then dynamically creating
the UI elements for other menu pages when the user clicks on the menu items.

It depends on size of the app, for small app approach (a) will work fine. For medium and large app it will be better to use the approach (b)

Check Webix Jet ( GitBook - Where software teams break knowledge silos. ) for details about structuring the large Webix based app