ï»??xml version="1.0" encoding="utf-8" standalone="yes"?>久久麻豆一区二区,黄页网址大全在线观看,国产亚洲一二三区http://www.aygfsteel.com/tw-ddm/category/17538.html<div id="ddm_subTitle"> <h2 class="catchline"> 哪怕没有办法一定有说法,<br/> ž®Þq®—没有鸽子一定有乌鸦,<br/> 固执无罪&nbsp;梦想有ä­h(hu¨¢n),<br/> 让他们惊è®? </h2> </div>zh-cnFri, 02 Mar 2007 21:53:47 GMTFri, 02 Mar 2007 21:53:47 GMT60ASP中页面功能的分离å?qi¨¢ng)接口的实çŽ?/title><link>http://www.aygfsteel.com/tw-ddm/articles/82645.html</link><dc:creator>大大æ¯?/dc:creator><author>大大æ¯?/author><pubDate>Tue, 21 Nov 2006 17:17:00 GMT</pubDate><guid>http://www.aygfsteel.com/tw-ddm/articles/82645.html</guid><wfw:comment>http://www.aygfsteel.com/tw-ddm/comments/82645.html</wfw:comment><comments>http://www.aygfsteel.com/tw-ddm/articles/82645.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/tw-ddm/comments/commentRss/82645.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/tw-ddm/services/trackbacks/82645.html</trackback:ping><description><![CDATA[ <font size="2"> (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng)˜q˜æ˜¯˜q™ä†¾çŸ­å·¥åQŒè™½ç„¶ç”¨çš„æ˜¯ASPåQŒä¸˜q‡ä¿ºåœ¨å·¥ä½œä¸­˜q˜æ˜¯æœ‰æ‰€æ”¶èŽ·ã€?br /><br /> (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng)以前ž®Þq”¨ASPåQŒç”¨èµäh¥æŒºé¡ºæ‰‹çš„åQŒå½“然是在代码量å?qi¨¢ng)逻辑的复杂度都比较小的时候感觉还挺好åQŒå‘µã€‚但是打˜q™ä†¾å·¥ï¼ŒæŽ¥æ‰‹çš„ä“Q务是修改一套系¾lŸçš„局部。系¾lŸçš„逻辑现在˜q˜æŒºä¹Þqš„åQŒä¸å¤ªå®¹æ˜“理解,不过通过˜q™æ®µæ—‰™—´çš„ç ”½I¶è¿˜æ˜¯å­¦äº?ji¨£n)不ž®‘ã€?br /><br /> (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng)˜q™ä¸ªASP¾pȝ»Ÿåœ¨ç»“构上实现äº?ji¨£n)一定的ž®è£…åQŒåŠŸèƒ½é¡µé¢å…¨éƒ¨ä‹Éç”?Function 来实现。每个ASP™åµé¢å‡ç”±ä¸¤éƒ¨åˆ†ç»„成,一个是外层文äšg(充当模板)åQŒå¦ä¸€ä¸ªç”¨Function来封逻辑åQŒä‹É用时在外层的ASP中ä‹Éç”?include 来引入逻辑™åüc(di¨£n)€‚同时整个系¾lŸçš„ä¸Õd¹²åˆ™æŒ‰åŠŸèƒ½åˆ’åˆ†æˆäº†(ji¨£n)单独的功能模块,模块利用Function以及(qi¨¢ng)Class来实玎ͼŒæœ€åŽåŒæ ·ä‹É用这¿Uæ‹¼è£…的方式搭è“v一个系¾lŸçš„骨架ã€?br /> (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng)˜q™ç§æž¶æž„看è“v来很不错åQŒä¸˜q‡åœ¨ä»Šå¤©ä¿ºå†™ä¸€å¼ è‡ªç”¨çš„ASP™åµé¢æ—¶å‘çŽîCº†(ji¨£n)一些问题ã€?br /><br /> (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng)我的˜q™å¼ ASP是自己写自己用的åQŒä¸»è¦æ˜¯ç”¨äºŽæŽ¢çƒ¦(ch¨³)åº?表的¾l“构以及(qi¨¢ng)发现数据特征。页面的功能除了(ji¨£n)提供 <a href="/tw-ddm/articles/82438.html" target="_blank">SQLServer的操ä½?/a> (t¨©ng)外,另外˜q˜éœ€è¦ç”¨äºŽæŸ¥çœ‹åŠ(qi¨¢ng)分析ä»?AS400 上获取的数据。项目中与AS400的连接已¾lè¢«ž®è£…成了(ji¨£n)¾l„äšgåQŒæå–不同的数据需要通过¾l„äšgå?AS400 ä¸ÀLœºå‘送不同的指ä×o(h¨´)字符串来实现。由于指令字½W¦ä¸²æ˜¯æ ¹æ®ä¸€ä¸ªåè®®æ¥è§„范åQŒå› æ­¤åˆæˆä¸åŒçš„æŒ‡ä×o(h¨´)需要ä‹Éç”¨ä¸åŒçš„é€»è¾‘ã€‚äØ“(f¨´)äº?ji¨£n)å°†˜q™äº›å¤æ‚以及(qi¨¢ng)单独的逻辑加以˜q›è¡ŒåŒºåˆ†åQŒæˆ‘惌™¿‡åˆ©ç”¨çŽ°æœ‰¾pȝ»Ÿçš„è¿™¿Uç»“构来完成åQŒå³æ¯ä¸ªæŒ‡ä×o(h¨´)的逻辑被放在一个单独的 Funtion 中,然后æ ÒŽ(gu¨©)® ™åµé¢ 提交上来的参数来分别调用åQŒç»“果程序变成这æ ?( ˜q™é‡Œä½¿ç”¨çš„æ˜¯½CÞZ¾‹ä»£ç  )åQ?br /><div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><img id="Code_Closed_Image_003317" onclick="this.style.display='none'; Code_Closed_Text_003317.style.display='none'; Code_Open_Image_003317.style.display='inline'; Code_Open_Text_003317.style.display='inline';" height="16" src="http://www.aygfsteel.com/images/OutliningIndicators/ContractedBlock.gif" width="11" align="top" /><img id="Code_Open_Image_003317" style="DISPLAY: none" onclick="this.style.display='none'; Code_Open_Text_003317.style.display='none'; Code_Closed_Image_003317.style.display='inline'; Code_Closed_Text_003317.style.display='inline';" height="16" src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedBlockStart.gif" width="11" align="top" /><span id="Code_Closed_Text_003317" style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><strong>½E‹åºåŽŸæ¡†æž?/strong></span><span id="Code_Open_Text_003317" style="DISPLAY: none"><br /><!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>--><span style="COLOR: #0000ff">Dim</span><span style="COLOR: #000000"> (t¨©ng)AS400Code<br />AS400Code (t¨©ng)</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> (t¨©ng)</span><span style="COLOR: #000000">""</span><span style="COLOR: #000000"><br />AS400Code (t¨©ng)</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> (t¨©ng)Request(</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">AS400Code</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">)<br /></span><span style="COLOR: #008000">'</span><span style="COLOR: #008000">初始åŒ?AS400˜qžæŽ¥¾l„äšg"</span><span style="COLOR: #008000"><br /></span><span style="COLOR: #0000ff">Dim</span><span style="COLOR: #000000"> (t¨©ng)I(y¨ªng)QS<br /></span><span style="COLOR: #0000ff">Set</span><span style="COLOR: #000000"> (t¨©ng)I(y¨ªng)QS (t¨©ng)</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> (t¨©ng)</span><span style="COLOR: #0000ff">New</span><span style="COLOR: #000000"> (t¨©ng)I(y¨ªng)QS<br /></span><span style="COLOR: #008000">'</span><span style="COLOR: #008000">---------控制å™?-----------</span><span style="COLOR: #008000"><br /></span><span style="COLOR: #0000ff">Dim</span><span style="COLOR: #000000"> (t¨©ng)CodeString,Head<br /></span><span style="COLOR: #0000ff">Select</span><span style="COLOR: #000000"> (t¨©ng)</span><span style="COLOR: #0000ff">Case</span><span style="COLOR: #000000"> (t¨©ng)AS400Code<br /> (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng)</span><span style="COLOR: #0000ff">Case</span><span style="COLOR: #000000"> (t¨©ng)</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">PSCA1000</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"><br /> (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng)</span><span style="COLOR: #008000">'</span><span style="COLOR: #008000">调用指ä×o(h¨´)ž®è£…逻辑</span><span style="COLOR: #008000"><br /></span><span style="COLOR: #000000"> (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng)</span><span style="COLOR: #0000ff">Call</span><span style="COLOR: #000000"> (t¨©ng)PSCA1000(CodeString,Head)<br /> (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng)</span><span style="COLOR: #008000">'</span><span style="COLOR: #008000">调用 (t¨©ng)ž®è£…AS400˜qžæŽ¥Â (t¨©ng)的组ä»?/span><span style="COLOR: #008000"><br /></span><span style="COLOR: #000000"> (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng)I(y¨ªng)QS.send(CodeString)<br /> (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng)</span><span style="COLOR: #008000">'</span><span style="COLOR: #008000">昄¡¤º˜qžæŽ¥¾l„äšg持有的数据集</span><span style="COLOR: #008000"><br /></span><span style="COLOR: #000000"> (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng)</span><span style="COLOR: #0000ff">Call</span><span style="COLOR: #000000"> (t¨©ng)ShowRs(IQS.Rst,Head)<br /> (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng)</span><span style="COLOR: #0000ff">Case</span><span style="COLOR: #000000"> (t¨©ng)</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">PSCA1002</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"><br /> (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng)</span><span style="COLOR: #008000">'</span><span style="COLOR: #008000">调用指ä×o(h¨´)ž®è£…逻辑</span><span style="COLOR: #008000"><br /></span><span style="COLOR: #000000"> (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng)</span><span style="COLOR: #0000ff">Call</span><span style="COLOR: #000000"> (t¨©ng)PSCA1002(CodeString,Head)<br /> (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng)</span><span style="COLOR: #008000">'</span><span style="COLOR: #008000">调用 (t¨©ng)ž®è£…AS400˜qžæŽ¥Â (t¨©ng)的组ä»?/span><span style="COLOR: #008000"><br /></span><span style="COLOR: #000000"> (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng)I(y¨ªng)QS.send(CodeString)<br /> (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng)</span><span style="COLOR: #008000">'</span><span style="COLOR: #008000">昄¡¤º˜qžæŽ¥¾l„äšg持有的数据集</span><span style="COLOR: #008000"><br /></span><span style="COLOR: #000000"> (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng)</span><span style="COLOR: #0000ff">Call</span><span style="COLOR: #000000"> (t¨©ng)ShowRs(Head)<br /> (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng)</span><span style="COLOR: #0000ff">Case</span><span style="COLOR: #000000"> (t¨©ng)</span><span style="COLOR: #0000ff">Else</span><span style="COLOR: #000000"><br /> (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng)Response.Write (t¨©ng)</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">ž®šæœªæ”¯æŒAS400½E‹å¼ç ?</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"> (t¨©ng)</span><span style="COLOR: #000000">&</span><span style="COLOR: #000000"> (t¨©ng)AS400Code<br /></span><span style="COLOR: #0000ff">End</span><span style="COLOR: #000000"> (t¨©ng)</span><span style="COLOR: #0000ff">Select<br /></span><span style="COLOR: #000000"><span style="COLOR: #0000ff">Set</span><span style="COLOR: #000000"> (t¨©ng)I(y¨ªng)QS (t¨©ng)</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> (t¨©ng)</span><span style="COLOR: #0000ff">Nothing</span><span style="COLOR: #000000"> (t¨©ng)</span><br /></span><span style="COLOR: #008000">'</span><span style="COLOR: #008000">------------视图-------------</span><span style="COLOR: #008000"><br />'</span><span style="COLOR: #008000">昄¡¤ºåŠŸèƒ½å¸®åŠ©ä¿¡æ¯</span><span style="COLOR: #008000"><br /></span><span style="COLOR: #0000ff">Function</span><span style="COLOR: #000000"> (t¨©ng)ShowHelp()<br /> (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng)Response.Write (t¨©ng)</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"><OL>参数AS400Code:AS400½E‹å¼ç ?</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"><br /> (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng)Response.Write (t¨©ng)</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"><LI>PSCA1000</LI></span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"><br /> (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng)Response.Write (t¨©ng)</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"><LI>PSCA1002</LI></span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"><br /> (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng)Response.Write (t¨©ng)</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"></OL></span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"><br /></span><span style="COLOR: #0000ff">End (t¨©ng)Function</span><span style="COLOR: #000000"><br /></span><span style="COLOR: #008000">'</span><span style="COLOR: #008000">使用二维表以å?qi¨¢ng)Head来生成Â?lt;table> (t¨©ng)元素</span><span style="COLOR: #008000"><br /></span><span style="COLOR: #0000ff">Function</span><span style="COLOR: #000000"> (t¨©ng)ShowRs(Rst,Head)<br /> (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng)</span><span style="COLOR: #008000">'</span><span style="COLOR: #008000">使用Rst来生成一个Â?lt;table> (t¨©ng)元素,òq¶åˆ©ç”¨Â?t¨©ng)Head (t¨©ng)来生成表头列</span><span style="COLOR: #008000"><br /></span><span style="COLOR: #0000ff">End (t¨©ng)Function</span><span style="COLOR: #000000"> (t¨©ng)<br /></span><span style="COLOR: #008000">'</span><span style="COLOR: #008000">---------AS400指ä×o(h¨´)处理逻辑(模型)------------</span><span style="COLOR: #008000"><br /></span><span style="COLOR: #0000ff">Function</span><span style="COLOR: #000000"> (t¨©ng)PSCA1000(ByRef (t¨©ng)CodeString,ByRef (t¨©ng)Head)<br /> (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng)</span><span style="COLOR: #008000">'</span><span style="COLOR: #008000">æ ÒŽ(gu¨©)®å¤æ‚的逻辑来合成CodeString以及(qi¨¢ng)数据报表å¤?/span><span style="COLOR: #008000"><br /></span><span style="COLOR: #0000ff">End (t¨©ng)Function</span><span style="COLOR: #000000"> (t¨©ng)<br /></span><span style="COLOR: #0000ff">Function</span><span style="COLOR: #000000"> (t¨©ng)PSCA1002(ByRef (t¨©ng)CodeString,ByRef (t¨©ng)Head)<br /> (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng)</span><span style="COLOR: #008000">'</span><span style="COLOR: #008000">æ ÒŽ(gu¨©)®å¤æ‚的逻辑来合成CodeString以及(qi¨¢ng)数据报表å¤?/span><span style="COLOR: #008000"><br /></span><span style="COLOR: #0000ff">End (t¨©ng)Function</span></span></div><p> (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng)˜q™é‡Œæä¸€ä¸‹ï¼Œž®Þq®—是将 AS400指ä×o(h¨´)处理逻辑 全部攑֜¨ä¸€ä¸ªæ–‡ä»Óž¼Œòq¶åœ¨å½“前的页面中使用 Include 包含˜q›æ¥åQŒé‚£ä¹ˆæ•´ä¸ªåŠŸèƒ½çš„æ¡†æž¶ä¹Ÿæ˜¯æ²¡æœ‰ä»€ä¹ˆå˜åŒ–çš„ã€?br /><br /> (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng)仔细看看˜q™ä¸ªæ¡†æž¶åQŒä¸éš‘֏‘çŽ?strong>问题所åœ?/strong>åQ?随着以后所支持AS400指ä×o(h¨´)的增多,框架中充当“控制器”的 Select Case 部分ž®†å—åˆîC¸¥é‡è€ƒéªŒã€?br /> (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng)<strong>1.</strong>大量的Case分支充满其中åQŒé‡å¤ä»£ç è¿‡å¤šï¼›<br /> (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng)<strong>2.</strong>随着指ä×o(h¨´)逻辑的增多,指ä×o(h¨´)逻辑ž®†ä¸å¯é¿å…çš„æ”‘Ö…¥å•独的文件中åQŒè¿™æ ·ä¸€æ—¦å¢žåŠ ä¸€ä¸ªAS400指ä×o(h¨´)ž®±å¿…™åÀL›´æ”¹å¤šä¸ªASP™åµé¢åQ?br /> (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng)<strong>3.</strong>™åµé¢ä¸ÞZ‹É用者显½CÞZ¸€ä¸ªåŠŸèƒ½å¸®åŠ©ä¿¡æ¯ï¼Œå…¶ä¸­éœ€è¦æ˜¾½Cºåˆ°æ‰€èƒ½æ”¯æŒçš„æŒ‡ä×o(h¨´)以及(qi¨¢ng)指ä×o(h¨´)含义信息åQŒè€Œè¿™äº›ä¿¡æ¯åˆä¸å¯é¿å…çš„需要在主页面中重复输入å?qi¨¢ng)更攏V€?br /><br /> (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng)累则思变 :-)åQŒæƒ³æƒ³ä¾‹å¦‚JAVA/NET中的那些设计åQŒå¦‚果能够利用上åQŒæŠŠè°ƒç”¨ä¸Žå®žçŽ°åˆ†¼›Õd°±O(ji¨¡n)Käº?ji¨£n)。仔¾l†åˆ†æžä¸€ä¸‹ä¸Šé¢çš„代码不难发现åQŒé—®é¢˜å‡ºåœ¨â€œæŽ§åˆ¶å™¨â€ä¸Žâ€œæ¨¡åž‹â€çš„å¼ø™€¦åˆä¸Šï¼Œ¾l“果造成两者的“同步更新”ã€?br /><br /> (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng)降低耦合åQŒæœ€å¥½ä‹É的方法就是在两者之间加入一个层 (接口) åQŒè¿™æ ·é—®é¢˜å³å¯è§£å†Ÿë€‚由于ASP本èínòq¶ä¸æä¾›æŽ¥å£˜q™ä¸€ä¸œä¸œåQŒåªèƒ½è‡ªå·±æ¥å®žçް¾|—。下面是我的解决æ–ÒŽ(gu¨©)³•åQ?br /></p><div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><img id="Code_Closed_Image_004719" onclick="this.style.display='none'; Code_Closed_Text_004719.style.display='none'; Code_Open_Image_004719.style.display='inline'; Code_Open_Text_004719.style.display='inline';" height="16" src="http://www.aygfsteel.com/images/OutliningIndicators/ContractedBlock.gif" width="11" align="top" /><img id="Code_Open_Image_004719" style="DISPLAY: none" onclick="this.style.display='none'; Code_Open_Text_004719.style.display='none'; Code_Closed_Image_004719.style.display='inline'; Code_Closed_Text_004719.style.display='inline';" height="16" src="http://www.aygfsteel.com/images/OutliningIndicators/ExpandedBlockStart.gif" width="11" align="top" /><span id="Code_Closed_Text_004719" style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><strong>½E‹åºæ–°çš„æ¡†æž¶</strong>(分离的感觉真å¥?</span><span id="Code_Open_Text_004719" style="DISPLAY: none"><br /><!--<br><br>Code highlighting produced by Actipro CodeHighlighter (freeware)<br>http://www.CodeHighlighter.com/<br><br>--><span style="COLOR: #008000">'</span><span style="COLOR: #008000">注意˜q™é‡Œ: (t¨©ng)--新增äº?ji¨£n)一个Â?t¨©ng)CodeDic (t¨©ng)容器,它就是俺设计的接å?/span><span style="COLOR: #008000"><br /></span><span>Dim (t¨©ng)CodeDic<br />Set</span><span style="COLOR: #000000"> (t¨©ng)CodeDic (t¨©ng)</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> (t¨©ng)Server.CreateObject(</span><span style="COLOR: #000000">"</span><span>Scripting.Dictionary")<br /></span><span style="COLOR: #000000"><</span><span style="COLOR: #000000">!</span><span style="COLOR: #000000">--</span><span style="COLOR: #000000">#include (t¨©ng)file</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">As400Code.asp</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">--></span><span style="COLOR: #000000"><br /></span><span style="COLOR: #008000">'</span><span style="COLOR: #008000">-----------</span><span style="COLOR: #008000"><br /></span><span style="COLOR: #0000ff">Dim</span><span style="COLOR: #000000"> (t¨©ng)AS400Code<br />AS400Code (t¨©ng)</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> (t¨©ng)</span><span style="COLOR: #000000">""</span><span style="COLOR: #000000"><br />AS400Code (t¨©ng)</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> (t¨©ng)Request(</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">AS400Code</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">)<br /></span><span style="COLOR: #008000">'</span><span style="COLOR: #008000">初始åŒ?AS400˜qžæŽ¥¾l„äšg"</span><span style="COLOR: #008000"><br /></span><span style="COLOR: #0000ff">Dim</span><span style="COLOR: #000000"> (t¨©ng)I(y¨ªng)QS<br /></span><span style="COLOR: #0000ff">Set</span><span style="COLOR: #000000"> (t¨©ng)I(y¨ªng)QS (t¨©ng)</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> (t¨©ng)</span><span style="COLOR: #0000ff">New</span><span style="COLOR: #000000"> (t¨©ng)I(y¨ªng)QS<br /></span><span style="COLOR: #008000">'</span><span style="COLOR: #008000">---------控制å™?-----------</span><span style="COLOR: #008000"><br /></span><span style="COLOR: #0000ff">Dim</span><span style="COLOR: #000000"> (t¨©ng)CodeString,Head,myFun<br /></span><span style="COLOR: #0000ff">If</span><span style="COLOR: #000000"> (t¨©ng)CodeDic.Exists(AS400Code) (t¨©ng)</span><span style="COLOR: #0000ff">Then</span><span style="COLOR: #000000"><br /> (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng)</span><span style="COLOR: #0000ff">Set</span><span style="COLOR: #000000"> (t¨©ng)myFun (t¨©ng)</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> (t¨©ng)</span><span style="COLOR: #0000ff">GetRef</span><span style="COLOR: #000000">(AS400Code)<br /> (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng)</span><span style="COLOR: #0000ff">Call</span><span style="COLOR: #000000"> (t¨©ng)myFun(CodeString,Head)<br /> (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng)I(y¨ªng)QS.send(CodeString)<br /> (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng)</span><span style="COLOR: #0000ff">Call</span><span style="COLOR: #000000"> (t¨©ng)ShowRs(Head)<br /></span><span style="COLOR: #0000ff">Else</span><span style="COLOR: #000000"><br /> (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng)Response.Write (t¨©ng)</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">ž®šæœªæ”¯æŒAS400½E‹å¼ç ?</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"> (t¨©ng)</span><span style="COLOR: #000000">&</span><span style="COLOR: #000000"> (t¨©ng)AS400Code<br /></span><span style="COLOR: #0000ff">End</span><span style="COLOR: #000000"> (t¨©ng)</span><span style="COLOR: #0000ff">If<br /></span><span style="COLOR: #000000"><span style="COLOR: #000000"><span style="COLOR: #0000ff">Set</span><span style="COLOR: #000000"> (t¨©ng)I(y¨ªng)QS (t¨©ng)</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> (t¨©ng)</span><span style="COLOR: #0000ff">Nothing</span></span><br /></span><span style="COLOR: #008000">'</span><span style="COLOR: #008000">------------视图-------------</span><span style="COLOR: #008000"><br />'</span><span style="COLOR: #008000">昄¡¤ºåŠŸèƒ½å¸®åŠ©ä¿¡æ¯,看似代码增多äº?ji¨£n)几è?不过俺再也不用改它了(ji¨£n)</span><span style="COLOR: #008000"><br /></span><span style="COLOR: #0000ff">Function</span><span style="COLOR: #000000"> (t¨©ng)ShowHelp()<br /> (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng)</span><span style="COLOR: #0000ff">Dim</span><span style="COLOR: #000000"> (t¨©ng)Code<br /> (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng)Response.Write (t¨©ng)</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"><OL>参数AS400Code:AS400½E‹å¼ç ?</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"><br /> (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng)</span><span style="COLOR: #0000ff">If</span><span style="COLOR: #000000"> (t¨©ng)CodeDic.Count (t¨©ng)</span><span style="COLOR: #000000"><</span><span style="COLOR: #000000"> (t¨©ng)</span><span style="COLOR: #000000">1</span><span style="COLOR: #000000"> (t¨©ng)</span><span style="COLOR: #0000ff">Then</span><span style="COLOR: #000000"><br /> (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng)Response.Write (t¨©ng)</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">现在ž®šæ— æŒ‡ä×o(h¨´)支持</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"><br /> (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng)</span><span style="COLOR: #0000ff">Else</span><span style="COLOR: #000000"><br /> (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng)</span><span style="COLOR: #0000ff">For</span><span style="COLOR: #000000"> (t¨©ng)Code (t¨©ng)I(y¨ªng)n (t¨©ng)CodeDic<br /> (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng)Response.Write (t¨©ng)</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"><LI></span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"> (t¨©ng)</span><span style="COLOR: #000000">&</span><span style="COLOR: #000000"> (t¨©ng)Code (t¨©ng)</span><span style="COLOR: #000000">&</span><span style="COLOR: #000000"> (t¨©ng)</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">:</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"> (t¨©ng)</span><span style="COLOR: #000000">&</span><span style="COLOR: #000000"> (t¨©ng)CodeDic.Item(Code) (t¨©ng)</span><span style="COLOR: #000000">&</span><span style="COLOR: #000000"> (t¨©ng)</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"></LI></span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"><br /> (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng)</span><span style="COLOR: #0000ff">Next</span><span style="COLOR: #000000"> (t¨©ng)<br /> (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng)</span><span style="COLOR: #0000ff">End</span><span style="COLOR: #000000"> (t¨©ng)</span><span style="COLOR: #0000ff">If</span><span style="COLOR: #000000"> (t¨©ng)<br /> (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng)Response.Write (t¨©ng)</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"></OL></span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"><br /></span><span style="COLOR: #0000ff">End (t¨©ng)Function</span><span style="COLOR: #000000"> (t¨©ng)<br /></span><span style="COLOR: #008000">'</span><span style="COLOR: #008000">使用二维表以å?qi¨¢ng)Head来生成Â?lt;table> (t¨©ng)元素</span><span style="COLOR: #008000"><br /></span><span style="COLOR: #0000ff">Function</span><span style="COLOR: #000000"> (t¨©ng)ShowRs(Rst,Head)<br /> (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng)</span><span style="COLOR: #008000">'</span><span style="COLOR: #008000">使用Rst来生成一个Â?lt;table> (t¨©ng)元素,òq¶åˆ©ç”¨Â?t¨©ng)Head (t¨©ng)来生成表头列</span><span style="COLOR: #008000"><br /></span><span style="COLOR: #0000ff">End (t¨©ng)Function</span><span style="COLOR: #000000"><br /></span><span style="COLOR: #008000">'</span><span style="COLOR: #008000">=========As400Code.asp=============</span><span style="COLOR: #008000"><br />'</span><span style="COLOR: #008000">---------AS400指ä×o(h¨´)处理逻辑(模型)------------</span><span style="COLOR: #008000"><br />'</span><span style="COLOR: #008000">注意˜q™é‡Œ:由模型向接口注册</span><span style="COLOR: #008000"><br /></span><span style="COLOR: #000000">CodeDic.Add (t¨©ng)</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">PSCA1000</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">,</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">PSCA1000指ä×o(h¨´)的说明信æ?/span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"><br /></span><span style="COLOR: #0000ff">Function</span><span style="COLOR: #000000"> (t¨©ng)PSCA1000(ByRef (t¨©ng)CodeString,ByRef (t¨©ng)Head)<br /> (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng)</span><span style="COLOR: #008000">'</span><span style="COLOR: #008000">æ ÒŽ(gu¨©)®å¤æ‚的逻辑来合成CodeString以及(qi¨¢ng)数据报表å¤?/span><span style="COLOR: #008000"><br /></span><span style="COLOR: #0000ff">End (t¨©ng)Function</span><span style="COLOR: #000000"> (t¨©ng)<br />CodeDic.Add (t¨©ng)</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">PSCA1002</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">,</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">PSCA1002指ä×o(h¨´)的说明信æ?/span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"><br /></span><span style="COLOR: #0000ff">Function</span><span style="COLOR: #000000"> (t¨©ng)PSCA1002(ByRef (t¨©ng)CodeString,ByRef (t¨©ng)Head)<br /> (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng)</span><span style="COLOR: #008000">'</span><span style="COLOR: #008000">æ ÒŽ(gu¨©)®å¤æ‚的逻辑来合成CodeString以及(qi¨¢ng)数据报表å¤?/span><span style="COLOR: #008000"><br /></span><span style="COLOR: #0000ff">End (t¨©ng)Function</span><span style="COLOR: #000000"> (t¨©ng)</span></span></div><p> (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng)呵呵åQŒå°±æ˜¯è¿™ä¹ˆç®€å•ã€?br /> (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng)<strong>中间å±?/strong>(接口)åQ?br /> (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng)˜q™é‡Œæˆ‘ä‹É用了(ji¨£n)一个容器来充当中间层,当然˜q™é‡Œä¸ÞZº†(ji¨£n)çœäº‹åœ¨å®¹å™¨çš„ä½¿ç”¨ä¸ŠåÆˆæ²¡æœ‰å®Œå…¨å®žçŽ°æŽ¥å£çš„åŠŸèƒ½ã€‚æˆ‘˜q™é‡Œå‘容器提交的 Key 是AS400指ä×o(h¨´)处理函数名; Value 是外层页面上需要的对应帮助信息。如果想完全实现接口的话åQŒåº”该这æ ïL(f¨¥ng)”¨å®¹å™¨åQ?key--功能名;value--处理函数名;˜q™æ ·ä¸€æ—¦å¤„理逻辑发生变动åQŒåªéœ€æ›´æ–°å¯¹åº”çš?value 卛_¯ã€?br /> (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng)<strong>模型</strong>åQ?br /> (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng)˜q™é‡Œæœ‰ç‚¹å˜åЍåQŒç¨‹åºåŠŸèƒ½æ·»åŠ çš„æŽ§åˆ¶æƒç”±åŽŸå…ˆçš„â€œæŽ§åˆ¶å™¨â€è{å‘â€œæ¨¡åž‹â€ï¼Œå› äØ“(f¨´)在这里它更容易变动一些。而且让它只与充当中间层的容器打交道ã€?br /> (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng)<strong>视图</strong>åQ?br /> (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng)同样的,也只让它与中间层打交道ã€?br /> (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng)<strong>控制å™?/strong>åQ?br /> (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng)˜q™é‡Œå˜åŠ¨æœ€å¤§ï¼Œè¯¸å¤šä¸çˆ½çš?Select Case 分支被拿掉,控制器仅仅与中间层打交道。利ç”?VBScript 提供çš?GetRef( funName ) 获取函数指针åQŒæ¥å®žçŽ°é€»è¾‘åŠŸèƒ½çš„åŠ¨æ€è°ƒç”¨ã€?br /><br /> (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng)每次需要新增AS400指ä×o(h¨´)逻辑处理功能æ—Óž¼Œåªéœ€å‘As400Code.aspæ·ÕdŠ ä¸€ä¸ªåŠŸèƒ½å¤„ç†å‡½æ•ŽÍ¼Œòq¶å°†å…¶æ³¨å†Œåˆ°å®¹å™¨å›_¯å®žçŽ°æ•´ä½“åŠŸèƒ½çš„æ›´æ–°ã€?br /> (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng)两个框架¾lè¿‡å¯ÒŽ(gu¨©)¯”不难看出å…?strong>优点</strong>åQŒæ–°çš„æ¡†æž¶åœ¨æ–°å¢žåŠŸèƒ½æ—Óž¼š(x¨¬)<br /> (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng)1.避免äº?ji¨£n)重复的调用代码åQ?br /> (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng) (t¨©ng)2.仅仅修改一处地斏V€?br /></p></font> <img src ="http://www.aygfsteel.com/tw-ddm/aggbug/82645.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/tw-ddm/" target="_blank">大大æ¯?/a> 2006-11-22 01:17 <a href="http://www.aygfsteel.com/tw-ddm/articles/82645.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">³¯ÑôÏØ</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>