Originally posted by Snarf
View Post
- Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
- Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!
Reply to: Schema for website comments
Collapse
You are not logged in or you do not have permission to access this page. This could be due to one of several reasons:
- You are not logged in. If you are already registered, fill in the form below to log in, or follow the "Sign Up" link to register a new account.
- You may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
- If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.
Logging in...
Previously on "Schema for website comments"
Collapse
-
Thank you - I think that covers off all I need. It really is the simplest of implementations. So simple, in fact, that an RDBMS solution seems overkill. That said, I could be adding features in the future that would justify it so good to have something that is scalable from the outset.
-
If there is a likelihood that you might want to capture comments against different content types (Stored in different tables) I'd maybe be tempted to change the way that the content links to its comments...Originally posted by Snarf View PostI might be misunderstanding, Apologies if so an this isnt what youre looking for:
The difference here is that the comment group table is allowing you to link multiple different types of content stored in different tables back to the one comments table whilst maintaining referential integrity.
Let me know if you need more details/if thats not what youre looking for.
Leave a comment:
-
I might be misunderstanding, Apologies if so an this isnt what youre looking for:Originally posted by The Castle Cary Fairy View PostOh, the bare rudiments really. Probably doesn't justify an RDBMS solution so something as suggested by Woohoo or a JSON implementation are more likely to be suitable. I literally want to store the comment text, date of posting and associate it with its parent content.
Leave a comment:
-
Oh, the bare rudiments really. Probably doesn't justify an RDBMS solution so something as suggested by Woohoo or a JSON implementation are more likely to be suitable. I literally want to store the comment text, date of posting and associate it with its parent content.Originally posted by Snarf View PostIt going to depend very much on what features you want in the comments section.
Any more info on what you want to do?
Leave a comment:
-
It going to depend very much on what features you want in the comments section.
Any more info on what you want to do?
Leave a comment:
-
Take a look at MiniBlog. You can have a look at how they have done it though they save to files rather than a db.
https://github.com/madskristensen/MiniBlog
Code specifically for comments
https://github.com/madskristensen/Mi...ode/Comment.cs
Leave a comment:
-
I want to do it in Angular. It's a learning process as much as anything - but I'd like to have a decent schema as a starting point.Originally posted by WTFH View PostI'd suggest just using wordpress.
Leave a comment:
-
Schema for website comments
Hello all,
I want to build a comments section into a website I am building.
It's a personal project. Just wondering if anyone could share or point me towards a database schema that encompasses the typical entities of such a feature.Tags: None
- Home
- News & Features
- First Timers
- IR35 / S660 / BN66
- Employee Benefit Trusts
- Agency Workers Regulations
- MSC Legislation
- Limited Companies
- Dividends
- Umbrella Company
- VAT / Flat Rate VAT
- Job News & Guides
- Money News & Guides
- Guide to Contracts
- Successful Contracting
- Contracting Overseas
- Contractor Calculators
- MVL
- Contractor Expenses
Advertisers

Leave a comment: