Source code of big/popular websites [closed]

青春壹個敷衍的年華 提交于 2019-12-09 19:14:18

问题


It's great to find all those little snippets of code on the Web for your current needs, but is there anything better than getting whole application source code at once and reading it like a book? There's no better way to learn positive and negative aspects of various architecture solutions.

That's why I was trying to find some known/big websites with its source code published, but haven't found anything more than I knew already ( http://code.reddit.com/browser )

Do you know anything more?

PS. Just being curious - have you heard about any unofficial big web site source code leak?


回答1:


Wikipedia's source code (MediaWiki) can be found at http://www.mediawiki.org/

The most relevant parts are

  • "phase3" (the core code; this strange name is because it was rewritten a couple of times)
  • extensions (Wikipedia uses several of them; which ones can be seen at Special:Version)

Additionally, here is a very detailed explanation of Wikipedia's whole architecture: Wikipedia: Site internals, configuration, code examples and management issues.




回答2:


You can check out SlashCode, which is the code behind Slashdot and any other sites that use that as a CMS / blogging solution. http://www.slashcode.com




回答3:


Browsing through the SourceForge repositories is just what you want. There are tons of well-known, high-quality applications, like Hibernate to give one massive example. And all the source code is right there :)




回答4:


http://www.koders.com/

HTH




回答5:


Check out Rob Conery's screencast series, MVC Storefront, where he builds a small commerce website using ASP.NET MVC.



来源:https://stackoverflow.com/questions/239705/source-code-of-big-popular-websites

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!