Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 630689
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T19:52:58+00:00 2026-05-13T19:52:58+00:00

the idea I’m playing with a concept of modular website builder – now mostly

  • 0

the idea

I’m playing with a concept of modular website builder – now mostly in theory, which would containt pages / collections based on modules (either preprogrammed or done specifically when needed).

Every module with come with it’s ties to DB, views/templates and core data processing, I’m thinking about factory pattern:

basic module wrapper – having normalized names -> callDB, processData, returnToTemplate

each module then inherits this wrapper and just adds it’s calls to DB, it’s data processing and finally will return to data, then in application, I will just do something like:

$this->modules->each->callDB(); //obviously, pseudo-PHP

the problem

What am I struggling with, however, is incorporating this whole idea into CodeIgniter’s MVC approach and it’s data structure, so it won’t be/feel (i know, subjective) unnatural and/or meaningless.

Any ideas?

(under tree structre i – i know, that i can do whatever i like. However, I don’t know if I like dir modules with subir for each module, or templates in application/templates and modules in application/modules – and those modules, it actually doesn’t make sense to me, since my modules are somewhat different than CI modules… you know…)

edit1

So… is this so hardcore or so dumb that there are no answers??

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T19:52:58+00:00Added an answer on May 13, 2026 at 7:52 pm

    What exactly are you trying to achieve? There is plenty of code out there to help you achieve modular architecture (HMVC) in your CodeIgniter application.

    Modular Separation – wiredesignz

    Matchbox – Zacharias Knudsen

    Anything else you need to add in relating to wrapping the module is purely in the implementation. I’d look into using MY_Controller and possibly taking it a step further to implement multiple base classes, so your frontend controllers know to wrap the module with whatever data from the DB.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

idea I would like to create a little app for myself to store ideas
The idea is that there is a primary implementation of COM interface, which needs
Using IDEA 9/10, I don't want to use MVN2 anymore (reasons mostly similar to
any idea which is the command for publish in msbuild corresponding to the one
IDEA has many plugins to use. I.e. IDEtalk is one of them which I
any idea, how to make a setup which looks like Office2007-Setup? For example the
Any idea on implementing a multi-select (check boxes) ListPreference on Android? Would I have
idea Via jQuery, I was able to mark all :first-child and :last-child elements in
Idea: I want to make smth like real time electronic blackboard. Many users have
Any idea on how can I track users bookmarking event? I want to find

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.