Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
What's a basic database schema for trading items? Here are the rules for the trade:
users propose a trade for other user's items.
both users can counter each other's proposals as many times.
Its very brief and general but I'm just looking for a basic schema to help me in the right direction in designing the database.
Basically you're talking about bidding (auctions) ... here is a decent schema I have loosely used in the past for such projects.
http://www.databaseanswers.org/data_models/auction/index.htm
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
Is there any way that i can create my own forum using php and mysql knowledge?The forum should be able to
show points for answered questions
be able to support question and answering
also be able to create a small news feed
I wanna learn this process from scratch
Welcome to Stack Overflow!
If you're familiar with Laravel, then I suggest giving "Let's Build A Forum With Laravel" on Laracasts a shot.
Very insightful tutorial-series on making a forum from scratch.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 5 years ago.
Improve this question
I'm working on a user management system, and was curious how you all deal with removing customers ? do you completely delete them from the database or do you archive them (hide them) ?
In my technical opinion, the best approach is to "hide" the customers. That way you can keep track of historical customers and their behavior.
That said, there are legal reasons why you might have to legally delete them or obfuscate them so their identity unknown.
So, it depends, and it depends on the legal and regulatory framework, as well as the business requirements of what you are working on.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I have a MySQL table "news" where I store "id","title","description". I would like to store pageviews and later use it to rank pages according to popularity.
What is the best way to do it? I've heard a lot of people complain about MySQL freezing due to high traffic. I don't want that to happen.
A simple counter would work, something like: update news set page_views=page_views+1 where id=xxxx
MySQL drives a lot of very large sites....
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
Similar to Facebook, I want to do a sharing feature where a user can choose to keep something private or share with 1 or more people. I know how to do a drop down but that limits my ability to be able to do it only for one person. How do i do it so i can allow people to select more than 1 person in a way that its user friendly and not confusing.
I was thinking of using AJAX or if HTML5 had something but i am new to that area so i don't know.
What is the best way to do it?
You could use a <select multiple>, but that's not very user-friendly. I'd use something like this: http://jqueryui.com/demos/autocomplete/#multiple.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
I apologize in advance if this is a newb question, but what are some practical advantages for doing this?
Country code is the same for every language but country NAME is not the same in every language.
Country codes are much shorter and take up less storage/memory.
Country Code is unique and it's usefull for db-search