You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(1) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(31) |
Feb
(4) |
Mar
(39) |
Apr
(4) |
May
(36) |
Jun
(6) |
Jul
(11) |
Aug
(6) |
Sep
(9) |
Oct
(8) |
Nov
(4) |
Dec
(1) |
2004 |
Jan
(11) |
Feb
|
Mar
(1) |
Apr
(8) |
May
(2) |
Jun
|
Jul
|
Aug
(2) |
Sep
|
Oct
|
Nov
|
Dec
|
2008 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
From: Pierre R. <pie...@wa...> - 2003-08-31 12:24:59
|
Hello, I tried the example in Alex's "fork" from = http://www.geocities.com/alex_has_email/phrame-alex/ under WindowsXP = Pro. 1/I set USE_LOWERCASE_FOR_ACTIONS at true. Then in = ActionController::_fixWindowsRewriteBug, I got Notice about undefined = index with "action". I added a IsSet test. 2/When I run "Test ActionForwards 1", I get Warning messages about = "Call-time pass-by-reference has been deprecated" in httpSession.php, = with calls to functions Hashmap::put and get. I removed the "call-time = by refences" in httpSession.php. In Hashmap::put, I declare a argument = with pass-by-reference . It seems OK.=20 3/As I haven't put DocumentRoot under Apache directory, I had to change: - xml.php : added a new argument to specify a search directory for the = xls files function transform($xml, $xsls, $params =3D array(), $path =3D '')=20 { //automatically process if subclassed // if (is_null($xml)) { $xml =3D $this->marshal($this); } $xslt =3D xslt_create(); if ( ! is_null($path) ) { xslt_set_base ( $xslt , 'file://' . $path .'/' ) ; } [...] - XSLDispatcher.php : added an instruction to get the search directory = for xls files function forward(){ //prepare for XSL translation $xml =3D $this->_setUp(); $path =3D TEMPLATE_DIR; $webapp_path =3D dirname( $_SERVER['SCRIPT_FILENAME'] ) ; = // >>> new instruction <<< $xsl =3D $this->actionForward->getPath(); if (substr($xsl,0,1)=3D=3D"/") { $xsl=3Dsubstr($xsl,1);} // strip = leading / //release control to view for final rendering $result =3D Xml::transform($xml, array($path.$xsl), $_GET, = $webapp_path); // >>> new argument <<< echo $result; } 4/ With the 2d example, "Say Hi 2", in index.html, I got HTTP 404 = message. I replaced "phrame.php?view=3DsayHi" by = "phrame.php?view=3DsayHelloAsk2.xsl" I think that some more explanation are needed about url_rewriting for = person like me who doesn't master all the tricks of Apache, mod_rewrite = and .htaccess.=20 Regards Pierre Raoul |
From: Arnold C. <arn...@ya...> - 2003-08-17 20:28:50
|
My popular request I have updated the license of the Phrame project to the LGPL before the next release. It has been checked into CVS and will become part of the bundled version in the next release. Thank you for your patience. Arnold __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com |
From: Bas C. <ba...@ci...> - 2003-08-09 01:14:59
|
Dear list members, Herewith I'd like to announce the first release of my Reference Application (refapp) for Phrame. You can download it from my home page: http://home.planet.nl/~basca The refapp is written to serve as a starting point for developers who want to build structured, complex business applications in PHP. It provides a minimum code base that enables Phrame at its full potential. The version of Phrame that is supplied with the refapp is 2.0 with patch 782839 applied. I would appreciate your feed back very much in order to improve my refapp. Kind regards, Bas p.s. Documentation follows later (as usual ;-) -- Bas Cancrinus -> ba...@ci... Software Architect Cipherware Ltd. -> http://www.cipherware.com |
From: Alex <ale...@ya...> - 2003-08-07 18:22:17
|
Hi, To anyone interested, I've updated my modifications package and posted it to: http://www.geocities.com/alex_has_email/phrame-alex/ Available are three different packages: * The modified phrame library package * A simple example using the phrame library o Needs Phrame and Smarty * The big all-in-one package o Includes modified Phrame, Smarty, ADOdb, etc. o More features demonstrated Regards, Alex __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com |
From: Emile S. <es...@wa...> - 2003-07-21 15:10:20
|
On Mon, 2003-07-21 at 01:49, Alex wrote: > I think the phrame-project would be very happy with > your support, but I also think that for the moment, > you'd better wait and see to prevent double work. > > The active developers are talking about how to > integrate. And it'll probably happen soon. I'll stay on the lookout for it. One thing I would like to advocate for during the integration is to include both the programmatic (MappingManager class) and config file (XML based a'la struts from Alex) methods of configuration. The XML parsers that your new config reader relies on are still not pervasive in cheap hosting provider installs of PHP, or on not *too* ancient distributions (RedHat 7.3, eg.). The primary motivation struts had (runtime vs. compiletime config) is a non-issue with php, so not making the XML stuff a hard dependency seems like a good thing. Thanks all for the cool framework, -emile |
From: Alex <ale...@ya...> - 2003-07-21 08:49:56
|
Hi Emile and List, > Good to hear that there's a fix. I went digging and > found a post in the > archive from an Alex pointing to > http://www.geocities.com/alex_has_email/phrame-alex/ > that looks like > some of the changes you're talking about? That will solve your problems with the different forwards. > I would > be happy to go > through the archives and come up with incremental, > self contained > patches I think the phrame-project would be very happy with your support, but I also think that for the moment, you'd better wait and see to prevent double work. The active developers are talking about how to integrate. And it'll probably happen soon. You can of course play around with the different versions and get some experience with what's out there... > In my own messing > around some things that > seemed like nice units of change were: We are in fact integrating those nice units as we speak. > Anyway, if this sounds useful say the word and I'll > post a series of > diffs. Keep your eye on this list and keep in contact with Arnold! Regards, Alex --- Emile Snyder <es...@wa...> wrote: > Good to hear that there's a fix. I went digging and > found a post in the > archive from an Alex pointing to > http://www.geocities.com/alex_has_email/phrame-alex/ > that looks like > some of the changes you're talking about? > > Out of curiousity, is new development not really > happening in CVS due to > peoples lack of interest in seeing their changes > move in quickly, lack > of comfort with CVS, or some other factor? I would > be happy to go > through the archives and come up with incremental, > self contained > patches for some of the proposed changes to feed you > if that would help > things move into CVS faster. In my own messing > around some things that > seemed like nice units of change were: > > Integrating the MappingManager class from Jason > Sweat (low impact on > other stuff) with a corresponding updated helloworld > > Integrating the smarty based View stuff from Jason > Sweat as phrame/ext > classes, and including a Smarty based helloworld > example (smartyworld?) > > I can propose logically independent pieces from > Alex's updated packages > after giving it a more thorough looking over... > > Anyway, if this sounds useful say the word and I'll > post a series of > diffs. > > thanks, > -emile > > On Sun, 2003-07-20 at 15:36, Arnold Cano wrote: > > Hi, > > > > To be completely honest that is my fault. I didn't > > implement that feature in the last stable release > of > > Phrame. However, the good news is that it has been > > implemented in contributions from Alex and Jason > in > > the form of request dispatchers. We are looking > into > > potentially merging the work Alex and Jason have > done > > in the view handling of Phrame. This is in my > opinion > > the only thing holding back a new release. > > > > Arnold > > > > > > --- Ted Suzman <te...@su...> wrote: > > > Hello, > > > > > > I've been wondering this myself. I _think_ that, > in > > > the original struts, a > > > forward forwards to another action on the server > > > side whereas a redirect > > > uses an html redirect or the "location" header > to do > > > a client-side redirect. > > > > > > Ted > > > ----- Original Message ----- > > > From: "Emile Snyder" <em...@al...> > > > To: <phr...@li...> > > > Sent: Sunday, July 20, 2003 4:53 PM > > > Subject: [Phrame-devel] non-redirect forwards in > > > ActionController question > > > > > > > > > > Hi all, > > > > > > > > I'm new to phrame, and to struts. I found > phrame > > > through the > > > > php|architect articles, and it looked like a > good > > > fit for some of the > > > > projects I'm working on now. I've been > reading > > > the docs on the site, > > > > installing and playing with the > phrame2-examples, > > > and reading up on and > > > > playing with struts using tomcat. > > > > > > > > I'm confused by the distinction between > redirect > > > ActionForwards and > > > > non-redirect ones in Phrame. Under struts the > > > redirect uses an html > > > > redirect directive to the browser, while the > > > non-redirect version > > > > doesn't, which makes sense to me. In phrame > > > > ActionController::_processForward however, the > > > non-redirect is identical > > > > to the redirect form except that it clears the > > > session first. Why is > > > > this? > > > > > > > > thanks, > > > > -Emile Snyder > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > This SF.net email is sponsored by: VM Ware > > > > With VMware you can run multiple operating > systems > > > on a single machine. > > > > WITHOUT REBOOTING! Mix Linux / Windows / > Novell > > > virtual machines at the > > > > same time. Free trial click here: > > > http://www.vmware.com/wl/offer/345/0 > > > > > _______________________________________________ > > > > Phrame-devel mailing list > > > > Phr...@li... > > > > > > > > > > https://lists.sourceforge.net/lists/listinfo/phrame-devel > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.net email is sponsored by: VM Ware > > > With VMware you can run multiple operating > systems > > > on a single machine. > > > WITHOUT REBOOTING! Mix Linux / Windows / Novell > > > virtual machines at the > > > same time. Free trial click here: > > > http://www.vmware.com/wl/offer/345/0 > > > _______________________________________________ > > > Phrame-devel mailing list > > > Phr...@li... > > > > > > https://lists.sourceforge.net/lists/listinfo/phrame-devel > > > > > > __________________________________ > > Do you Yahoo!? > > SBC Yahoo! DSL - Now only $29.95 per month! > > http://sbc.yahoo.com > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: VM Ware > > With VMware you can run multiple operating systems > on a single machine. > > WITHOUT REBOOTING! Mix Linux / Windows / Novell > virtual machines at the > > same time. Free trial click here: > http://www.vmware.com/wl/offer/345/0 > > _______________________________________________ > > Phrame-devel mailing list > > Phr...@li... > > > https://lists.sourceforge.net/lists/listinfo/phrame-devel > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems > on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell > virtual machines at the > same time. Free trial click here: > http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > Phrame-devel mailing list > Phr...@li... > https://lists.sourceforge.net/lists/listinfo/phrame-devel __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com |
From: Emile S. <es...@wa...> - 2003-07-21 08:03:03
|
Good to hear that there's a fix. I went digging and found a post in the archive from an Alex pointing to http://www.geocities.com/alex_has_email/phrame-alex/ that looks like some of the changes you're talking about? Out of curiousity, is new development not really happening in CVS due to peoples lack of interest in seeing their changes move in quickly, lack of comfort with CVS, or some other factor? I would be happy to go through the archives and come up with incremental, self contained patches for some of the proposed changes to feed you if that would help things move into CVS faster. In my own messing around some things that seemed like nice units of change were: Integrating the MappingManager class from Jason Sweat (low impact on other stuff) with a corresponding updated helloworld Integrating the smarty based View stuff from Jason Sweat as phrame/ext classes, and including a Smarty based helloworld example (smartyworld?) I can propose logically independent pieces from Alex's updated packages after giving it a more thorough looking over... Anyway, if this sounds useful say the word and I'll post a series of diffs. thanks, -emile On Sun, 2003-07-20 at 15:36, Arnold Cano wrote: > Hi, > > To be completely honest that is my fault. I didn't > implement that feature in the last stable release of > Phrame. However, the good news is that it has been > implemented in contributions from Alex and Jason in > the form of request dispatchers. We are looking into > potentially merging the work Alex and Jason have done > in the view handling of Phrame. This is in my opinion > the only thing holding back a new release. > > Arnold > > > --- Ted Suzman <te...@su...> wrote: > > Hello, > > > > I've been wondering this myself. I _think_ that, in > > the original struts, a > > forward forwards to another action on the server > > side whereas a redirect > > uses an html redirect or the "location" header to do > > a client-side redirect. > > > > Ted > > ----- Original Message ----- > > From: "Emile Snyder" <em...@al...> > > To: <phr...@li...> > > Sent: Sunday, July 20, 2003 4:53 PM > > Subject: [Phrame-devel] non-redirect forwards in > > ActionController question > > > > > > > Hi all, > > > > > > I'm new to phrame, and to struts. I found phrame > > through the > > > php|architect articles, and it looked like a good > > fit for some of the > > > projects I'm working on now. I've been reading > > the docs on the site, > > > installing and playing with the phrame2-examples, > > and reading up on and > > > playing with struts using tomcat. > > > > > > I'm confused by the distinction between redirect > > ActionForwards and > > > non-redirect ones in Phrame. Under struts the > > redirect uses an html > > > redirect directive to the browser, while the > > non-redirect version > > > doesn't, which makes sense to me. In phrame > > > ActionController::_processForward however, the > > non-redirect is identical > > > to the redirect form except that it clears the > > session first. Why is > > > this? > > > > > > thanks, > > > -Emile Snyder > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.net email is sponsored by: VM Ware > > > With VMware you can run multiple operating systems > > on a single machine. > > > WITHOUT REBOOTING! Mix Linux / Windows / Novell > > virtual machines at the > > > same time. Free trial click here: > > http://www.vmware.com/wl/offer/345/0 > > > _______________________________________________ > > > Phrame-devel mailing list > > > Phr...@li... > > > > > > https://lists.sourceforge.net/lists/listinfo/phrame-devel > > > > > > > > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: VM Ware > > With VMware you can run multiple operating systems > > on a single machine. > > WITHOUT REBOOTING! Mix Linux / Windows / Novell > > virtual machines at the > > same time. Free trial click here: > > http://www.vmware.com/wl/offer/345/0 > > _______________________________________________ > > Phrame-devel mailing list > > Phr...@li... > > > https://lists.sourceforge.net/lists/listinfo/phrame-devel > > > __________________________________ > Do you Yahoo!? > SBC Yahoo! DSL - Now only $29.95 per month! > http://sbc.yahoo.com > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > Phrame-devel mailing list > Phr...@li... > https://lists.sourceforge.net/lists/listinfo/phrame-devel > |
From: Arnold C. <arn...@ya...> - 2003-07-20 22:36:41
|
Hi, To be completely honest that is my fault. I didn't implement that feature in the last stable release of Phrame. However, the good news is that it has been implemented in contributions from Alex and Jason in the form of request dispatchers. We are looking into potentially merging the work Alex and Jason have done in the view handling of Phrame. This is in my opinion the only thing holding back a new release. Arnold --- Ted Suzman <te...@su...> wrote: > Hello, > > I've been wondering this myself. I _think_ that, in > the original struts, a > forward forwards to another action on the server > side whereas a redirect > uses an html redirect or the "location" header to do > a client-side redirect. > > Ted > ----- Original Message ----- > From: "Emile Snyder" <em...@al...> > To: <phr...@li...> > Sent: Sunday, July 20, 2003 4:53 PM > Subject: [Phrame-devel] non-redirect forwards in > ActionController question > > > > Hi all, > > > > I'm new to phrame, and to struts. I found phrame > through the > > php|architect articles, and it looked like a good > fit for some of the > > projects I'm working on now. I've been reading > the docs on the site, > > installing and playing with the phrame2-examples, > and reading up on and > > playing with struts using tomcat. > > > > I'm confused by the distinction between redirect > ActionForwards and > > non-redirect ones in Phrame. Under struts the > redirect uses an html > > redirect directive to the browser, while the > non-redirect version > > doesn't, which makes sense to me. In phrame > > ActionController::_processForward however, the > non-redirect is identical > > to the redirect form except that it clears the > session first. Why is > > this? > > > > thanks, > > -Emile Snyder > > > > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: VM Ware > > With VMware you can run multiple operating systems > on a single machine. > > WITHOUT REBOOTING! Mix Linux / Windows / Novell > virtual machines at the > > same time. Free trial click here: > http://www.vmware.com/wl/offer/345/0 > > _______________________________________________ > > Phrame-devel mailing list > > Phr...@li... > > > https://lists.sourceforge.net/lists/listinfo/phrame-devel > > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems > on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell > virtual machines at the > same time. Free trial click here: > http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > Phrame-devel mailing list > Phr...@li... > https://lists.sourceforge.net/lists/listinfo/phrame-devel __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com |
From: Ted S. <te...@su...> - 2003-07-20 22:08:22
|
Hello, I've been wondering this myself. I _think_ that, in the original struts, a forward forwards to another action on the server side whereas a redirect uses an html redirect or the "location" header to do a client-side redirect. Ted ----- Original Message ----- From: "Emile Snyder" <em...@al...> To: <phr...@li...> Sent: Sunday, July 20, 2003 4:53 PM Subject: [Phrame-devel] non-redirect forwards in ActionController question > Hi all, > > I'm new to phrame, and to struts. I found phrame through the > php|architect articles, and it looked like a good fit for some of the > projects I'm working on now. I've been reading the docs on the site, > installing and playing with the phrame2-examples, and reading up on and > playing with struts using tomcat. > > I'm confused by the distinction between redirect ActionForwards and > non-redirect ones in Phrame. Under struts the redirect uses an html > redirect directive to the browser, while the non-redirect version > doesn't, which makes sense to me. In phrame > ActionController::_processForward however, the non-redirect is identical > to the redirect form except that it clears the session first. Why is > this? > > thanks, > -Emile Snyder > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > Phrame-devel mailing list > Phr...@li... > https://lists.sourceforge.net/lists/listinfo/phrame-devel > > |
From: Emile S. <em...@al...> - 2003-07-20 20:51:20
|
Hi all, I'm new to phrame, and to struts. I found phrame through the php|architect articles, and it looked like a good fit for some of the projects I'm working on now. I've been reading the docs on the site, installing and playing with the phrame2-examples, and reading up on and playing with struts using tomcat. I'm confused by the distinction between redirect ActionForwards and non-redirect ones in Phrame. Under struts the redirect uses an html redirect directive to the browser, while the non-redirect version doesn't, which makes sense to me. In phrame ActionController::_processForward however, the non-redirect is identical to the redirect form except that it clears the session first. Why is this? thanks, -Emile Snyder |
From: Arnold C. <arn...@ya...> - 2003-07-18 15:57:54
|
I would like to announce the availability of a Wiki for the Phrame project. I'd like to thank Ted Suzman for his work in setting it up and donating a server. It is located at http://phrame.suzman.net If anyone experiences any problems or has suggestions for improvement please let me know. Arnold __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com |
From: Arnold C. <arn...@ya...> - 2003-07-08 04:17:44
|
A Wiki is a great idea and is a popular request. I will try to make one available as soon as I can. Arnold --- Mike Carter <mi...@bu...> wrote: > > > > -----Original Message----- > > From: phr...@li... > > > > Writing documentation is something I guess I could > have > > contributed too, had I had any experience using > Phrame and/or > > MVC before. > > A Wiki on the Phrame website for users to edit the > docs on the fly would > be a great start for user-contributed documentation. > > Regards, > > > > Mike C. > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system > (http://www.grisoft.com). > Version: 6.0.483 / Virus Database: 279 - Release > Date: 19/05/2003 > > __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com |
From: Jason S. <jsw...@ya...> - 2003-07-07 03:38:16
|
err...@TODO: fill these in later :) /** * add a form to the mapping * * "protected" function to be used by the constructor function of a derived class * @param string $psIdent the identifer for the form * @param string $psType the name of this form's class * @return boolean sucess */ function _AddForm($psIdent, $psType) /** * add a map to the mapping * * "protected" function to be used by the constructor function of a derived class * @param string $psIdent identifier for this mapping (the value you pass) * @param string $psType the class name for this action * @param string $psInput base URL from which this action is typically called * @param string $psForm optional name of the form to use for this mapping, will be the same as $psIdent if not specified * @param integer $piValidate validate if 1 * @return boolean sucess */ function _AddMapping($psIdent, $psType, $psInput, $psForm='_DEFAULT_', $piValidate=0) /** * add a forward to an existing mapping * * "protected" function to be used by the constructor function of a derived class * @param string $psMapIdent the identifier of the mapping this is a forward for * @param string $psFwdIdent the identifier for this forward * @param string $psPath optional, path to forward to, will use mapping $psInput as default * @param integer $piRedir optional, clear session on redirect if set to 1, defaults to 0 * @return boolean sucess */ function _AddForward($psMapIdent, $psFwdIdent, $psPath='_DEFAULT_', $piRedir=0) Jason --- Mike Carter <mi...@bu...> wrote: > Hi, > > When trying to define a map by extending the MappingManager class (by > Jason S) I'd like to know exactly what the method parameters are. > > The in-line documentation is a bit sparse in this area, detailing only > the return variable :-( > > For example, what's all the input variables for: > > MappingManager::_AddMapping($psIdent, $psType, $psInput, > $psForm='_DEFAULT_', $piValidate=0) > > I can look at the example code from the PHP|architect example but it > would be easier and nicer if it was inline too - on hand whilst trying > to get my head around MVC (still). > > I left all the MVC for over a month, hoping that when I come back it > would be all clear - erm, that hasn't quite worked though. > > Regards, > > _________________________________________ > Mike Carter > ICQ#: 29173597 > More ways to contact me: http://wwp.icq.com/29173597 > _________________________________________ > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.483 / Virus Database: 279 - Release Date: 19/05/2003 > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > _______________________________________________ > Phrame-devel mailing list > Phr...@li... > https://lists.sourceforge.net/lists/listinfo/phrame-devel __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com |
From: Mike C. <mi...@bu...> - 2003-07-06 21:11:20
|
Hi, When trying to define a map by extending the MappingManager class (by Jason S) I'd like to know exactly what the method parameters are. The in-line documentation is a bit sparse in this area, detailing only the return variable :-( For example, what's all the input variables for: MappingManager::_AddMapping($psIdent, $psType, $psInput, $psForm='_DEFAULT_', $piValidate=0) I can look at the example code from the PHP|architect example but it would be easier and nicer if it was inline too - on hand whilst trying to get my head around MVC (still). I left all the MVC for over a month, hoping that when I come back it would be all clear - erm, that hasn't quite worked though. Regards, _________________________________________ Mike Carter ICQ#: 29173597 More ways to contact me: http://wwp.icq.com/29173597 _________________________________________ --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.483 / Virus Database: 279 - Release Date: 19/05/2003 |
From: Mike C. <mi...@bu...> - 2003-07-04 18:00:53
|
> -----Original Message----- > From: phr...@li... > > Writing documentation is something I guess I could have > contributed too, had I had any experience using Phrame and/or > MVC before. A Wiki on the Phrame website for users to edit the docs on the fly would be a great start for user-contributed documentation. Regards, Mike C. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.483 / Virus Database: 279 - Release Date: 19/05/2003 |
From: Peter \DeCaf\ P. <de...@al...> - 2003-06-25 00:06:41
|
Hi Jason, Maybe I haven't thought this issue through thoroughly, but isn't that what a HashMap is for? Working with associative arrays that is? As I understood it the util-classes are pretty much copies of the Java equivalents, and there are indeed no such thing as an associative array in Java. That is a Map. So if you need to use and manipulate an associative array, i.e. a map of some sort, wouldn't you be better off using a HashMap instead? (An iterator that works for the HashMap might be a good idea though) Just my thoughts, please correct me if you think I'm wrong. Sincerely, Peter Palotas. > I just encountered the fact that the arraylist object, and in > particular the listiterator, will not work with associative arrays. > > Worthy of a TODO item? > |
From: Peter \DeCaf\ P. <de...@al...> - 2003-06-25 00:01:16
|
Arnold, I'm really glad to hear that you are working on fixing that problem, because I believe phrame can become a very interesting and useful project. Well, it already is, but there is always room for improvement and new ideas everywhere. I would definately like to contribute to this project in any way that I can, but as of now I'm not sure in what areas I could, since I have no previous experience of working with Struts or MVC nor with Phrame. I'm currently trying out Phrame with Smarty templates trying to learn it. I've gotten some small ideas for improvement or new features here and there but I will need to dig deeper and learn more before I can decide wether those ideas are good. As I see it the main problem with phrame as of now is a lack of good documentation, which unfortunately holds true for very many Open Source projects. Good documentation is one of the most important parts of any programming library/framework if it is to be attractive to its intended audience. I've struggled quite a bit trying to grasp the concepts and ideas and understand how to use Phrame and I'm starting to get the hang of it after reading through Jason's two articles in PHP Architect about MVC and Phrame. But still, better documentation and more examples should be a first priority after fixing any bugs and implementing the most essential new features that have been posted on this list. This is in my humble oppinion only ofcourse, since I'm not a member of this project I'm in no position to decide these things, but take it as a small suggestion from a newbie to Phrame and MVC who really thinks this is the solution I've been looking for. Writing documentation is something I guess I could have contributed too, had I had any experience using Phrame and/or MVC before. So with this explanation I leave it for you to decide wether I might be able to help out with something, which I'll gladly do if I'm able! Just let me know. Otherwise, I'll let you know the moment I feel confident that I can contribute with something that I see is needed! Sincerely, Peter Palotas. > Peter, > > You've stumbled onto the problem I am currently trying > to fix. :) I've been out of the country on vacation > the past few weeks and am now back at work. I have > invited Jason and Alex as project developers. > Hopefully, this will help remove the bottleneck (me) > in getting the project into a higher gear. > > I'd also like to invite others who are interested in > developing on the Phrame project to become project > developers. I'd also like to hear from web designers > for the Phrame website, editors for documentation, > etc. I've said from the beginning that I'd like Phrame > to be community driven. If you are interested please > contact me! > > Arnold > > --- Peter Palotas <pe...@sm...> wrote: > > Hi, > > > > I have been looking for a good framework for > > developing > > PHP-applications, and stumbled on Smarty and from > > there I got a link to > > Phrame. This seems to be a good effort, but from > > reading the > > mailing-list archives I find that a lot of people > > have made a lot of > > improvements and suggestions and bugfixes, but none > > of these have gone > > into the CVS or been included in the project. > > > > Is there any reason that the project Admin is not > > including these things > > in the CVS? Why aren't the people submitting new > > code included as > > developers/admins for the project? > > > > I would love to use phrame for development but I > > don't want to have to > > browse through a bunch of mailing lists looking for > > patches and updates > > trying to apply the relevant ones myself. I thought > > the entire reason > > for having a project at sourceforge was to allow for > > several developers > > to contribute through CVS? > > > > I'm not quite sure wherein the problem lies... If > > the Admin Arnold > > doesn't want others to work on the projects, or if > > others don't want to > > (but it seems they do because of the many postings > > with code that has > > been made to this list), or what the reason is for > > not updating the CVS > > and/or creating new releases? > > > > Perhaps someone could enlighten me on this? > > > > Sincerely, Peter. > > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: INetU > > Attention Web Developers & Consultants: Become An > > INetU Hosting Partner. > > Refer Dedicated Servers. We Manage Them. You Get 10% > > Monthly Commission! > > INetU Dedicated Managed Hosting > http://www.inetu.net/partner/index.php > > > _______________________________________________ > > Phrame-devel mailing list > > Phr...@li... > > > https://lists.sourceforge.net/lists/listinfo/phrame-devel > > > __________________________________ > Do you Yahoo!? > SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An INetU > Hosting Partner. Refer Dedicated Servers. We Manage Them. You > Get 10% Monthly Commission! INetU Dedicated Managed Hosting > http://www.inetu.net/partner/index.php > > _______________________________________________ > Phrame-devel mailing list > Phr...@li... > https://lists.sourceforge.net/lists/listinfo/phrame-devel > |
From: Jason S. <jsw...@ya...> - 2003-06-24 18:10:13
|
I just encountered the fact that the arraylist object, and in particular the listiterator, will not work with associative arrays. Worthy of a TODO item? __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com |
From: Arnold C. <arn...@ya...> - 2003-06-23 19:33:26
|
Peter, You've stumbled onto the problem I am currently trying to fix. :) I've been out of the country on vacation the past few weeks and am now back at work. I have invited Jason and Alex as project developers. Hopefully, this will help remove the bottleneck (me) in getting the project into a higher gear. I'd also like to invite others who are interested in developing on the Phrame project to become project developers. I'd also like to hear from web designers for the Phrame website, editors for documentation, etc. I've said from the beginning that I'd like Phrame to be community driven. If you are interested please contact me! Arnold --- Peter Palotas <pe...@sm...> wrote: > Hi, > > I have been looking for a good framework for > developing > PHP-applications, and stumbled on Smarty and from > there I got a link to > Phrame. This seems to be a good effort, but from > reading the > mailing-list archives I find that a lot of people > have made a lot of > improvements and suggestions and bugfixes, but none > of these have gone > into the CVS or been included in the project. > > Is there any reason that the project Admin is not > including these things > in the CVS? Why aren't the people submitting new > code included as > developers/admins for the project? > > I would love to use phrame for development but I > don't want to have to > browse through a bunch of mailing lists looking for > patches and updates > trying to apply the relevant ones myself. I thought > the entire reason > for having a project at sourceforge was to allow for > several developers > to contribute through CVS? > > I'm not quite sure wherein the problem lies... If > the Admin Arnold > doesn't want others to work on the projects, or if > others don't want to > (but it seems they do because of the many postings > with code that has > been made to this list), or what the reason is for > not updating the CVS > and/or creating new releases? > > Perhaps someone could enlighten me on this? > > Sincerely, Peter. > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: INetU > Attention Web Developers & Consultants: Become An > INetU Hosting Partner. > Refer Dedicated Servers. We Manage Them. You Get 10% > Monthly Commission! > INetU Dedicated Managed Hosting > http://www.inetu.net/partner/index.php > _______________________________________________ > Phrame-devel mailing list > Phr...@li... > https://lists.sourceforge.net/lists/listinfo/phrame-devel __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com |
From: Peter P. <pe...@sm...> - 2003-06-23 18:56:14
|
Hi, I have been looking for a good framework for developing PHP-applications, and stumbled on Smarty and from there I got a link to Phrame. This seems to be a good effort, but from reading the mailing-list archives I find that a lot of people have made a lot of improvements and suggestions and bugfixes, but none of these have gone into the CVS or been included in the project. Is there any reason that the project Admin is not including these things in the CVS? Why aren't the people submitting new code included as developers/admins for the project? I would love to use phrame for development but I don't want to have to browse through a bunch of mailing lists looking for patches and updates trying to apply the relevant ones myself. I thought the entire reason for having a project at sourceforge was to allow for several developers to contribute through CVS? I'm not quite sure wherein the problem lies... If the Admin Arnold doesn't want others to work on the projects, or if others don't want to (but it seems they do because of the many postings with code that has been made to this list), or what the reason is for not updating the CVS and/or creating new releases? Perhaps someone could enlighten me on this? Sincerely, Peter. |
From: Jason S. <jsw...@ya...> - 2003-06-05 16:06:23
|
Industrial Strength MVC is the sample article for the June issue of PHP|Architect. It is available for download at https://www.phparch.com/issuedata/2003/jun/sample.php, source code is also available for download from the same page. This article takes some of the simple Phrame examples much further, showing fully integrated database Model classes, using Smarty coupled with a Factory pattern for views and implements security in the Controller classes. I hope you find it useful. __________________________________ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com |
From: Alex <ale...@ya...> - 2003-05-24 11:28:24
|
> Adding it to the forward path _IS_ adding it to the > request (for the next page > view), right? True. > In this case, I do not want to have it be a session > variable You wouldn't want that indeed. I'd have gone with a request variable, but phrame 2 implements that like session if I am not mistaken. > for a couple of > reasons: > 1) if they want to bookmark editing a particular > item, they can go back > directly > 2) if they use their history for navigation, they > can return to editing a > previous item Good points. Go with your plan. > If I adopted use of the session, they would be > forced to alway go back through > the overall item navigation to get to the particular > item they want to edit. > Any holes in that logic? I'd say: "Back button considered evil" but you are right. About the AppendPath method, perhaps we could add a bit more. We could make a method that just accepts a key/value pair (or an array/hashmap of such) and append that to the path. That way we don't have to worry about & and ? in the url, and perhaps it does some encoding of the data as well. > ------------------------------------------------------- > This SF.net email is sponsored by: ObjectStore. > If flattening out C++ or Java code to make your > application fit in a > relational database is painful, don't do it! Check > out ObjectStore. > Now part of Progress Software. > http://www.objectstore.net/sourceforge > _______________________________________________ > Phrame-devel mailing list > Phr...@li... > https://lists.sourceforge.net/lists/listinfo/phrame-devel __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com |
From: Alex <ale...@ya...> - 2003-05-24 11:15:58
|
Hi, I ran into that one as well. I'd say go for it! Though I'd have to say, it didn't read like a Right Thing (so to speak.) Perhaps we should fix the ActionMapping and ActionForward classes instead of changing the HashMap. I myself added a findForward() to ActionMapping (that for now does $this->get basically) so in a later stage I can fix that inheritage thing there and make it a normal composition. Perhaps we should do a thing like that for ActionForm as well. PHP has object introspection, we could inspect the used forms for set...() methods and match it with the request, instead of just loading everything we have into the HashMap. That way we can remove the HashMap inhertiage there and you can implement and use subclasses of ActionForm more like you would expect it to work. My thoughts about it. Regards, Alex --- Jason Sweat <jsw...@ya...> wrote: > Another tweak to Phrame I am considering > implementing is to add an optional > default value to the HashMap::Get method. The > reason for this is because I use > ActionForm::Get within my View objects in a similar > fasion to the register() > function I wrote some time ago ( > http://www.zend.com/zend/art/art-sweat4.php#Heading12 > ). This function allows > for extraction of the posted parameters in a > register_globals off environment, > and optionally, you can specify a default value if > the user did not get/post > the desired value i.e. > $foo = register('foo', 'bar'); > would instead be: > $foo = ActionForm->Get('foo', 'bar'); > > The current implementation would have to look like: > $foo = ActionForm->Get('foo'); > if (!$foo) $foo = 'bar'; > > > My modification would be to add a constant and tweak > the get method- > > define('PHRAME_HASHMAP_DEFAULT', > '__PHRAME_HASHMAP_DEFAULT__'); > > /** > * Returns the value to which the specified key is > mapped in this identity > * hash map, or null if the map contains no mapping > for this key. > * > * @access public > * @param mixed $key > * @param mixed $default optional > * @return mixed > */ > function get($key, $default=PHRAME_HASHMAP_DEFAULT) > { > if ($this->containsKey($key)) { > return $this->_values[$key]; > } else { > if (PHRAME_HASHMAP_DEFAULT != $default) { > return $default; > } > } > } > > Should be backwards compatible. Thoughts? > > Regards, > > Jason > > __________________________________ > Do you Yahoo!? > The New Yahoo! Search - Faster. Easier. Bingo. > http://search.yahoo.com > > > ------------------------------------------------------- > This SF.net email is sponsored by: ObjectStore. > If flattening out C++ or Java code to make your > application fit in a > relational database is painful, don't do it! Check > out ObjectStore. > Now part of Progress Software. > http://www.objectstore.net/sourceforge > _______________________________________________ > Phrame-devel mailing list > Phr...@li... > https://lists.sourceforge.net/lists/listinfo/phrame-devel __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com |
From: Mike C. <mi...@bu...> - 2003-05-22 19:50:45
|
Hi, Does anybody know of any full open source projects written around the Phrame package? I like to see how a full system fits together rather than another dumb hello world example. I realise there is something nice coming for next months php|architect magazine, but that's ages away still!! :-( Regards, MC. _________________________________________ Mike Carter ICQ#: 29173597 More ways to contact me: http://wwp.icq.com/29173597 _________________________________________ --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.483 / Virus Database: 279 - Release Date: 19/05/2003 |
From: Jason S. <jsw...@ya...> - 2003-05-22 16:27:59
|
Another tweak to Phrame I am considering implementing is to add an optional default value to the HashMap::Get method. The reason for this is because I use ActionForm::Get within my View objects in a similar fasion to the register() function I wrote some time ago ( http://www.zend.com/zend/art/art-sweat4.php#Heading12 ). This function allows for extraction of the posted parameters in a register_globals off environment, and optionally, you can specify a default value if the user did not get/post the desired value i.e. $foo = register('foo', 'bar'); would instead be: $foo = ActionForm->Get('foo', 'bar'); The current implementation would have to look like: $foo = ActionForm->Get('foo'); if (!$foo) $foo = 'bar'; My modification would be to add a constant and tweak the get method- define('PHRAME_HASHMAP_DEFAULT', '__PHRAME_HASHMAP_DEFAULT__'); /** * Returns the value to which the specified key is mapped in this identity * hash map, or null if the map contains no mapping for this key. * * @access public * @param mixed $key * @param mixed $default optional * @return mixed */ function get($key, $default=PHRAME_HASHMAP_DEFAULT) { if ($this->containsKey($key)) { return $this->_values[$key]; } else { if (PHRAME_HASHMAP_DEFAULT != $default) { return $default; } } } Should be backwards compatible. Thoughts? Regards, Jason __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com |