??xml version="1.0" encoding="utf-8" standalone="yes"?>99精品在线免费在线观看,偷拍视频一区二区三区,国产精品av久久久久久麻豆网http://www.aygfsteel.com/major/archive/2008/06/09/206822.htmlMajorYeMajorYeMon, 09 Jun 2008 13:20:00 GMThttp://www.aygfsteel.com/major/archive/2008/06/09/206822.htmlhttp://www.aygfsteel.com/major/comments/206822.htmlhttp://www.aygfsteel.com/major/archive/2008/06/09/206822.html#Feedback0http://www.aygfsteel.com/major/comments/commentRss/206822.htmlhttp://www.aygfsteel.com/major/services/trackbacks/206822.html

MajorYe 2008-06-09 21:20 发表评论
]]>
Pattern & FrameWorkhttp://www.aygfsteel.com/major/archive/2008/05/03/197864.htmlMajorYeMajorYeSat, 03 May 2008 03:58:00 GMThttp://www.aygfsteel.com/major/archive/2008/05/03/197864.htmlhttp://www.aygfsteel.com/major/comments/197864.htmlhttp://www.aygfsteel.com/major/archive/2008/05/03/197864.html#Feedback0http://www.aygfsteel.com/major/comments/commentRss/197864.htmlhttp://www.aygfsteel.com/major/services/trackbacks/197864.html
模式Q即pattern。其实就是解x一c问题的Ҏ论。你把解xc问题的Ҏȝ归纳到理论高度,那就是模式?

Alexanderl出的经典定义是Q每个模式都描述了一个在我们的环境中不断出现的问题,然后描述了该问题的解x案的核心。通过q种方式Q你可以无数ơ地使用那些已有的解x案,无需在重复相同的工作?

