douxun1407 2010-05-25 11:57
浏览 41
已采纳

框架和'传统'编码

Sorry if this too open ended for this forum, but here goes.

I mostly use languages such as PHP and Javascript without frameworks (e.g jQuery, Drupal, CakePHP). The only real exception to this for me, is Wordpress when 'traditional' coding is slower for building information sites.

I've dabbled with several frameworks over the past year and despite everyone else's (seemingly) good experiences with them, I seem to of hit a roadblock. My basic problem is that for the amount of time invested in effectively relearning a language, I don't get a lot in return. jQuery as an example: there is really very little in that, that I couldn't accomplish easily with a few getElement.. commands. So my question is, what advantages do frameworks offer over previous coding styles?

Thanks from 2003 guy!

  • 写回答

5条回答 默认 最新

  • duanji1026 2010-05-25 12:06
    关注

    To be simple: if your audience absolutely requires IE, use a library. If not, avoid it. The DOM API is sufficiently consistent and powerful in all other browsers. More about this issue here: http://azabani.com/51

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

报告相同问题?

悬赏问题

  • ¥15 gradio的web端页面格式不对的问题
  • ¥15 求大家看看Nonce如何配置
  • ¥15 Matlab怎么求解含参的二重积分?
  • ¥15 苹果手机突然连不上wifi了?
  • ¥15 cgictest.cgi文件无法访问
  • ¥20 删除和修改功能无法调用
  • ¥15 kafka topic 所有分副本数修改
  • ¥15 小程序中fit格式等运动数据文件怎样实现可视化?(包含心率信息))
  • ¥15 如何利用mmdetection3d中的get_flops.py文件计算fcos3d方法的flops?
  • ¥40 串口调试助手打开串口后,keil5的代码就停止了