Skip to Content
0
Former Member
Jan 20, 2016 at 02:28 PM

json model and MVC

20 Views

Hi

I have an application in which i want to use some data from a local json file.

I know i need to 1) create an instance of ..JSONModel(), 2) load the data and then 3) bind to controls.

But how I can do this using the MVC pattern which has a JS model and controller but XML view. I have seen some example but those are using JS views

Is it possible to 1) and 2) above in the model?

any help will be appreciated

Thanks

Adnan