Ruby on Rails、PHP 或 C++用于网络社交网络

发布于 2024-08-25 07:21:53 字数 1431 浏览 3 评论 0 原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

删除→记忆 2024-09-01 07:21:53

绝对不是C++。

我使用 C++、Ruby、PHP、Ruby on Rails、CakePHP、CodeIgniter 和 Kohana。

由于 C++ 比 Ruby 更类似于 PHP,而且你没有时间学习,所以我会选择 PHP 框架。我时不时地喜欢在本地计算机上创建一些社交网络,我建议您简单地使用 codeigniter因为它可以提供我能想到的社交网络所需的一切,而且它是最容易学习和掌握的。

我确信这些 codeigniter 截屏视频会对您有所帮助。

Definitely not C++.

I work with C++, Ruby, PHP, Ruby on Rails, CakePHP, CodeIgniter and Kohana.

Since C++ is more similar to PHP than Ruby and you have little time to learn, I would go with a PHP framework. Every now and then I like to make little social networks in my local machine , I would recommend that you got with codeigniter simply because it can provide everything I can think of that a social network would need and it's the easiest of all to learn and master.

Am sure these codeigniter screencasts will help you.

巴黎盛开的樱花 2024-09-01 07:21:53

我经常使用 C++,也使用 RoR(1 个已发布的项目)。我建议不要使用 C++ 进行任何 Web 开发,它确实不适合它。如果您有 Web 开发经验,那么 Ruby on Rails 很容易学习。但如果您已经有一定的 PHP 经验,我建议您继续使用它。有一些相当不错的 PHP 框架。

I've worked with C++ a lot, and also with RoR (1 released project). I would advise against using C++ for any web development, it's really not meant for it. Ruby on Rails is easy to learn if you have prior experience with web development. But if you already have some experience with PHP, I'd suggest sticking with it. There are some fairly decent PHP frameworks.

垂暮老矣 2024-09-01 07:21:53

考虑到时间安排,我会推荐 Ruby on Rails。 Rails 的发展确实很快......而且也很有趣。

您可能想要学习的其他内容是一些基本的 javascript。如果您已经了解 C++,那么学习它并不困难。

I would recommend Ruby on Rails given the time lines. The development in rails is really fast...and interesting too.

Additional stuff which you might want to learn would be some basic javascripts. Given that you already know C++, it wouldn't be difficult to learn.

涫野音 2024-09-01 07:21:53

是的,使用 Rails - 以下书籍会对您有所帮助:

1 - Michael Hartl 和 Aurelius Prochazka 编写的 RailsS​​pace - 我读过的第一本 Rails 书籍,它很美。它引导您完成创建自己的社交网站的过程。纳夫说... http://www.amazon.co.uk/Railsspace-Building-Networking-Addison-Wesley-Professional/dp/0321480791?ie=UTF8&s=books&qid =1209116263&sr=8-1

有关详细信息,请访问网站:http://railsspace.com/ - 不过需要注意的一件事是,这本书是在 Rails 1.x 版本时编写的,因此它确实适合该版本的用户,但有一个针对 Rails 2.x 用户的代码 zip 文件我可以向你保证它工作得很好。如果您确实购买了这本书,那么可能值得按照书上的说明进行所有操作(即使用 Rails 1.x)

2 - 实用 Rails 社交网站 - 我也买了这本书,它也非常有帮助 http://www.amazon.co.uk/Practical-Rails- Social-Networking-Experts/dp/1590598415

Jim Neath 写了一篇关于社交网站的好文章,并就如何做到这一点提供了一些有价值的建议 - http://jimneath.org/2008/04/25/building-a-social-network-site-in -导轨/
- 不过,请注意,他推荐的一些插件/宝石不再建议使用(例如restful_authentication),因此在使用任何东西之前只需仔细谷歌一下

Rails,您可以下载许多社交网络插件/模板应用程序、修改和使用 - 查看 Insoshi http://github.com/insoshi/insoshi (由Michale hartl 写了我在顶部链接的第一本书) - 这是项目主页 - http://dogfood。 insoshi.com/

另外,我认为这个看起来非常令人印象深刻 - 它被称为社区引擎 - http://communityengine。 org/

祝你好运

yes, use rails - the following books will help you:

1 - RailsSpace by Michael Hartl and Aurelius Prochazka - the first Rails book I ever read, and it's a beauty. It takes you through the process of creating your own social network site. Nuff said... http://www.amazon.co.uk/Railsspace-Building-Networking-Addison-Wesley-Professional/dp/0321480791?ie=UTF8&s=books&qid=1209116263&sr=8-1

For more info, go to the website: http://railsspace.com/ - one thing to be aware of though is that the book was written when rails was at version 1.x so it's really geared towards users of that version BUT there is a zip file of the code for Rails 2.x users and I can assure you that it works just fine. if you do buy this book, it might be worth just following along doing everything by the book (i.e. using rails 1.x)

2 - Practical Rails Social Networking Sites - I bought this one too, and it's also very helpful http://www.amazon.co.uk/Practical-Rails-Social-Networking-Experts/dp/1590598415

Jim Neath wrote a nice article about Social Networking sites and gives some valuable advie on how to do it - http://jimneath.org/2008/04/25/building-a-social-network-site-in-rails/
- a word of warning though, some of the plugins/gems that he recommends are no longer advised (like restful_authentication) so just double google around before you use anything

With Rails, there are many many social networking plugins/template apps that you can download, modify and use - look at Insoshi http://github.com/insoshi/insoshi (created by the Michale hartl who wrote the first book that I linked to up top) - here's the projects homepage - http://dogfood.insoshi.com/

Also, i think this one looks REALLY impressive - it's called community engine - http://communityengine.org/

Good luck

回忆追雨的时光 2024-09-01 07:21:53

坚持你所知道的(或者至少是你更擅长的)。
您的 C++ 知识将对您的 PHP 有所帮助。不要认为它对 ROR 有多大帮助。

我并不是说 ruby​​ 或 ror 的任何坏话。只是说,如果你有时间限制并且你有 C++ 和 PHP 方面的知识,那为什么要让你的生活变得复杂呢?

正如建议使用 php 框架。

祝你好运!

Stick to what you know (or at least are better at).
Your C++ knowledge will help you in PHP. Don't think it will help you that much with ROR.

I am not saying anything bad about ruby or ror. Just saying that if you have a time limit and you have previous knowledge in C++ and PHP then why complicate your life?

As suggested use a php framework.

Good luck!

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文