All Questions
Tagged with controller codeigniter
7 questions
4
votes
1
answer
361
views
Codeigniter 3 micro-blogging application
I am working on a basic blog application in Codeigniter 3.1.8 and Bootstrap 4.
The application allows Registration (as an author), Login, adding Categories and Posts.
I have created an installation ...
2
votes
1
answer
186
views
Codeigniter Controller for work orders
I'm working on a project and one of my controllers is getting quite large and hard to maintain or add to. I'm having trouble deciding what belongs in the controller and what I can move to the model. ...
2
votes
1
answer
4k
views
CodeIgniter maintain data through Controllers
I have a main menu in my application. It loads depending on the role of the user that I validate from a table in my data base, but I have to recreate this menu every time I call a new controller.
...
0
votes
2
answers
2k
views
Codeigniter - in the view or in the controller?
Is this correct? Or am I overloading the responsibilities of the view?
...
3
votes
2
answers
5k
views
Loading content in page via jQuery
I'm doing a website in CodeIgniter and I'm loading the content page via jQuery, but I don't know if this is a good practice or not. Could I improve it?
jQuery:
...
1
vote
1
answer
513
views
An account activation class
I'm rewriting a god object with long methods into something much more viewable and pretty.
However, I think there is something missing and can be done better. I'm sending examples of one controller ...
0
votes
1
answer
4k
views
Counting failed login attempts to enforce temporary lockout
I'm reviewing my code and trying to figure out how I can do some simplifying to flatten my code. Whether it be making simpler function out of the segment of code or by removing parts of it and wanted ...