pidget-cvs Mailing List for Pidget
Brought to you by:
lkehresman
You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(9) |
Oct
(9) |
Nov
|
Dec
|
---|
From: <lke...@us...> - 2003-10-15 17:49:15
|
Update of /cvsroot/pidget/pidget In directory sc8-pr-cvs1:/tmp/cvs-serv8084 Modified Files: README Log Message: Updated the README Index: README =================================================================== RCS file: /cvsroot/pidget/pidget/README,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** README 17 Sep 2003 13:57:16 -0000 1.3 --- README 15 Oct 2003 17:49:11 -0000 1.4 *************** *** 3,8 **** ================================================================================ ! Pidget is a graphical toolkit that abstracts HTML in PHP5, allowing for a clean ! separation of display and logic in applications. Pidget is the same concept ! as QT (the C++ graphical toolkit), but for PHP5 and HTML. It provides all the ! components necessary to create interactive web applications while encouraging --- 3,18 ---- ================================================================================ ! http://www.pidget.org ! ! Pidget is an object oriented toolkit for rendering HTML in PHP5. It provides ! all of the components necessary to create interactive web applications while ! encouraging proper separation of display and logic in the application code. The ! advanced styling engine in Pidget allows for dramatically different templates ! to be developed independant of any implementation. Pidget also has the ability ! to bind data sources with widgets and simplify the process of form creation and ! modification. This is not simply a templating engine, but is perhaps the first ! all-encompassing graphical toolkit for PHP. ! ! How to Install ! ============== ! Please read the INSTALL document. |
From: <lke...@us...> - 2003-10-15 16:18:49
|
Update of /cvsroot/pidget/pidget In directory sc8-pr-cvs1:/tmp/cvs-serv24577 Modified Files: ChangeLog Log Message: Updated the ChangeLog Index: ChangeLog =================================================================== RCS file: /cvsroot/pidget/pidget/ChangeLog,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** ChangeLog 23 Sep 2003 15:46:45 -0000 1.3 --- ChangeLog 15 Oct 2003 16:18:31 -0000 1.4 *************** *** 1,2 **** --- 1,7 ---- + v0.9.1 - IN DEVELOPMENT + ----------------------- + * Added the Blue Skies style + * Created some examples and tutorials for using Pidget + v0.9.0 - September 23, 2003 --------------------------- |
From: <lke...@us...> - 2003-10-15 16:17:31
|
Update of /cvsroot/pidget/pidget/src/styles/blueskies/images In directory sc8-pr-cvs1:/tmp/cvs-serv24329/blueskies/images Added Files: blueskies.jpg Log Message: Added the beginnings of a new style: Blue Skies --- NEW FILE: blueskies.jpg --- (This appears to be a binary file; contents omitted.) |
From: <lke...@us...> - 2003-10-15 16:17:31
|
Update of /cvsroot/pidget/pidget/src/styles/blueskies In directory sc8-pr-cvs1:/tmp/cvs-serv24329/blueskies Added Files: pPage.inc Log Message: Added the beginnings of a new style: Blue Skies --- NEW FILE: pPage.inc --- <?php include_once("pStyle.inc"); class pPageStyle extends pStyle { public function RenderStyle() { $body = $this->Widget->GetLayout()->GetRenderValue(); $scripts = pPageHandler::GetJS(); $inits = pPageHandler::GetInit(); echo "<!-- Generated by p, the PHP Toolkit -->\n"; echo "<html>\n"; echo "<head>\n"; if ($scripts || $inits) { echo "<script language=\"javascript\">\n"; echo $scripts; echo $inits; echo "</script>\n"; } echo "<style>\n"; echo " BODY { background: url(".PIDGET_STYLES."/blueskies/images/blueskies.jpg); }\n"; echo pPageHandler::GetCSS(); echo "</style>\n"; echo "</head>\n"; echo "<body"; if ($inits) echo " onLoad=\"pPageInit();\""; echo ">\n"; echo "<table width=100% height=100%><tr><td align=center valign=middle>\n"; echo "<table cellpadding=10 cellspacing=0"; echo " style=\"border: 1px solid black\"><tr><td bgcolor=\"#c3c5da\">\n"; echo $body; echo "</td></tr></table>\n"; echo "</td></tr></table>\n"; echo "</body>\n"; echo "</html>\n"; } } ?> |
From: <lke...@us...> - 2003-10-15 16:17:07
|
Update of /cvsroot/pidget/pidget/src/styles/blueskies/images In directory sc8-pr-cvs1:/tmp/cvs-serv24171/images Log Message: Directory /cvsroot/pidget/pidget/src/styles/blueskies/images added to the repository |
From: <lke...@us...> - 2003-10-15 16:16:55
|
Update of /cvsroot/pidget/pidget/src/styles/blueskies In directory sc8-pr-cvs1:/tmp/cvs-serv24122/blueskies Log Message: Directory /cvsroot/pidget/pidget/src/styles/blueskies added to the repository |
From: <lke...@us...> - 2003-10-15 16:16:39
|
Update of /cvsroot/pidget/pidget/examples/samples In directory sc8-pr-cvs1:/tmp/cvs-serv24009/examples/samples Added Files: inputs.php twiddle.php Log Message: Added a couple example scripts that demonstrate how to use Pidget. --- NEW FILE: inputs.php --- <?php /* ** SAMPLE: inputs.php ** CREATED BY: Luke Ehresman <lu...@eh...> ** CREATED ON: October 15, 2003 ** ** This example was created to deomonstrate how to create input forms ** from the stock form widgets that are available. Note that there are ** two main types of widgets: form widgets and regular widgets. This ** example only demonstrates form widgets. */ chdir("../../src"); include_once("pGeneral.inc"); include_once("pGridLayout.inc"); include_once("pVLayout.inc"); include_once("pPage.inc"); include_once("pRadio.inc"); include_once("pGroup.inc"); include_once("pCheckbox.inc"); include_once("pEditbox.inc"); include_once("pForm.inc"); include_once("pButton.inc"); include_once("pTextarea.inc"); /* ** Now here we create objects for all of our widgets. Note that the ** developer still does have to know a basic layout of the screen, but ** he does not need to worry about how it gets rendered to HTML. */ $page = new pPage(); $layout = new pGridLayout(3, 3); $radioLayout = new pVLayout(3); $checkLayout = new pVLayout(3); $form = new pForm("inputs.php"); $editbox = new pEditbox($form, "Sample Text", 45); $group = new pGroup($form); $radio1 = new pRadio($form, 1, "First Radio Button", $group); $radio2 = new pRadio($form, 2, "Second Radio Button", $group); $radio3 = new pRadio($form, 3, "Third Radio Button", $group); $check1 = new pCheckbox($form, "cb1", "First Checkbox"); $check2 = new pCheckbox($form, "cb2", "Second Checkbox"); $check3 = new pCheckbox($form, "cb3", "Third Checkbox"); $button = new pButton("Button Test", "alert('This is a test of a button');"); $textarea = new pTextarea($form, "Here is some more sample text.", 5, 18); /* ** Now that all the widgets have been instanciated, we can do some ** configuring. Hopefully in the future a lot of this will be handled ** by data bindings, but for now it is a manual process. */ /* Configure the main layout engine */ $layout->SetInnerPadding(2); $layout->AddLayout(0, 0, $radioLayout); $layout->AddLayout(0, 1, $checkLayout); $layout->SetColumnSpan(1, 0, 2); $layout->AddWidget(1, 0, $editbox); $layout->AddWidget(2, 0, $button); $layout->AddWidget(2, 1, $textarea); $layout->SetForm($form); /* Configure the Radio Button Layout Engine */ $radioLayout->AddWidget(0, $radio1); $radioLayout->AddWidget(1, $radio2); $radioLayout->AddWidget(2, $radio3); /* Configure the Checkbox Layout Engine */ $checkLayout->AddWidget(0, $check1); $checkLayout->AddWidget(1, $check2); $checkLayout->AddWidget(2, $check3); /* Configure the Page widget */ $page->SetLayout($layout); /* ** It is necessary to register the page widget instance with the ** page handler so it knows which page object to render. Then once ** that is registered, we can render the page. */ pPageHandler::SetPage($page); pPageHandler::Render(); ?> --- NEW FILE: twiddle.php --- <?php /* ** SAMPLE: twiddle.php ** CREATED BY: Luke Ehresman <lu...@eh...> ** CREATED ON: October 15, 2003 ** ** This is an example of how to render a simple Twiddle box. The page ** doesn't do a whole lot, and you can't even submit the form. But it ** demonstrates how to create a simple page. */ chdir("../../src"); include_once("pGeneral.inc"); include_once("pHLayout.inc"); include_once("pPage.inc"); include_once("pForm.inc"); include_once("pTwiddle.inc"); /* ** This section defines some data that will be used in the twiddle boxes. ** In a real setting, this data would come from a database or some other ** data source. In the future this will be handled through bindings. */ $data['AL'] = "Alabama"; $data['AK'] = "Alaska"; $data['AZ'] = "Arizona"; $data['AR'] = "Arkinsas"; $data['CA'] = "California"; $data['CO'] = "Colorado"; $data['CN'] = "Connecticut"; $data['DE'] = "Delaware"; $data['FL'] = "Florida"; $data['GA'] = "Georgia"; $data['HA'] = "Hawaii"; $data['ID'] = "Idaho"; $data['IL'] = "Illinois"; $data['IN'] = "Indiana"; /* ** Now here we create objects for all of our widgets. Note that the ** developer still does have to know a basic layout of the screen, but ** he does not need to worry about how it gets rendered to HTML. */ $page = new pPage(); $layout = new pHLayout(3); $form = new pForm("twiddle.php"); $twiddle = new pTwiddle($form); /* ** Now that all the widgets have been instanciated, we can do some ** configuring. Hopefully in the future a lot of this will be handled ** by data bindings, but for now it is a manual process. */ /* Configure the Twiddle Box */ while (list($key,$val) = each($data)) { $twiddle->AddOption($key, $val); } $twiddle->AddChosen('CA'); $twiddle->AddChosen('IN'); /* Configure the Layout Engine */ $layout->AddWidget(0, $twiddle); $layout->SetForm($form); /* Configure the Page widget */ $page->SetLayout($layout); /* ** It is necessary to register the page widget instance with the ** page handler so it knows which page object to render. Then once ** that is registered, we can render the page. */ pPageHandler::SetPage($page); pPageHandler::Render(); ?> |
From: <lke...@us...> - 2003-10-15 16:16:01
|
Update of /cvsroot/pidget/pidget/examples/samples In directory sc8-pr-cvs1:/tmp/cvs-serv23939/samples Log Message: Directory /cvsroot/pidget/pidget/examples/samples added to the repository |
From: <lke...@us...> - 2003-10-15 16:15:58
|
Update of /cvsroot/pidget/pidget/examples In directory sc8-pr-cvs1:/tmp/cvs-serv23917/examples Log Message: Directory /cvsroot/pidget/pidget/examples added to the repository |
From: <lke...@us...> - 2003-09-23 15:46:52
|
Update of /cvsroot/pidget/pidget In directory sc8-pr-cvs1:/tmp/cvs-serv9444 Modified Files: ChangeLog Log Message: Updated the changelog Index: ChangeLog =================================================================== RCS file: /cvsroot/pidget/pidget/ChangeLog,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ChangeLog 17 Sep 2003 00:20:49 -0000 1.2 --- ChangeLog 23 Sep 2003 15:46:45 -0000 1.3 *************** *** 1,4 **** ! v0.9.0 - IN DEVELOPMENT ! ----------------------- * Initial release of Pidget code base * All HTML form elements have form widgets --- 1,4 ---- ! v0.9.0 - September 23, 2003 ! --------------------------- * Initial release of Pidget code base * All HTML form elements have form widgets |
From: <lke...@us...> - 2003-09-23 15:34:46
|
Update of /cvsroot/pidget/pidget/src In directory sc8-pr-cvs1:/tmp/cvs-serv5171 Modified Files: pForm.inc Log Message: Fixed a typo. Index: pForm.inc =================================================================== RCS file: /cvsroot/pidget/pidget/src/pForm.inc,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** pForm.inc 17 Sep 2003 00:19:18 -0000 1.1.1.1 --- pForm.inc 23 Sep 2003 15:34:35 -0000 1.2 *************** *** 34,38 **** public function __construct($action=null) { if (self::$FormCount == -1) { ! if (Pidget_PROTECT) { // Protects developers from hard-coding form names self::$FormCount = rand(0, 99); --- 34,38 ---- public function __construct($action=null) { if (self::$FormCount == -1) { ! if (PIDGET_PROTECT) { // Protects developers from hard-coding form names self::$FormCount = rand(0, 99); |
From: <lke...@us...> - 2003-09-17 16:49:21
|
Update of /cvsroot/pidget/pidget In directory sc8-pr-cvs1:/tmp/cvs-serv27328 Added Files: RELEASE Log Message: * Added release notes * Added a document explaining how Pidget handles versioning --- NEW FILE: RELEASE --- RELEASE - Release Notes Pidget - The PHP Widget Library ================================================================================ v0.9.0 - IN DEVELOPMENT Code Named: "We have a kitchen?!" This is the initial release of the Pidget library. Nearly everything is functional. The widgets and styles have been pretty heavily tested, and have gone through several redesigns before this design took hold. The binding code is a recent addition that has not yet been thuroughly tested, but we wanted to get the first release out the door as quickly as possible. Please note that this is a development release (any version with an odd second number is a development version). We make no claims of stability or consistancy. The purpose of development releases are to have milestones as we work toward stability. Once we feel that a development branch is ready for prime-time, it will be released as a stable version. |
From: <lke...@us...> - 2003-09-17 16:49:21
|
Update of /cvsroot/pidget/pidget/doc In directory sc8-pr-cvs1:/tmp/cvs-serv27328/doc Added Files: versions.txt Log Message: * Added release notes * Added a document explaining how Pidget handles versioning --- NEW FILE: versions.txt --- VERSIONS - Pidget's Version Numbering Scheme Pidget - The PHP Widget Library ================================================================================ We take a pretty traditional Linux kernel style of version numbering for Pidget. It works something like this: <MAJOR>.<MINOR>.<ITERATIVE> MAJOR: The major release number is reserved for large architectural changes that most likely will significantly break backwards compatibility. MINOR: The minor release number is very important. Odd minor release numbers indicate a development release branch, and even numbers indicate a stable branch. For example, 1.2.0 would be a stable release, while 1.3.2 would be a development release. Typically there are two versions maintained, a stable release branch and a development release branch. This is talked about in more detail later in this document. ITERATIVE: The final number is just a counter that starts at 0 and goes up as high as necessary to indicate successive release numbers. For example, 1.2.1 is the release following 1.2.0. Branches ======== We typically maintain two branches of code simultaniously: the development branch and the stable branch. The development branch is where all the action is happening. New features will be added to it between releases, and compatibility may break between releases. The development branch is not intended for production use except by the very brave. Then we have the stable branch. The idea behind it is to have a branch where no features are added, but only bug fixing occurs. New releases will be more stable than the previous. It is always recommended to run the latest stable release as it has the most recent bug fixes. These versions will always be compatible with each other. For example, 1.2.1 can be swapped out and 1.2.4 put in its place without having to change any code in your applications. (At least that is the idea) |
From: <lke...@us...> - 2003-09-17 16:12:39
|
Update of /cvsroot/pidget/pidget/src/handlers In directory sc8-pr-cvs1:/tmp/cvs-serv19571/src/handlers Modified Files: pSessionHandler.inc Log Message: * Fixed some lingering PTK/Pidget conversion problems * Updated documentation Index: pSessionHandler.inc =================================================================== RCS file: /cvsroot/pidget/pidget/src/handlers/pSessionHandler.inc,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** pSessionHandler.inc 17 Sep 2003 00:19:18 -0000 1.1.1.1 --- pSessionHandler.inc 17 Sep 2003 16:12:36 -0000 1.2 *************** *** 63,67 **** ** false. ** ! ** @see Save ** @see Initialize ** @param $name A string used as an identifier for the variable. --- 63,67 ---- ** false. ** ! ** @see Set ** @see Initialize ** @param $name A string used as an identifier for the variable. |
From: <lke...@us...> - 2003-09-17 16:12:39
|
Update of /cvsroot/pidget/pidget/src In directory sc8-pr-cvs1:/tmp/cvs-serv19571/src Modified Files: pDisplay.inc pStyle.inc Log Message: * Fixed some lingering PTK/Pidget conversion problems * Updated documentation Index: pDisplay.inc =================================================================== RCS file: /cvsroot/pidget/pidget/src/pDisplay.inc,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** pDisplay.inc 17 Sep 2003 00:19:18 -0000 1.1.1.1 --- pDisplay.inc 17 Sep 2003 16:12:35 -0000 1.2 *************** *** 27,31 **** parent::__construct(); // protect programmers from hard coding ID values ! if (p_PROTECT && self::$IdCount == -1) self::$IdCount = rand(0, 99); else if (self::$IdCount == -1) --- 27,31 ---- parent::__construct(); // protect programmers from hard coding ID values ! if (PIDGET_PROTECT && self::$IdCount == -1) self::$IdCount = rand(0, 99); else if (self::$IdCount == -1) *************** *** 95,99 **** ** developers using p. */ ! protected function GetId() { return "id".$this->Id; } --- 95,99 ---- ** developers using p. */ ! public function GetId() { return "id".$this->Id; } *************** *** 132,136 **** ** recommended to have this return 'null'. */ ! //public function GetJSRef(); } --- 132,136 ---- ** recommended to have this return 'null'. */ ! abstract public function GetJSRef(); } Index: pStyle.inc =================================================================== RCS file: /cvsroot/pidget/pidget/src/pStyle.inc,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** pStyle.inc 17 Sep 2003 00:19:18 -0000 1.1.1.1 --- pStyle.inc 17 Sep 2003 16:12:35 -0000 1.2 *************** *** 10,14 **** ** can all be used in a consistant manner. */ ! abstract class pStyle extends pDisplay { protected $Widget=false; --- 10,14 ---- ** can all be used in a consistant manner. */ ! abstract class pStyle extends pObject { protected $Widget=false; |
From: <lke...@us...> - 2003-09-17 16:12:39
|
Update of /cvsroot/pidget/pidget/doc In directory sc8-pr-cvs1:/tmp/cvs-serv19571/doc Modified Files: objects.txt Log Message: * Fixed some lingering PTK/Pidget conversion problems * Updated documentation Index: objects.txt =================================================================== RCS file: /cvsroot/pidget/pidget/doc/objects.txt,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** objects.txt 17 Sep 2003 00:19:18 -0000 1.1.1.1 --- objects.txt 17 Sep 2003 16:12:35 -0000 1.2 *************** *** 6,13 **** --- 6,17 ---- [X] pErrorHandler [X] pPageHandler + [X] pSessionHandler + [X] pStyle + [X] [.. widget styles ..] [X] pDisplay [X] pPage [X] pForm [X] pGroup + [X] pDataItem [X] pLayout [X] pGridLayout *************** *** 20,29 **** [X] pLine [X] pList - [ ] pResultSet [X] pImage [X] pHtmlBlock [X] pLine [X] pLink - [ ] pImageLink [X] pBox [X] pFormWidget --- 24,31 ---- |
From: <lke...@us...> - 2003-09-17 16:12:39
|
Update of /cvsroot/pidget/pidget In directory sc8-pr-cvs1:/tmp/cvs-serv19571 Added Files: CREDITS Log Message: * Fixed some lingering PTK/Pidget conversion problems * Updated documentation --- NEW FILE: CREDITS --- CREDITS Pidget - The PHP Widget Library ================================================================================ Many people have contributed to the creation of Pidget. Special thanks goes to CommNav (http://www.commnav.com) for whom Pidget was initially designed, and who decided to release it under the LGPL. Project Manager: Luke Ehresman leh...@co... http://www.luke.ehresman.org Developers: David Whittington <spa...@co...> Patches: |
From: <lke...@us...> - 2003-09-17 13:57:20
|
Update of /cvsroot/pidget/pidget In directory sc8-pr-cvs1:/tmp/cvs-serv18172 Modified Files: README Log Message: Testing the commit cvs Index: README =================================================================== RCS file: /cvsroot/pidget/pidget/README,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** README 17 Sep 2003 00:20:49 -0000 1.2 --- README 17 Sep 2003 13:57:16 -0000 1.3 *************** *** 1,4 **** README Pidget - The PHP Widget Library ! ======================================================================== --- 1,8 ---- README Pidget - The PHP Widget Library ! ================================================================================ + Pidget is a graphical toolkit that abstracts HTML in PHP5, allowing for a clean + separation of display and logic in applications. Pidget is the same concept + as QT (the C++ graphical toolkit), but for PHP5 and HTML. It provides all the + components necessary to create interactive web applications while encouraging |