Welcome Guest, Not a member yet? Register   Sign In
Search Results
  Exclamation Thread: Can a lot of functions in one controller file slows down the whole thing?
Post: Can a lot of functions in one controller file slow...

Hello everyone, I need to know something. Assume we put a lot of functions in controller for MVC. What is the best practice for system efficiency? Should I put them in different controllers or keep t...
585 Views
1 Replies
12-24-2021, 12:50 AM
sr13579
    Thread: How to activate debugging role wise?
Post: RE: How to activate debugging role wise?

kenjis Wrote: (10-16-2021, 06:04 PM) -- Set your environment to `production`. See https://codeigniter4.github.io/CodeIgniter4/general/environments.html#the-environment-constant -- This is not how ...
1,099 Views
4 Replies
10-16-2021, 11:34 PM
sr13579
    Thread: Making $db available globally
Post: RE: Making $db available globally

You should simply use , db_connect()->table('table_name')->...->...; This one is already enough global.
1,194 Views
5 Replies
10-16-2021, 04:50 PM
sr13579
    Thread: What CI4-related book would you like?
Post: RE: What CI4-related book would you like?

HMVC all in one Tips and tricks.
9,499 Views
19 Replies
10-16-2021, 04:49 PM
sr13579
    Thread: How to activate debugging role wise?
Post: How to activate debugging role wise?

For a live project how can I hide debugging feature for normal user? I just want to show it only for developers. Please give me a solution.
1,099 Views
4 Replies
10-16-2021, 04:47 PM
sr13579
  Lightbulb Thread: How to setup another modules with new route files?
Post: How to setup another modules with new route files?

I want to create many modules for my applications. After trying very hard i have finally added another module with controller. It is working. But there are some redundancy I want to avoid. And I want ...
1,489 Views
1 Replies
09-15-2021, 05:50 AM
sr13579
    Thread: Why sometimes CI4 crashes after a composer update?
Post: RE: Why sometimes CI4 crashes after a composer upd...

MGatner Wrote: (04-30-2021, 03:25 PM) -- I’ve never experienced this. Could you share the exact error message? That would be helpful in tracking down the underlying issue. -- PHP Fatal error: Uncaugh...
1,495 Views
3 Replies
04-30-2021, 09:25 PM
sr13579
    Thread: Why sometimes CI4 crashes after a composer update?
Post: Why sometimes CI4 crashes after a composer update?

Sometimes while working with some app I have seen that there is debugging exception found. What really happens there in the vendor directory?
1,495 Views
3 Replies
04-25-2021, 09:12 PM
sr13579
    Thread: CI4 models are not working with database grouping.
Post: CI4 models are not working with database grouping.

I am trying to shift to another database and insert data with model. But I think the model is directly working with the default group and I can't upload any data from my text input in the desired ta...
726 Views
1 Replies
04-21-2021, 10:35 PM
sr13579
    Thread: CI 3 + locally Nikto scan result
Post: RE: CI 3 + locally Nikto scan result

ditolakgebetan Wrote: (09-22-2015, 10:34 AM) -- Dear, All. I'm new to CI, especially CI 3. I also new to web security issues. I built a self-learning project in my localhost. I tested it with nik...
1,980 Views
2 Replies
04-21-2021, 11:51 AM
sr13579
    Thread: How to pass parameters to lang from js?
Post: RE: How to pass parameters to lang from js?

I think you should use AJAX post method if you want to send something from JS to server.
1,086 Views
3 Replies
04-21-2021, 10:29 AM
sr13579
    Thread: Debug exception error. How to sort it out?
Post: Debug exception error. How to sort it out?

While working on a project I have faced some problems: 1. When I wrote something wrong there is a message triggered "Debug Exception " and it point me to a line in vendor/framework4/....... I can'...
401 Views
0 Replies
04-21-2021, 10:28 AM
sr13579
    Thread: How to create a new library and use it with controller?
Post: How to create a new library and use it with contro...

I am writing a very big application and I think it would be great if i could put that in a library and use it in my controller. How can I easily build up a simple library and use that in my Controller...
1,042 Views
2 Replies
04-19-2021, 06:36 PM
sr13579
    Thread: How to make and include different routing files inside one route file?
Post: RE: How to make and include different routing file...

InsiteFX Wrote: (04-17-2021, 12:41 PM) -- Something like this for modules. PHP Code: -- app/Config/Routes.php //.. Other routes // Add this to Footer // Including all module routes $m...
2,117 Views
4 Replies
04-17-2021, 04:53 PM
sr13579
    Thread: How to make and include different routing files inside one route file?
Post: How to make and include different routing files in...

I am trying to make more robust app with CI4. I am trying to separate many functions along with their routing configs. But I can't find a way to include another routing file inside Routes.php Here...
2,117 Views
4 Replies
04-17-2021, 07:39 AM
sr13579

Theme © iAndrew 2016 - Forum software by © MyBB