您的意见赞赏:一个很好的PHP基础课程。 [英] Your opinion appreciated: a good php foundation course.

查看:56
本文介绍了您的意见赞赏:一个很好的PHP基础课程。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




我正在为php整理一个优质的基础课程

对于想要进入的初学者真的很有帮助网站开发。


我们中的许多人开始从一本书中学习php,然后只是涉足它并创建我们自己的网站。其他人有更有条理的学术开端。


我可以问:

1)你是怎么开始学习php的?

2)你希望你有什么不同的做法。

3)你认为8周的php基础课程

应该包含什么?作为其核心课程?


就个人而言,如果我遵循了一个过去两年的话,我会在过去的两年中学到更多的知识并且更有效率

一开始就很好!


你怎么看?您的想法和见解将不胜感激。

解决方案

我会确保他们了解PHP手册(并知道如何使用它)。如果你读取那里有什么问题可以避免很多问题(例如,这个函数期望什么(类型)参数,返回值是什么,出现错误时会发生什么)。另外,评论部分是一个宝盒。


进一步介绍代码结构(缩进,代码可读性)和(非常重要的)代码文档。


当然:异常和错误处理


这是一个很棒的帖子,谢谢。


其他人得到了一些对此的看法?



其他人对此有何看法?



你想深入PHP的深度是多少?


它对于覆盖基本的OOP特别有用,因为大多数高级软件包(数据库访问(MySQLi,PDO),XML处理(SimpleXML,DOMDocument),Memcache,Exception等)都是为此而制作的。


我推荐用户输入验证(例如过滤器功能),数据库安全性(SQL注入),类型验证( typeof instanceof is_array()等)


Hi,

I am looking at putting together a good quality foundation course for php that
be be really helpful for beginners that want to get into web development.

Many of us started learning php from a book and then just dabbling in it and creating our own sites. Others have had a more structured academic start.

May I ask :
1) how did you begin learning php?
2) what do you wish you had done differently.
3) what do you think an 8 week php foundation course
should really contain as its core lessons?

Personally, I would have learned a lot quicker and been a lot more productive
over the past two years if I had followed a good course in the beginning !

What do you think? Your thoughts and insights would be appreciated.

解决方案

I would make sure they know about the PHP Manual (and know how to use it). quite a lot of problems can be avoided, if you read what?s in there (e.g what (type of) parameters does this function expect, what are the return values, what happens in case of an error). additionally, the comments section is a treasure box.

further they shold be introduced to code structuring (indentation, code readability) and (very important) code documentation.

and of course: Exceptions and error handling


That''s a great post, thanks.

Anyone else got some thoughts on this ?


Anyone else got some thoughts on this ?

how deep do you want to dive into PHP?

it can be especially useful to cover basic OOP, because most of the advanced packages (database access (MySQLi, PDO), XML processing (SimpleXML, DOMDocument), Memcache, Exception, etc.) are made for that.

and I recommend User Input Validation (e.g. filter functions), database security (SQL injection), type validation (typeof, instanceof, is_array(), etc.)


这篇关于您的意见赞赏:一个很好的PHP基础课程。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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