pidget-users 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
(1) |
Oct
(10) |
Nov
|
Dec
|
---|
From: David W. <dj...@ne...> - 2003-10-17 12:16:07
|
Dmitri wrote: > Hello > > I’ve been playing around with pidget for like 3 hours and I want to > say that it’s a cool thing. However, I found it to be very very > limited. I found out that pidget is only good for making forms with a > large amount of fields. I also found pidget to be very inflexible > since I couldn’t change the field name, or button name. For me, pidget > was extremely annoying when I had to create a login page with one > submit button, and fields for username and password. Pidget did not > have the option to mask the password field with asterisks. > > Maybe I’m missing something, but is pidget only useful for making big > forms and that’s it? Is pidget still far from being fully functional? > If so, what could I expect from a fully functional pidget? > > Thanks > > Dmitri > You bring up some good points. Pidget definately makes a lot more sense for big complex forms then it does for small simple forms. The main reason we began work on this library was to provide consistency and customizability of forms across large projects. Also, I agree that the naming issue is a problem. Right now the only way to access data across a post is to use databindings. In retrospect I think databindings were basically a bad idea (I came up with them; I can bash them). At least in their current incarnation they certainly are. Originally when I came up with the idea I was looking for a way to encapsulate the saving and retrieving of data to and from data sources (flatfiles, database, LDAP, etc.). Databindings were a general purpose solution to this problem. You could associate a set of widgets with a databinding and then call a method on the databinding and then the databinding would load the data from a data source into the widgets. The data bindings themselves could be named and then used to retrieve data from a post. They handled saving all the information about the widgets. However I think they would probably be a real pain to use. I think a better approach would be to allow pidgets themselves to be named. Oh, another thing which I neglected to mention above, data bindings where also there because it is difficult to name a widget which has other widgets nested within it. For example, if you have to calendar widgets on a screen and they both have text box contained within them named "Foo" then you might end up with a naming conflict. The solution to this is to tell widgets who their parent widget is so they can then use the name of their parent widget in conjunction with their own name to generate a name which is unique across an entire form. Then after a post there can be static method associated with each widget to retrieve the data which it represents. Sorry if that was confusing. Ask question and I'll try to answer them as best I can. Hopefully I'll get a chance to implement those ideas pretty soon and then everything will be more clear. Oh and as far as the current status of Pidget goes. I would say it is in the early stages of development. Though, it has much potential, as judged by it's creators. :) -- David "Spartacus" Whittington |
From: Dmitri <dmi...@ya...> - 2003-10-17 02:38:28
|
Hello I've been playing around with pidget for like 3 hours and I want to say that it's a cool thing. However, I found it to be very very limited. I found out that pidget is only good for making forms with a large amount of fields. I also found pidget to be very inflexible since I couldn't change the field name, or button name. For me, pidget was extremely annoying when I had to create a login page with one submit button, and fields for username and password. Pidget did not have the option to mask the password field with asterisks. Maybe I'm missing something, but is pidget only useful for making big forms and that's it? Is pidget still far from being fully functional? If so, what could I expect from a fully functional pidget? Thanks Dmitri |
From: Luke E. <lu...@eh...> - 2003-10-16 21:49:51
|
On Thu, Oct 16, 2003 at 05:39:13PM -0400, Dmitri wrote: > Hi, > > Ok it works now. As Luke said my problems were caused because I didn't > configure the pGeneral file. Excellent! > Also I noticed a javascript error on the first sample code posted on > this mailing list. The error is "line 74: unterminated string constant", > I'm using fully patched winxp and ie6. I have the script here: > http://www.f0rk.com/misc/pidget.php. The 2nd sample script works fine. It appears that the line containing the text, "this is a test of a button" was wrapped prematurely. If it was copied/pasted from an email, that could very well be the case. Try looking at pidget.php and see if moving that all on to the same line fixes the problem. Luke -- Luke Ehresman luke[at]ehresman.org http://www.luke.ehresman.org |
From: Dmitri <dmi...@ya...> - 2003-10-16 21:39:48
|
Hi, Ok it works now. As Luke said my problems were caused because I didn't configure the pGeneral file. Also I noticed a javascript error on the first sample code posted on this mailing list. The error is "line 74: unterminated string constant", I'm using fully patched winxp and ie6. I have the script here: http://www.f0rk.com/misc/pidget.php. The 2nd sample script works fine. Thanks Dmitri |
From: Luke E. <leh...@cs...> - 2003-10-16 21:08:47
|
Interesting.. The fact that it cannot run session_start() indicates that maybe something is getting printed out to the screen before that function gets called. Check in the index.php and see if there is any white space before the <?php. The other errors seem to be caused by a misconfiguration. You need to open up pGeneral and change the define() functions to reflect your installation. Let us know if that helps.. Luke On Thu, Oct 16, 2003 at 07:37:51AM -0400, Dmitri wrote: > Hello > > I compiled php5, and apache without problems. However I'm having trouble > getting pidget to work. I copied the src directory into > /usr/local/include/php/pidget (I renamed src to pidget) and I set the > include dir in my php.ini. > > > > Here's my include: > > include_path = > "/usr/local/lib:/usr/local/lib/php:/usr/local/include/php:/usr/local/inc > lude:/usr/local/include/php/pidget:/usr/local/include/php/pidget/widgets > :/usr/local/include/php/pidget/styles:/usr/local/include/php/pidget/hand > lers:/usr/local/include/php/pidget/interfaces:/usr/local/include/php/pid > get/layouts" > > > > > > I copied and pasted an example from the mailing list and it's giving me > a bunch of errors: > > > > Warning: session_start(): Cannot send session cookie - headers already > sent by (output started at > /www/htdocs/misc/pidget/src/htdocs/index.php:1) in > /usr/local/include/php/pidget/pGeneral.inc on line 30 > > Warning: session_start(): Cannot send session cache limiter - headers > already sent (output started at > /www/htdocs/misc/pidget/src/htdocs/index.php:1) in > /usr/local/include/php/pidget/pGeneral.inc on line 30 > > Warning: opendir(/www/htdocs/pidget/src/styles/): failed to open dir: No > such file or directory in > /usr/local/include/php/pidget/handlers/pPageHandler.inc on line 39 > > Warning: readdir(): supplied argument is not a valid Directory resource > in /usr/local/include/php/pidget/handlers/pPageHandler.inc on line 40 > > Warning: closedir(): supplied argument is not a valid Directory resource > in /usr/local/include/php/pidget/handlers/pPageHandler.inc on line 46 > > Warning: opendir(/www/htdocs/pidget/src/local/styles/): failed to open > dir: No such file or directory in > /usr/local/include/php/pidget/handlers/pPageHandler.inc on line 39 > > Warning: readdir(): supplied argument is not a valid Directory resource > in /usr/local/include/php/pidget/handlers/pPageHandler.inc on line 40 > > Warning: closedir(): supplied argument is not a valid Directory resource > in /usr/local/include/php/pidget/handlers/pPageHandler.inc on line 46 > Pidget WARNING: Could not find style definition for 'default' (using > defaults). > > Warning: Invalid argument supplied for foreach() in > /usr/local/include/php/pidget/handlers/pPageHandler.inc on line 87 > > Warning: Invalid argument supplied for foreach() in > /usr/local/include/php/pidget/handlers/pPageHandler.inc on line 87 > Pidget Fatal Error: Widget 'pPage' does not have a style. > > > > > > Can someone please tell me how they got pidget to work, or what am I > doing wrong? > > > > Thanks > > Dmitri > -- Luke Ehresman luke[at]ehresman.org http://www.luke.ehresman.org |
From: Dmitri <dmi...@ya...> - 2003-10-16 11:39:20
|
Hello I compiled php5, and apache without problems. However I'm having trouble getting pidget to work. I copied the src directory into /usr/local/include/php/pidget (I renamed src to pidget) and I set the include dir in my php.ini. Here's my include: include_path = "/usr/local/lib:/usr/local/lib/php:/usr/local/include/php:/usr/local/inc lude:/usr/local/include/php/pidget:/usr/local/include/php/pidget/widgets :/usr/local/include/php/pidget/styles:/usr/local/include/php/pidget/hand lers:/usr/local/include/php/pidget/interfaces:/usr/local/include/php/pid get/layouts" I copied and pasted an example from the mailing list and it's giving me a bunch of errors: Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /www/htdocs/misc/pidget/src/htdocs/index.php:1) in /usr/local/include/php/pidget/pGeneral.inc on line 30 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /www/htdocs/misc/pidget/src/htdocs/index.php:1) in /usr/local/include/php/pidget/pGeneral.inc on line 30 Warning: opendir(/www/htdocs/pidget/src/styles/): failed to open dir: No such file or directory in /usr/local/include/php/pidget/handlers/pPageHandler.inc on line 39 Warning: readdir(): supplied argument is not a valid Directory resource in /usr/local/include/php/pidget/handlers/pPageHandler.inc on line 40 Warning: closedir(): supplied argument is not a valid Directory resource in /usr/local/include/php/pidget/handlers/pPageHandler.inc on line 46 Warning: opendir(/www/htdocs/pidget/src/local/styles/): failed to open dir: No such file or directory in /usr/local/include/php/pidget/handlers/pPageHandler.inc on line 39 Warning: readdir(): supplied argument is not a valid Directory resource in /usr/local/include/php/pidget/handlers/pPageHandler.inc on line 40 Warning: closedir(): supplied argument is not a valid Directory resource in /usr/local/include/php/pidget/handlers/pPageHandler.inc on line 46 Pidget WARNING: Could not find style definition for 'default' (using defaults). Warning: Invalid argument supplied for foreach() in /usr/local/include/php/pidget/handlers/pPageHandler.inc on line 87 Warning: Invalid argument supplied for foreach() in /usr/local/include/php/pidget/handlers/pPageHandler.inc on line 87 Pidget Fatal Error: Widget 'pPage' does not have a style. Can someone please tell me how they got pidget to work, or what am I doing wrong? Thanks Dmitri |
From: Luke E. <leh...@cs...> - 2003-10-15 16:25:12
|
There are some screen shots on the web site now too.. I made a simple style called "Blue Skies" which is also in CVS now too, the screen shots show the difference between "default" and "blueskies". -- Luke Ehresman luke[at]ehresman.org http://www.luke.ehresman.org |
From: Luke E. <leh...@cs...> - 2003-10-15 16:23:34
|
I've whipped up some examples of how Pidget works. They are attached. They assume that they are located in the /pidget-dir/examples/samples/ directory. Alternatively, you could check out anonymous CVS and they should be in there too. If you have problems getting it up and running, let me know. There are some config variables that will need to be tweaked in the pGeneral.inc file. Luke -- Luke Ehresman luke[at]ehresman.org http://www.luke.ehresman.org |
From: Luke E. <leh...@cs...> - 2003-10-14 23:22:35
|
Someone else requested this too. I will work on getting some and post them on the web site. I probably should have included some in the distribution. I'll be sure to let you know when they're up there. Luke Stephen Gibson said: > Pidget looks very interesting. > > Are there any example files to illustrate how to use Pidget? > > Thanks, > > Steve. > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > SourceForge.net hosts over 70,000 Open Source Projects. > See the people who have HELPED US provide better services: > Click here: http://sourceforge.net/supporters.php > _______________________________________________ > Pidget-users mailing list > Pid...@li... > https://lists.sourceforge.net/lists/listinfo/pidget-users > --=20 _ . . Luke Ehresman / v \ leh...@cs... /( )\ http://www.css.tayloru.edu/~lehresma ^^ ^^ |
From: Stephen G. <st...@rs...> - 2003-10-14 22:39:22
|
Pidget looks very interesting. Are there any example files to illustrate how to use Pidget? Thanks, Steve. |
From: Luke E. <leh...@cs...> - 2003-09-17 13:49:57
|
This is a test. -- Luke Ehresman luke[at]ehresman.org http://www.luke.ehresman.org |