模式有不同的领域Q徏{领域有建筑模式QY件设计领域也有设计模式。当一个领域逐渐成熟的时候,自然会出现很多模式?

什么是框架Q?

框架Q即framework。其实就是某U应用的半成品,是一l组Ӟ供你选用完成你自qpȝ。简单说是使用别h搭好的舞収ͼ你来做表演。而且Q框架一般是成熟的,不断升的Y件?

2Qؓ什么要用模式?

因ؓ模式是一U指|在一个良好的指导下,有助于你完成dQ有助于你作Z个优良的设计ҎQ达C半功倍的效果。而且会得到解决问题的最佛_法?

Z么要用框Ӟ

因ؓ软gpȝ发展C天已l很复杂了,特别是服务器端YӞ设计到的知识Q内容,问题太多。在某些斚w使用别h成熟的框Ӟq当于让别人帮你完成一些基工作Q你只需要集中精力完成系l的业务逻辑设计。而且框架一般是成熟Q稳健的Q他可以处理pȝ很多l节问题Q比如,事物处理Q安全性,数据控制等问题。还有框架一般都l过很多Z用,所以结构很好,所以扩展性也很好Q而且它是不断升的,你可以直接n受别人升U代码带来的好处?

框架一般处在低层应用^収ͼ如J2EEQ和高层业务逻辑之间的中间层?

软gZ么要分层Q?

Z实现“高内聚、低耦合”。把问题划分开来各个解冻I易于控制Q易于g展,易于分配资源…M好处很多啦:Q?

3Q以下所qC要是JAVAQJ2EE斚w的模式和框架Q?

常见的设计模式有什么?

首先Q你要了解的是GOF的《设计模?-可复用面向对象Y件的基础》一书(q个可以说是E序员必备的了)Q注意:GOF不是一个hQ而是指四个h。它的原意是Gangs Of Four,是“四h?#8221;Q就是指此书的四个作者:Erich Gamma,Richard HelmQRalph Johnson,John Vlissides。这本书讲了23U主要的模式Q包括:抽象工厂、适配器、外观模式等?

q有其他的很多模式,估计?00多种?

软g设计模式太多Q就我的理解单说一下最常见的MVC模式?

MVC模式?996q由Buschmann提出的:

模型QModelQ:是装数据和所有基于对q些数据的操作?

视图QViewQ:是装的是Ҏ据显C,即用L面?

控制器(ControlQ:是装外界作用于模型的操作和对数据向的控制等?

另外Q?

RUPQRational Unified ProcessQY件统一q程Q?span style="color: red">XPQExtreme ProgrammingQ极端编E?/span>Q这些通常被叫?#8220;q程Ҏ”Q是一UY仉目实施过E的Ҏ论,它是针对软g目的实施过E提出的Ҏ{略。也是另一个角度的模式?


MajorYe 2008-05-03 11:58 发表评论
]]>
object.property与object["property"]的区?/title><link>http://www.aygfsteel.com/major/archive/2008/04/21/194482.html</link><dc:creator>MajorYe</dc:creator><author>MajorYe</author><pubDate>Mon, 21 Apr 2008 04:19:00 GMT</pubDate><guid>http://www.aygfsteel.com/major/archive/2008/04/21/194482.html</guid><wfw:comment>http://www.aygfsteel.com/major/comments/194482.html</wfw:comment><comments>http://www.aygfsteel.com/major/archive/2008/04/21/194482.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.aygfsteel.com/major/comments/commentRss/194482.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/major/services/trackbacks/194482.html</trackback:ping><description><![CDATA[刚吃完饭Q也没啥事干Q来写写blog?br /> 也许像你看到的那样Q我写的东西是比较偏?br /> 先来举个例子吧:<br /> >>> var person=function(){}<br /> >>> person.aa="aa"<br /> "aa"<br /> >>> person.bb="bb"<br /> "bb"<br /> >>> person.cc="cc"<br /> "cc"<br /> 上面是定义了一个personc?br /> l这个类d了几个类属?br /> 你单独运?br /> <br /> >>> person.cc<br /> "cc"<br /> 那是没问题的<br /> 但是你在E序中写有问题了,<br /> 看看下面的程序:<br /> for(var t in person){<br /> alert(t);<br /> alert(person.t)  //Z么这个就有问题呢Q结果ؓundefined<br /> }<br /> 但该?br /> for(var t in person){<br /> alert(t);<br /> alert(person.[t])  //q样可以了<br /> }<br /> Z么呢Q?Q?<br /> <p class="docText">The important difference to note between these two syntaxes is that in the first, the property name is an identifier, and in the second, the property name is a string. You'll see why this is so important shortly.</p> <p class="docText">In C, C++, Java, and similar strongly typed languages, an object can have only a fixed number of properties, and the names of these properties must be defined in advance. Since JavaScript is a loosely typed language, this rule does not apply: a program can create any number of properties in any object. When you use the <tt>.</tt> operator to access a property of an object, however, the name of the property is expressed as an identifier. Identifiers must be typed literally into your JavaScript program; they are not a datatype, so they cannot be manipulated by the program.</p> <p class="docText">On the other hand, when you access a property of an object with the <tt>[]</tt> array notation, the name of the property is expressed as a string. Strings are JavaScript datatypes, so they can be manipulated and created while a program is running. <br /> q没写完Q待我醒来再l说Q?/p> <img src ="http://www.aygfsteel.com/major/aggbug/194482.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/major/" target="_blank">MajorYe</a> 2008-04-21 12:19 <a href="http://www.aygfsteel.com/major/archive/2008/04/21/194482.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>复试成?/title><link>http://www.aygfsteel.com/major/archive/2008/04/18/194123.html</link><dc:creator>MajorYe</dc:creator><author>MajorYe</author><pubDate>Fri, 18 Apr 2008 15:30:00 GMT</pubDate><guid>http://www.aygfsteel.com/major/archive/2008/04/18/194123.html</guid><wfw:comment>http://www.aygfsteel.com/major/comments/194123.html</wfw:comment><comments>http://www.aygfsteel.com/major/archive/2008/04/18/194123.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/major/comments/commentRss/194123.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/major/services/trackbacks/194123.html</trackback:ping><description><![CDATA[<p>晚上和位不认识的朋友通话?br /> W一?br /> q聊的很投机Q?br /> W一?br /> 我今天晚上把头发剪短?br /> W一?br /> 两个人对金钱的看法很相像<br /> W一?br /> q么多第一ơ说明了什?br />       --------有缘<br /> 我有缘的朋友复试成功!<br /> </p> <img src ="http://www.aygfsteel.com/major/aggbug/194123.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/major/" target="_blank">MajorYe</a> 2008-04-18 23:30 <a href="http://www.aygfsteel.com/major/archive/2008/04/18/194123.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Prototype的一些新的见?JS)http://www.aygfsteel.com/major/archive/2008/04/18/193983.htmlMajorYeMajorYeFri, 18 Apr 2008 03:25:00 GMThttp://www.aygfsteel.com/major/archive/2008/04/18/193983.htmlhttp://www.aygfsteel.com/major/comments/193983.htmlhttp://www.aygfsteel.com/major/archive/2008/04/18/193983.html#Feedback0http://www.aygfsteel.com/major/comments/commentRss/193983.htmlhttp://www.aygfsteel.com/major/services/trackbacks/193983.html 下面主要是我对于prototype的一些见解:
// The constructor function initializes those properties that
// will be different for each instance.
function Rectangle(w, h) {
    this.width = w;
    this.height = h;
}

