よく使ってます。部品を使いこなして工数を減らすには宜しいかと。
まぁー何を優先させるかが問われるのでしょうが、目的が見た目ではなく、その処理に限定されるのなら、これを使いたいと思う。

dhtmlx/memo

dhtmlx/live_updates

dhtmlx/scheduler

RDKit/Cartridge/web

必要なライブラリだけを dhtmlx.js にする。

結構大きいサイズであるdhtmlx.jsを最適化させます。
まず、「sources\libCompiler\conf」の

を確認して、不必要なライブラリを削除します。
注意
ただし、

  dhtmlxcommon.js  (必須)
    dhtmlxcore.js    (chart と dataviewに必須)
    dhtmlxcontainer.js (tabbar, layout, accordion と windows に必須)

は残した方がいいみたい。

例えばカレンダーが不要なら「stat_js」から

   dhtmlxCalendar/codebase/dhtmlxcalendar.js
   dhtmlxCalendar/codebase/ext/dhtmlxcalendar_double.js

を削除します。
そして対応するcssの「stat_css」からは

   dhtmlxCalendar/codebase/skins/dhtmlxcalendar_dhx_skyblue.css
   dhtmlxCalendar/codebase/skins/dhtmlxcalendar_dhx_web.css
   dhtmlxCalendar/codebase/skins/dhtmlxcalendar_dhx_terrace.css
   dhtmlxCalendar/codebase/skins/dhtmlxcalendar_material.css

を削除しておきます。

その後、「sources\libCompiler」フォルダにあるcompile.batを編集モードで開いて
php.exeへのパスを記載して保存する。
その後にcompile.batをダブルクリックすれば、「codebase」フォルダにある

が作り直されます。

現状、dhtmlxSuiteのバージョン5で

 dhtmlx.js  が  1.5MB
 dhtmlx.css が  226kB

ですから、アクセスが多いなら最適化は行ったほうが望ましいかと思われます

最新の60件
2023-09-20 2023-09-19 2023-09-18 2023-09-17 2023-09-16 2023-09-14 2023-09-12 2023-09-11 2023-09-08 2023-09-05 2023-09-02 2023-08-30 2023-08-29 2023-08-28 2023-08-27 2023-08-22 2023-08-20 2023-08-18 2023-08-17 2023-08-14 2023-08-12 2023-08-09 2023-08-07 2023-08-06 2023-08-03 2023-07-31 2023-07-29 2023-07-27 2023-07-25 2023-07-24 2023-07-22 2023-07-17 2023-07-16 2023-07-09 2023-07-08

edit


トップ   編集 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2017-05-09 (火) 23:38:20