Welcome Guest, Not a member yet? Register   Sign In
How to make my app an CI4 from CI3?
#4

(01-12-2021, 07:34 AM)demyr Wrote: You need to code again your projects. However, the basic understanding is similar.
  • There are some differences with Controller as well: You can send header and footer on Controller: View Part on User Guide
  • Also Redirect line within your controller is a bit different

    return redirect()->to($_SERVER['HTTP_REFERER']); // It  an example of redirect to the same page. You can even send a message: Redirect Page On User Guide
  • Be careful with the namespaces.

If what you want to do once completed this stage is an integration since composer requires it would be sufficient or requires some kind of strategy.

Codeigniter 3 example has a situation set the autoload in composer config but also bounce error "LibraryX/SDK\method" error or similar, this would be re-eded to integrate libreries from composer.

I will make an effort, I have urgency to understand if I can solve a problem with Codeigniter 3, I also have doubts with the handling of sessions data, but if in documentation it is in order then I will review it.
Reply


Messages In This Thread
How to make my app an CI4 from CI3? - by yuma2020 - 01-11-2021, 11:31 PM
RE: How to make my app an CI4 from CI3? - by yuma2020 - 01-14-2021, 11:58 AM



Theme © iAndrew 2016 - Forum software by © MyBB