From 6d4278bcaf8951e748ee08edd8db412588244217 Mon Sep 17 00:00:00 2001
From: Fabio Bas
Date: Tue, 26 Aug 2014 13:12:20 +0200
Subject: Backported basic Wsat documentation
---
demos/quickstart/protected/controls/TopicList.tpl | 3 +-
.../quickstart/protected/controls/es/TopicList.tpl | 3 +-
.../quickstart/protected/controls/fr/TopicList.tpl | 3 +-
.../quickstart/protected/controls/id/TopicList.tpl | 3 +-
.../quickstart/protected/controls/ja/TopicList.tpl | 3 +-
.../quickstart/protected/controls/pl/TopicList.tpl | 3 +-
.../quickstart/protected/controls/zh/TopicList.tpl | 3 +-
.../protected/pages/GettingStarted/Wsat.page | 64 +++++++++++++++++++++
.../pages/GettingStarted/wsat_generate_ar.png | Bin 0 -> 75503 bytes
.../protected/pages/GettingStarted/wsat_login.png | Bin 0 -> 47951 bytes
10 files changed, 78 insertions(+), 7 deletions(-)
create mode 100644 demos/quickstart/protected/pages/GettingStarted/Wsat.page
create mode 100644 demos/quickstart/protected/pages/GettingStarted/wsat_generate_ar.png
create mode 100644 demos/quickstart/protected/pages/GettingStarted/wsat_login.png
diff --git a/demos/quickstart/protected/controls/TopicList.tpl b/demos/quickstart/protected/controls/TopicList.tpl
index dbb744b6..de10398c 100755
--- a/demos/quickstart/protected/controls/TopicList.tpl
+++ b/demos/quickstart/protected/controls/TopicList.tpl
@@ -8,6 +8,8 @@
Installation
New Features
Upgrading from v2.x and v1.x
+ Web Site Administration Tool
+ Command Line Tool
@@ -18,7 +20,6 @@
Sample: Hangman Game
Currency Converter
AJAX Chat Client
- Command Line Tool
diff --git a/demos/quickstart/protected/controls/es/TopicList.tpl b/demos/quickstart/protected/controls/es/TopicList.tpl
index 41359ac2..c7b90a47 100755
--- a/demos/quickstart/protected/controls/es/TopicList.tpl
+++ b/demos/quickstart/protected/controls/es/TopicList.tpl
@@ -8,6 +8,8 @@
Instalación
Nuevas Funcionalidades
Actualizar desde la version v2.x y v1.x
+ Web Site Administration Tool
+ Command Line Tool
@@ -19,7 +21,6 @@
Convertidor de Monedas
Libreta de direcciones
Cliente Chat en AJAX
- Command Line Tool
diff --git a/demos/quickstart/protected/controls/fr/TopicList.tpl b/demos/quickstart/protected/controls/fr/TopicList.tpl
index c2de4a9a..0e28ff40 100755
--- a/demos/quickstart/protected/controls/fr/TopicList.tpl
+++ b/demos/quickstart/protected/controls/fr/TopicList.tpl
@@ -8,6 +8,8 @@
Installation
Nouvelles fonctionnalités
Mise à jour de v2.x et v1.x
+ Web Site Administration Tool
+ Outil en ligne de commande
@@ -18,7 +20,6 @@
Exemple : Jeu du pendu
Convertisseur monétaire
Chat AJAX
- Outil en ligne de commande
diff --git a/demos/quickstart/protected/controls/id/TopicList.tpl b/demos/quickstart/protected/controls/id/TopicList.tpl
index fa00ee37..d362dc19 100755
--- a/demos/quickstart/protected/controls/id/TopicList.tpl
+++ b/demos/quickstart/protected/controls/id/TopicList.tpl
@@ -8,6 +8,8 @@
Instalasi
Fitur Baru
Meningkatkan dari v2.x dan v1.x
+ Web Site Administration Tool
+ Piranti Baris Perintah
@@ -19,7 +21,6 @@
Pengubah Kurs
Buku Alamat
Klient Obrolan AJAX
- Piranti Baris Perintah
diff --git a/demos/quickstart/protected/controls/ja/TopicList.tpl b/demos/quickstart/protected/controls/ja/TopicList.tpl
index bfdbf129..d9ded44a 100755
--- a/demos/quickstart/protected/controls/ja/TopicList.tpl
+++ b/demos/quickstart/protected/controls/ja/TopicList.tpl
@@ -8,6 +8,8 @@
インストール
新機能
v2.x v1.x からのバージョンアップ
+ Web Site Administration Tool
+ コマンドラインツール
@@ -19,7 +21,6 @@
通貨コンバーター
アドレス帳
Ajax チャット
- コマンドラインツール
diff --git a/demos/quickstart/protected/controls/pl/TopicList.tpl b/demos/quickstart/protected/controls/pl/TopicList.tpl
index 8d33914e..1e0ff347 100755
--- a/demos/quickstart/protected/controls/pl/TopicList.tpl
+++ b/demos/quickstart/protected/controls/pl/TopicList.tpl
@@ -8,6 +8,8 @@
Instalacja
Nowe możliwości
Aktualizacja z wersji 2.x oraz 1.x
+ Web Site Administration Tool
+ Narzędzie linii poleceń
@@ -18,7 +20,6 @@
Przykład: gra wisielec
Konwenter walut
AJAX-owy klient czat
- Narzędzie linii poleceń
diff --git a/demos/quickstart/protected/controls/zh/TopicList.tpl b/demos/quickstart/protected/controls/zh/TopicList.tpl
index 6557a992..023eb01a 100755
--- a/demos/quickstart/protected/controls/zh/TopicList.tpl
+++ b/demos/quickstart/protected/controls/zh/TopicList.tpl
@@ -8,6 +8,8 @@
安装
版本新功能
从v2.x和v1.x升级
+ Web Site Administration Tool
+ 命令行工具
@@ -18,7 +20,6 @@
Hangman游戏
货币转换程序
AJAX聊天程序
- 命令行工具
diff --git a/demos/quickstart/protected/pages/GettingStarted/Wsat.page b/demos/quickstart/protected/pages/GettingStarted/Wsat.page
new file mode 100644
index 00000000..3d07e6f2
--- /dev/null
+++ b/demos/quickstart/protected/pages/GettingStarted/Wsat.page
@@ -0,0 +1,64 @@
+
+ Web Site Administration Tool
+
+ Web Site Administration Tool (WSAT) is a development tool which allows you to perform several
+ tedious tasks of a PRADO project in a GUI fashion. Its inspired in both Asp.Net - Web Site Administration Tool and Yii's Gii.
+ WSAT will continue gaining new features along the time, at the moment it bring you the followings:
+
+
+ - Generate one or all Active Record Classes.
+ - Optionally generate all relationships in Active Record Classes.
+ - Generate the magic __toString() method in all AR Classes.
+
+
+
+ Requirements
+
+ To use WSAT, you need to add in your project configuration file: application.xml,
+ in the services section the wsat service like follows:
+
+
+
+ ...
+
+
+
+
+
+ Usage
+
+ Then you are ready to go to: http://localhost/yoursite/index.php?wsat=TWsatLogin and doing so you should see
+ the following page:
+
+
+
+ Where in the text field you need to type the password previosly specified in the service inclusion. This
+ is part of a basic security system to avoid undesirable persons to use this tool.
+
+
+ Active Record classes generation
+
+ In order to generate AR classes you need to go to: http://localhost/divermania/index.php?wsat=TWsatGenerateAR
+ by clicking the proper links in the welcome page. Then you should see the following page:
+
+
+
+ In which you can find a basic usage documentation in a light green panel
+ and then some proper fields in order to generate active record classes. These fields are:
+
+
+
+ - Table Name: refers to the table name in your database for which you want to generate an AR class.
+ Let it as come by default with an * to generate them all.
+ - Output Folder: refers to the folder where you want to save your generated classes.
+ It only accepts namespace format which means that you need to specify your path separated with points in between.
+ It default value is: "Application.App_Data.AR_Classes" which references the protected/App_Data/AR_Classes
+ file of your project, if you haven't created them yet and you want to, don't bother, WSAT will do it for you.
+ - Class Prefix: refers to the prefix that you whish to specify in front of every class name.
+ Clear the field to specify no prefix.
+ - Class Suffix: refers to the suffix that you whish to specify at the end of every class name.
+ Clear the field to specify no suffix.
+ - Build Relations: whether or not you want to add relationships to AR classes generation.
+
+
+
\ No newline at end of file
diff --git a/demos/quickstart/protected/pages/GettingStarted/wsat_generate_ar.png b/demos/quickstart/protected/pages/GettingStarted/wsat_generate_ar.png
new file mode 100644
index 00000000..8f0f59e7
Binary files /dev/null and b/demos/quickstart/protected/pages/GettingStarted/wsat_generate_ar.png differ
diff --git a/demos/quickstart/protected/pages/GettingStarted/wsat_login.png b/demos/quickstart/protected/pages/GettingStarted/wsat_login.png
new file mode 100644
index 00000000..dbe1ad8b
Binary files /dev/null and b/demos/quickstart/protected/pages/GettingStarted/wsat_login.png differ
--
cgit v1.2.3