简体   繁体   中英

PHP Websites Source Code

I'm looking for PHP script samples of websites. I'm just done reading a text book on PHP and I want to check out some of the various implementations.

Thanks

搜索“开源php”或访问sourceforge.org等开源主机

I would first start out looking at solidly built sites that utilize a framework, see Recommend a PHP framework... .

Next I would look at some of the open source CMS designs built on PHP. Namely Wordpress and modx . Both will be over your head if your new to programming in general but getting the feel for how applications are written, syntax style, etc is well worth it.

Compile a list of questions you have, why are they using self:: ? , what's a constant , etc and either google for the answer or ask here.

This is a pretty generic question, and probably fairly open ended. Technically speaking, since PHP is a Turing complete language it can be used for basically anything. OTOH, if you want specific examples of problems to solve, perhaps that would be a better question to ask. I'd recommend some problem that you find interesting, and learning how to solve that with PHP. For instance, say you want a site that generates anagrams of a given name. Or maybe you want a guessing game. Or a message board (phpBB is open source and an example of a popular solution). If you're looking for concrete examples and ask specific questions you're more likely to get concrete and specific solutions.

Otherwise you'll get answers about as generic as your question.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM