关于使用 PHP 和 MySQL 创建社交网络的教程?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/2893204/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-25 08:02:13  来源:igfitidea点击:

tutorials about creating a social network using PHP & MySQL?

phpmysqlnetworkingsocial

提问by Sercan

Where can I find tutorials about creating a social network (like db structure, sql query samples eg.) using PHP & MySQL ? I do not need a ready script, I just want to learn how to do it..

在哪里可以找到有关使用 PHP 和 MySQL 创建社交网络(例如 db 结构、sql 查询示例)的教程?我不需要现成的脚本,我只想学习如何去做。

回答by vladv

Pretty hard to do one from scratch.

从头开始做一个很难。

My opinion is that you should really break it into smaller pieces. Like, how to make a good log-in. How to keep the users into a database. What info do you need about them, what kind of social network should it be? Things like that. After you will put many many pieces together you will see the image from the puzzle and then you will wonder, what frameworks should I use to make my life easier? How will the network look like?

我的意见是你真的应该把它分成更小的部分。比如,如何进行良好的登录。如何将用户保留到数据库中。您需要关于他们的哪些信息,应该是哪种社交网络?像这样的东西。在你将许多块拼凑在一起后,你会看到拼图的图像,然后你会想,我应该使用什么框架来让我的生活更轻松?网络会是什么样子?

If you are just starting with php I don't recommend you starting with this. Learn to lurk before you leap.

如果您刚开始使用 php,我不建议您从这个开始。在你跳跃之前学会潜伏。

回答by Sercan

I am not considering myself as a good PHP programmer, but I know the basic steps like creating a log-in form, uploading files eg.. I just want to know some specific things about social networking like creating friendship structures and how to query them. Let me show you something as an example of what i am looking for: http://www.communitymx.com/content/article.cfm?cid=A1A63

我不认为自己是一个优秀的 PHP 程序员,但我知道创建登录表单、上传文件等基本步骤。 . 让我向您展示一些东西作为我正在寻找的示例:http: //www.communitymx.com/content/article.cfm?cid=A1A63