// The prototype object holds methods and other properties that
// should be shared by each instance.
Rectangle.prototype.area = function( ) { return this.width * this.height; }
var r = new Rectangle(2, 3);
r.hasOwnProperty("width");   // true: width is a direct property of r
r.hasOwnProperty("area");    // false: area is an inherited property of r
"area" in r;                 // true: "area" is a property of r
>>> function pp(){}
>>> pp.prototype.p="33"
"33"
>>> var t=new pp()
>>> tt.p
tt is not defined
[Break on this error] undefined
javascript: with ... (line 1)
>>> t.p
"33"
>>> t.p="44"
"44"
>>> t.p
"44"
>>> var tt=new pp()
>>> tt.p
"33"
>>> pp.prototype.constructor
pp()
>>> tt.constructor
pp()
>>> tt.prototype.constructor
tt.prototype has no properties
[Break on this error] undefined
javascript: with ... (line 1)
>>> tt.prototype.oo="22"
tt.prototype has no properties
[Break on this error] undefined
javascript: with ... (line 1)
>>> "p" in tt
true
>>> tt.hasOwnProperty
hasOwnProperty()
>>> tt.hasOwnProperty("p")
false
>>> tt.tt=0
0
>>> tt.hasOwnProperty("tt")
true
//从我的firebug调试中你能看出来吗?嘿嘿

MajorYe 2008-04-18 11:25 发表评论
]]>
08-04-18p学习ȝhttp://www.aygfsteel.com/major/archive/2008/04/18/193927.htmlMajorYeMajorYeFri, 18 Apr 2008 01:14:00 GMThttp://www.aygfsteel.com/major/archive/2008/04/18/193927.htmlhttp://www.aygfsteel.com/major/comments/193927.htmlhttp://www.aygfsteel.com/major/archive/2008/04/18/193927.html#Feedback0http://www.aygfsteel.com/major/comments/commentRss/193927.htmlhttp://www.aygfsteel.com/major/services/trackbacks/193927.html1: delve

delve a little into the history of how it came to be like that

delve [delv]

v. 探究, ȝ; ?/span>, ?/span>; 搜烦; ?/span>, ?/span>; ?/span>

2: sooner or later

3: generated

we first need to remind ourselves why XML has proved such a success and generated so much excitement.

