summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel <darthdaniel85@gmail.com>2014-10-21 17:20:52 -0500
committerDaniel <darthdaniel85@gmail.com>2014-10-21 17:20:52 -0500
commitb6a7425bcbdfc522c74421182a1662e0d4edf9a9 (patch)
treed372456cb778ec6b5c003a683bdcd73d1ab369e4
parentf3268c5b71fd3bc2732f3a796aabb3b4de5ce1e6 (diff)
preparing scaffolding details
-rw-r--r--[-rwxr-xr-x]demos/quickstart/protected/pages/Controls/ClientScript.page7
-rw-r--r--framework/Web/Javascripts/packages.php284
-rw-r--r--framework/Wsat/TWsatScaffoldingGenerator.php18
3 files changed, 167 insertions, 142 deletions
diff --git a/demos/quickstart/protected/pages/Controls/ClientScript.page b/demos/quickstart/protected/pages/Controls/ClientScript.page
index 7ff7ee01..5c5422ad 100755..100644
--- a/demos/quickstart/protected/pages/Controls/ClientScript.page
+++ b/demos/quickstart/protected/pages/Controls/ClientScript.page
@@ -19,9 +19,10 @@ to include on the page. For following example will include the "ajax" and "effec
<p id="260239" class="block-content">
The available bundled libraries included in Prado are</p>
<ul id="u1" class="block-content">
- <li><tt>prado</tt> : basic prado javascript framework based on Prototype</li>
- <li><tt>effects</tt> : visual effects from script.aculo.us</li>
- <li><tt>ajax</tt> : ajax and callback related based on Prototype</li>
+ <li><tt>prado</tt> : basic prado javascript framework based on jQuery</li>
+ <li><tt>bootstrap</tt> : bootstrap framework based on jQuery</li>
+ <li><tt>effects</tt> : visual effects from jQuery</li>
+ <li><tt>ajax</tt> : ajax and callback related based on jQuery</li>
<li><tt>validator</tt> : validation</li>
<li><tt>logger</tt> : javascript logger and object browser</li>
<li><tt>datepicker</tt> : datepicker</li>
diff --git a/framework/Web/Javascripts/packages.php b/framework/Web/Javascripts/packages.php
index 19cda98b..ba2db47b 100644
--- a/framework/Web/Javascripts/packages.php
+++ b/framework/Web/Javascripts/packages.php
@@ -1,139 +1,145 @@
-<?php
-
-//$Id: packages.php 3319 2013-09-08 20:59:44Z ctrlaltca $
-
-// To make future upgrades easier
-if (!defined('PROTOTYPE_DIR')) define ('PROTOTYPE_DIR', 'prototype-1.7');
-if (!defined('JQUERY_DIR')) define ('JQUERY_DIR', 'jquery');
-if (!defined('SCRIPTACULOUS_DIR')) define ('SCRIPTACULOUS_DIR', 'scriptaculous-1.9.0');
-
-//package names and its contents (files relative to the current directory)
-$packages = array(
- // base prado scripts
- 'prado' => array(
- 'prado/prado.js',
- 'prado/controls/controls.js'
- ),
-
- 'logger' => array(
- 'prado/logger/logger.js',
- ),
-
- 'validator' => array(
- 'prado/validator/validation3.js'
- ),
-
- 'datepicker' => array(
- 'prado/datepicker/datepicker.js'
- ),
-
- 'colorpicker' => array(
- 'prado/colorpicker/colorpicker.js'
- ),
-
- 'ajax' => array(
- 'prado/activecontrols/ajax3.js',
- 'prado/activecontrols/activecontrols3.js',
- ),
-
- 'slider'=>array(
- 'prado/controls/slider.js'
- ),
-
- 'keyboard'=>array(
- 'prado/controls/keyboard.js'
- ),
-
- 'tabpanel'=>array(
- 'prado/controls/tabpanel.js'
- ),
-
- 'activedatepicker' => array(
- 'prado/activecontrols/activedatepicker.js'
- ),
-
- 'activefileupload' => array(
- 'prado/activefileupload/activefileupload.js'
- ),
-
- 'htmlarea'=>array(
- 'prado/controls/htmlarea.js'
- ),
-
- 'htmlarea4'=>array(
- 'prado/controls/htmlarea4.js'
- ),
-
- 'accordion'=>array(
- 'prado/controls/accordion.js'
- ),
-
- 'inlineeditor' => array(
- 'prado/activecontrols/inlineeditor.js'
- ),
-
- 'ratings' => array(
- 'prado/ratings/ratings.js',
- ),
-
- // jquery
- 'jquery' => array(
- JQUERY_DIR.'/jquery.js',
- ),
- 'jqueryui' => array(
- JQUERY_DIR.'/jquery-ui.js',
- JQUERY_DIR.'/jquery-ui-i18n.min.js',
- ),
-
- // prototype + scriptaculous
- 'prototype' => array(
- PROTOTYPE_DIR.'/prototype.js',
- SCRIPTACULOUS_DIR.'/builder.js',
- SCRIPTACULOUS_DIR.'/effects.js'
- ),
-
- 'dragdrop'=>array(
- SCRIPTACULOUS_DIR.'/dragdrop.js',
- 'prado/activecontrols/dragdrop.js'
- ),
-
- 'dragdropextra'=>array(
- 'prado/activecontrols/dragdropextra.js',
- ),
-
- 'autocomplete' => array(
- SCRIPTACULOUS_DIR.'/controls.js',
- 'prado/activecontrols/autocomplete.js'
- ),
-);
-
-
-//package names and their dependencies
-$dependencies = array(
- 'jquery' => array('jquery'),
- 'prado' => array('jquery', 'prado'),
- 'validator' => array('jquery', 'prado', 'validator'),
- 'tabpanel' => array('jquery', 'prado', 'tabpanel'),
- 'ajax' => array('jquery', 'prado', 'ajax'),
- 'logger' => array('jquery', 'prado', 'logger'),
- 'activefileupload' => array('jquery', 'prado', 'ajax', 'activefileupload'),
- 'effects' => array('jquery', 'jqueryui'),
- 'datepicker' => array('jquery', 'prado', 'datepicker'),
- 'activedatepicker' => array('jquery', 'prado', 'datepicker', 'ajax', 'activedatepicker'),
- 'colorpicker' => array('jquery', 'prado', 'colorpicker'),
- 'htmlarea' => array('jquery', 'prado', 'htmlarea'),
- 'htmlarea4' => array('jquery', 'prado', 'htmlarea4'),
- 'keyboard' => array('jquery', 'prado', 'keyboard'),
- 'slider' => array('jquery', 'prado', 'slider'),
- 'inlineeditor' => array('jquery', 'prado', 'ajax', 'inlineeditor'),
- 'accordion' => array('jquery', 'prado', 'accordion'),
- 'ratings' => array('jquery', 'prado', 'ajax', 'ratings'),
- 'jqueryui' => array('jquery', 'jqueryui'),
- 'prototype' => array('prototype'),
- 'dragdrop' => array('prototype', 'jquery', 'prado', 'ajax', 'dragdrop'),
- 'dragdropextra' => array('prototype', 'jquery', 'prado', 'ajax', 'dragdrop','dragdropextra'),
- 'autocomplete' => array('prototype', 'jquery', 'prado', 'ajax', 'autocomplete'),
-);
-
-return array($packages, $dependencies);
-
+<?php
+
+//$Id: packages.php 3319 2013-09-08 20:59:44Z ctrlaltca $
+
+// To make future upgrades easier
+if (!defined('PROTOTYPE_DIR')) define ('PROTOTYPE_DIR', 'prototype-1.7');
+if (!defined('JQUERY_DIR')) define ('JQUERY_DIR', 'jquery');
+if (!defined('BOOTSTRAP_DIR')) define ('BOOTSTRAP_DIR', 'bootstrap3/js');
+if (!defined('SCRIPTACULOUS_DIR')) define ('SCRIPTACULOUS_DIR', 'scriptaculous-1.9.0');
+
+//package names and its contents (files relative to the current directory)
+$packages = array(
+ // base prado scripts
+ 'prado' => array(
+ 'prado/prado.js',
+ 'prado/controls/controls.js'
+ ),
+
+ 'logger' => array(
+ 'prado/logger/logger.js',
+ ),
+
+ 'validator' => array(
+ 'prado/validator/validation3.js'
+ ),
+
+ 'datepicker' => array(
+ 'prado/datepicker/datepicker.js'
+ ),
+
+ 'colorpicker' => array(
+ 'prado/colorpicker/colorpicker.js'
+ ),
+
+ 'ajax' => array(
+ 'prado/activecontrols/ajax3.js',
+ 'prado/activecontrols/activecontrols3.js',
+ ),
+
+ 'slider'=>array(
+ 'prado/controls/slider.js'
+ ),
+
+ 'keyboard'=>array(
+ 'prado/controls/keyboard.js'
+ ),
+
+ 'tabpanel'=>array(
+ 'prado/controls/tabpanel.js'
+ ),
+
+ 'activedatepicker' => array(
+ 'prado/activecontrols/activedatepicker.js'
+ ),
+
+ 'activefileupload' => array(
+ 'prado/activefileupload/activefileupload.js'
+ ),
+
+ 'htmlarea'=>array(
+ 'prado/controls/htmlarea.js'
+ ),
+
+ 'htmlarea4'=>array(
+ 'prado/controls/htmlarea4.js'
+ ),
+
+ 'accordion'=>array(
+ 'prado/controls/accordion.js'
+ ),
+
+ 'inlineeditor' => array(
+ 'prado/activecontrols/inlineeditor.js'
+ ),
+
+ 'ratings' => array(
+ 'prado/ratings/ratings.js',
+ ),
+
+ // jquery
+ 'jquery' => array(
+ JQUERY_DIR.'/jquery.js',
+ ),
+ 'jqueryui' => array(
+ JQUERY_DIR.'/jquery-ui.js',
+ JQUERY_DIR.'/jquery-ui-i18n.min.js',
+ ),
+
+ // prototype + scriptaculous
+ 'prototype' => array(
+ PROTOTYPE_DIR.'/prototype.js',
+ SCRIPTACULOUS_DIR.'/builder.js',
+ SCRIPTACULOUS_DIR.'/effects.js'
+ ),
+
+ //bootstrap
+ 'bootstrap' => array(
+ BOOTSTRAP_DIR.'/bootstrap.js'
+ ),
+
+ 'dragdrop'=>array(
+ SCRIPTACULOUS_DIR.'/dragdrop.js',
+ 'prado/activecontrols/dragdrop.js'
+ ),
+
+ 'dragdropextra'=>array(
+ 'prado/activecontrols/dragdropextra.js',
+ ),
+
+ 'autocomplete' => array(
+ SCRIPTACULOUS_DIR.'/controls.js',
+ 'prado/activecontrols/autocomplete.js'
+ ),
+);
+
+
+//package names and their dependencies
+$dependencies = array(
+ 'jquery' => array('jquery'),
+ 'prado' => array('jquery', 'prado'),
+ 'validator' => array('jquery', 'prado', 'validator'),
+ 'tabpanel' => array('jquery', 'prado', 'tabpanel'),
+ 'ajax' => array('jquery', 'prado', 'ajax'),
+ 'logger' => array('jquery', 'prado', 'logger'),
+ 'activefileupload' => array('jquery', 'prado', 'ajax', 'activefileupload'),
+ 'effects' => array('jquery', 'jqueryui'),
+ 'datepicker' => array('jquery', 'prado', 'datepicker'),
+ 'activedatepicker' => array('jquery', 'prado', 'datepicker', 'ajax', 'activedatepicker'),
+ 'colorpicker' => array('jquery', 'prado', 'colorpicker'),
+ 'htmlarea' => array('jquery', 'prado', 'htmlarea'),
+ 'htmlarea4' => array('jquery', 'prado', 'htmlarea4'),
+ 'keyboard' => array('jquery', 'prado', 'keyboard'),
+ 'slider' => array('jquery', 'prado', 'slider'),
+ 'inlineeditor' => array('jquery', 'prado', 'ajax', 'inlineeditor'),
+ 'accordion' => array('jquery', 'prado', 'accordion'),
+ 'ratings' => array('jquery', 'prado', 'ajax', 'ratings'),
+ 'jqueryui' => array('jquery', 'jqueryui'),
+ 'prototype' => array('prototype'),
+ 'dragdrop' => array('prototype', 'jquery', 'prado', 'ajax', 'dragdrop'),
+ 'dragdropextra' => array('prototype', 'jquery', 'prado', 'ajax', 'dragdrop','dragdropextra'),
+ 'autocomplete' => array('prototype', 'jquery', 'prado', 'ajax', 'autocomplete'),
+);
+
+return array($packages, $dependencies);
+
diff --git a/framework/Wsat/TWsatScaffoldingGenerator.php b/framework/Wsat/TWsatScaffoldingGenerator.php
new file mode 100644
index 00000000..18dd150c
--- /dev/null
+++ b/framework/Wsat/TWsatScaffoldingGenerator.php
@@ -0,0 +1,18 @@
+<?php
+
+/**
+ * @author Daniel Sampedro Bello <darthdaniel85@gmail.com>
+ * @link http://www.pradosoft.com/
+ * @copyright Copyright &copy; 2005-2014 PradoSoft
+ * @license http://www.pradosoft.com/license/
+ * @version $Id$
+ * @since 3.3
+ * @package Wsat
+ */
+
+class TWsatScaffoldingGenerator
+{
+ //put your code here
+}
+
+?>