H
H
happyman12016-03-24 22:42:43
PHP
happyman1, 2016-03-24 22:42:43

What tutorials can you read about creating a social service?

I am designing a social service with the ability to register, add, delete messages, etc. Interested in how the back-end is made in real, real projects, how everything works there. Are there quality articles articles and where to find them. Preferably in php.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
M
Maxim Grechushnikov, 2016-03-24
@maxyc_webber

there's no such thing. each for his own needs ruhighload.com read here.
write questions on skype

P
Pavel Volintsev, 2016-03-31
@copist

You can take and study OpenSource social services based on frameworks, for example, https://www.humhub.org/en based on Yii2 or https://elgg.org/ which itself is component-based.
For yourself, you need to find the answer to the question: How does a simple service like a blog differ from a social service?
Let's consider a blog a service where one author publishes posts, while others register to leave comments on posts.
The key difference between the social service is the multi-user mode, all sorts of "friends" and interest groups.
Usually there are many groups, but sometimes programmers decide to make their social service for one group of interests, which significantly narrows the target audience.
Here are a few differences in the format of the "User Story" statements:
1. As a user of a social service (hereinafter referred to as PSS for brevity, there is a limit on the length of the answer) I want to publish my posts and photos (hereinafter referred to as CONTENT)
2. As a PSS I want to change or delete my CONTENT
3. As a PSS, I want to prevent others from changing their CONTENT
4. As a PSS, I want to read the CONTENT of other individual PSS
5. As a PSS, I want to favorite (like, fork, pin, retwit, repost) CONTENT of other individual PSS with the ability to add your own description or change the original one, but with the link to the original entry / photo
6. As a PSS, I want to add another PSS to my favorites (friend, follow, watch)
7. As a PSS, I want to see a list of all other PSS that *I* chose somewhere in paragraph 6
8. As a PSS, I want to see a list of all other PSS that *me* was chosen somewhere in paragraph 6
9 As a PSS, I want to send a message to another PSS
10. As a PSS, I want to see messages from other PSS, preferably instant, that is, in real time
11. As a PSS, I want to comment on my own and other CONTENT
12. As a PSS, I want to see reminders of received messages from other PSS that I didn't get in real time (e.g. email comment digest) and that someone friended me or liked my CONTENT or commented on my CONTENT or mentioned me in comments somewhere
13. As a PSS, I want to prohibit other PSS from commenting on my CONTENT
14. As a PSS, I want to create a community of interest (social group, hereinafter SG) and become its owner
14. As a SG owner, I want to invite other friends (see item 6) and other users (see item 9) in the SG
15. As the owner of the SG, I want to give or take away the rights of the moderator in the SG to any PSS
16. As the owner of the SG, I want to transfer the ownership of the SG to any other PSS
17. As the PSS, I want to see the lists of the SG and join (join, follow) them, search for groups according to
specified rules, for example, by key interests or at least by name
19. As a SG owner, I want to be able to approve the inclusion of PSS in the SG (private groups with membership restrictions)
20. As a SG member, I want to publish my posts and photos (hereinafter CONTENT) in the SG
21. As a SG moderator, I want to change/delete records of SG members published in the SG
22. As a CSP, I want to complain about another CSP or individual CONTENT
23. As a global moderator of the service, I want to see complaints from the CSP
24. As a global moderator of the service, I want to ban / unban any CSP
25. As a global moderator service, I want to see the CONTENT of any PSS without restrictions
26. As a global moderator of the service, I want to see all SGs without restrictions
27. As a global moderator of the service, I want to send a message to any PSS without restrictions
Dating, as in VKontakte, and I did not mention karma, as in Habré.
For all this, you need to think about the data model, security model, data aggregation, instant alerts, email notifications.
The financial question remains behind the scenes: how to provide a stable income to maintain the work of social services.
I hope the answer helps to paint a picture of the world of social networks :)

X
xmoonlight, 2016-03-25
@xmoonlight

It works simply: sitecoder.blogspot.ru/p/blog-page_23.html
Roles, manipulators and storage...

D
Dmitry Evgrafovich, 2016-03-31
@Tantacula

There are many articles, maybe implicitly, but talking about designing this type of application, you just need to go to Google. Here are a few good ones that came to mind: https://habrahabr.ru/company/latera/blog/280196/ https://habrahabr.ru/post/231213/ https://www.insight-it.ru/highload /2011/arkhitektu...
This is if you mean an application with a heavy load by a social network. Optimizing for high traffic and a blog and a social network are two different things, if a blog can be stupidly cached, then the wrong architecture in the social network will simply kill your project, or you will write it again when you run into restrictions.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question