• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CodeIgniter Simple and Secure Twig

#26
(02-21-2016, 11:26 PM)thocutt1020 Wrote: Thanks for your response!
I see what you are saying...
maybe I can get the functionality I want by creating helper functions and then calling them from within the twig. I will try that.

I know a few solutions. One is HMVC.
Another is widgets: https://github.com/kenjis/codeigniter-widgets

If you really need to call another controller, I don't recommend to use HMVC.
Because it brings complexity to CodeIgniter. But HMVC is very popular library for CodeIgniter.
Do you want to write tests for your apps? Our book, CodeIgniter Testing Guide would help you.
Reply


Messages In This Thread
CodeIgniter Simple and Secure Twig - by kenjis - 05-24-2015, 07:06 PM
RE: CodeIgniter Simple and Secure Twig - by kenjis - 02-22-2016, 04:41 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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