P
P
pronin.cc2015-09-03 23:36:28
Ember.js
pronin.cc, 2015-09-03 23:36:28

What is the best way to organize data storage for an e-book on ember.js?

Hello. I have a task - to create electronic textbooks.
One of the requirements is cross-platform.
Therefore, I decided that the ember.js + cordova/phonegap bundle would do.
But since I have never done javascript programming, many difficulties arose.
One of these is how to store texts.
Now I have made my own template for each chapter, in which the texts laid out in html / handlebars are stored.
But since there are a lot of chapters and there are also sections with additional materials (for example, game tasks), this solution looks unsuccessful.
At the same time, I would not like to use databases because of the complexity of version control and the frequent need to correct texts.
Tell me, how best to organize data storage (json, as I understand it, disappears?), Can I pull data with ajax from html files?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question