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 6144241
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T18:37:21+00:00 2026-05-23T18:37:21+00:00

I need to create a website like this: Home page with public access for

  • 0

I need to create a website like this:

  • Home page with public access for everyone.
  • This Home page contains a login/register section and links to several mini-sites (the amount will start small but will grow over time)
  • The minisites will have same header (logo/menu) and footer (contact, privacy policy) as the home page. What will change is the main content
  • To access any of those mini-sites, user bust be logged in

Doesn’t sound very complex right? This is the way I’m thinking now (which obviously I’m not sure it’s the best way, that’s why I’m asking for advice):

  • One CakePHP app with a global autentication system (using Auth)
  • Each mini site would be just a different page of the site, with its own controller and views (and model if necessary).
  • So there would be http://www.mysite.com/mini-site1, http://www.mysite.com/mini-site2, etc

My main concerns about this system are 2:

  • What if the number of mini-sites grows a lot? There would be a lot of controllers, view folders, models and who knows if layouts, elements, etc… Maybe not the best organization
  • What if mini-sites get more complex? More tables, controllers, scripts, css…

Maybe I’m worrying too much and my concerns are not such an issue, but I would like to know if anyone has any advice for an alternative configuration. For example, having one main page (cakephp app), which would be the home page, and each mini-site being a sub-app (also in cakephp), whose access would be controlled by the main app. This way it would be much more organized, with each mini-site in a different folder with its own controllers, views, models or whatever it needs, and being as complex as it required. I don’t even know if this is possible, or how the server and folders configuration would look be. I have some experience with CakePHP, but not that much.

Any ideas/advice would be much appreciated!

  • 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-23T18:37:21+00:00Added an answer on May 23, 2026 at 6:37 pm

    If you are truly building multiple apps then cake has a built in “plugins” architecture that allows you to build stand alone apps inside of a plugin structure that sits a top a main application layer.

    We have one we developed here at work that has a main application level that manages all user data, authentication, ACL and has some utility functions that go across all apps, including notifications.

    We then have plugins as cake calls them such as Ticketing, a File share and CMS. Each of these look like Cake apps with their own views, controllers and models and sit in a directory under the apps => plugins directory.

    It works well, but takes considerable planning to make sure you dont create unnecessary apps or a birds nest of stranded code.

    More on plugins here:
    http://book.cakephp.org/view/1111/Plugins

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

Sidebar

Related Questions

I have a website with urls like this : www.mysite.com/controller/action/id I need to create
I have to create website in PHP, which need image editor functionality like image
I need to do a border for my website that looks like this one.
I need to pass a full website url to my controller action, like this:
I need to create a photo gallery for a website running IIS 4.0 or
For a Website I'm developing, I will need to create some graphics. I haven't
All, I need to create an app for work that signs into our website
I am working on a website where Users create their accounts. I need to
If I'd like to create website where users will be able to upload videos
I need to create a simple website, the server is gonna running on Amazon

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.