I’m finding it hard to decide on the structure of my app.
The most important thing for me is the url for seo. It’s gotta be
http://my-book-site/genres/fiction/authors/jkrowling/books/harry-potter-1
genres, authors & books are list screens, then fiction, jkrowling and harry-potter-1 are selected items from each list.
I have been trying to do dynamic subviews i.e { $subview: true }, using one main view and loading the relevant subview depending on the url
I’m finding it difficult to parse the “selected” value from the url.
Do I try load the subview manually? Maybe switch statement, parse the url, figure out the right list and load the relevant subview?
Do I forget the $subview option and use the .addView() method?
Not sure which is the best to do, just need to make are that any url or part of url will load the correct list/summary
Thanks in advance