11 2013 档案
摘要:答案是:70%的时间和精力。知乎上有关于性价比的讨论。印象最深是一句:“一分钱一分货,两毛钱两分货,三块钱三分货”。这相当于边际效益。投入地越多,能够改进的地方越少。做软件似乎也有如此。往往搭好一个模块的基础架构和基本功能,只需要10%时间。在自测阶段,把各种bug修复,让页面不难看,使功能没有疏漏,那么还需要20%的时间。而要从用户的角度将这个软件做得好用,易用,流畅,舒服,怎么使用都不报错,那很可能要对整个模块的设计做一次梳理,搞不好还得重构。这需要剩下的70%的时间。
阅读全文
摘要:简明扼要版:Serializationis the process of converting unordered data (such as an object) into aseriesof tokens 。(stackoverflow)序列化一词的本意就是将数据排列成一系列(series)的原子性小词(token),以便存储和传输。复杂饶舌版:serializationis the process of translatingdata structuresorobjectstate into a format that can be stored (for example, in afi
阅读全文
摘要:1、最原始的表单方式前端: 后台: [HttpPost] public ActionResult Test(FormCollection fc) { Person person=new Person(){Id = fc["Id"], Name = fc["Name"]}; return Json(person.Id+" "+person.Name, JsonRequestBehavior.AllowGet); }2、使用MVC默认的模型绑定 [HttpPost...
阅读全文

浙公网安备 33010602011771号