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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T11:39:16+00:00 2026-05-25T11:39:16+00:00

I am writing a personal bookmarks application and am looking for a way to

  • 0

I am writing a personal bookmarks application and am looking for a way to have totally different content between subdomains.

I have written the application and it works fine, but have yet to implement multiple collections. I have the following models:

  • Tag (unused so far)
  • Bookmark
  • Subject

Bookmarks are categorized in subjects and I’m planning to allow tagging in the future and see if that helps me manage my bookmarks more easily.

The current problem I have is that I’d like to separate bookmarks as a whole. I want to use subdomains like webdevelopment.bookmarks.local, languages.bookmarks.local, linux.bookmarks.local that work with an entire own set of domains and bookmarks.

I am considering adding a new model called Set (short for “bookmark sets”) and defining sets based on the subdomain.

According to that plan I’d have to rewrite all $this->...->find-queries in the entire App to contain the condition "set_id" = $SubdomainBasedSetid".

While it wouldn’t be that much work, I was wondering if it could be done smarter, maybe that Cake would only see the relevant bookmark set per subdomain.

  • 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-25T11:39:16+00:00Added an answer on May 25, 2026 at 11:39 am

    well, your solution is right. But instead of using subdomains, you can use prefix, so you don’t have check and set yourself. Since you use subdomains, I assume that these sets are fixed or rarely change. So you don’t really need a sets table, just use the set name directly in your bookmark record, so you don’t have to convert between name and id.

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

Sidebar

Related Questions

Hey, I'm writing a personal bookmarking application, and looking for a way to keep
I'm writing an application for personal use that will track how often I reach
I'm writing a small ajax class for personal use. In the class, I have
I'm writing an OS X application for my personal use where I want to
I am currently writing a simple bootloader as a personal project. I have a
I need help in writing a mod_rewrite to allocate users their own personal subdomains.
I've started writing a JavaScript application as a personal project. I am hoping to
So I'm writing a disposable script for my own personal single use and I
Writing a test app to emulate PIO lines, I have a very simple Python/Tk
Writing a .NET DLL how do I find Application.ProductName ? EDIT: Obviously, importing Windows.Forms

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.