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

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件
2026-01-18 2026-01-17 2026-01-16 2026-01-12 2026-01-11 2026-01-10 2026-01-09 2026-01-08 2026-01-06 2026-01-04 2026-01-01 2025-12-31 2025-12-28 2025-12-27 2025-12-12 2025-12-11 2025-12-09 2025-12-08 2025-12-07 2025-12-05 2025-11-30 2025-11-27 2025-11-24 2025-11-23 2025-11-18 2025-11-16 2025-11-05 2025-11-03 2025-11-02 2025-10-30 2025-10-29 2025-10-28 2025-10-26 2025-10-25 2025-10-24 2025-10-22 2025-10-21 2025-10-17 2025-10-13 2025-10-11 2025-10-06 2025-10-05

edit


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