Dorado learning (1): Basic environment to build and use

Dorado Introduction

        DORADO7 is BSTEK has introduced a whole new generation of middleware technology show, BSTEK aid of his long experience in the field of J2EE, and after the use of creativity and a keen grasp of AJAX technology, continued to show in the field of middleware to launch its own brand products which DORADO5 is the second eXTRA3, DORADO4, DORADO5 another milestone product.

        As an enterprise-class AJAX interactive Web application development platform and operating platform, Java technology system to fill the Web presentation layer architecture blank, with the support of three-dimensional data model OPOB design patterns, significantly enhanced Web performance, operability and data carrying capacity, enhance the user experience, strengthen the normative development and improve development efficiency, shorten the project duration, enhance the manageability of the project.

DORADO7 engine platform is the next generation web applications, which helps enhance the user experience and interaction efficiency Web applications, and significantly enhance the development efficiency. Based dorado can quickly create Rich Internet Application with AJAX applications, the B / S application to retain the advantages of C / S applications. dorado filled the architecture J2EE architecture blank expression business interactions to automated standardization of practices, low cost, fast implementation of business interaction layer (including the user interface, human-computer interaction, interface and interaction backstage, etc.) the user needs, respond quickly to demand change, while improving the efficiency of business operations of the user.

Some commonly used documents:
Tutorial: http://wiki.bsdn.org/pages/viewpage.action?pageId=8355843
some controls usage: http://bsdn.org/projects/dorado7/deploy/sample-center/com. # 33800 bstek.dorado.sample.Main.d
API: http://dorado7.bsdn.org/jsdoc/

Process Engine: http://wiki.bsdn.org/pages/viewpage.action?pageId=30441763&tdsourcetag=s_pctim_aiomsg

Development environment to build

Install the browser

Recommend installing Chrome or FireFox browser
in Dorado7 in development, we recommend using the Chrome browser, do BS developed in Chrome developer tools it provides are an indispensable tool for web designers, and its quite powerful, effective control it will greatly improve the efficiency of your development.

JDK installation and configuration

You first need to download the JDK (Java Development Kit), you may already have other versions of the JDK, for the stability of the overall development environment is generally recommended to use jdk1.6 or later, in this section we download and install jdk1.7.

JDK environment variables need to configure the download after installation is complete:

  • New system variables which JAVA_HOME variable, the variable value: jdk installation path
  • New classpath variable, the variable value:.;%JAVA_HOME%\lib;%JAVA_HOME%\lib\tools.jar
  • Finally, we in the path variable, add the variable values: %JAVA_HOME%\bin;%JAVA_HOME%\jre\bin(with a note between the value of the variable ";" to separate)

Finally, verify that JDK configuration is successful
, enter the following command at the command line: java -version, if JDK version information appears, the JDK is configured correctly

Mysql Installation and Configuration

Dorado IDE installation and configuration

The machine is not configured Eclipse

If the machine is not yet installed Eclipse-configured environment, the most convenient way is to directly download the bsdn All-in-One development package, once and for all. We strongly recommend downloading All-in-One Development Kit.
Download: http://www.bsdn.org/projects/dorado7/download



This machine is configured Eclipse

If the machine has already been configured Eclipse environment, who has developed other projects and do not want to repeat the installation configuration Eclipse or MyEclipse is already installed, then how to do it?
Quite simply, we still need to download Dorado7 IDE plug-in package.
Download: http://www.bsdn.org/projects/dorado7/download



Select Download] [dorado-7.3.0-without-eclipse.zip, save the file to the machine.
Next we enter dorado-7.3.0-without-eclipse eclipse directory folder dropins directory, under which all of the folders copied to the machine configuration we dropins good directory under Eclipse directory, then restart Eclipse that is can.


Note: The machine configuration is the best Eclipse Eclipse IDE for Java EE Developers3.7 edition or above, or can not install successfully

Application Server Installation and Configuration

Tomcat installation and configuration

Installation and configuration of the Jetty plugin

Creating your first project

New Dorado7 project

After completion of the run Eclipse, the left side of the Package Explorer view, right-click [] in the pop-up menu, select [New ...] in the pop-up secondary menu select [create] Dorado project



The next screen displays project creation wizard:



Enter a project name, click [Finish] button to complete the project creation



After the project is created, the Package Explorer view, you can see the following directory structure just created the project, which is a standard Dynamic Web Module type of project, but also a Dorado7 project.

Run the project and verify

After the run is complete Eclipse, the left Package Explorer view, standardlesson the mouse to select items, right-click [], as shown below:



鼠标选择【Debug As】,在显示的二级菜单中选择【Run Jetty】,则项目便以Debug方式启动,启动成功后,可以切换到Console标签页下看到详细的启动日志,Console标签页位置:



我们在Console标签页下可以看到相关的Dorado日志信息

在项目成功运行后,我们还需要完成一项工作即更新Dorado配置规则。在Dorado开发中,我们经常会升级dorado提供的jar包,或引入一些新的dorado add on。一般情况下升级jar都只要将工程lib下的jar替换就可以。但是在某些特殊情况下:

  • 某个控件新增了几个新的属性,但是IDE的编辑器中无法看到;
  • dorado-core提供了新的控件,但是IDE中无法看到;
  • 新引入的dorado add on的jar包自带了一些dorado控件,但是IDE中无法看到;

这种情况下我们就必要更新Dorado的规则文件,Dorado的IDE是根据规则文件动态提供控件的编辑界面的。规则文件的更新办法如下:

首先右键单击工程的根节点,找到其中的更新Dorado配置规则菜单,单击执行规则更新,如下图所示:


关于配置规则更详细的说明请参考: 规则文件更新办法

Guess you like

Origin www.cnblogs.com/wbyixx/p/11261706.html