TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Learning PHP

2 点作者 BCGC超过 14 年前
I've been programming professionally for more than 10th years, starting with C++ and then Java.<p>I am trying to learn PHP to expand opportunities for my career.<p>What's the best way to learn PHP? Any books do you recommend?<p>(I see there was a discussion here: http://news.ycombinator.com/item?id=401022, but that was almost two years ago.)<p>Thanks!

2 条评论

jesseditson超过 14 年前
Whenever I'm trying out a new language, I usually check if lynda.com has a tutorial on it. I happen to know that lynda.com does have one on PHP, and if you learn well with video tutorials, you can get to a pretty good spot with those tutorials in record time. If I remember right (It was a long time ago last time I looked at them), they don't get into OOP much, but if you're coming from C++ and Java, the php docs should probably be enough to help out. Once you've got the basics down, the best way to learn would be to come up with a simple project and hack away at it. Build a tiny CMS or a blog, php is flexible, so you can come up with your own style pretty quickly, and then learn from your mistakes.
th0ma5超过 14 年前
I highly recommend the PHP official tutorial on their site. I learned PHP more than 10 years ago, and it is great. Second maybe to the Flash tutorial that comes with Flash.<p>It could also be useful to try and use PHP however you can, start writing shell scripts with it, go and observe the source code of PHP sites and applications you like.