Best Way to Organize an ExtJS Project

前端 未结 4 1114
梦如初夏
梦如初夏 2021-01-04 02:22

I\'ve just started developing an ExtJS application that I plan to support with a very lightweight JSON PHP service. Other than that, it will be standalone. My question is,

4条回答
  •  孤街浪徒
    2021-01-04 03:24

    While developing your application your file and folder structure shouldn't really matter as you're probably going to want to minimize the release code and stick it in a single JS file when you're done. An automated handler or build script is probably going to be the best bet for this (see http://extjs.com/forum/showthread.php?t=44158).

    That said, I've read somewhere on the ExtJS forums that a single file per class is advisable, and I can attest to that from my own experience.

提交回复
热议问题