自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(6)
  • 资源 (17)
  • 收藏
  • 关注

转载 Github项目解析(一)-->上传Android项目至github

这是一个新的系列的文章,github项目,主要讲解了自己的github项目开源实践,github项目解析等。本文主要讲解了如何将自己的Android项目上传至github,相信大家平时在开发过程中为了避免重复造轮子会经常逛一下github查看有没有与需求类似的开源项目,那么github上面的开源项目是如何上传至github上的呢?带着这个疑问,我们开始我们今天的讲解。首先若是需要上

2017-02-24 15:07:55 234

原创 最棒的Android控件效果

我常用的UI框架和特效,每天不断更新。

2017-01-12 12:11:18 319

原创 千里眼千耳

http://www.stormzhang.com/android/2014/07/07/learn-android-from-rookie/ Android开源项目分类汇总: https://github.com/Trinea/android-open-project https://github.com/wasabeef/awesome-android-ui 

2017-01-10 11:12:54 259

原创 有共鸣的

常常听人说:"没文化,真可怕"。可"文化"到底是什么呢?是学历,是经历,是阅历,都不是。 看到网上一个很靠谱的解释,说文化可以用四句话表达: 根植于内心的修养; 无需提醒的自觉; 以约束为前提的自由; 为别人着想的善良!

2017-01-10 10:57:19 286

原创 千万不要照着镜子洗头发

在普雷斯顿基督学校里有一条不成文的戒条——禁止留长发, 不管是男的、女的都不能留到肩的长发。我很好奇问了三个曾经留过长头的女生为什么不能留长发。第一位女生说每次洗头发都会发现头发莫明奇妙的长长了,但洗完后又变回原来长度。感觉怪怪的于是照镜子洗头发,结果看到镜子时面出现了一个白影。于是走近镜子一看,发现一个身穿白衣的女鬼倒吊着,头顶贴着自己的头顶。长长的头发渗入到自己的长头发里,自己

2016-11-28 16:39:16 931

转载 Android产品研发系列

最近的Android产品研发系列主要讲解的是Android产品研发过程中涉及到的技术,技巧,实践等。前面我们讲解了Android源码系列的文章  可参考:Android源码解析–>总结(持续更新中),源码系列的文章东西比较多比较复杂,并且一些东西还没有讲完,这里已经更新了30篇了,后续的东西一定会更新的。考虑一直讲源码系列可能看的比较累,这里就有了产品研发系列的文章。本个系列的文章主要是讲解And

2016-08-12 09:15:48 315

Android-RxJava + Retrofit 下载新版 apk 文件,RxBus 监听下载进度

Android-RxJava + Retrofit 下载新版 apk 文件,RxBus 监听下载进度

2017-01-12

Android-流式布局,可配置是否将每一行的空白区域平均分配给子控件

Android-流式布局,可配置是否将每一行的空白区域平均分配给子控件

2017-01-12

Android-类似 iOS 带弹簧效果的左右滑动控件

类似 iOS 带弹簧效果的左右滑动控件,可作为 AbsListView 和 RecyclerView 的 item

2017-01-12

Android-在 AdapterView 和 RecyclerView 中通用的 Adapter

在 AdapterView 和 RecyclerView 中通用的 Adapter 和 ViewHolder。RecyclerView 支持 DataBinding 、多种 Item 类型、添加 Header 和 Footer

2017-01-12

Android-图片选择、预览、九宫格图片控件、拖拽排序九宫格图片控件

Android 图片选择、预览、九宫格图片控件、拖拽排序九宫格图片控件

2017-01-12

Android-扫描二维码、扫描条形码、相册获取图片后识别、生成带 Logo 二维码、支持微博微信 QQ 二维码扫描样式

扫描二维码、扫描条形码、相册获取图片后识别、生成带 Logo 二维码、支持微博微信 QQ 二维码扫描样式

2017-01-12

Android-引导界面滑动导航 + 各种切换动画轮播效果

