Daily Archives: 10.11.2017


returning JSON from a view in CakePHP 1.1

I know CakePHP 3.5 is out, and before CakePHP 2.x and even before CakePHP 1.3 allowed to render JSON easily. But suppose you have a large code-base in CakePHP 1.1 you have to maintain, and suddenly someone wants JSON out of it… If upgrading your CakePHP version is possible, do it. Else, consider the code […]