I am developing a CMS using Durandal. My problem is with navigating through my menu items and other links. These pages don't "exist" hence am not sure how to map them for routing purposes. The starterkit on Durandal make reference to static pages. For development purposes I was manually typing the url. Is there a way I can create a route mechanism to retrieve HTML pages stored in the database - for navigation purposes? Any ideas and pointers welcome?
0
votes
When you say "...which I get from the database using ajax," are you referring to the page itself or a route to the page? In other words, are you simply looking to store the routes to your pages in a database, or are you looking to store the pages themselves in a database?
– user3174746
@EricTaylor I have edited my original question.
– mboko
1 Answers
0
votes