摘要: 摘要: 介绍缓存的基本概念和常用的缓存技术,给出了各种技术的实现机制的简单介绍和适用范围说明,以及设计缓存方案应该考虑的问题(共17页)1 概念1.1 缓存能解决的问题· 性能——将相应数据存储起来以避免数据的重复创建、处理和传输,可有效提高性能。比如将不改变的数据缓存起来,例如国家列表等,这样能明显提高web程序的反应速度;· 稳定性——同一个应用中,对同一数据、逻辑功能和用户界面的多次请求时经常发生的。当用户基数很大时,如果每次请求都进行处理,消耗的资源是很大的浪费,也同时造成系统的不稳定。例如,web应用中,对一些静态页面的呈现内容进行缓存能有效的节省资源,提高稳定性 阅读全文
posted @ 2013-03-20 15:49 看花开花落 阅读(158) 评论(0) 推荐(0) 编辑
摘要: 移动开发领域,一种语言通吃多个开发平台Windows Phone/Android/iOS通常的原生开发工具及语言如下1)Windows Mobile/Phone:I)原生APP:开发工具:Visual studio 2008+C#/Mobile,Visual studio 2010+C# /,自带模拟器,技术嘛Silverlight/XNA均可开发工具:Delphi XE2 +Firemonkey+FPC其他的还有spaceportIII)混合APP(Hybird App):借由PhoneGap+HTML5+Javascript,你可能重新学习HTML5+Javascript到深入级别了。通过 阅读全文
posted @ 2012-04-25 16:53 看花开花落 阅读(318) 评论(0) 推荐(0) 编辑
摘要: 最近因为有项目的需求,准备踏入IOS开发的环节。先从入门开始,学习一门新技术,首先要找到一些资源,尤其是入门型的。自己搜了一些,记录一下,方便以后查看。官方开发中心:http://www.apple.com.cn/developer/ios/index.html关于Objective-C的:http://mobile.51cto.com/mobile/objc/先看完这2个再说了。 阅读全文
posted @ 2012-03-29 20:56 看花开花落 阅读(367) 评论(0) 推荐(0) 编辑
摘要: .all IE{property:value\9;}.gte IE 8{property:value\0;}.lte IE 7{*property:value;}.IE 8/9{property:value\0;}.IE 9{property:value\9\0;}.IE 7{+property:value;}.IE 6{_property:value;}.not IE{property//:value;}lte:就是Less than or equal to的简写,也就是小于或等于的意思。lt :就是Less than的简写,也就是小于的意思。gte:就是Greater than or eq 阅读全文
posted @ 2011-08-03 14:42 看花开花落 阅读(161) 评论(0) 推荐(0) 编辑
摘要: 大家好,最近忙于工作,现在又有空闲了,现在一起来温习一下ASP.NET MVC 2 的Validation功能。ASP.NET MVC2 支持2种验证模式,一种是前端验证,一种是服务端验证。我们一般做项目都是2种一起用的。先使用前端验证的好处毋庸置疑,因为它是在客户端执行的,它会把错误消息直接反馈给客户而无须经过服务器的处理,这样就节省了服务器宝贵的资源。而之后的服务器验证呢,又能保证数据的严格符合规格。第一步:好,我们先来建立一个叫做Order的Model。namespace MvcApplication1.Models{ using System.ComponentModel; using 阅读全文
posted @ 2011-04-25 17:04 看花开花落 阅读(2135) 评论(6) 推荐(3) 编辑
摘要: 说来惭愧,已经做了几个公司的项目,但是还没有系统的学习过ASP.NET MVC。就简单的凭以前的经验,然后遇到问题google一下,竟然也做完了项目。现在有点小空,准备系统的看一下MVC,下面记录一些我的学习笔记,方便以后查阅。1. 当你运行一个ASP.NET MVC的项目时,一个路由表在程序运行一开始就已经建立了。相关的代码在global.asax里面。程序一开始会与性Application_Start(), 注册你的路由规则到RouteTable.Routes中去。using System;using System.Collections.Generic;using System.Linq 阅读全文
posted @ 2011-04-07 21:28 看花开花落 阅读(2028) 评论(9) 推荐(1) 编辑
摘要: 1. 首先使用Configuration Console, 在blocks里面 Add Caching Setteings. 设置一些参数,比如Expiration Polling Frequency(seconds), 这个是指每隔指定的时间,cache block会检查那些过期的cache item,并且把他们删除掉。2. 配置好以后可以保存为一个config文件,然后把config内容拷贝到你的project中的配置文件中。 <configSections> <section name="cachingConfiguration" type=&quo 阅读全文
posted @ 2011-04-07 15:56 看花开花落 阅读(1667) 评论(3) 推荐(0) 编辑
摘要: One of the great truths of building software is this: Application developers shouldn’t spend their time creating infrastructure. Even though every application needs some supporting services, the... 阅读全文
posted @ 2010-08-02 15:32 看花开花落 阅读(254) 评论(0) 推荐(0) 编辑
摘要: 60s: Systems development life cycle (SDLC)Idea: to pursue the development of information systems in a very deliberate, structured and methodical way, requiring each stage of the life cycle from incept... 阅读全文
posted @ 2010-07-30 15:47 看花开花落 阅读(378) 评论(0) 推荐(1) 编辑
摘要: “Only if the various principles - names, definitions, intimations and perceptions - are laboriously tested and rubbed one against the other in a reconciliatory tone, without ill will during the ... 阅读全文
posted @ 2010-07-29 16:41 看花开花落 阅读(379) 评论(0) 推荐(0) 编辑