suin
記事一覧 > スイナシア > あなたのモジュール開発が加速するSuinDebugプリロード
あなたのモジュール開発が加速するSuinDebugプリロード
- 2010-2-12 15:40
- スイナシア in XOOPS, プリロード, ダウンロード, SuinDebug
Download
SuinDebugプリロードは、たったひとつのファイルで、あなたのXOOPS Cube Legacyでのデバッグをよりスムースにするためのサイトプリロードです。
HD画質なので、フルスクリーンで見るのをおすすめします。
特徴
-
サイト(開発環境)を汚さない
SuinDebugは、たったひとつのファイルからなるサイトプリロードです。{stdout_buffer}をテーマに書くことでテーマが汚れるデメリットや、デバッグ関連のファイルをいくつもアップロードすることで、開発パッケージに余分なファイルがあふれるデメリット、デバッグ関連の情報をデータベースに保存することで、データベースに不必要な情報が紛れ込むデメリットが一切ありません。 -
エラーで画面を汚さない
SuinDebugは、PHPやMySQLなどのデバッグ情報をウェブページに直接出力しません。デバッグ情報などによる、レイアウト崩れ・ソースの汚損からま逃れることができます。 -
ポップアップウィンドウを開かない
SuinDebugを使えば、デバッグのためにこれ以上ポップアップウィンドウを開く必要はありません。デバッグ情報はJavaScriptによるモーダルウィンドウで表示されます。つまり、ひとつのウィンドで完結するので、ポップアップからくるストレスを軽減できます。 -
それなりのインターフェイス
エラーSQLやDelegateのハイライト機能など、視覚的な面が考慮されています。また、デバッグモードを切り替える必要なしに、SQL, Delegate, XoopsTpl, stdout_buffer, PHP Errorsを一様に閲覧することができます。
使い方
- SuinDebugをダウンロードします。
- それを解凍して、{XOOPS_ROOT}/preload/に保存します。
- JavaScriptをONにした状態で、管理者アカウントでログインします。
- 管理画面でPHPデバッグモードをONにします。
- ウィンドウ上端から100pxくらいのところにカーソルを移動するとメニューが表示されます。
注意
SuinDebugを公開サイトにアップロードしないでください。あくまで、このプリロードは非公開の開発環境で使用することを想定しています。たとえば、VMwareやXAMPP・MAMPで構築されたローカル開発環境。なお、サイトを公開する場合は、SuinDebugを削除してください。
SuinDebug description
SuinDebug is a site preload. It will help your debugging when you develop modules in XOOPS Cube Legacy.
Features
-
SuinDebug doesn't litter your XOOPS
SuinDebug consists of only one site preload file. You never have to write {stdout_buffer} in your theme. You never have to upload too many files for debugging. You never have to add any information into your database. You only have to upload SuinDebug preload. -
SuinDebug doesn't litter your webpages with errors
SuinDebug doesn't directory output debugging information into your webpages such as PHP or MySQL. So, it doesn't break webpage layout with debugginf information. -
SuinDebug never opens popup windows any more
To show debugging informaiton, SuinDebug uses mordal window. So it never annoy you with popup windows. -
SuinDebug has good interface
Without changing debugging mode, you can browse SQL, Delegate, XoopsTpl, stdout_buffer, PHP Errors at the same time in the same window.
How to Use
- Please Download SuinDebug.
- Please Upload it to {XOOPS_ROOT}/preload/
- Please Turn on JavaScript and login as site admin.
- Please Turn on PHP debugging mode in legacy module.
- Please Move your pointer by near 100px from window top.
Notice
Please DO NOT upload SuinDebug to public website. SuinDebug should be used only in local developing envenment; for example, VMware, XAMMP, MAMP and so on. When you public your website, please remove SuinDebug.

