上一页 1 ··· 4 5 6 7 8 9 下一页

2012年3月10日

asp.net程序员与php程序员,傻瓜机用户与单反机用户

摘要: 我们公司做开发的现在有两派人:(asp).net和php派(我是asp.net派的)。最近公司的一个打project是用php开发,所以php派比较忙,经常要开会讨论加班加点,而asp.net派的就因为几个项目还没有落实,所以基本上是“农夫山泉有点闲”,在维护几个项目,看看文档。在这个时期,我和php派的人有点沟通,所以目染到他们一些工作(话说回来,虽然部门内asp.net程序员和php程序员有不下10人,但是竟然很少沟通,至少asp.net派是这样,基本上很少交流技术上的东西,就算有,也是因为代码上有些问题,才会讨论几句)。正是我有接触到php程序员的工作,对于asp.net程序员和php程 阅读全文

posted @ 2012-03-10 01:59 wyman25 阅读(679) 评论(6) 推荐(0) 编辑

2012年3月7日

一次sql server优化经历

摘要: 最近在搞一个ERP系统里面的报表,这个报表中的大列是统计性的,比如出货率,采购百分比等等,这就意味着不能简单的连接某几个表,取几个基础表的数据就能获得报表的数据,而是对几个表进行连接,然后再计算,或者更不幸的,经过一轮计算后,得出的结果再去另外的表的数据进行计算。而我的报表中,需要一轮计算生成的字段大概占40%,需要连接,计算然后再计算的,大概有50%,而能直接获得的,只有两三个列。 起初,我是直接写查询语句,企图通过一个查询就搞掂。但由于逻辑太复杂,语句中充斥着大量的case when语句不说,里面还有N层的子查询,非常难看懂。而且有些列就根本无法得到。 为了使查询的思路清晰化,我使用了临. 阅读全文

posted @ 2012-03-07 22:08 wyman25 阅读(380) 评论(0) 推荐(0) 编辑

2012年2月28日

解决SQL SERVER2005不能通过IP连接

摘要: 今天在配置openfire的时候,要配置数据库连接,我机器上环境是win7+sql server2005,于是填入sqlserver的连接URL:\\192.168.1.100:1433,按下一步的时候却提示不能连接到数据库。愣了一下,意识到sqlserver服务没有开(因为平时不是一直使用sqlserver,所以都会把sqlserver相关几个服务禁用掉以节省资源,同是在这里提醒一下:很多时候连接不上sql server,最常见的原因是没有开启服务^_^) 开启服务后再连接,还是失败。突然又意思到:好像没有允许远程连接,于是打开“外围应用配置器”—“服务和连接的外围应用配置器”—“DATA. 阅读全文

posted @ 2012-02-28 01:32 wyman25 阅读(2407) 评论(2) 推荐(1) 编辑

2012年2月11日

极品javascript进阶博客教程《ECMA-262-3 in detail》读书笔记

摘要: 前言: 在我看来javascript是一门非常松散灵活的语言,松散并不是贬义,而恰恰相反,是对js的一种赞美。javascript相对于c#等静态编译语言来说,就像一个骑自行车已经十分熟练的顽皮孩子,已经不再需要遵循上车必须从车右边扶车把,左脚踏踏板右脚蹬地几下的标准动作了,他可以做出若干不同的上车花式,但始终不会背离平衡这一原则。正式这样的灵活性甚至看上去有点怪异的行为令javascript与c#这些语言表现格格不入:它是面向对象,却没有类,能继承又搞出个prototype,“this”的神出鬼没难以捉摸,闭包,作用域,弱类型等概念更是让人摸不着头脑。 但是请不要忘记,我们觉得js怪异只是因 阅读全文

posted @ 2012-02-11 21:09 wyman25 阅读(1050) 评论(0) 推荐(0) 编辑

2012年2月9日

ECMA-262-3 in detail. Chapter 6. Closures.

摘要: 转载地址:http://dmitrysoshnikov.com/ecmascript/chapter-6-closures/IntroductionIn this article we will talk about one of the most discussed topics related with JavaScript — aboutclosures. The topic, as a matter of fact, is not new and was discussed many times. However we will try to discuss and understan 阅读全文

posted @ 2012-02-09 18:31 wyman25 阅读(215) 评论(0) 推荐(0) 编辑

ECMA-262-3 in detail. Chapter 5. Functions.

摘要: 转载地址:http://dmitrysoshnikov.com/ecmascript/chapter-5-functions/IntroductionIn this article we will talk about one of the general ECMAScript objects — about functions. In particular, we will go through various types of functions, will define how each type influencesvariables objectof a context and wh 阅读全文

posted @ 2012-02-09 18:28 wyman25 阅读(222) 评论(0) 推荐(0) 编辑

ECMA-262-3 in detail. Chapter 3. This.

摘要: 转载地址:http://dmitrysoshnikov.com/ecmascript/chapter-3-this/IntroductionIn this article we will discuss one more detail directly related withexecution contexts. The topic of discussion is thethiskeyword.As the practice shows, this topic is difficult enough and often causes issues in determination ofth 阅读全文

posted @ 2012-02-09 18:24 wyman25 阅读(246) 评论(0) 推荐(0) 编辑

ECMA-262-3 in detail. Chapter 4. Scope chain.

摘要: 转载地址:http://dmitrysoshnikov.com/ecmascript/chapter-4-scope-chain/IntroductionAs we already know from thesecond chapterconcerning thevariable object, the data of anexecution context(variables, function declarations, and formal parameters of functions) are stored as properties of the variables object. 阅读全文

posted @ 2012-02-09 18:20 wyman25 阅读(230) 评论(0) 推荐(0) 编辑

ECMA-262-3 in detail. Chapter 2. Variable object.

摘要: 转载地址:http://dmitrysoshnikov.com/ecmascript/chapter-2-variable-object/IntroductionAlways in programs we declare functions and variables which then successfully use building our systems. But how and where the interpreter finds ourdata(functions, variable)? What occurs, when we reference to needed obje 阅读全文

posted @ 2012-02-09 18:11 wyman25 阅读(279) 评论(0) 推荐(0) 编辑

ECMA-262-3 in detail. Chapter 1. Execution Contexts.

摘要: 转载地址http://dmitrysoshnikov.com/ecmascript/chapter-1-execution-contexts/IntroductionIn this note we will mention execution contexts of ECMAScript and types of executable code related with them.DefinitionsEvery time when control is transferred to ECMAScript executable code, control is entered anexecut 阅读全文

posted @ 2012-02-09 18:07 wyman25 阅读(331) 评论(0) 推荐(0) 编辑

上一页 1 ··· 4 5 6 7 8 9 下一页

导航