[转]php挤压下.Net程序员的无奈:难道.net真的不适合做网站吗?

[ 2975 查看 / 2 回复 ]

经过长时间的分析与讨论,公司领导层最终决定在建站业务上抛弃.Net平台,转而使用LAMP平台,作为一个对php一窍不通的.Net程序员,现在又要重新开始一门课程(虽然php入门不难), 我一时感觉手足无措。d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ
    公司的解释是这样的,现在行业内已经有很多php方面开源的诸如CMS和电子商城方面的东西,为什么我们还要用.Net重新开发呢?这样周期长,而且相对成熟东西来说bug也多,这样对公司的收益是会有很大影响的,再加上公司有些业务已经吃过了LAMP的亏,所以这次领导层更是很坚决,我们也无话可说。d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ
    毕竟公司也是以.Net起家的,也没有一棍子打死一点也不用,只是两个平台各有各的目标客户了,以后.Net只针对OA、WF,WCF等的开发,其他的一概用php。我感叹,现在"一招鲜"已经不能"吃不遍"天了,无奈啊。d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ
学而时习之,不亦说乎?有朋自远方来,不亦乐乎?人不知而不愠,不亦君子乎?
知之为知之,不知为不知,是知也。
TOP

网友精彩回复集锦

  1. .net确实不适合做网站,为什么呢?
  2. d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞd*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ

  3. d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞd*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ
  4. 第一,你肯定不在一个非常大的公司,比如 淘宝,新浪等。
  5. d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞd*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ

  6. d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞd*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ
  7. 第二,因为不是大公司,所以干啥都不愿意等待,那意味着人力支出,找个开源的改改,比重新开发快了太多了啊。
  8. d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞd*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ

  9. d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞd*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ
  10. 第三,做php的程序员便宜啊,就是技术牛人离职也很方便找一个新手来接替。
  11. d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞd*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ

  12. d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞd*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ

  13. d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞd*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ
  14. 但是,这些都是肤浅的。
  15. d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞd*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ

  16. d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞd*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ
  17. 真正的合格的php程序员很少,至少比.net程序员少。
  18. d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞd*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ

  19. d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞd*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ
  20. php程序员的成长代价比.net程序员高,因为没有多少大公司在使用php,所以没有经历大项目的php程序员,更能成为一名工程师,更多的像“学生”。
  21. d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞd*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ

  22. d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞd*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ
  23. php人力成本也不廉价,linux不是两天就能上手的。成熟的php工程师,同时参与:系统架构,数据库设计,系统管理(linux or freebsd),平面设计,用户友好性设计,等等。
  24. d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞd*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ

  25. d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞd*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ
  26. 更难的时,除了上海 北京 等一线城市,你真的很难凑齐一个团队,哪怕5个php工程师。
  27. d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞd*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ
复制代码
  1. WebForm的原罪:
  2. d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞd*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ
  3. 其一:控件管得太宽,滥用Html样式:
  4. d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞd*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ
  5. 其二:事件驱动,却不彻底,结果造成初学者理解困难,而代码也很丑陋
  6. d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞd*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ
  7. 其三:页面的表现和事件的逻辑混淆在一个类中。
  8. d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞd*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ
  9. 是不是上面这些原因
  10. d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞd*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ
复制代码
  1. 第一,没有必要一定要用WebForm,你可以采用ASP.NET MVC来开发
  2. d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞd*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ
  3. 第二,事件驱动在做OA,CRM之类的BS开发上有大大的优势
  4. d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞd*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ
  5. 第三,难道PHP就不是表现与事件混写到一起了?就算是有模板技术的支持也不一定能摆脱混写的麻烦。
  6. d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞd*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ
  7. 不过本人还是非常喜欢PHP的,最少它的最大特点就是成本优势,这个优势是实实在在的,比java的成本优势要强。
  8. d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞd*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ
复制代码
  1. .net 能做的 肯定会被php 和 java 分流出去一批。
  2. d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞd*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ

  3. d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞd*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ
  4. 毕竟公司首先是盈利。
  5. d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞd*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ
复制代码
  1. 我看楼上诸位把问题的焦点转移到究竟是asp.net好,还是php好的问题上了。
  2. d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞd*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ
  3. 这就又回到了一个万年争论的话题上。
  4. d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞd*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ

  5. d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞd*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ
  6. 难得有个清醒的8楼的 杆子 却被认为是在开玩笑。
  7. d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞd*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ

  8. d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞd*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ
  9. 其实楼主的问题也没说清楚。
  10. d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞd*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ

  11. d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞd*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ
  12. 楼主所在的公司,从楼主短小的描述中我猜是:向中小企业销售办公自动化方面的产品并兼顾帮助中小企业建立企业形象网站。
  13. d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞd*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ
  14. 或者说就是在卖OA方面的产品时,顺便提供建立公共网站的服务,或者直接提供建立公共网站的服务
  15. d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞd*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ

  16. d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞd*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ
  17. 所以,楼主的公司才做出了这么一个决策
  18. d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞd*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ
复制代码
  1. 我最近从国内网站上下载了几个.net的网上商城项目
  2. d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞd*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ

  3. d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞd*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ
  4. 里面所用到的技术都会有这样那样的问题
  5. d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞd*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ

  6. d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞd*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ
  7. 国内.net发展不顺利,我认为主要是国内多数程序员可能还没系统地学会使用asp.net
  8. d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞd*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ

  9. d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞd*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ
  10. 能使用membership吗?如能?则能定制membershipprovider吗?
  11. d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞd*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ
  12. 能自定义Web控件吗?如能?则能自定义带模板的Web控件吗?
  13. d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞd*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ
  14. 能读web.config配置吗?如能?能实现自定义配置节吗?
  15. d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞd*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ
  16. 我们多数人之走了第一步
  17. d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞd*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ

  18. d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞd*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ
  19. 我们只会拿来微软做好的东西来用,然后发现微软的东西用起来有这个中各样的问题
  20. d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞd*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ
  21. 然后就说微软的技术不好
  22. d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞd*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ

  23. d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞd*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ
  24. 多数程序员不会面向框架编程,不会编写一个实现标准接口的类。
  25. d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞd*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ

  26. d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞd*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ
  27. 否则以WebForm的能力不会如此不济的。
  28. d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞd*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ
复制代码
d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ
学而时习之,不亦说乎?有朋自远方来,不亦乐乎?人不知而不愠,不亦君子乎?
知之为知之,不知为不知,是知也。
TOP

个人意见,无论怎样,学一样爱一样,最起码,.NET在企业级领域的应用是有绝对优势的。不能三心二意,既然学了,就学好它!d*µQÀeÈ©C¨nfhot.com.–xŸÆilGÞ
学而时习之,不亦说乎?有朋自远方来,不亦乐乎?人不知而不愠,不亦君子乎?
知之为知之,不知为不知,是知也。
TOP