Update of /cvsroot/phpwebapp/web_app/doc
In directory sc8-pr-cvs1:/tmp/cvs-serv17789/doc
Modified Files:
changes_2.txt
Log Message:
Index: changes_2.txt
===================================================================
RCS file: /cvsroot/phpwebapp/web_app/doc/changes_2.txt,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** changes_2.txt 26 Aug 2003 07:33:28 -0000 1.2
--- changes_2.txt 8 Sep 2003 13:19:07 -0000 1.3
***************
*** 1,3 ****
--- 1,39 ----
+
+ --- Improved documentation:
+
+ * Added some comments that help phpDocumentor to divide the classes
+ and files into packages and subpackages (@package and @subpackage).
+
+ * Improved a little bit some comments of the code.
+
+ * Improved a little bit the pages of the UML model.
+
+ * Generated code documentation with phpDocumentor and doxygen.
+
+ * Fixed some webapp_styles and improved its look.
+
+ * Updated sample applications 'app1' and 'app2' and the tutorials 1 and 2.
+
+ * Added sample application 'empty-sample'.
+
+ * Added sample application 'app3' and tutorial 3 (about webbox-es).
+
+
+ --- Preparing it for being a GNU package:
+
+ * .gif images replaced by .png images
+
+ * Added copying permission statements of GNU GPL at the top of most
+ of the files.
+
+ * Converted CRLF to LF for all the files.
+
+ * Added COPYING to 'app1', 'app2', 'app3', 'documentation', 'empty-sample'
+ as well.
+
+
+ --- Small changes and fixes:
+
* APP_URL is found automatically in the 'webapp.php' of the application,
so there is no need to modify it in 'config/const.Paths.php'.
***************
*** 8,16 ****
APP_PATH."../web_app/" now we can use UP_PATH."web_app/".
- * .gif images are replaced by .png images
-
- * Added some comments that help phpDocumentor to divide the classes
- and files into packages and subpackages.
-
* The folder 'eventhandler/' was removed. The file:
--- 44,47 ----
***************
*** 21,27 ****
The file 'global.php' is added, which is included for each page.
- * Fixed webapp_styles.
! * Added copying permission statements of GNU GPL.
! * Converted CRLF to LF for all the files.
--- 52,95 ----
The file 'global.php' is added, which is included for each page.
! ---------------------------------------------------------------
! * In order to use DB features of the framework only in a module
! of the application (when the rest of the application doesn't
! need them and USES_DB is false), add at the top of the module
! lines like these:
!
! <?php
! include_once DB_PATH."class.MySQLCnn.php";
! global $cnn;
! $cnn = new MySQLCnn("db_host", "user", "passwd", "db_name");
!
! class comments extends WebObject
! {
! }
! ?>
!
! When the application in general uses DB, however you want
! to use another default connection for a certain module,
! then again you can add lines like in the above example,
! but without the 'include "class.MySQLCnn.php";' line.
! The lines:
! global $cnn;
! $cnn = new MySQLCnn("localhost", "user", "passwd", "db_name");
! change the default connection for the rest of the page.
!
! In case that you want to use another connection just for a certain
! query, whithout changing the default connection in general, then
! you can use something like this:
!
! $new_conn = new MySQLCnn("localhost", "root", "", "hy");
! WebApp::execDBCmd("add_comment", $params, $new_conn);
! $rs = WebApp::openRS("comment_list", $params, $new_conn);
! WebApp::execQuery($query, $new_conn);
! //in case that there are no parameters:
! WebApp::execDBCmd("add_comment", array(), $new_conn);
! WebApp::execDBCmd("add_comment", UNDEFINED, $new_conn);
!
! ---------------------------------------------------------------
! ---------------------------------------------------------------
! ---------------------------------------------------------------
|