douhao2011 2010-12-22 18:40
浏览 69
已采纳

一起学习PHP和Yii

I'm not really debating which PHP framework to use as much as I'm trying to understand if it is feasible to expect to learn PHP and Yii simultaneously. I've worked a lot with ASP Classic, VBA/Access, and VB6 so I have programming experience but little to no experience real programming - OOP, PHP, or frameworks.

I often see people recommending that you have several years of experience with PHP and OOP before you learn Yii.

I have a fair-sized web app project coming up which should really be built in PHP/MySQL. I'm just trying to get a better handle on whether I need to hire someone, take private training, or whether I should plan to be in development for 15 years or until bankruptcy, whichever occurs first. :-)

  • 写回答

6条回答 默认 最新

  • donglie7268 2010-12-23 04:59
    关注

    No. I'd argue that you should learn PHP first. There are tons of concepts you should be aware before you even consider creating applications using a framework, especially with Yii.

    Yii has a higher learning curve than say CodeIgniter and CakePHP. While you might be able to create CRUD applications with them at first, it becomes a problem when you are faced with 'real-world' problems like content scraping, image manipulation, etc.

    Learn PHP, create an application (blog/invoice app/inventory system) with vanilla PHP, and you'll be able to get on a framework and learn the framework, not much of the language(some concepts probably). PHP books are useful, when you get enough information from online. Books are good when you want to know different concepts from authors and you'll be fairly sure that the content is correct since they are edited by technical editors compared to unedited content you find online.

    Sources I recommend:

    Once you get on a framework, you'll now know WHY you even need a framework. WHY you even want to code in MVC. WHY MVC fits you.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(5条)

报告相同问题?

悬赏问题

  • ¥15 求差集那个函数有问题,有无佬可以解决
  • ¥15 【提问】基于Invest的水源涵养
  • ¥20 微信网友居然可以通过vx号找到我绑的手机号
  • ¥15 寻一个支付宝扫码远程授权登录的软件助手app
  • ¥15 解riccati方程组
  • ¥15 display:none;样式在嵌套结构中的已设置了display样式的元素上不起作用?
  • ¥15 使用rabbitMQ 消息队列作为url源进行多线程爬取时,总有几个url没有处理的问题。
  • ¥15 Ubuntu在安装序列比对软件STAR时出现报错如何解决
  • ¥50 树莓派安卓APK系统签名
  • ¥65 汇编语言除法溢出问题