From ken at secdat.com Tue Aug 1 08:44:51 2006 From: ken at secdat.com (Kenneth Downs) Date: Tue, 01 Aug 2006 08:44:51 -0400 Subject: [nycphp-talk] CakePHP: what do you think? In-Reply-To: <20060731175424.GA21257@panix.com> References: <4D2FAD9B00577645932AD7ED5FECA245029395C9@mail> <330532b60607281347o5caca80bg1eb0766087e40094@mail.gmail.com> <20060731175424.GA21257@panix.com> Message-ID: <44CF4CC3.8080605@secdat.com> Daniel Convissor wrote: >Hey Folks: > >On Fri, Jul 28, 2006 at 04:47:42PM -0400, Mitch Pirtle wrote: > > >>Speaking of build environments, I've recently fallen helplessly in >>love with phing (http://phing.info/trac/) and wonder if me or someone >>else would be able to make a presentation of that tool. Anyone else >>out there interested in that topic? >> >> > >People interested in installation and distribution tools should definitely >take a look at PEAR's 1.4.x platform. It's quite robust and has a lovely >feature set. The biggest new thing in 1.4.x is channels (well, 1.4 has >been out a while, so perhaps "new" isn't the right word). > > I've always admired the PEAR installation system. But if I want my package X to be included, don't I have to buy in to the entire Pear coding standard, practices and everything else? >With channels, anyone can host a code repository accessible via end >users's PEAR installers. This makes it really easy to keep your clients >up to date. > >--Dan > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ken.vcf Type: text/x-vcard Size: 186 bytes Desc: not available URL: From danielc at analysisandsolutions.com Tue Aug 1 14:33:31 2006 From: danielc at analysisandsolutions.com (Daniel Convissor) Date: Tue, 1 Aug 2006 14:33:31 -0400 Subject: [nycphp-talk] CakePHP: what do you think? In-Reply-To: <44CF4CC3.8080605@secdat.com> References: <4D2FAD9B00577645932AD7ED5FECA245029395C9@mail> <330532b60607281347o5caca80bg1eb0766087e40094@mail.gmail.com> <20060731175424.GA21257@panix.com> <44CF4CC3.8080605@secdat.com> Message-ID: <20060801183331.GA15180@panix.com> On Tue, Aug 01, 2006 at 08:44:51AM -0400, Kenneth Downs wrote: > Daniel Convissor wrote: > I've always admired the PEAR installation system. But if I want my > package X to be included, don't I have to buy in to the entire Pear > coding standard, practices and everything else? Kenneth, you're not reading what I'm saying. :) Read the following paragraph again: > >With channels, anyone can host a code repository accessible via end > >users's PEAR installers. What I'm saying is anyone can set up their very own code repository on their very own servers and put whatever they want in it. --Dan -- T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y data intensive web and database programming http://www.AnalysisAndSolutions.com/ 4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409 From ken at secdat.com Tue Aug 1 14:49:35 2006 From: ken at secdat.com (Kenneth Downs) Date: Tue, 01 Aug 2006 14:49:35 -0400 Subject: [nycphp-talk] CakePHP: what do you think? In-Reply-To: <20060801183331.GA15180@panix.com> References: <4D2FAD9B00577645932AD7ED5FECA245029395C9@mail> <330532b60607281347o5caca80bg1eb0766087e40094@mail.gmail.com> <20060731175424.GA21257@panix.com> <44CF4CC3.8080605@secdat.com> <20060801183331.GA15180@panix.com> Message-ID: <44CFA23F.8080009@secdat.com> Daniel Convissor wrote: >On Tue, Aug 01, 2006 at 08:44:51AM -0400, Kenneth Downs wrote: > > >>Daniel Convissor wrote: >> >> > > > >>I've always admired the PEAR installation system. But if I want my >>package X to be included, don't I have to buy in to the entire Pear >>coding standard, practices and everything else? >> >> > >Kenneth, you're not reading what I'm saying. :) Read the following >paragraph again: > > I am reading what you are saying. That's why I asked for clarification. An ideal would be to be able to distribute packages to any PHP user via the common PEAR repository (instead of another server, mine, that they'd have to go looking for) without having to buy into the entire PEAR philosophy of life. Sounds like we can't do that. Glad I asked though. > > >>>With channels, anyone can host a code repository accessible via end >>>users's PEAR installers. >>> >>> > >What I'm saying is anyone can set up their very own code repository on >their very own servers and put whatever they want in it. > >--Dan > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ken.vcf Type: text/x-vcard Size: 186 bytes Desc: not available URL: From edwardpotter at gmail.com Tue Aug 1 15:31:59 2006 From: edwardpotter at gmail.com (edward potter) Date: Tue, 1 Aug 2006 15:31:59 -0400 Subject: [nycphp-talk] CakePHP: what do you think? In-Reply-To: <20060801183331.GA15180@panix.com> References: <4D2FAD9B00577645932AD7ED5FECA245029395C9@mail> <330532b60607281347o5caca80bg1eb0766087e40094@mail.gmail.com> <20060731175424.GA21257@panix.com> <44CF4CC3.8080605@secdat.com> <20060801183331.GA15180@panix.com> Message-ID: php frameworks, too many to count! :-) http://www.whenpenguinsattack.com/2006/07/19/php-template-engine-roundup/?1=1 - ed :-) On 8/1/06, Daniel Convissor wrote: > On Tue, Aug 01, 2006 at 08:44:51AM -0400, Kenneth Downs wrote: > > Daniel Convissor wrote: > > > I've always admired the PEAR installation system. But if I want my > > package X to be included, don't I have to buy in to the entire Pear > > coding standard, practices and everything else? > > Kenneth, you're not reading what I'm saying. :) Read the following > paragraph again: > > > >With channels, anyone can host a code repository accessible via end > > >users's PEAR installers. > > What I'm saying is anyone can set up their very own code repository on > their very own servers and put whatever they want in it. > > --Dan > > -- > T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y > data intensive web and database programming > http://www.AnalysisAndSolutions.com/ > 4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409 > _______________________________________________ > New York PHP Community Talk Mailing List > http://lists.nyphp.org/mailman/listinfo/talk > > NYPHPCon 2006 Presentations Online > http://www.nyphpcon.com > > Show Your Participation in New York PHP > http://www.nyphp.org/show_participation.php > From cliff at pinestream.com Tue Aug 1 15:47:53 2006 From: cliff at pinestream.com (Cliff Hirsch) Date: Tue, 1 Aug 2006 15:47:53 -0400 Subject: [nycphp-talk] CakePHP: what do you think? In-Reply-To: Message-ID: <000401c6b5a3$6111efe0$12a8a8c0@HirschLaptop> I'm not claiming to be a communist that thrives on lack of choice, but I actually find this abundance of frameworks to be one of the "problems" with PHP. Decision making is not my strong suite, so I find it challenging "to just pick one" fearing the repetitive learning curve as I stumble along in search of the perfect framework. So I have probably done what so many others have done -- cobble together pieces of PEAR, Smarty, etc. It's that awful devil I know syndrome. Cliff ----- php frameworks, too many to count! :-) http://www.whenpenguinsattack.com/2006/07/19/php-template-engine-roundup /?1=1 - ed :-) From edwardpotter at gmail.com Tue Aug 1 16:50:37 2006 From: edwardpotter at gmail.com (edward potter) Date: Tue, 1 Aug 2006 16:50:37 -0400 Subject: [nycphp-talk] Something I CANT do in php? yipes! Folder uploads... Message-ID: ok, i guess it can't be done without a Java thing. Folder uploads. But just in case, figure I ask here! Is there any non-java way of doing a drag and drop folder upload in a browser (all platforms)? I'm starting to think no. Here's a Java solution, was wondering if someone had hacked together another way to do it. I may have to bite the bullet and just buy this one, looks like it does the job. http://www.radinks.com/upload/ thanks for any tips! -ed From Consult at CovenantEDesign.com Tue Aug 1 16:57:45 2006 From: Consult at CovenantEDesign.com (CED) Date: Tue, 1 Aug 2006 16:57:45 -0400 Subject: [nycphp-talk] Something I CANT do in php? yipes! Folder uploads... References: Message-ID: <001501c6b5ad$25dbf6a0$0619a8c0@ced> AMFPHP, you could use a Flash front end... that could grab a folder, then zip it then pass it with php as a file, then unzip it. HTH -Edward ----- Original Message ----- From: "edward potter" To: "NYPHP Talk" Sent: Tuesday, August 01, 2006 4:50 PM Subject: [nycphp-talk] Something I CANT do in php? yipes! Folder uploads... ok, i guess it can't be done without a Java thing. Folder uploads. But just in case, figure I ask here! Is there any non-java way of doing a drag and drop folder upload in a browser (all platforms)? I'm starting to think no. Here's a Java solution, was wondering if someone had hacked together another way to do it. I may have to bite the bullet and just buy this one, looks like it does the job. http://www.radinks.com/upload/ thanks for any tips! -ed _______________________________________________ New York PHP Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk NYPHPCon 2006 Presentations Online http://www.nyphpcon.com Show Your Participation in New York PHP http://www.nyphp.org/show_participation.php From hendler at simmons.edu Wed Aug 2 03:48:13 2006 From: hendler at simmons.edu (Jonathan Hendler) Date: Wed, 02 Aug 2006 03:48:13 -0400 Subject: [nycphp-talk] Something I CANT do in php? yipes! Folder uploads... In-Reply-To: References: Message-ID: <44D058BD.9030309@simmons.edu> It's not a PHP thing as much as a browser thing. You can imagine why scriptable file uploads aren't allowed by default for security. With the demo below you have to approve the applet for security. Also note that even the demo you mention is handled via PHP ... http://www.radinks.com/upload/applet.php. There is a firefox specific solution at https://addons.mozilla.org/firefox/2190/ Ajax example for Firefox that might get you started http://www.captain.at/ajax-file-upload.php edward potter wrote: > ok, i guess it can't be done without a Java thing. Folder uploads. But > just in case, figure I ask here! > > Is there any non-java way of doing a drag and drop folder upload in a > browser (all platforms)? I'm starting to think no. > > Here's a Java solution, was wondering if someone had hacked together > another way to do it. I may have to bite the bullet and just buy this > one, looks like it does the job. > > http://www.radinks.com/upload/ > > thanks for any tips! > > -ed > _______________________________________________ > New York PHP Community Talk Mailing List > http://lists.nyphp.org/mailman/listinfo/talk > > NYPHPCon 2006 Presentations Online > http://www.nyphpcon.com > > Show Your Participation in New York PHP > http://www.nyphp.org/show_participation.php > From ken at secdat.com Wed Aug 2 07:14:35 2006 From: ken at secdat.com (Kenneth Downs) Date: Wed, 02 Aug 2006 07:14:35 -0400 Subject: [nycphp-talk] CakePHP: what do you think? In-Reply-To: <000401c6b5a3$6111efe0$12a8a8c0@HirschLaptop> References: <000401c6b5a3$6111efe0$12a8a8c0@HirschLaptop> Message-ID: <44D0891B.7080107@secdat.com> Cliff Hirsch wrote: >I'm not claiming to be a communist that thrives on lack of choice, but I >actually find this abundance of frameworks to be one of the "problems" >with PHP. Decision making is not my strong suite, so I find it >challenging "to just pick one" fearing the repetitive learning curve as >I stumble along in search of the perfect framework. > >So I have probably done what so many others have done -- cobble together >pieces of PEAR, Smarty, etc. It's that awful devil I know syndrome. > > This resembles the situation of another dev system that was popular about 10 years ago, when LAN and C/S were still king. There were many frameworks. Eventually it settled down to about 4, each of which exemplified a certain approach. People tended to pick the framework based on which framework fit their approach to things. >Cliff >----- >php frameworks, too many to count! :-) > >http://www.whenpenguinsattack.com/2006/07/19/php-template-engine-roundup >/?1=1 > >- ed :-) > > >_______________________________________________ >New York PHP Community Talk Mailing List >http://lists.nyphp.org/mailman/listinfo/talk > >NYPHPCon 2006 Presentations Online >http://www.nyphpcon.com > >Show Your Participation in New York PHP >http://www.nyphp.org/show_participation.php > > -------------- next part -------------- A non-text attachment was scrubbed... Name: ken.vcf Type: text/x-vcard Size: 186 bytes Desc: not available URL: From danielc at analysisandsolutions.com Wed Aug 2 09:58:46 2006 From: danielc at analysisandsolutions.com (Daniel Convissor) Date: Wed, 2 Aug 2006 09:58:46 -0400 Subject: [nycphp-talk] CakePHP: what do you think? In-Reply-To: <000401c6b5a3$6111efe0$12a8a8c0@HirschLaptop> References: <000401c6b5a3$6111efe0$12a8a8c0@HirschLaptop> Message-ID: <20060802135846.GA6860@panix.com> Hi Kenneth: On Tue, Aug 01, 2006 at 02:49:35PM -0400, Kenneth Downs wrote: > An ideal would be to be able to distribute packages to > any PHP user via the common PEAR repository (instead of another server, > mine, that they'd have to go looking for) without having to buy into the > entire PEAR philosophy of life. Your desire above conflicts with Cliff's desire below: On Tue, Aug 01, 2006 at 03:47:53PM -0400, Cliff Hirsch wrote: > I'm not claiming to be a communist that thrives on lack of choice, but I > actually find this abundance of frameworks to be one of the "problems" > with PHP. This line of reasoning is why the PEAR repository isn't open to every submission. The goal is to have one pacakge for a given task and does that task really well. Of course, that's a goal and isn't always achieved. :) --Dan -- T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y data intensive web and database programming http://www.AnalysisAndSolutions.com/ 4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409 From ken at secdat.com Wed Aug 2 10:15:41 2006 From: ken at secdat.com (Kenneth Downs) Date: Wed, 02 Aug 2006 10:15:41 -0400 Subject: [nycphp-talk] CakePHP: what do you think? In-Reply-To: <20060802135846.GA6860@panix.com> References: <000401c6b5a3$6111efe0$12a8a8c0@HirschLaptop> <20060802135846.GA6860@panix.com> Message-ID: <44D0B38D.608@secdat.com> Daniel Convissor wrote: >Hi Kenneth: > >On Tue, Aug 01, 2006 at 02:49:35PM -0400, Kenneth Downs wrote: > > >>An ideal would be to be able to distribute packages to >>any PHP user via the common PEAR repository (instead of another server, >>mine, that they'd have to go looking for) without having to buy into the >>entire PEAR philosophy of life. >> >> > >Your desire above conflicts with Cliff's desire below: > >On Tue, Aug 01, 2006 at 03:47:53PM -0400, Cliff Hirsch wrote: > > >>I'm not claiming to be a communist that thrives on lack of choice, but I >>actually find this abundance of frameworks to be one of the "problems" >>with PHP. >> >> > >This line of reasoning is why the PEAR repository isn't open to every >submission. The goal is to have one pacakge for a given task and does >that task really well. Of course, that's a goal and isn't always >achieved. :) > > > Well, you kind of have to see me smiling when I say this, so you get my expression of mild sarcasm, at which point I make a sound like a newscast "special announcement" jingle and say "Breaking news: programmers disagree on best approach, what is to become of us?" The idea behind PEAR is to have the One True Implementation of each idea. When that is possible, great. But that tends to be only possible on deterministic projects where the need for judgement is greatly reduced. As soon as there are two legitimate ways to do something, it breaks down. I'm not arguing Pear should be changed, just that PEAR's limitations are built into its mission, as is true with all such projects. But it need not be so, much can be learned here from gentoo. Cheers, -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ken.vcf Type: text/x-vcard Size: 186 bytes Desc: not available URL: From r.mariotti at fdcx.net Wed Aug 2 12:10:16 2006 From: r.mariotti at fdcx.net (R. Mariotti) Date: Wed, 02 Aug 2006 12:10:16 -0400 Subject: [nycphp-talk] more on document.getElementById("Div" + count) Message-ID: <44D0CE68.7060801@fdcx.net> Thanks for the responses so far with this issue. Both Ed and Rob had some ideas that I've pursued but still could not find anything that would cause this error based on their recommendations. Rob was correct in that I'm supplying a namee Div whose style is set to style.display='none' and I am then wishing to make it visible. And yes, I am the one naming the Divs with the simple and required convention of Div1, Div2, Div3, etc. However, in this case there is only ONE Div named Div1. The js module failing can be downloaded/viewed from > http://www.openwebware.com/products/openpopups/download.shtml and it is FREE so there's no worry. I've queried the author who claims that because he cannot duplicate the error I am receiving he cannot diagnose it. OK - then perhaps someone else might be able to. But I know that I seemingly cannot. If Ed, Rob or anyone is willing to take a look, it will be significantly appreciated. The module is loaded with a Alternatively, sometimes you may also need to put your first default call to the script functions in the same Place, like so: Peter -----Original Message----- From: talk-bounces at lists.nyphp.org [mailto:talk-bounces at lists.nyphp.org] On Behalf Of R. Mariotti Sent: Wednesday, August 02, 2006 12:10 PM To: talk at lists.nyphp.org Subject: Re: [nycphp-talk] more on document.getElementById("Div" + count) Thanks for the responses so far with this issue. Both Ed and Rob had some ideas that I've pursued but still could not find anything that would cause this error based on their recommendations. Rob was correct in that I'm supplying a namee Div whose style is set to style.display='none' and I am then wishing to make it visible. And yes, I am the one naming the Divs with the simple and required convention of Div1, Div2, Div3, etc. However, in this case there is only ONE Div named Div1. The js module failing can be downloaded/viewed from > http://www.openwebware.com/products/openpopups/download.shtml and it is FREE so there's no worry. I've queried the author who claims that because he cannot duplicate the error I am receiving he cannot diagnose it. OK - then perhaps someone else might be able to. But I know that I seemingly cannot. If Ed, Rob or anyone is willing to take a look, it will be significantly appreciated. The module is loaded with a