我如何实现类似Twitter的程序? [英] How do I implement a Twitter-like program?

查看:168
本文介绍了我如何实现类似Twitter的程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是Java编程语言的新手,我必须实现类似Twitter的程序。我不知道如何解决这个问题,我想要一些帮助。



该程序应该:

允许用户发推文

允许用户关注其他用户

允许用户阅读他们关注的人的推文



所有这一切都应该通过服务器来完成。非常感谢!



我的尝试:



到目前为止我试图实现服务器,但似乎没有任何工作。主要问题是我对网络编程的工作方式知之甚少。

I'm very new to the Java programming language and I have to implement a twitter-like program. I don't know how to aproach this problem and i'd like some help.

The program should:
allow the users to tweet
allow the users to follow other users
allow the users to read the tweets of the people they follow

All of that should be done through a server. Thanks a lot!

What I have tried:

So far I tried to implement the server, but nothing seems to work. The main problem is my very little knowledge about the way network programming works.

推荐答案

Quote:

主要问题是我对网络编程的工作方式知之甚少。

The main problem is my very little knowledge about the way network programming works.



然后学习,学习,学习。

如果没有10000个推特网站,有一个很好的理由,这不适合初学者。



首先,你需要掌握数据库设计和SQL;抛出4张桌子远不止这些。一个错误的设计和下周,应用程序将是如此缓慢,以至于它将无法使用。


Then study, study, study.
If there is not 10000 twitter like site, there is a good reason, this is not for beginners.

First, you need to master database design and SQL; There is much more than throwing 4 tables. a wrong design and next week, the app will be so slow that it will be unusable.


这篇关于我如何实现类似Twitter的程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