摘要: 背景:在winform中可以使用databinding 达到PM模式的开发,但扩展性与可测试性还是不如WPF那样完善,我们使用nuget中第三方库,mvvm fx-winforms,达到数据、业务与UI完全分离开发,并且ui逻辑,业务逻辑完全可测。 (转载请注明来源:cnblogs coder-fa 阅读全文
posted @ 2017-04-17 13:22 Coder_fang 阅读(13408) 评论(0) 推荐(0)
摘要: 背景:使用WCF实现跨进程普通函数调用,带回调的函数调用。 (转载请注明来源:cnblogs coder-fang) using System; using System.Collections.Generic; using System.Linq; using System.Text; using 阅读全文
posted @ 2017-03-21 16:19 Coder_fang 阅读(4233) 评论(0) 推荐(1)
摘要: 当你收集需求时,你可以从用户的需求清单中找出他们想要软件完成什么样的任务,有相关的用例、故事板、需求说明出书来捕捉这样的信息,那么什么又是非功能性需求,又有什么样的内容定义呢? 不合理或无法说清的非功能性需求如: 系统一定要快 系统必须要安全 系统要有尽量高的灵活性 系统要有较高的可用性 .... 阅读全文
posted @ 2017-03-07 09:15 Coder_fang 阅读(1216) 评论(0) 推荐(0)
摘要: 使用B-JUI 1.31版本 DataGrid 页直接上代码: 效果如图: 分页 后台必须接收的参数为:pageCurrent,pageSize 后台返回的数据格式为:{"totalRow":1,"list":[{"globalid":3,"address":"","birth":"2017-01- 阅读全文
posted @ 2017-01-16 10:23 Coder_fang 阅读(6144) 评论(0) 推荐(0)
摘要: 条件与目标: 实践方法: angular.module('mocktest',['ngMockE2E']).run(function($httpBackend){ var http=$httpBackend; //pass http.whenGET(/ *.html/).passThrough(); 阅读全文
posted @ 2016-12-15 08:43 Coder_fang 阅读(1160) 评论(0) 推荐(0)