Java Architect

          導(dǎo)航

          <2007年7月>
          24252627282930
          1234567
          891011121314
          15161718192021
          22232425262728
          2930311234

          統(tǒng)計

          常用鏈接

          留言簿(2)

          隨筆檔案

          搜索

          最新評論

          閱讀排行榜

          評論排行榜

          2007年7月27日 #

          關(guān)于SAAS平臺的一點想法

          最近研究了幾個ERP,CRM的產(chǎn)品 象Sales force, Compeire, sugarCRM,覺得SAAS平臺無非需要提供以下可以高度定制的功能。

          1.  GUI
            • CSS
            • resources
            • menu/link
            • message i18n
            • form
            • GUI EventListener
          2. Business Object
            • business logic or call back
            • email
            • report charts
            • job scheduler
            • business rule
            • work flow
            • access control
            • asynchronous request.
          3. Database
           
          我覺得這里面最難的應(yīng)屬GUI的高度可定制化。本人正在想用GWT來做一個基于上面想法的SASS平臺,屆時軟件可真正實現(xiàn)快速按需打造。歡迎JAVA界的同仁多提寶貴建議。






          posted @ 2008-06-19 05:54 zrq 閱讀(1065) | 評論 (0)編輯 收藏

          sql statement

            Select obj
           
          from CommDeductionType obj
            
          where 1=1
              #
          if($obj)
               
          and obj.deductionTypeCode = #{obj.deductionTypeCode}
              #
          end

          posted @ 2007-09-08 02:50 zrq 閱讀(153) | 評論 (0)編輯 收藏

          Open laszlo


          Datapointers are not bound to views like datapaths are, but they do have a place in the view hierarchy—that is, they "know about" parents and children.
           1 
           2 <datapointer xpath="myData:/" ondata="processData()">
           3     <method name="processData">
           4       this.selectChild(2); 
           5       do {
           6         if (this.xpathQuery( '@show' ) == 'south park') {
           7             Debug.write(this.xpathQuery('firstName/text()'));
           8         }
           9       } while (this.selectNext()); 
          10     </method>
          11   </datapointer>
          12 
          13 

          Create data set at runtime

          LzDataset: var dset = new LzDataset(null, {name: 'mydset'})

          $path{} limitations
          A limitation of the $path{} constraint is that the expression it contains is evaluated only at the initialization time, that is, an expression such as $path{'mynode[' + i + ']/@attr'} will behave like a $once{} constraint.Custome

          Customize the data binding
          1 <view name="swatch" width="200" height="30" 
          2   datapath="colors:/value[1]/text()">
          3     <method name="applyData" args="v">
          4       setBGColor(eval(v))
          5       display.setText(v)
          6     </method>
          7   </view>

          $path{}


          datapath.setdatapointer

          <canvas height="150">
          <dataset name="phonebook" src="resources/phonebook.xml"/>
          <simplelayout axis="x" spacing="20"/>

          <view name="contacts" height="150" width="100">
          <view bgcolor="0xe0e0e0" datapath="phonebook:/contacts/contact"
          onmouseover="setBGColor(0xc0c0c0)" onmouseout="setBGColor(0xe0e0e0)"
          onclick="details.datapath.setPointer(this.datapath.p)">
          <simplelayout axis="x" spacing="5"/>
          <text datapath="@firstName" resize="true"/>
          <text datapath="@lastName" resize="true"/>
          </view>
          <simplelayout spacing="5"/>
          </view>

          <view id="details" width="150" height="150" bgcolor="0xe0e0e0" fgcolor="blue">
          <datapath/>
          <text datapath="@firstName"/>
          <text datapath="@lastName"/>
          <text datapath="@phone"/>
          <text datapath="@email"/>
          <simplelayout spacing="5"/>
          </view>
          </canvas>



          posted @ 2007-07-27 03:18 zrq 閱讀(195) | 評論 (0)編輯 收藏

          主站蜘蛛池模板: 尤溪县| 达孜县| 鄂州市| 定州市| 肇东市| 江阴市| 南充市| 台中县| 瑞安市| 习水县| 玛纳斯县| 合山市| 太白县| 古浪县| 麦盖提县| 佳木斯市| 磐安县| 隆化县| 文水县| 横峰县| 明水县| 定州市| 清河县| 黄大仙区| 板桥市| 阳江市| 赤壁市| 翁牛特旗| 山阴县| 海南省| 木兰县| 盐边县| 淮北市| 潢川县| 博客| 扬中市| 祁阳县| 安多县| 定结县| 西乡县| 江城|