• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How do I replace front-end views with JSONs in Codeigniter 3?

#3
(08-15-2019, 06:17 PM)includebeer Wrote: This question doesn’t make any sense. There’s no “rock-solid method” that will do the magic for you. It’s a simple process: you load a view, the javascript makes an ajax request to get the data it needs, the controller respond with json data, the javascript read that and plug the data in the DOM.

I do not want to load a Codeigniter view. I want to spit out clean JSON data instead, then use Vue or AngularJS to display the data publicly in a nice way.
Reply


Messages In This Thread
RE: How do I replace front-end views with JSONs in Codeigniter 3? - by Ajax30 - 08-20-2019, 11:09 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.