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

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件
2025-02-17 2025-02-15 2025-02-14 2025-02-12 2025-02-03 2025-02-02 2025-02-01 2025-01-27 2025-01-26 2025-01-25 2025-01-24 2025-01-23 2025-01-20 2025-01-13 2025-01-12 2025-01-08 2024-12-30 2024-12-29 2024-12-22 2024-12-20 2024-12-17 2024-12-15 2024-12-14 2024-12-12 2024-12-11 2024-12-10 2024-12-09 2024-12-08 2024-11-28 2024-11-22 2024-11-15 2024-11-14 2024-11-12 2024-11-06 2024-11-05 2024-11-04 2024-11-02 2024-11-01 2024-10-28 2024-10-27 2024-10-23 2024-10-18 2024-10-17 2024-10-15 2024-10-14

edit


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