引导界面滑动导航 + 大于等于1页时无限轮播 + 各种切换动画轮播效果

2017-01-12

Android-新通知圆球红点提示

新消息/未接来电/未读消息/新通知圆球红点提示

2017-01-12

Android对各种控件实现多种下拉刷新效果

可以对各种控件实现多种下拉刷新效果、上拉加载更多以及配置自定义头部广告位.

2017-01-12

EventBusDemo-AndroidStudio版

EventBus的用法,看代码就是最好学习方法

2016-08-05

Bootstrap-中文(完整版)-API

Bootstrap-中文(完整版)-API,它是chm格式极大提供了查找的方便。 里面包含了所有js的插件。

2013-05-29

Bootstrap-中文-API

Bootstrap-中文-API 最实用的官方中文API

2013-05-29

Knockout API 中文版

这个文档是我自己原创制作的,在别的网上肯定是没有的。 而且做得非常好看,和非常准确。 如果下载的人多,将会把中英文对照的版本也上传。 Knockout是一个以数据模型(data model)为基础的能够帮助你创建富文本,响应显示和编辑用户界面的JavaScript类库。任何时候如果你的UI需要自动更新(比如:更新依赖于用户的行为或者外部数据源的改变),KO能够很简单的帮你实现并且很容易维护。 重要特性: 优雅的依赖追踪 - 不管任何时候你的数据模型更新,都会自动更新相应的内容。 Elegant dependency tracking - automatically updates the right parts of your UI whenever your data model changes. 声明式绑定 - 浅显易懂的方式将你的用户界面指定部分关联到你的数据模型上。 Declarative bindings - a simple and obvious way to connect parts of your UI to your data model. You can construct a complex dynamic UIs easily using arbitrarily nested binding contexts. 轻易可扩展 - 几行代码就可以实现自定义行为作为新的声明式绑定。 Trivially extensible - implement custom behaviors as new declarative bindings for easy reuse in just a few lines of code. 额外的好处: 纯JavaScript类库 – 兼容任何服务器端和客户端技术 Pure JavaScript library - works with any server or client-side technology 可添加到Web程序最上部 – 不需要大的架构改变 Can be added on top of your existing web application - without requiring major architectural changes 简洁的 - Gzip之前大约25kb Compact - around 13kb after gzipping 兼容任何主流浏览器 - (IE 6+、Firefox 2+、Chrome、Safari、其它) Works on any mainstream browser - (IE 6+, Firefox 2+, Chrome, Safari, others) 采用行为驱动开发 - 意味着在新的浏览器和平台上可以很容易通过验证。 Comprehensive suite of specifications - (developed BDD-style) means its correct functioning can easily be verified on new browsers and platforms 开发人员如果用过Silverlight或者WPF可能会知道KO是MVVM模式的一个例子。如果熟悉 Ruby on Rails 或其它MVC技术可能会发现它是一个带有声明式语法的MVC实时form。换句话说,你可以把KO当成通过编辑JSON数据来制作UI用户界面的一种方式… 不管它为你做什么 Developers familiar with Ruby on Rails, ASP.NET MVC, or other MV* technologies may see MVVM as a real-time form of MVC with declarative syntax. In another sense, you can think of KO as a general way to make UIs for editing JSON data… whatever works for you :) OK, 如何使用它? 简单来说:声明你的数据作为一个JavaScript 模型对象(model object),然后将DOM 元素或者模板(templates)绑定到它上面. The quickest and most fun way to get started is by working through the interactive tutorials. Once you’ve got to grips with the basics, explore the live examples and then have a go with it in your own project. KO和jQuery (或Prototype等)是竞争关系还是能一起使用? 所有人都喜欢jQuery! 它是一个在页面里操作元素和事件的框架,非常出色并且易使用,在DOM操作上肯定使用jQuery,KO解决不同的问题。 Everyone loves jQuery! It’s an outstanding replacement for the clunky, inconsistent DOM API we had to put up with in the past. jQuery is an excellent low-level way to manipulate elements and event handlers in a web page. I certainly still use jQuery for low-level DOM manipulation. KO solves a different problem. 如果页面要求复杂,仅仅使用jQuery需要花费更多的代码。 例如:一个表格里显示一个列表,然后统计列表的数量,Add按钮在数据行TR小于5调的时候启用,否则就禁用。jQuery 没有基本的数据模型的概念,所以需要获取数据的数量(从table/div或者专门定义的CSS class),如果需要在某些SPAN里显示数据的数量,当添加新数据的时候,你还要记得更新这个SPAN的text。当然,你还要判断当总数>=5条的时候禁用Add按钮。 然后,如果还要实现Delete功能的时候,你不得不指出哪一个DOM元素被点击以后需要改变。 As soon as your UI gets nontrivial and has a few overlapping behaviors, things can get tricky and expensive to maintain if you only use jQuery. Consider an example: you’re displaying a list of items, stating the number of items in that list, and want to enable an ‘Add’ button only when there are fewer than 5 items. jQuery doesn’t have a concept of an underlying data model, so to get the number of items you have to infer it from the number of TRs in a table or the number of DIVs with a certain CSS class. Maybe the number of items is displayed in some SPAN, and you have to remember to update that SPAN’s text when the user adds an item. You also must remember to disable the ‘Add’ button when the number of TRs is 5. Later, you’re asked also to implement a ‘Delete’ button and you have to figure out which DOM elements to change whenever it’s clicked. Knockout的实现有何不同? 使用KO非常简单。将你的数据描绘成一个JavaScript数组对象myItems,然后使用模板(template)转化这个数组到表格里(或者一组DIV)。不管什么时候数组改变, UI界面也会响应改变(不用指出如何插入新行或在哪里插入),剩余的工作就是同步了。例如:你可以声明绑定如下一个SPAN显示数据数量(可以放在页面的任何地方,不一定非要在template里): It’s much easier with KO. It lets you scale up in complexity without fear of introducing inconsistencies. Just represent your items as a JavaScript array, and then use a foreach binding to transform this array into a TABLE or set of DIVs. Whenever the array changes, the UI changes to match (you don’t have to figure out how to inject new TRs or where to inject them). The rest of the UI stays in sync. For example, you can declaratively bind a SPAN to display the number of items as follows: There are <span data-bind="text: myItems().count"></span> items就是这些!你不需要写代码去更新它,它的更新依赖于数组myItems的改变。同样, Add按钮的启用和禁用依赖于数组 myItems 的长度,如下: That’s it! You don’t have to write code to update it; it updates on its own when the myItems array changes. Similarly, to make the ‘Add’ button enable or disable depending on the number of items, just write: <button data-bind="enable: myItems().count < 5">Add</button>之后,如果你要实现Delete功能,不必指出如何操作UI元素,只需要修改数据模型就可以了。 Later, when you’re asked to implement the ‘Delete’ functionality, you don’t have to figure out what bits of the UI it has to interact with; you just make it alter the underlying data model. 总结:KO没有和jQuery或类似的DOM 操作API对抗竞争。KO提供了一个关联数据模型和用户界面的高级功能。KO本身不依赖jQuery,但是你可以一起同时使用jQuery, 生动平缓的UI改变需要真正使用jQuery。

2013-05-20

C#总结.doc

总结是把整个C#的精华知识的概述。重要的才罗列出来。

2013-03-24

jquery_api_1.9-英文版.chm

对于用jQuery的朋友是非常有用的,比起在官网查要方便很多啦。也是开发WEB程序必须的。

2013-03-24

ACCP6.0 S2笔试试卷

ACCP6.0 S2 2012-11-15笔试试卷+答案 里面压缩的是PDF文件。答案都已经圈好的。 保证准确有用。

2013-03-02

ACCP6.0 S2机试+答案

ACCP6.0 S2 机试试卷+答案, 想机试过关,机试多做才行!

2013-02-04

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除