畢業(yè)設計-新聞發(fā)布系統(tǒng)論文.doc_第1頁
畢業(yè)設計-新聞發(fā)布系統(tǒng)論文.doc_第2頁
畢業(yè)設計-新聞發(fā)布系統(tǒng)論文.doc_第3頁
畢業(yè)設計-新聞發(fā)布系統(tǒng)論文.doc_第4頁
畢業(yè)設計-新聞發(fā)布系統(tǒng)論文.doc_第5頁
已閱讀5頁,還剩43頁未讀, 繼續(xù)免費閱讀

下載本文檔

版權說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權,請進行舉報或認領

文檔簡介

新聞發(fā)布系統(tǒng)新聞發(fā)布系統(tǒng) 摘摘 要要 我們從學校的實際情況出發(fā),經(jīng)過對在線新聞發(fā)布事項的一番考察和分析, 在對新聞需求的分析基礎上,確立了新聞發(fā)布系統(tǒng)的具體實現(xiàn)功能。并闡述系 統(tǒng)的結構設計和功能設計,實現(xiàn)新聞的分類顯示,最近新聞的提示,新聞滾動 功能等。經(jīng)過授權的用戶可以通過 web 瀏覽器,以人機交互式的客戶端程序?qū)?現(xiàn)對新聞的發(fā)布、管理、實時的進行行為統(tǒng)計和記錄。本系統(tǒng)具有很好的外部 接口,能夠很好的配合站點的其它子系統(tǒng)服務于新聞發(fā)布。 關鍵字: 新聞顯示 欄目管理 新聞發(fā)布 文件上傳 abstract we proceed from actual conditions of the school, through some investigation and analysing of the online news briefing item, on the basis of analysis on demand of the news , have established realizing the function concretly of the news briefing system. explain systematic structural design and function are designed , realize the classification of the news shows, the suggestion of the news recently, news rolls function ,etc users authorized can pass web browser, realize the issue , management , real-time counting and writing down the behavior to the news with the man-machine interactive customer end procedure . this system has very good outside interface , other subsystems that can well match the website serve news briefing. key word: the news showing the column managing news briefing the file uploading 目錄目錄 摘 要.1 abstract2 第一章 引言.5 第二章 系統(tǒng)設計方案的研究.5 第三章 asp 技術綜述 .7 3.1 iis 與 asp 的結合 7 3.2 asp 的內(nèi)部特點 8 3.2.1 asp 內(nèi)部 6 大特點 8 3.2.2. global 文件 8 3.3 利用 ado 訪問數(shù)據(jù)庫9 3.3.1.創(chuàng)建數(shù)據(jù)源名.10 3.3.2.創(chuàng)建數(shù)據(jù)庫鏈接.10 3.3.3.創(chuàng)建數(shù)據(jù)對象.11 3.3.4.操作數(shù)據(jù)庫.11 3.3.5關閉數(shù)據(jù)對象和鏈接對象12 3.4 asp 與 cgi 的比較 .12 第四章 系統(tǒng)的開發(fā)環(huán)境及需求14 4.1 開發(fā)目的.14 4.2 項目背景.14 4.3 開發(fā)環(huán)境.14 4.3.1 硬件條件.14 4.3.2 系統(tǒng)平臺.14 4.3.3 系統(tǒng)工具.14 4.3.4 運行需求.15 第五章 系統(tǒng)的結構設計16 5.1 數(shù)據(jù)庫的搭建 .16 5.2 系統(tǒng)數(shù)據(jù)庫的結構設計 .16 5.3.建立與數(shù)據(jù)庫的連接.18 5.4 系統(tǒng)模塊說明 .19 第六章 系統(tǒng)的功能設計20 6.1 前臺新聞顯示.20 6.2 后臺新聞管理.20 第七章 系統(tǒng)的功能說明21 7.1 前臺顯示說明.21 7.2 后臺管理員管理說明.22 7.2 .1 后臺管理員登錄 22 7.3 后臺新聞管理 .24 7.3.1 類型管理 .24 大類管理 .27 小類管理 .28 7.3.2 新聞管理 .30 7.3.3 友情鏈接管理 .35 7.3.4 投票管理 .38 7.3.5 上傳文件管理 .38 第八章 結論43 致謝.44 附:參考文獻44 第一章第一章 引言引言 伴隨著網(wǎng)絡的出現(xiàn),網(wǎng)頁逐漸融入人們的生活??焖偌皶r的新聞瀏覽,五 彩繽紛的網(wǎng)上信息,使網(wǎng)絡與人們的生活息息相關,于是世界上又出現(xiàn)了第三 媒體internet。它打破了地域限制,真正使信息得以共享,改變了人們的 工作和生活方式。制作網(wǎng)頁是企業(yè)和個人的宣傳自己的重要手段,同時也是學 習者獲取學習信息的重要手段。尤其是在新聞信息領域,各種新聞信息的發(fā)布 分秒變換,人們對新聞信息的需求有了更新,更高的要求,而網(wǎng)頁由于本身所 具有的信息量大,傳遞快速,沒有時空限制等特點恰好滿足這種要求。所以網(wǎng) 頁也逐漸成為一種新興的信息發(fā)布資源。也正是由于網(wǎng)絡實現(xiàn)網(wǎng)站的數(shù)據(jù)信息 能夠進行實時交互,保證網(wǎng)站數(shù)據(jù)的實時性。 隨著 internet 的進一步發(fā)展,靜態(tài) web 站點的開發(fā)與維護變得越來越困難, 一方面信息的不斷增加和變化,使站點維護人員不得不經(jīng)常修改他們的網(wǎng)頁,特 別是基于數(shù)據(jù)庫驅(qū)動的 web 站點更是如此,隨著 internet 上信息量的增多和交 互性的加強使 html 顯得越來越難以勝任。另一方面靜態(tài)網(wǎng)頁由于不能與瀏覽者 進行有效交互,使人們感到越來越乏味,而不愿意再一次地進入同一站點。所以 開發(fā)動態(tài)網(wǎng)頁或動態(tài)內(nèi)容成了越來越多的站點所追求目標。所謂動態(tài)內(nèi)容是由 每一個用戶按照自己的需求發(fā)出請求而特殊制作的 web 網(wǎng)頁。 網(wǎng)絡發(fā)展前景無限,及早與網(wǎng)絡結合,與信息時代同步,與高科技匯合, 定會給社會各行各業(yè)的發(fā)展注入新鮮的活力。站在網(wǎng)絡時代的前夜,我們清晰 地聽到了網(wǎng)絡時代的宣言:誰掌握了網(wǎng)絡,誰就掌握了未來。 第二章第二章 系統(tǒng)設計方案的研究系統(tǒng)設計方案的研究 asp 全稱為 active server pages(動態(tài)服務器主頁) ,它是一種應用程序 環(huán)境,可以利用 vbscript 或 java script 語言來設計,主要用于網(wǎng)絡數(shù)據(jù)庫 的查詢與管理。其工作原理是當瀏覽者發(fā)出瀏覽請求的時候,服務器會自動將 asp 的程序碼,解釋為標準 html 格式的網(wǎng)頁內(nèi)容,再送到瀏覽者瀏覽器上顯 示出來。我們也可以將 asp 理解為一種特殊的 cgi。 利用 asp 生成的網(wǎng)頁,與 html 相比具有更大的靈活性。只要結構合理,一個 asp 頁面就可以取代成千上萬個網(wǎng)頁。盡管 asp 在工作效率方面較之一些新技 術要差,但勝在簡單、直觀、易學,是涉足網(wǎng)絡編程的一條捷徑。它具備一個 服務器端的腳本執(zhí)行環(huán)境,用它可產(chǎn)生和執(zhí)行動態(tài)的、交互的、高性能的 web 服務器應用程序。 active server 的另一大優(yōu)點是代碼的安全性。頁面的訪問者所能看到的 只是服務器方的處理結果。asp 文件可以用常規(guī)的文本編輯器編輯, asp 使用 vbscript、javascript 等腳本語言作為開發(fā)工具,鑲嵌于 html 文本中,使用 “將 asp 的程序包含起來。當用戶從瀏覽器向 web 服務器提出請求時, web 服務器會自動將 asp 的程序解釋為標準的 html 格式的主頁內(nèi)容,用戶端只 要使用常規(guī)可執(zhí)行 html 程序的瀏覽器,就可瀏覽 asp 所設計的主頁內(nèi)容,因此 與瀏覽器無關,并且保證了 asp 的源程序代碼不會外漏。 asp 中包括五個內(nèi)置的 activex 服務器組件和五個內(nèi)置的對象:database access component(數(shù)據(jù)庫訪問組件) 、file access component(文件訪問組 件) 、ad rotator component(廣告輪播器組件) 、content linking component(內(nèi)容鏈接組件) 、browser capabilities component(瀏覽器信組 件)以及 request(請求對象) 、server(服務器對象) 、session(會話對象) 、 response(響應對象) 、application(應用程序?qū)ο螅?。在所有 asp 組件中,最 有用的是數(shù)據(jù)庫訪問組件,也稱為 activex 數(shù)據(jù)對象或 ado。在站點發(fā)布數(shù)據(jù) 庫將使用這個組件及其中包含的對象,以完成對 odbc 數(shù)據(jù)源的讀寫。 此外,asp 技術的另一個重要特點是,程序員可以利用 java、visual basic、 visual c+等語言制作適應自己特殊需要的 activex 服務器組件來擴 充 asp 的功能,使自己的動態(tài)網(wǎng)頁幾乎具有無限的擴充能力,這是傳統(tǒng)的 cgi 程序所不及的。 總而言之 asp 具有學習快、設計快的特點,不需花許多時間即可學會和快 速設計出 web 應用程序。asp 的源程序碼在服務器端執(zhí)行,代碼保密性好。集 成與 html 中,無需編譯鏈接可直接執(zhí)行,而且使用文本編輯器即可設計。 第三章第三章 aspasp 技術綜述技術綜述 3.13.1 iisiis 與與 aspasp 的結合的結合 在過去,客戶機/服務器結構的設計與 web 的相關技術幾乎處于平行線上, 兩者相互獨立并無法作出集成性的設計?,F(xiàn)在我們利用 iis+asp 構成三層式 web 結構(如圖 1 所示)的中間一層,將客戶機/服務器結構與 web 密切結合, 完成前后端兩者的集成輸出功能,使得 web 站點的開發(fā)更方便,實現(xiàn)的功能更 強大。 利用 iis+asp 技術來集成 web 前后端所帶來的強大效益可歸結為以下幾個 方面: 1. 減少構建和維護成本 2. 加快聯(lián)機過程 3. 應用軟件集中在服務器端開發(fā)管理 4. 前端可使用任何瀏覽器(ie、netscape) 5. 后端可存取任何數(shù)據(jù)庫 (sql、access) 6. 可使用任何腳本語言開發(fā) (vbscript、javascript、perl) (圖 1) 程序和計算邏 輯 前端瀏覽 器 activex server 元件 activex server 元 件 后端數(shù)據(jù) 庫 數(shù)據(jù)庫服務 器 microsoft iis + asp 瀏覽器 3.23.2 aspasp 的內(nèi)部特點的內(nèi)部特點 .1 aspasp 內(nèi)部內(nèi)部 6 6 大特點大特點 asp 提供了 6 個功能強大的內(nèi)部對象,每個對象具有各自的屬性 (property) 、方法(method) ,有的還擁有數(shù)據(jù)集合(collection)與事件 (event) ,它們共同完成 web 中的一些重要工作。這 6 個對象及其功能描述如 表 1 所示: 對象名稱功能描述 request 從客戶端取得信息 response 將信息送給客戶端 server 提供一些 web 服務器工具 session 儲存在一個 session 內(nèi)的用戶信息,該信息僅可被 該用戶訪問 application 在一個 asp-application 中讓不同的客戶端共享信 息 objectcontext 配合 microsoft transaction 服務器進行分布式事 務處理 (表 1 asp 內(nèi)部 6 大對象及其功能) 合理地運用這些對象可以使原本復雜,煩瑣的工作變得簡捷而條理清晰。 我們可以用以下的語法直接使用這些對象:對象/屬性/方法/數(shù)據(jù)集合。 .2.2. globalglobal 文件文件 每一個以 active server pages 為基礎的應用程序都擁有一個 global.asa 文件(asa 后綴名其實是 active server application 的縮寫) ,它位于每一個 應用程序的基點目錄之下。當 active server pages 做下面兩個動作時, server 便會去讀 global.asa 文件: .web server 啟動之后,一個應用程序目錄中任一個 asp 文件被提出第 一個 http 請求(request)時。 . 不具有任何 session 的客戶端向 server 請求一個 asp 文件時。 前面已經(jīng)提到 application 和 session 這兩個 asp 的內(nèi)部對象。 application 對象內(nèi)的信息供所有正在執(zhí)行該應用程序的用戶分享,它創(chuàng)建于 web server 啟動后一個應用程序中任一 asp 文件被提出第一個 http 請求時, 結束于 server 端停止運行。而 session 對象僅屬于一位用戶,維持一個用戶端 的信息,其他用戶無法訪問,它創(chuàng)建于一個不具有 session 的用戶向 server 請 求一個 asp 文件時,結束于該 session 到期(即用戶端超過某時間段沒有向 server 提出要求或刷新 web 頁面)或 abandon 語句的調(diào)用。可見,global.asa 文件的調(diào)用與 application 與 session 這兩個對象密切相關。事實上我們通常 在 global。asa 文件中寫入以下內(nèi)容: application 或 session 的開始事件(start-event) 。 application 或 session 的結束事件 (end-event)。 這樣,在一個 application 或 session 對象被創(chuàng)建或結束時,系統(tǒng)會自動 完成 global.asa 文件中寫入的相應事件。值得注意的是,如果一個 application 與一個 session 同時開始,active server pages 會先處理 application 的開始事件,而如果一個 application 與一個 session 同時結束, active server pages 則會先處理 session 的結束事件。 3.33.3 利用利用 adoado 訪問數(shù)據(jù)庫訪問數(shù)據(jù)庫 ado(activex data objects)是一種操作 microsoft 所支持的數(shù)據(jù)庫的新 技術。在 asp 中,ado 可以看作是一個服務器組件(server component),更簡 單點說,是一系列的對象,應用這些功能強大的對象,即可輕松完成對數(shù)據(jù)庫 復雜的操作。本文中個性化頁面的實現(xiàn)便大量地用到了 ado 技術。具體的操作 步驟可以歸納為以下幾步: 創(chuàng)建數(shù)據(jù)庫源名(dsn) 創(chuàng)建數(shù)據(jù)庫鏈接(connection) 創(chuàng)建數(shù)據(jù)對象 操作數(shù)據(jù)庫 關閉數(shù)據(jù)對象和鏈接 每一步的做法如下: .3.1.創(chuàng)建數(shù)據(jù)源名創(chuàng)建數(shù)據(jù)源名 dsn(date source name)即數(shù)據(jù)源名稱。我們知道,odbc 是一種訪問數(shù)據(jù) 庫的方法,只要系統(tǒng)中有相應的 odbc 驅(qū)動程序,任何程序就可以通過 odbc 操 縱驅(qū)動程序的數(shù)據(jù)庫。比如我們系統(tǒng)中有 access 的 odbc 驅(qū)動程序,那么即使 我們沒有 access 軟件,也可以在我們的程序中對一個 access 的 mdb 數(shù)據(jù)庫加、 刪、改記錄。而且我們根本不用知道這個數(shù)據(jù)庫是放在哪里的。我們只要寫出 sql 語句,odbc 驅(qū)動程序就會幫我們做一切事情。我們在給 odbc 驅(qū)動程序傳 sql 指令時,即是用 dsn 來告訴它到底操作的是哪一個數(shù)據(jù)庫。如果數(shù)據(jù)庫的 平臺變了,比如我們改用了 sql server 的數(shù)據(jù)庫,只要其中表的結構沒變,我 們就不用改寫我們的程序,只要重新在系統(tǒng)中配置 dsn 就行了。由此可見,dsn 是應用程序和數(shù)據(jù)庫之間的橋梁。 .3.2.創(chuàng)建數(shù)據(jù)庫鏈接創(chuàng)建數(shù)據(jù)庫鏈接 鏈接用以保持一些關于正在訪問的數(shù)據(jù)的一些狀態(tài)信息,以及鏈接者信息。 asp 文件中如果要訪問數(shù)據(jù),必須首先創(chuàng)建與數(shù)據(jù)庫的鏈接,其語法如下: setset conn=server.createobject(“adobd.connection”) 這條語句創(chuàng)建了鏈接對象 conn,接下來: connstr=“provider=microsoft.jet.oledb.4.0;data.source=“ document.form1.bigclassname.focus(); return false; function checksmall() if (document.form2.bigclassname.value=“) alert(“請先添加大類名稱!“); document.form1.bigclassname.focus(); return false; if (document.form2.smallclassname.value=“) alert(“小類名稱不能為空!“); document.form2.smallclassname.focus(); return false; function confirmdelbig() if(confirm(“確定要刪除此文章大類嗎?刪除此大類同時將刪除所包含的小類,并且不能恢復!“) return true; else return false; function confirmdelsmall() if(confirm(“確定要刪除此文章小類嗎?一旦刪除將不能恢復!“) return true; else return false; 欄 目名稱 操 作選項 修改 刪除 修改 刪除 大類管理大類管理 從管理首頁的大類管理進入,可以進入大類的管理界面,對大類進行添加。 以下是大類添加的部分源代碼 sql=“select * from bigclass“ rs.open sql,conn,3,3 do while not rs.eof if rs(“bigclassname“)=typename set rs = server.createobject(“adodb.recordset“) sql=“select * from bigclass“ rs.open sql,conn,3,3 rs.addnew rs(“bigclassname“)=typename rs(“bigclasstype“)=bigclasstype if bigclasstype=0 then rs(“bigclassview“)=0 else rs(“bigclassview“)=1 end if rs(“bigclassid“)=howmany+1 rs(“bigclassmaster“)=“無“ rs.update rs.close set rs=nothing conn.close set conn=nothing response.redirect “admin_bigclassmana.asp“ % 小類管理小類管理 小類管理也類似于大類管理,從管理首頁的小類管理進入,可以進入小類的管理,對小類進行添加. 管理員可以任意的編輯公告信息進行發(fā)布,該模塊的特點是在進行公告信息的編輯進,提供了強大的文本編 輯工具.編輯好后直接進行發(fā)布.實現(xiàn)這一功能的代碼如下: 公告添加 function form_onsubmit(obj) validationpassed = true; if(obj.title.value = “) alert(“請?zhí)顚懝鏄祟}!“); validationpassed = false; return validationpassed; if(obj.auth.value = “) alert(“請?zhí)顚憜挝幻Q!“); validationpassed = false; return validationpassed; if(obj.order.value = “) alert(“請?zhí)顚懽髡呙Q!“); validationpassed = false; return validationpassed; 添加公告信息 標 題 單 位 作 者 詳細內(nèi)容 .2 新聞管理新聞管理 管理登錄進入新聞管理后進行新聞大類的選擇,產(chǎn)在小類中完成新聞信息的添加及發(fā)布.新聞信息運行圖如 下: 其中新聞信息列表的代碼如下: 文章管理 function confirmdel() if(confirm(“確定要刪除選中的文章嗎?一旦刪除將不能恢復!“) return true; else return false; 所有新聞 | | 下屬小類: 刪除 共有條記錄 分頁 .3 友情鏈接管理友情鏈接管理 管理員進入友情鏈接管理界面.,選擇友情鏈接類別,添加友情鏈接,在友情鏈接列表中,對鏈接進行修改和刪 除.運行圖如下: 其代碼實現(xiàn)如下: alert(“已經(jīng)存在此鏈接,請輸入其它的!“); location.href = “friendsiteadd.asp“; 欄目管理 function checksite() if (document.form2.linktype.value=“) alert(“請先選擇鏈接類別!“); document.form2.sitename.focus(); return false; if (document.form2.sitename.value=“) alert(“友情鏈接名稱不能為空!“); document.form2.siteurl.focus(); return false; if (document.form2.siteurl.value=“) alert(“友情鏈接地址不能為空!“); document.form2.siteurl.focus(); return false; 添 加友情鏈接 友情鏈接類別: 請選擇類別 搜索引擎 國外站點 國內(nèi)站點 專業(yè)站點 友情鏈接名稱: 友情鏈接 url: .4 投票管理投票管理 管理員登錄后對投票信息進行管理,分為類型設置,添加,修改投票項目和查 看在線投票顯示結果等管理. .5 上傳文件管理上傳文件管理 管理員登錄后,選擇在線文件上傳將文件編輯好后直接上傳到系統(tǒng)數(shù)據(jù)庫中,并 在前臺顯示出來.其實現(xiàn)的代碼如下: maxperpage*(currentpage-1) then % 字節(jié) 刪除 第八章第八章 結論結論 asp 從推出至今時間也不算漫長,由于它具有開發(fā)簡單,功能強和靈活等 優(yōu)點,現(xiàn)在已被廣泛接受,成為開發(fā)動態(tài)網(wǎng)絡站點的主要技術之一,有人聲稱 asp 已在 web 開發(fā)領域悄悄地進行著一場革命。今天已有上萬個 web 站點使用 了 asp 技術,其中包括許多 internet 中最大的站點。有人估計,在過去幾年中 ,asp 開發(fā)人員已達百萬之多,預計在今后的發(fā)展過程當中將會越來越多。asp 正慢慢成為動態(tài) web 應用程序開發(fā)環(huán)境的主流。 基于 web 的現(xiàn)代新聞發(fā)布系統(tǒng)是一種新型的新聞傳播方式,隨著現(xiàn)代信息 技術的發(fā)展,它將越來越受到人們的關注并逐步取代傳統(tǒng)的新聞發(fā)布形式,21 世紀它將成為構筑電子新聞體系的主要手段。而基于 web 的動態(tài)交互式新聞發(fā) 布系統(tǒng)則是現(xiàn)代新聞發(fā)布網(wǎng)絡中不可缺少的一部份。 本文提出了一種基于 web 的學校新聞發(fā)布系統(tǒng),該系統(tǒng)的在線發(fā)布,多欄 目管理,使新聞信息及時、準確的得以發(fā)布。用戶可以接投票,使用戶的意見 和需求能夠及時的得以提出,收集系統(tǒng)的不足和改進方法.利用 asp 技術實現(xiàn)的 新聞能夠及時的得以發(fā)布是一項很有效方法,這種組建的方式,可以應用于網(wǎng) 站的其它欄目。又由于 asp 編程所用的 vbscript 與 jscript 語言較其它語言 較簡潔、易操作、功能較強非常適合廣大用戶進行網(wǎng)站的開發(fā)。 asp 雖然提供了功能強大的 web 應用程序開發(fā)環(huán)境,但和其它技術一樣,它 也存在著某些缺點。web 服務器還不支持 asp 的運行。但 asp 畢竟是軟件霸主 微軟精心設計的一個寵兒,人們不得不慢慢向它靠攏,現(xiàn)在越來越多的 web 服務 器已開始支持 asp。以信息網(wǎng)站為核心的 web 信息系統(tǒng)建設方興未艾,運用新 技術進行創(chuàng)新的應用開發(fā),提高網(wǎng)絡系統(tǒng)應用成效將是一個不竭的課題。 由于本人學習 asp 不長時間,程序的設計方面存在有缺點,有些簡單的想法卻 用了很長的代碼來實現(xiàn)造成了代碼冗余,還有部分想法沒有實現(xiàn)。我將在今后 的學習中不斷完善自己。 致謝致謝 通過這次畢業(yè)設計,我學會了綜合的運用大學四年學的東西,學會了用嚴謹 的軟件工程學來做設計,為我走向社會打下了一個不錯的基礎,從一開始的比較 迷茫,到最后能成功完成了這次設計,這里面有老師同學的幫助,也有自己努力。 在這里我要感謝 xx 老師,他在這次畢業(yè)設計中給了我很大的幫助。 附附: :參考文獻參考文獻 1 龍馬工作室,asp+sql server 組建動態(tài)網(wǎng)站實例精講,人民郵電出版社, 2004 2 王國榮,asp.net 網(wǎng)頁制作教程從基本語法學起,華中科技大學出版社, 2002 3 薩師煊,王珊.數(shù)據(jù)庫系統(tǒng)概論.(第三版).北京:高等教育出版社,2000 4 張海藩.軟件工程.北京:人民郵電出版社,2001 5 陳恭和.數(shù)據(jù)庫基礎與 access 應用教程.北京:高等教育出版社,2003 6 陳春玲,陳丹偉,李頻.軟件工程與數(shù)據(jù)庫概論.西安:西安電子科技大學出 版,2002 7 craig.s.mullins. database administration: the complete guide to practices and procedures.李天柱,任建利,肖艷芹.北京:電子工業(yè)出版社, 2003 8 martin fowler. refactoring: improving the design of existing code. 侯捷,熊節(jié).北京:中國電力出版社,2003 9richard whitehead. leading a software development team:a developers guide to successfully leadingpeople and projects. 吳志明. 北京:電子工業(yè)出版社,2002 anyway, i was here in amber some years ago. not doing much of anything. just visiting and being a nuisance. dad was still around, and when i noticed that he was getting into one of his grumpy moods, i decided it was time to take a walk. a long one. i had often noticed that his fondness for me tended to increase as an inverse function of my proximity. he gave me a fancy riding crop for a going- away present-to hasten the process of affection, i suppose. still, it was a very nice crop-silver-chased, beautifully tooled-and i made good use of it. i had decided to go looking for an assemblage of all my simple pleasures in one small nook of shadow. it was a long ride-i will not bore you with the details-and it was pretty far from amber, as such things go. this time, i was not looking for a place where i would be especially important. that can get either boring or difficult fairly quickly, depending on how responsible you want to be. i wanted to be an irresponsible nonentity and just enjoy myself. texorami was a wide open port city, with sultry days and long nights, lots of good music, gambling around the clock, duels every morning and in-between mayhem for those who couldnt wait. and the air currents were fabulous. i had a little red sail plane i used to go sky surfing in, every couple of days. it was the good life. i played drums till all hours in a basement spot up the river where the walls sweated almost as much as the customers and the smoke used to wash around the lights like streams of milk. when i was done playing id go find some action, women, or cards, usually. and that was it for the rest of the night. damn eric, anywayl that reminds me again . . . he once accused me of cheating at cards, did you know that? and thats about the only thing i wouldnt cheat at. i take my card playing seriously. im good and im also lucky. eric was neither. the trouble with him was that he was good at so many things he wouldnt admit even to himself that there were some things other people could do better. if you kept beating him at anything you had to be cheating. he started a nasty argument over it one night-could have gotten serious-but gerard and caine broke it up. give caine that. he took my part that time. poor guy . . . hell of a way to go, you know? his throat . . . well, anyhow, there i was in texorami, making music and women, winning at cards and jockeying around the sky. palm trees and night- blooming wallflowers. lots of good port smells-spices, coffee, tar, salt-you know. gentlefolk, merchants, and peons-the same straights as in most other places. sailors and assorted travelers passing in and out. guys like me living around the edges of things. i spent a little over two years in texorami, happy. really. not much contact with the others. sort of postcard like hellos via the trumps every now and then, and that was about it. amber was pretty much off my mind. all this changed one night when i was sitting there with a full house and the guy across from me was trying to make up his mind whether or not i was bluffing. the jack of diamonds began talking to me. yes, that is how it started. i was in a weird frame of mind anyway. i had just finished a couple very hot sets and was still kind of high. also, i was physically strung out from a long days gliding and not much sleep the night before. i decided later that it must be our mental quirk associated with the trumps that made me see it that way when someone was trying to reach me and i had cards in my hand-any cards. ordinarily, of course, we get the message empty-handed, unless we are doing the calling. it could have been that my subconscious-which was kind of footloose at the time-just seized on the available props out of habit later, though, i had cause to wonder. really, i just dont know. the jack said, “random.“ then its face blurred and it said, “help me.“ i began getting a feel of the personality by then, but it was weak. the whole thing was very weak. then the face rearranged itself and i saw that i was right. it was brand. he looked like hell, and he seemed to be chained or tied to something. “help me,“ he said again. “im here,“ i said. “whats the matter?“ “. . . prisoner,“ he said, and something else that i couldnt make out. “where?“ i asked. he shook his head at that. “cant bring you through,“ he said. “no trumps, and i am too weak. you will have to come the long way around“ i did not ask him how he was managing it without my trump. finding out where he was seemed of first importance. i asked him how i could locate him. “l(fā)ook very closely,“ he said. “remember every feature. i may only be able to show you once. come armed, too. . . .“ then i saw the landscape-over his shoulder, out a window, over a battlement, i cant be sure. it was far from amber, somewhere where the shadows go mad. farther than i like to go. stark, with shifting colors. fiery. day without a sun in the sky. rocks that glided like sailboats across the land. brand there in some sort of tower-a small point of stability in that flowing scene. i remembered it, all right. and i remembered the presence coiled about the base of that tower. brilliant. prismatic. some sort of watch-thing, it seemed-too bright for me to make out its outline, to guess its proper size. then it all just went away. instant off. and there i was, staring at the jack of diamonds again, with the guy across from me not knowing whether to be mad at my long distraction or concerned that i might be having some sort of sick spell. i closed up shop with that hand and went home. i lay stretched out on my bed, smoking and thinking. brand had still been in amber when i had departed. later, though, when i had asked after him, no one had any idea as to his whereabouts. he had been having one of his melancholy spells, had snapped out of it one day and ridden off. and that was that. no messages either-either way. he wasnt answering, he wasnt talking. i tried to figure every angle. he was smart, damn smart. possibly the best mind in the family. he was in trouble and he had called me. eric and gerard were more the heroic types and would probably have welcomed the adventure. caine would have gone out of curiosity, i think. julian, to look better than the rest of us and to score points with dad. or, easiest of all, brand could have called dad himself. dad would have done something about it. but he had called me. why? it occurred to me then that maybe one or more of the others had been responsible for his circumstances. if, say, dad was beginning to favor him . . . well. you know. eliminate the positive. and if he did call dad, he would look like a weakling. so i suppressed my impulse to yell for reinforcements. he had called me, and it was quite possible that i would be cutting his throat by letting anyone back in amber in on the fact that he had gotten the message out. okay. what was in it for me? if it involved the succession and he had truly become fair-haired, i figured that i could do a lot worse than giv

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預覽,若沒有圖紙預覽就沒有圖紙。
  • 4. 未經(jīng)權益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責。
  • 6. 下載文件中如有侵權或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論