Skip to main content

All Questions

Filter by
Sorted by
Tagged with
1 vote
2 answers
280 views

Reduce repetition when sharing data across an application

I have a CodeIgniter 3 application. There is some data every page across the application needs to have. This is the system I currently have. Create a model function that will get the data I need <...
Goose's user avatar
  • 173
2 votes
1 answer
3k views

Builder pattern for Codeigniter ActiveRecord queries

I am using Codeigniter and it's ActiveRecord. I had this idea for a base class that provided a generic getter/setter for doing simple queries on a database. I have a lot of database objects that ...
xiankai's user avatar
  • 123