Oracle神谕

  BlogJava :: 首页 :: 新随笔 :: 联系 :: 聚合  :: 管理 ::
  284 随笔 :: 9 文章 :: 106 评论 :: 0 Trackbacks

#

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世界畅谈 阅读(384) | 评论 (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世界畅谈 阅读(331) | 评论 (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世界畅谈 阅读(958) | 评论 (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世界畅谈 阅读(1132) | 评论 (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世界畅谈 阅读(290) | 评论 (0)编辑 收藏

1.增加了一个图形编辑器。呵呵~~,以后简单的东西,在Eclipse中就可以编辑了!
2.Spring和Hibernate的自动集成
3.Jsp Editor,其实这个东西,我们一般是不做使用的。以前的版本出现的经常性打开很慢的情况。
4.UML图形
5.Javascript
posted @ 2006-04-19 22:35 java世界畅谈 阅读(356) | 评论 (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世界畅谈 阅读(5873) | 评论 (2)编辑 收藏

       儿子现在已经快五个月了,胖胖的脸庞,和我一样的眼睛,时而发出“嗯嗯....”的声音。现在洗澡多了,也不像以前那样“哇哇”哭了,开始能玩水了。
  
posted @ 2006-04-18 22:53 java世界畅谈 阅读(215) | 评论 (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世界畅谈 阅读(305) | 评论 (0)编辑 收藏

黄浦江畔
心情空虚失落
窗外阴阴弥漫
是需一场大雨
抚平心中之不快


 

posted @ 2006-04-04 16:23 java世界畅谈 阅读(139) | 评论 (0)编辑 收藏

仅列出标题
共29页: First 上一页 18 19 20 21 22 23 24 25 26 下一页 Last