Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Entities and relationship
Post: RE: Entities and relationship

stopz Wrote: (12-20-2021, 02:33 PM) -- In reality when you are fetching ~10,000 books which in total maybe have 700 authors then it is very bad practice to instantiate entirely new model for each a...
1,654 Views
7 Replies
12-24-2021, 06:12 AM
viewfromthenorth
    Thread: How to debug ajax requests?
Post: RE: How to debug ajax requests?

When I'm building between a JS environment and Codeigniter 4, I have found great use in something called ChromePhp (https://github.com/ccampbell/chromephp). As long as you're assured that your AJAX ca...
754 Views
4 Replies
10-09-2021, 06:06 AM
viewfromthenorth
    Thread: DatabaseHandler Broken in 4.1.4
Post: RE: DatabaseHandler Broken in 4.1.4

paulbalandan Wrote: (09-10-2021, 06:45 AM) -- Since youre using Composer, I assume, replace codeigniter4/framework in your require with codeigniter4/codeigniter4: 4.x-dev then run composer upda...
775 Views
4 Replies
09-10-2021, 06:53 AM
viewfromthenorth
    Thread: DatabaseHandler Broken in 4.1.4
Post: DatabaseHandler Broken in 4.1.4

I know there's another post in here about this but I can't seem to ascertain the result. There is an identified bug in the DatabaseHandler for the session library, and it's based on changes that were...
775 Views
4 Replies
09-10-2021, 06:38 AM
viewfromthenorth
    Thread: Kint Class Not Found
Post: RE: Kint Class Not Found

I have tried copying over the files from the develop branch in the ThirdParty/Kint folder, and also just tried to change the file name, but I'm getting a different error message in development of 4.0....
11,373 Views
16 Replies
03-21-2020, 04:20 PM
viewfromthenorth
    Thread: When Does Entity Attributes Get Filled
Post: When Does Entity Attributes Get Filled

So I've been thinking a lot about these discussions around ORM and building relationships between items. All of the extensions are great, but I feel like the Entity class in CI4 is capable of a LOT, a...
2,203 Views
2 Replies
12-11-2019, 08:31 PM
viewfromthenorth
    Thread: What options are there for mapping relationships in Models/Entities
Post: RE: What options are there for mapping relationshi...

This has been on my mind as well. I did a search through Packagist and came across this: github.com/4spacesdk/CI4OrmExtension This seems like a great tool and has all the features you would need to...
5,644 Views
5 Replies
12-02-2019, 07:09 PM
viewfromthenorth
    Thread: Form Validation Allowing Empty Strings To Be Stored Instead of Null
Post: RE: Form Validation Allowing Empty Strings To Be S...

Sorry, I think I deleted them accidentally when editing my post. Here's the rules and messages again. Still having the problem. If the JSON doesn't contain name and email, I want it to throw a requ...
2,199 Views
2 Replies
10-07-2019, 08:00 PM
viewfromthenorth
    Thread: Form Validation Allowing Empty Strings To Be Stored Instead of Null
Post: Form Validation Allowing Empty Strings To Be Store...

I'm trying to get form validation to work at the model level. I have three fields, id, name and email, and I have them all set to required. I'm using the CI 4 Entity class, so on an incoming reques...
2,199 Views
2 Replies
10-07-2019, 07:34 PM
viewfromthenorth
    Thread: CurlRequest.php Error
Post: RE: CurlRequest.php Error

mightyted Wrote: (06-27-2019, 07:40 AM) -- HI there, I'm fairly novice with the cURL library but I'll share my experience. I also have had this issue. If you go to the System folder of your CI in...
4,345 Views
5 Replies
06-28-2019, 07:43 PM
viewfromthenorth
    Thread: CurlRequest.php Error
Post: CurlRequest.php Error

I am playing around with CI4 and trying to get the CurlRequest.php library working. I'm following the instructions in the user guide, trying to just get a simple request built but I'm getting the belo...
4,345 Views
5 Replies
06-22-2019, 05:28 AM
viewfromthenorth

Theme © iAndrew 2016 - Forum software by © MyBB