`
oojdon
  • 浏览: 39403 次
  • 性别: Icon_minigender_1
社区版块
存档分类
最新评论
文章列表

Ext启蒙笔记

Ext的四个东西(版本3.3.1): 1,一个css 2,一系列图片文件和flash文件,他们在resouces目录下 3,两个js,一个基础js,一个核心js,基础js可以用jquery,prototype做适配   所以Ext的启动代码如下:   <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTM ...
http://ejohn.org/blog/how-javascript-timers-work/   At a fundamental level it's important to understand how JavaScript timers work. Often times they behave unintuitively because of the single thread which they are in. Let's start by examining the three functions to which we have access that can ...
http://www.jdon.com/jivejdon/thread/42406   先抛开对象的继承,多态特征,就对象自身而言,结合DCI和007的四象图可得到下面这个图形: 模型存在边界,它应该表达领域边界内的一个基本事实,不变事实或者说本质。 由于是我们程序员提炼的自认为的本质,它并不代表客观本质,只要它能解决当前领域边界内的对象建模问题即可。 模型存在于边界,同时也存在于某个抽象角度,角度不同,模型也会不同。
Introduction   Not everything in Java is an object. There is a special group of data types (also known as primitive types) that will be used quite often in your programming. For performance reasons, the designers of the Java language decided to include these primitive types. Creating an object u ...
来自:http://www.lucidimagination.com/content/scaling-lucene-and-solr Scaling Lucene and Solr While many Lucene/Solr applications will never outgrow a single, well-configured machine, the fact is, more and more applications are pushing beyond the single machine limit due to either index size ...
原型:对象的共性描述?回归哲学? 所有对象存在一个到达它原型的链接,原型是寄生在函数上的,当函数被new,则建立对象到原型的链接。对象和构造它的函数没有关系,和构造函数有关系的是原型。 如果函数不被new,则原型无用,或者没有原型,只有当函数被放到new的场景,函数则被挂上了一个原型,这个原型包含一个到这个函数的链接,这个原型也是对象,由Object构造出来,那么这个原型对象的原型就是Object.prototype的值。这个原型应该有两个属性: 1,constructor,指向这个原型所在的构造函数 2,_proto_,指向创建这个对象的构造函数的prototype值,即O ...

架构腐化

转自:http://www.infoq.com/cn/articles/cjz-architecture-corruption 前言 新技术层出不穷。过去十年时间里,我们经历了许多激动人心的新技术,包括那些新的框架、语言、平台、编程模型等等。这些新技术极大地改善了开发人员的工作环境,缩短了产品和项目的面世时间。然而作为在软件行业第一线工作多年的从业者,我们却不得不面对一个现实,那就是当初采用新技术的乐趣随着项目周期的增长而迅速减少。无论当初的选择多么光鲜,半年、一年之后,只要这个项目依然活跃,业务在扩张——越来越多的功能需要加入,一些公共的问题就会逐渐显露出来。构建过慢,完成新功能让你痛 ...
转自链接:http://www.cnblogs.com/kingwolfofsky/archive/2011/07/09/2101666.html   下文 写道 面向对象程序设计可以被视作一种在程序中包含各种独立而又互相调用的单位和对象的思想,这与传统的思想刚好相反:传统的程序设计主张将程 ...
  Asynchronous - Use asynchronous communication when possible. Synchronous callstie the availability of the two services together. If one has a failure or is slow the other one is affected. Swim Lanes – Create fault isolated “swim lanes” of hardware by customer segmentation. This prevents prob ...
记住一句名言:出来混总是要还的。 我们设计一个系统希望用户用起非常的爽快,这操作界面多友好,这响应速度多快,这多么安全和稳定,目标达到了,钱也赚了,用户量越来越大,我们发现系统处理不了了,怎么办? ...
  各种程序员都工作在各自的程序抽象维度,如果我们发现解决一件事情比较难,也许是我们面对的抽象级别还不够高,或者引入的间接程度不够,本文以抽象角度来剖析并发编程。 一、机器和OS级别抽象 (1) 冯诺伊曼模型 经典的顺序化计算模型,貌似可以保证顺序化一致性,但是没有哪个现代的多处理架构会提供顺序一致性,冯氏模型只是现代多处理器行为的模糊近似。这个计算模型,指令或者命令列表改变内存变量直接契合命令编程泛型,它以显式的算法为中心,这和声明式编程泛型有区别。就并发编程来说,会显著的引入时间概念和状态依赖所以所谓的函数式编程可以解决其中的部分问题。 (2) 进程和线程 进程抽象运行的程序 ...
逃出面向类编程的魔爪,重新思考对象   This is a refreshing approach to OOP. The Domain Context Interaction pattern allowed us to restore interesting properties of real OOP approach yet not sacrificing modularity and separation of concerns. This simple view of “an object in several contexts” helps quite much in think ...
The DCI Architecture: A New Vision of Object-Oriented Programmingby Trygve Reenskaug and James O. CoplienMarch 20, 2009 SummaryObject-oriented programming was supposed to unify the perspectives of the programmer and the end user in computer code: a boon both to usability and program compr ...
  这是DDD的原文,我认为最好的结论就是最后加粗部分,让模型和数据分开,而不是折中处理,这也是CQRS的本质。 Designing Objects for Relational Databases The most common nonobject component of primarily object-oriented software systems is the relational database. This reality presents the usual problems of a mixture of paradigms (see Chapt ...
分析Seam的事务管理之前有必要先写点SSH中的事务管理,Spring靠什么起家?靠IOC和AOP,通过这个IOC,Spring整合了大堆大堆的框架,于是成为了一个平台,让SSH程序员到处都是,但是我用Spring始终觉得有疙瘩,即便Spring是一个音乐家 ...
Global site tag (gtag.js) - Google Analytics