generate [gen·er·ate || 'dʒenəreɪt]

v. 产生, D, 发生

4:

bespoke [be·spoke || bɪ'spəʊk]

adj. 预定?/span>; 定制?/span>

bespeak [be·speak || bɪ'spiːk]

v.                  预定; 证明; 预约; 表示

5: ado

ado [a·do || ə'duː]

n. Uh, 骚扰; 费力, ȝ; 忙ؕ; 无谓的纷?/span>

6Q?/span>effect

effect [ef·fect || ɪ'fekt]

n. l果, 效果, 影响

v. 造成; 招致; 产生; 实现, 辑ֈ

7: bewildering

Don't worry if this example seemed a bit bewildering

bewilder [be·wil·der || bɪ'wɪldə]

v. 使迷?/span>; 使昏?/span>; 使不知所?/span>

8: minimizes

This minimizes the work that needs to be done at display time and is ideal when the same displayed page is presented to very many users.

minimize (Amer.) ['min·i·mize || 'mɪnɪmaɪz]

v.                  ?/span>...减到最?/span>

9:occasionally

It's occasionally useful to have a stylesheet as the input or output of a transformation.

occasionally [oc'ca·sion·al·ly || ə'keɪʒnəlɪ]

adv. 偶尔, 间或

10: compromise

The xhtml output method, as one might expect, is a compromise between the xml and html output methods

compromise [com·pro·mise || 'kɒmprəmaɪz]

n. 妥协, 折衷?/span>, 折衷

v. 互让解决; 攑ּ; q篏, 危及; 泄露; 妥协, 让步

11: inefficient

inefficient [,inef'fi·cient || ‚ɪnɪ'fɪʃnt]

adj. 无效率的, 无能?/span>

12: efficient

efficient [ef'fi·cient || -nt]

adj. 生效?/span>; 能干?/span>; 有效率的



MajorYe 2008-04-18 09:14 发表评论
]]>
毕业后,有关的档案和户口问题http://www.aygfsteel.com/major/archive/2008/04/18/193917.htmlMajorYeMajorYeFri, 18 Apr 2008 00:48:00 GMThttp://www.aygfsteel.com/major/archive/2008/04/18/193917.htmlhttp://www.aygfsteel.com/major/comments/193917.htmlhttp://www.aygfsteel.com/major/archive/2008/04/18/193917.html#Feedback0http://www.aygfsteel.com/major/comments/commentRss/193917.htmlhttp://www.aygfsteel.com/major/services/trackbacks/193917.html 户口和档案问题一直困扰着我,
当然Q如果我q在天|工作的话
应该是没什么问?br /> 可我现在来到了北?br /> 一个户口很紧张的城?br /> 而且我又不是研究?br /> 所以落户口是根本没希望?br /> 但是如果q些落不?br /> 那有关的五险一金怎么?br /> 烦烦烦烦?br /> 昨天HR和我?br /> 公司对于你们q样?br /> 有特?br /> 也就是说什么都能上
哈哈哈哈哈哈哈哈?br /> 开?


MajorYe 2008-04-18 08:48 发表评论
]]>
我的|络相册http://www.aygfsteel.com/major/archive/2008/04/17/193829.htmlMajorYeMajorYeThu, 17 Apr 2008 10:06:00 GMThttp://www.aygfsteel.com/major/archive/2008/04/17/193829.htmlhttp://www.aygfsteel.com/major/comments/193829.htmlhttp://www.aygfsteel.com/major/archive/2008/04/17/193829.html#Feedback0http://www.aygfsteel.com/major/comments/commentRss/193829.htmlhttp://www.aygfsteel.com/major/services/trackbacks/193829.htmlye.zhouquan

MajorYe 2008-04-17 18:06 发表评论
]]>
javascript中Function与function的特D之?/title><link>http://www.aygfsteel.com/major/archive/2008/04/17/193825.html</link><dc:creator>MajorYe</dc:creator><author>MajorYe</author><pubDate>Thu, 17 Apr 2008 10:03:00 GMT</pubDate><guid>http://www.aygfsteel.com/major/archive/2008/04/17/193825.html</guid><wfw:comment>http://www.aygfsteel.com/major/comments/193825.html</wfw:comment><comments>http://www.aygfsteel.com/major/archive/2008/04/17/193825.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/major/comments/commentRss/193825.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/major/services/trackbacks/193825.html</trackback:ping><description><![CDATA[<p>Function()的特D之处有三点Q?br /> 1Q?nbsp;<tt>Function()</tt> constructor 它是允许js引擎动态的ȝ译和q行Q所以它很像全局的eval()?br />    【注】:可别看q个eval(),它可是js的一个解释器哦,嘿嘿Q?br /> 2Q正因ؓ <tt>Function()</tt> constructor 是动态的d建函CQ因此它会比直接function定义函数要消耗资源,<br />       特别在@环中不推荐?br /> 3Q这点也?nbsp;<tt>Function()</tt> constructor 最重要的一点, <tt>Function()</tt> constructor 创徏的函数是全局的,而不是相<br />    应得scope里面?br />    eg:<br />   var y = "global";<br />   function constructFunction() {<br />      var y = "local";<br />     return new Function("return y");  // Does not capture the local scope!<br /> }<br /> // This line displays "global" because the function returned by the<br /> // Function() constructor does not use the local scope. Had a function<br /> // literal been used instead, this line would have displayed "local".<br /> alert(constructFunction()());  // Displays "global"<br /> </p> <img src ="http://www.aygfsteel.com/major/aggbug/193825.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/major/" target="_blank">MajorYe</a> 2008-04-17 18:03 <a href="http://www.aygfsteel.com/major/archive/2008/04/17/193825.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>周末新生z?/title><link>http://www.aygfsteel.com/major/archive/2008/04/13/192618.html</link><dc:creator>MajorYe</dc:creator><author>MajorYe</author><pubDate>Sun, 13 Apr 2008 13:58:00 GMT</pubDate><guid>http://www.aygfsteel.com/major/archive/2008/04/13/192618.html</guid><wfw:comment>http://www.aygfsteel.com/major/comments/192618.html</wfw:comment><comments>http://www.aygfsteel.com/major/archive/2008/04/13/192618.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/major/comments/commentRss/192618.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/major/services/trackbacks/192618.html</trackback:ping><description><![CDATA[    q个周末生活比较丰富Q当然也没学什么东?br /> 周六是老乡q来Q中午请他吃的饭Q晚上吃完饭<br /> 再送他回去Q周天中午请大学同学王林霞吃饭,<br /> 下午一块去打球了,然后d同学那打了会d?br /> 晚上和她那些高中同学一块吃了个饭。回来洗了个<br /> 澡,和老陈聊了会天。OVER. <img src ="http://www.aygfsteel.com/major/aggbug/192618.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/major/" target="_blank">MajorYe</a> 2008-04-13 21:58 <a href="http://www.aygfsteel.com/major/archive/2008/04/13/192618.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss> <footer> <div class="friendship-link"> <a href="http://www.aygfsteel.com/" title="狠狠久久亚洲欧美专区_中文字幕亚洲综合久久202_国产精品亚洲第五区在线_日本免费网站视频">狠狠久久亚洲欧美专区_中文字幕亚洲综合久久202_国产精品亚洲第五区在线_日本免费网站视频</a> </div> </footer> վ֩ģ壺 <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">ˮ</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">Ҫ</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">dz</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">̨</a>| <a href="http://" target="_blank">ʤ</a>| <a href="http://" target="_blank">޼</a>| <a href="http://" target="_blank">ƽ</a>| <a href="http://" target="_blank">̴</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">÷</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">ͻȪ</a>| <a href="http://" target="_blank">ˮ</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">Ϫ</a>| <a href="http://" target="_blank">¡</a>| <a href="http://" target="_blank">ٸ</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">ڻ</a>| <a href="http://" target="_blank"></a>| <a href="http://" target="_blank">غ</a>| <a href="http://" target="_blank">山</a>| <a href="http://" target="_blank"></a>| <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body>