Oracle神諭

            BlogJava :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理 ::
            284 隨筆 :: 9 文章 :: 106 評論 :: 0 Trackbacks
          <2025年6月>
          25262728293031
          1234567
          891011121314
          15161718192021
          22232425262728
          293012345

          常用鏈接

          留言簿(16)

          隨筆分類

          隨筆檔案

          文章分類

          文章檔案

          網友blog

          搜索

          最新評論

          閱讀排行榜

          評論排行榜

          #

          daunting? 令人畏縮的
          dispel 【dis.pel】 驅散
          pertinent 【per.ti.nent】有關的

          skeleton? 【skel.e.ton】 構架,支持結構或構架
          myriad? 【myr.i.ad】 無數的
          slam (使勁地)往下放(扔)
          likewise 同樣地
          nowadays 現在的 當前的
          forgo 『for.go』 作罷 放棄
          progressive 『pro.gres.sive』 前進的 進步的
          scare 『scare』 恐懼
          drawback 『draw.back』劣勢 缺點
          With all the books around nowadays citing these issues as a major drawback of new technology,many web developers forgo progressive design because these books have scared them.

          timid 『tim.id』 膽小的
          borther with 為...而費心 以...而煩憂

          preventBackButtonFix:false
          dojo.require("dojo.undo.browser");

          bulky? 容量大的

          Package Essentials:

          essential  『es.sen.tial』本質

          posted @ 2006-05-06 18:10 java世界暢談 閱讀(395) | 評論 (0)編輯 收藏

          headquarter [head.quar.ter] 設公司于...
          convince 【con.vince】 使確信、使信服

          That said, the reason you're probably? looking the at Dojo is to fill a need specifically reated to areas where Javascript falls short, the areas where Dojo shines.

          assistance 『as.sis.tance』協助
          convention 【con.ven.tion】 大會、協定
          descendant 【de.scen.dant】 子孫、后代、后裔? 派生物
          in itself 本質上

          realm 領域

          philosophy 【phi.los.o.phy】哲學體系
          posted @ 2006-05-05 15:08 java世界暢談 閱讀(341) | 評論 (0)編輯 收藏

          Framework(框架)

          In software development, a framework is a defined support structure in which other project can be organized and developed. A framework typically consists of several smaller components; support programs, libraries, and a scripting language. There may also be other software involved to aid in development and meshing of the different components of a project. As you can see, dojo could be part of a framework, but it isn't a framework in itself.

          在軟件開發中,一個框架是一個被定義的支持結構,在其中其他項目可以被組織和開發。一個框架代表性地包含需要小的組件、支持程序、類庫、和一個腳本 語言。這些也可能是其他軟件包括幫助開發和不同的項目組件編制。如你看到的,dojo可能是框架的一部分,但是本質上它本身不是一個框架。

          Library(庫)

          A library is defined as a collection of related functions and subroutines used to develop software. They are distinguished from executables in that they are not independant programs; rather, they are "helper" code that provide access to common functions in one easy to manage location. After reading this you are probably saying, "Hey! dojo is a collection of libraries!", and you would be correct; however, dojo is much more than just a collection of libraries.
          庫被定義為一個相關功能和被用來開發軟件的子程序的集合。他們區別于執行,在其中他們不是獨立的程序;更適合的,他們是“助手”代碼,用來支持通過通用 成為一體的功能容易來進行管理。在讀完這些,你可能說,“嗨!dojo是一個庫的集合”,你可能是正確的,然而,dojo不僅僅是做為一個庫的集合。

          Toolkit(工具)

          Now on to toolkits. A toolkit is generally used in reference to graphical user interface (GUI) toolkits. Basically, a library that is mainly focused on creating a GUI. Yes, dojo could also fall under this category, in fact our name implies it. Why do we call dojo a toolkit? Certainly not because it focuses mainly on GUI development, right? Well quite simply, because dojo is so much more than just a collection of libraries.

          現在說說toolkits. 一個工具通常被用在參考圖形用戶界面工具。基礎地,一個類庫主要集中在創建一個GUI。是地,dojo可被歸入這個類別,實際上我們命名暗示了它,為什么 我們叫dojo是一個工具?當然不是因為它主要集中在GUI開發,正確么?很好,其實很簡單,因為pojo不僅僅是一個庫的集合。

          posted @ 2006-05-05 13:22 java世界暢談 閱讀(977) | 評論 (0)編輯 收藏

          Dojo is an Open Source DHTML toolkit written in JavaScript. It builds on several contributed code bases (nWidgets, Burstlib, f(m)), which is why we refer to it sometimes as a "unified" toolkit. Dojo aims to solve some long-standing historical problems with DHTML which prevented mass adoption of dynamic web application development.

          ??? Dojo是一個使用Javascript編寫的開源DHTML工具。它建立于很多已捐獻的代碼基礎(nWidgets、Burstlib、f(m)),這 是為什么我們談到它有時是一個"統一"的工具。Dojo致力于解決一些長期存在的伴隨DHTML的歷史問題,趟阻止大多數采用動態web應用程序開發。

          Dojo allows you to easily build dynamic capabilities into web pages and any other environment that supports JavaScript sanely. You can use the components that Dojo provides to make your web sites more useable, responsive, and functional? With Dojo you can build degradeable user interfaces more easily, prototype interactive widgets quickly, and animate transitions.? You can use the lower-level APIs and compatibility layers from Dojo to write portable JavaScript and simplify complex scripts. Dojo's event system, I/O APIs, and generic language enhancement form the basis of a powerful programming environment. You can use the Dojo build tools to write command-line unit-tests for your JavaScript code.? You can use the Dojo package system to make your code easier to maintain and less platform dependent.? The Dojo build process helps you optimize your JavaScript for deployment by grouping sets of files together and reuse those groups through "profiles".

          Dojo允許你容易地建立動態性能到web頁面和其他穩健支持javascript地環境中。.你可以使用Dojo支持組件,它使你的web站點更有可用行的。伴隨dojo,你可以更容易地建立degradeable用戶界面,迅速地原型交互飾件和動畫轉變。你可以使用底層地api和兼容層,從Dojo到寫輕便的Javascript和簡單復雜教本。Dojo的事件系統,I/O api,和泛型語言增強組成強大的程序環境的基礎。 你可以使用dojo建造工具來為你的Javascript代碼寫命令行單元測試。你可以使用Dojo 包系統來使得你的代碼更容易去維護和更少平臺依賴。 Dojo建造過程幫助你優化你的Javascript為你的部署,它通過一起分組文件集合和通過"profile"重用這些組。

          Dojo does all of these things by layering capabilities onto a very small core which provides the package system and little else. When you write scripts with Dojo, you can include as little or as much of the available APIs as you need to suit your needs. Dojo provides MultiplePointsOfEntry, InterpreterIndependence, ForwardLookingAPIs, and focuses on ReducingBarriersToAdoption.

          Dojo處理所有這些事情,通過分層能力分解成一些非常小的和核心,它支持包系統和其他更少的。單你寫是使用Dojo寫腳本,你可以包含作為很少或 者同樣多可用的api作為你需要滿足你的需要的。Dojo支持MutiplePointsOfEntry, InterprerterIndependence, ForwardLookingAPIs, 和集中ReducingBarriersToAdoption.

          Dojo is being built around a single markup language that will provide application authors with a (more) simple way of declaring and using responsive DHTML interface components. Renderings may be made available in several rendering contexts (such as SVG, or perhaps even the desktop or Flash), but the markup language (DojoML) and scripting language (JavaScript) will not change. Better yet, the DojoML parser accepts extended HTML and SVG as valid input, and can be used to easily create DegradeableResponsiveApplications.

          Dojo是一個被建造在一個單一的標記語言,它將支持應用程序作者采用一個(多個)簡單方法來聲明和使用作出響應的DHTML界面組件。表現在許多表現上下文(例 如:SVG,或甚至可能桌面或flash)可能被合法化,但是標記語言(DojoML)和腳本語言(Javascript)將不改變。然而更好的, DojoML 解析器接受已擴展的HTML和SVG作為一個合法的輸入,并且可以被容易的創建DegradeableResponsiveApplications.

          posted @ 2006-05-05 11:29 java世界暢談 閱讀(1145) | 評論 (0)編輯 收藏

          simplicity (sim.plic.i.ty)? 簡單 簡易
          fundamental(fun.da.men.tal) ?基礎的
          extraction(ex.trac.tion)? 摘要
          transformation(trans.for.ma.tion)? 轉變
          verbatim(ver.ba.tim) 逐字的
          substantial (sub.stan.tial) 堅實的
          posted @ 2006-04-19 23:02 java世界暢談 閱讀(302) | 評論 (0)編輯 收藏

          1.增加了一個圖形編輯器。呵呵~~,以后簡單的東西,在Eclipse中就可以編輯了!
          2.Spring和Hibernate的自動集成
          3.Jsp Editor,其實這個東西,我們一般是不做使用的。以前的版本出現的經常性打開很慢的情況。
          4.UML圖形
          5.Javascript
          posted @ 2006-04-19 22:35 java世界暢談 閱讀(378) | 評論 (0)編輯 收藏

          The MyEclipse JavaScript Debugger is?the first?fully integrated?client-side Eclipse debugger for JavaScript. Feature highlights include:
          MyEc Javascript 調試器試首個為Javascript。完整集成客戶端Eclipse調試器。特征主要包含:

          • Debug any web page containing JavaScript source or included JavaScript files, or standalone JavaScript files
          • 調試任何web頁面包含Javascript 源代碼或包含Javascript 文件,或者單獨的Javascript文件
          • Operations: Pause, Resume, Step Into, Step Over, Step to Return, Terminate
          • 操作:暫停、重新開始、進入、跳出、跳入返回、終止
          • Views: 視圖
            • Web Browser View (web 瀏覽器視圖)
            • Call Stack View? (呼叫堆棧視圖)
            • Variables View (變量視圖)
            • Console View? (控制臺視圖)
          • Set JavaScript breakpoints in: 設置javascript斷點
            • JavaScript?files (Javascript文件)
            • HTML with embedded JavaScript and linked JavaScript files (包含內置的javascript和關聯的javascript文件的HTML)
            • JSP?files (jsp 文件)
            • Conditional breakpoints planned for MyEclipse 4.1.1 (為MyEC的有條件的斷點計劃)
          • Integrates with Eclipse Launch Manager (集成Eclipse發行管理器)
            • Quick launch from context-menu using "Debug As" (使用Debug As 迅速調用上下文按鈕)
            • Launch from Eclipse Debug toolbar action (從Eclipse 調試工具條行為中調用)
            • Use Launch Profile to modify launch configuration ()
            • Launch JavaScript resource from project location or deployed MyEclipse web-application
          posted @ 2006-04-19 22:24 java世界暢談 閱讀(5896) | 評論 (2)編輯 收藏

          ?????? 兒子現在已經快五個月了,胖胖的臉龐,和我一樣的眼睛,時而發出“嗯嗯....”的聲音。現在洗澡多了,也不像以前那樣“哇哇”哭了,開始能玩水了。
          ??
          posted @ 2006-04-18 22:53 java世界暢談 閱讀(228) | 評論 (0)編輯 收藏

          Intro

          I am rendering a chart to the output stream. Instead of streaming it directly to the response.out, I create a ChartResult , and let webwork do the chaining for me.

          I generate the chart in one class, and I render it out in another class, efftectively decoupling the view from the actions. You can easily render it out to file or some view other than a web response.out if you wish.

          Configuration
          xwork.xml -result-types definitions
          <result-types>
          ?? <result-type name="chart" class="myapp.webwork.extensions.chartResult"/>
          </result-types>
          xwork.xml -action definitions
          <action name="viewModerationChart" class="myapp.webwork.actions.ViewModerationChartAction">
          ?? <result name="success" type="chart">
          ????? <param name="width">400</param>
          ????? <param name="height">300</param>
          ?? </result>
          </action>

          Source Codes
          My result class search for a "chart" in the ValueStack and renders it out...

          public class ChartResult implements? Result{
          ?? private int width;
          ?? private int height;
          ?? public void execute(ActionInvocation invocation)throws Exception{
          ?????? JFreeChart chart = (JFreeChart)invocation.getStack().findValue("chart");
          ?????? HttpServeletResponse response = ServeletActionContext.getResponse();
          ?????? OutputStream os = response.getOutputStream();
          ?????? ChartUtilities.writeChartAsPNG(os,chart,width,height);
          ?????? os.flush();
          ?? }
          ?????
          ?? public void setHeight(int height){
          ???? this.height=height;
          ?? }
          ??
          ?? public void setWidth(int width){
          ???? this.width=width;
          ?? }
          }

          public class ViewModerationChartAction extends ActionSupport{
          ?? private JFreeChart chart;
          ??
          ?? public String execute() throws Exception{
          ????? //chart creation logic ...
          ????? XYSeries dataSeries = new XYSeries(new Integer(1));
          ????? for(int i=0;i<=100;i++){
          ???????? dataSeries.add(i,RandomUtils.nextInt());
          ????? }
          ?????
          ????? XYSeriesCollection xyDataset = new XYSeriesCollection(dataSeries);
          ????? ValueAxis xAxis = new NumberAxis("Raw Marks");
          ????? ValueAxis yAxis = new NumberXxis("Moderated Marks");
          ?????
          ????? chart = new JFreeChart(
          ????????????????????? "Moderation Function",
          ????????????????????? JFreeChart.DEFAULT_TITLE_FONT,
          ????????????????????? new XYPlot(
          ??????????????????????????? xyDataset,
          ??????????????????????????? xAxis,
          ??????????????????????????? yXis,
          ??????????????????????????? new
          ?????????? StandardXYItemRenderer(StandardXYItemRender.LINES),
          ??????????????????????????? false????????????????
          ????????????????????? );
          ????????????????????? ...
          ????? )
          ?? }
          ??
          ?? public JFreeChart getChart(){
          ????? return chart;
          ?? }
          }

          posted @ 2006-04-11 11:55 java世界暢談 閱讀(319) | 評論 (0)編輯 收藏

          黃浦江畔
          心情空虛失落
          窗外陰陰彌漫
          是需一場大雨
          撫平心中之不快


          ?

          posted @ 2006-04-04 16:23 java世界暢談 閱讀(145) | 評論 (0)編輯 收藏

          僅列出標題
          共29頁: First 上一頁 18 19 20 21 22 23 24 25 26 下一頁 Last 
          主站蜘蛛池模板: 襄垣县| 古浪县| 永新县| 右玉县| 澳门| 昭觉县| 牙克石市| 荥经县| 富川| 沂源县| 南城县| 曲松县| 北京市| 阳城县| 兴安盟| 涿鹿县| 白水县| 沿河| 兴安县| 湖北省| 五大连池市| 北川| 清新县| 江陵县| 靖宇县| 青海省| 黎川县| 游戏| 巫溪县| 淮南市| 天柱县| 方山县| 桐柏县| 娄烦县| 建始县| 凤冈县| 蓝田县| 教育| 台州市| 东山县| 桂东县|