Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Best practice with Routes
Post: RE: Best practice with Routes

Agreed. When it comes to routes, you will encounter issues with general maintainability long before you encounter any performance issues. After you get a couple hundred routes in there, the real issue...
4,486 Views
6 Replies
01-05-2021, 05:53 PM
schertt
    Thread: Our reasons to stay away from CodeIgniter 4
Post: RE: Our reasons to stay away from CodeIgniter 4

This feels more like a personal outburst than any kind of real criticism, and it seems predicated on the fact that moving from 3 to 4 isn't as simple as dragging and dropping files between installs.  ...
24,318 Views
17 Replies
01-05-2021, 05:30 PM
schertt
    Thread: Array to string conversion error when sorting array
Post: RE: Array to string conversion error when sorting ...

You're trying to sort the values of $test as if they are alphanumeric strings (this is what "natural ordering" is) but the aren't strings, they're Arrays. Take another look at it: PHP Code: -- $...
5,674 Views
3 Replies
11-17-2020, 10:42 PM
schertt
    Thread: Entities returned by Model missing parent methods?
Post: RE: Entities returned by Model missing parent meth...

paulbalandan Wrote: (11-15-2020, 11:58 AM) -- Can you post the constructor part of both your BaseEntity and sample child Entity? -- Sure. This is the BaseEntity: PHP Code: --
2,795 Views
4 Replies
11-15-2020, 02:06 PM
schertt
    Thread: Entities returned by Model missing parent methods?
Post: RE: Entities returned by Model missing parent meth...

paulbalandan Wrote: (11-13-2020, 07:32 AM) -- This can be because in your BaseEntity constructor you are not explicitly calling parent::__construct. -- Yes, I am explicitly calling the parent constr...
2,795 Views
4 Replies
11-13-2020, 12:07 PM
schertt
    Thread: Problem Extending Database Driver
Post: RE: Problem Extending Database Driver

The 2.x trunk hasn't been touched in over 5 years at this point, you may not find a lot of people here that still use it (or ever used it for that matter). You might have better luck asking on a site ...
2,034 Views
3 Replies
11-12-2020, 02:13 PM
schertt
    Thread: Access values based on dropdown value.
Post: RE: Access values based on dropdown value.

If you're retrieving that data from the Model using AJAX, then by that point you've already given the View (and all included data) to the client; you can't add further data to the View as you would pr...
1,141 Views
1 Replies
11-12-2020, 02:04 PM
schertt
  Question Thread: Entities returned by Model missing parent methods?
Post: Entities returned by Model missing parent methods?

Hello, I have a series of Models that use corresponding Entities as their $returnTypes. The corresponding Entities all inherit from a BaseEntity class which in turn inherits from CI's Entity class.  ...
2,795 Views
4 Replies
11-09-2020, 04:50 PM
schertt
    Thread: 403 in Controller Subdirectory access
Post: RE: 403 in Controller Subdirectory access

Ah that makes sense. Glad we could help.
10,714 Views
9 Replies
06-25-2020, 09:42 AM
schertt
    Thread: 403 in Controller Subdirectory access
Post: RE: 403 in Controller Subdirectory access

I'm not sure if this actually matters (CI might fix it internally), but according to docs CI routes use backslashes (\) to delineate namespaces and forward slashes (/) to delineate the trailing functi...
10,714 Views
9 Replies
06-24-2020, 10:15 AM
schertt
    Thread: Hack attempts
Post: RE: Hack attempts

If you're interested in light reading: #1 was looking for holes in Apache Solr: https://www.agarri.fr/blog/archives/2013/11/27/compromising_an_unreachable_solr_server_with_cve-2013-6397/index.html #...
20,712 Views
7 Replies
03-31-2020, 11:54 AM
schertt
  Question Thread: Wrapping CI Models vs. Custom model
Post: Wrapping CI Models vs. Custom model

First let me say that I'm enjoying CI4 as a framework. I have a question about best practices when it comes to Models as I'm still figuring everything out.  In this scenario, an application has a d...
2,362 Views
1 Replies
03-31-2020, 10:51 AM
schertt

Theme © iAndrew 2016 - Forum software by © MyBB