This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I am new to AngularJS and have a requirement as follows
In the view/UI I have to show the Project file system folder and its sub folders with assets. From UI user can create, update and delete as well.
So, the approach I am planning to follow is as follows
1. Based on file system Project folder hierarchy I will create a data model / object.
2. Via controller I will initialize the data model from the file system Project folder hierarchy and assets
3. Write a code in the $scope for the updation of the file system ( which in turn update the data model as mentioned in step 2)
Now, the important questions
a. What should be the best fit for the data model here. I mean JSON, XML etc.
b. Javascipt can't be used on server side activity. So, in what technology/language implement the logic of file system updation.
c. How to call the logic in (b) inside the $scope of controller.
I am sure this is not the first problem of its kind and lot many must have implemented something similar in the past.
Any standard way/approach to achieve this will be of great help.