Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Best way to implement validation rules
Post: RE: Best way to implement validation rules

I used to store validation in controllers. I just create a method containing rules and messages, so it can be used by one or more methods. I usually make a separation between the app and database by i...
679 Views
4 Replies
02-10-2021, 01:07 PM
adnzaki
    Thread: Our reasons to stay away from CodeIgniter 4
Post: RE: Our reasons to stay away from CodeIgniter 4

I don't know why is namespace become a huge lack of the framework. Namespace is an extremely greatest solution to create modular code base that enables you to build a large application. Namespace enab...
5,100 Views
15 Replies
01-12-2021, 09:28 AM
adnzaki
    Thread: Migrating CI3 to CI4, need query->numRows function
Post: RE: Migrating CI3 to CI4, need query->numRows func...

Why is it become a problem? If you want to count result from your query, there is count() method from PHP, it's easy to use and don't have to create additional method in database result. Read example ...
1,744 Views
11 Replies
01-01-2021, 01:00 AM
adnzaki
    Thread: How did CodeIgniter run out of steam?
Post: RE: How did CodeIgniter run out of steam?

Sure? How long you been following CodeIgniter development? It has been on version 4.0.4, it has everything you need to build a modern web application. I am using CodeIgniter (v3 and now v4) with moder...
1,364 Views
4 Replies
01-01-2021, 12:49 AM
adnzaki
    Thread: Codeigniter + React Admin is it a good pair?
Post: RE: Codeigniter + React Admin is it a good pair?

Actually using any front-end framework in CodeIgniter is not officially supported, but you can still configure and make it works for you. I'm using Vue.js in all my CI projects (v3 and now v4) and eve...
1,946 Views
3 Replies
12-30-2020, 02:08 AM
adnzaki
    Thread: How to use public variables from controller in views in CI 4
Post: RE: How to use public variables from controller in...

There is no way to call any variables outside of view() method. You have to pass them into view() so it can reads your data. If you have a property in your class, you have to pass it to data array in...
2,992 Views
14 Replies
12-29-2020, 08:56 PM
adnzaki
    Thread: include view in parser
Post: RE: include view in parser

kilishan Wrote: (04-23-2019, 06:39 AM) -- Good call. Can't believe we overlooked that one! I'll add it to the to do list. -- Whoops, I missed my own thread for a long time. Actually I got that idea f...
8,294 Views
8 Replies
04-20-2020, 09:57 PM
adnzaki
    Thread: CodeIgniter 4.0 is here!
Post: RE: CodeIgniter 4.0 is here!

Wow, finally it's here! I've been almost 2 years using dev-version of CodeIgniter 4 for my ambitious project and now the final version released just a few months before I release my project too! Well,...
130,664 Views
127 Replies
02-25-2020, 07:35 AM
adnzaki
    Thread: CodeIgniter 4.0.0-rc.3 released
Post: RE: CodeIgniter 4.0.0-rc.3 released

manigopal Wrote: (10-31-2019, 05:12 AM) -- will there be any predefined libraries like API -- Yap, of course. But in CI4, all libraries now called "Services". You can access them through Services cla...
45,167 Views
27 Replies
10-31-2019, 05:16 AM
adnzaki
    Thread: CodeIgniter 4.0.0-rc.3 released
Post: RE: CodeIgniter 4.0.0-rc.3 released

manigopal Wrote: (10-31-2019, 04:56 AM) -- will it be easy as CI3 or will be touch. Although i'm a beginner. -- Version 4 is completely different than 3. But if you have good understanding in OOP esp...
45,167 Views
27 Replies
10-31-2019, 05:05 AM
adnzaki
    Thread: CodeIgniter 4.0.0-rc.3 released
Post: RE: CodeIgniter 4.0.0-rc.3 released

andoyoandoyo Wrote: (10-19-2019, 01:45 PM) -- uConsole Wrote: (10-19-2019, 11:38 AM) -- James Parry, will there be a final version this year? -- Hopefully. I am very happy if the release version c...
45,167 Views
27 Replies
10-27-2019, 07:20 PM
adnzaki
    Thread: CodeIgniter 4.0.0-rc.2 released
Post: RE: CodeIgniter 4.0.0-rc.2 released

romzine Wrote: (09-28-2019, 05:33 AM) -- Thank you, great work! May I try to use the rc2 for production? And so Does this version contains some critical things that you are not recommend to use in ...
20,518 Views
21 Replies
10-01-2019, 03:28 AM
adnzaki
    Thread: CodeIgniter 4 Logo
Post: RE: CodeIgniter 4 Logo

, ignitedcms Wrote: (07-21-2019, 03:10 AM) -- This was my idea I was thinking something like a bonfire. http://www.rmdweb.co.uk/ci.jpg -- Hm.. I think I will vote for this concept, but in my opi...
51,667 Views
63 Replies
07-31-2019, 10:02 AM
adnzaki
    Thread: Advance Tutorials
Post: RE: Advance Tutorials

I don't really understand how to build a framework, but by looking at the CI's system file, I understand how the framework works. Also by looking at the tests source code and the docs, they are really...
3,714 Views
7 Replies
03-26-2019, 09:34 PM
adnzaki
    Thread: Code Modules + Filters + Routes = ERR_TOO_MANY_REDIRECTS. Where am I going wrong?
Post: RE: Code Modules + Filters + Routes = ERR_TOO_MANY...

itu looks like your "before" filter could not find true condition, so it redirected many times.
3,103 Views
4 Replies
03-19-2019, 11:21 PM
adnzaki
    Thread: Code Modules + Filters + Routes = ERR_TOO_MANY_REDIRECTS. Where am I going wrong?
Post: RE: Code Modules + Filters + Routes = ERR_TOO_MANY...

ariom Wrote: (03-19-2019, 08:14 PM) -- Ok here we go. My folder structure looks like this: And before anyone asks, Yes I've added my namespace to app/Config/Autoload.php. That part works fine. ...
3,103 Views
4 Replies
03-19-2019, 11:08 PM
adnzaki
    Thread: include view in parser
Post: RE: include view in parser

Pertti Wrote: (01-09-2019, 01:34 AM) -- Ah, so you are using new templating engine? https://codeigniter4.github.io/CodeIgniter4/outgoing/view_parser.html I guess it depends on what kind of PHP cod...
8,294 Views
8 Replies
01-09-2019, 08:45 PM
adnzaki
  Wink Thread: Project Update 2019.01.04
Post: RE: Project Update 2019.01.04

Great!! I have tried to implement CI4 in my project, and I think it needs some little improvements. But overall, CI4 is great framework, love to use it!
19,562 Views
15 Replies
01-08-2019, 08:48 PM
adnzaki
    Thread: include view in parser
Post: RE: include view in parser

puschie Wrote: (01-02-2019, 05:09 AM) -- you could also use your view as variable replacement PHP Code: -- $template = "Hello, {var1} {firstName} {lastName}"; $data = [ 'var1' => view( VIEW_NAME...
8,294 Views
8 Replies
01-08-2019, 08:34 PM
adnzaki
    Thread: include view in parser
Post: RE: include view in parser

Pertti Wrote: (01-02-2019, 02:00 AM) -- I have to admit I have not personally played with v4 yet, but I think this might be what you are after: https://codeigniter4.github.io/CodeIgniter4/general/co...
8,294 Views
8 Replies
01-08-2019, 08:30 PM
adnzaki

Theme © iAndrew 2016 - Forum software by © MyBB