NYCPHP Meetup

NYPHP.org

[nycphp-talk] Re: PHP Web Frameworks

Dave Youn jhy2104 at columbia.edu
Fri Apr 6 12:09:57 EDT 2007


I haven't used this framework, but have installed applications developed on
it:

    http://www.horde.org/about/


> From: <talk-request at lists.nyphp.org>
> Reply-To: <talk at lists.nyphp.org>
> Date: Fri, 6 Apr 2007 12:00:33 -0400 (EDT)
> To: <talk at lists.nyphp.org>
> Subject: talk Digest, Vol 6, Issue 9
> 
> Send talk mailing list submissions to
> talk at lists.nyphp.org
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.nyphp.org/mailman/listinfo/talk
> or, via email, send a message with subject or body 'help' to
> talk-request at lists.nyphp.org
> 
> You can reach the person managing the list at
> talk-owner at lists.nyphp.org
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of talk digest..."
> 
> 
> Today's Topics:
> 
>    1. Re: PHP Web Frameworks (Nate Abele)
>    2. Re: PHP Web Frameworks (Ajai Khattri)
>    3. Re: PHP Web Frameworks (Ajai Khattri)
>    4. Running exec et al on a windows box (Kenneth Downs)
>    5. Prevent (IE) browser cache of image (Aaron Fischer)
>    6. Re: Prevent (IE) browser cache of image (Jakob Buchgraber)
>    7. pagination of search results with ldap (Alex C)
>    8. Re: MySQL: Delete row (Daniel Convissor)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Thu, 5 Apr 2007 12:22:46 -0400
> From: Nate Abele <nate at cakephp.org>
> Subject: Re: [nycphp-talk] PHP Web Frameworks
> To: talk at lists.nyphp.org
> Message-ID: <74CFD879-FCCE-435A-B034-AF1A6ADA4FF2 at cakephp.org>
> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
> 
>> Date: Thu, 05 Apr 2007 07:47:07 -0400
>> From: Cliff Hirsch <cliff at pinestream.com>
>> Subject: Re: [nycphp-talk] PHP Web Frameworks
>> To: NYPHP Talk <talk at lists.nyphp.org>
>> Message-ID: <C23A59FB.3072%cliff at pinestream.com>
>> Content-Type: text/plain; charset="US-ASCII"
>> 
>> On 4/4/07 9:58 PM, "Nate Abele" <nate at cakephp.org> wrote:
>>> The Yahoo! team had to re-architect several parts of the framework to
>>> get it to do what they wanted.  Regardless of that, I hear they were
>>> having some significant scaling issues.  The Firefox Add-ons portal
>>> (https://addons.mozilla.org/) was built on CakePHP, and you can check
>>> out the source code here: http://svn.mozilla.org/addons/trunk/site/
>>> app/.  To date, the site has handled the arguably higher load without
>>> a hitch.
>>> 
>>> - Nate
>> 
>> Do you have any additional insight into what "scaling issues" means?
>> Database overload? Session problems? Bloated "helpers? Their YAML is
>> compiled and caching is part of the framework, so I'm curious where
>> the pain
>> points are versus say...for example...Cake.
>> 
>> Cliff
>> 
> 
> Hi Cliff,
> 
> Unfortunately, I wasn't privy to the specifics, but there are several
> other relevant bullet points from which you can draw some inferences:
> 
> (1) The developers of Symfony specifically discourage running it
> without a PHP accelerator.  In the PHP world, where limited control
> over deployment is often a reality, an accelerator is not always a
> given.   The fact that they essentially require one says something, I
> think.
> 
> (2) Several comparative benchmarks have been published, including
> this one: http://paul-m-jones.com/blog/?p=238  As with any benchmark,
> take it with a grain of salt, YMMV, and any other disclaimers or
> preemptive strikes I may have forgotten.  Read it carefully.
> Benchmarks can be affected by a million and one different things, but
> PMJ was very thorough in documenting his methodology.
> 
> Btw, the consensus on why the Zend Framework benched so fast is
> because it seems to do nothing for you. :-P
> 
> Kidding, kidding...
> 
> 
> 
> ------------------------------
> 
> Message: 2
> Date: Thu, 5 Apr 2007 15:16:57 -0400 (EDT)
> From: Ajai Khattri <ajai at bitblit.net>
> Subject: Re: [nycphp-talk] PHP Web Frameworks
> To: NYPHP Talk <talk at lists.nyphp.org>
> Message-ID: <Pine.LNX.4.44.0704051515450.4035-100000 at bitblit.net>
> Content-Type: TEXT/PLAIN; charset=US-ASCII
> 
> On Wed, 4 Apr 2007, Nate Abele wrote:
> 
>> The Yahoo! team had to re-architect several parts of the framework to
>> get it to do what they wanted.  Regardless of that, I hear they were
>> having some significant scaling issues.
> 
> Bear in mind that they started working on that way before 1.0 even came
> out. I see that Yahoo Bookmarks is no longer beta though...
> 
> 
> -- 
> Aj. (ajai at bitblit.net)
> 
> 
> 
> ------------------------------
> 
> Message: 3
> Date: Thu, 5 Apr 2007 15:21:21 -0400 (EDT)
> From: Ajai Khattri <ajai at bitblit.net>
> Subject: Re: [nycphp-talk] PHP Web Frameworks
> To: NYPHP Talk <talk at lists.nyphp.org>
> Message-ID: <Pine.LNX.4.44.0704051520200.4035-100000 at bitblit.net>
> Content-Type: TEXT/PLAIN; charset=US-ASCII
> 
> On Thu, 5 Apr 2007, Nate Abele wrote:
> 
>> (1) The developers of Symfony specifically discourage running it
>> without a PHP accelerator.  In the PHP world, where limited control
>> over deployment is often a reality, an accelerator is not always a
>> given.   The fact that they essentially require one says something, I
>> think.
> 
> Surely, if you're getting enough hits to really need an accelerator then
> you should be running on your own server(s) where you *do* have control
> over whether an accelerator is used or not?
> 
> 
> 
> -- 
> Aj. (ajai at bitblit.net)
> 
> 
> 
> ------------------------------
> 
> Message: 4
> Date: Thu, 05 Apr 2007 16:25:44 -0400
> From: Kenneth Downs <ken at secdat.com>
> Subject: [nycphp-talk] Running exec et al on a windows box
> To: NYPHP Talk <talk at lists.nyphp.org>
> Message-ID: <46155B48.1020306 at secdat.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> 
> I feel dumb asking this, but ole Ken ain't used windows in many a year.
> 
> When I execute exec() in a PHP script, a cmd.exe box flashes briefly on
> the windows console.  This is one of those annoyances I'd love to turn
> off if I could figure out how.
> 
> A long time ago I would have known how to turn this off with a PIF file
> or something, but I wouldn't know where to begin these days.
> 
> Any pointers?
> 
> 
> ------------------------------
> 
> Message: 5
> Date: Fri, 6 Apr 2007 09:25:24 -0400
> From: Aaron Fischer <agfische at email.smith.edu>
> Subject: [nycphp-talk] Prevent (IE) browser cache of image
> To: NYPHP-Talk <talk at lists.nyphp.org>
> Message-ID: <9CB3476D-2C4E-4D2B-85A8-7EFC00479566 at email.smith.edu>
> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
> 
> Hi there,
> 
> I have a little app that is a pseudo-day-planner.  Users can enter
> appointments via a form and then I use PHP and GD to write the
> appointment blocks onto a calendar image.
> 
> It works great in Safari on Mac and Firefox on PC.  However, it
> doesn't work with Internet Explorer on PC.  It appears that the issue
> is that IE is not loading a fresh version of the calendar image each
> time a change is made.
> 
> How can I force IE to load a fresh version of the image, either via
> PHP or HTML/HTTP code?
> 
> Thanks!
> 
> -Aaron
> 
> 
> 
> ------------------------------
> 
> Message: 6
> Date: Fri, 06 Apr 2007 16:10:20 +0200
> From: Jakob Buchgraber <jakob.buchgraber at googlemail.com>
> Subject: Re: [nycphp-talk] Prevent (IE) browser cache of image
> To: NYPHP Talk <talk at lists.nyphp.org>
> Message-ID: <461654CC.6040804 at gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> 
> Aaron Fischer wrote:
>> Hi there,
>> 
>> I have a little app that is a pseudo-day-planner.  Users can enter
>> appointments via a form and then I use PHP and GD to write the
>> appointment blocks onto a calendar image.
>> 
>> It works great in Safari on Mac and Firefox on PC.  However, it
>> doesn't work with Internet Explorer on PC.  It appears that the issue
>> is that IE is not loading a fresh version of the calendar image each
>> time a change is made.
>> 
>> How can I force IE to load a fresh version of the image, either via
>> PHP or HTML/HTTP code?
>> 
>> Thanks!
>> 
>> -Aaron
>> 
>> _______________________________________________
>> 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
>> 
> Just add a unique string to the URL of the image
> 
> <img src="createImg.php?<?php echo time(); ?>" />
> 
> So the URL of the string changes every time the user reloads the page
> 
> Cheers,
> Jay
> 
> -- 
> Join Linuxfriendlyhardware.org project on irc.freenode.org#lfh (german)
> Registered Linux User #373457
> 
> 
> 
> ------------------------------
> 
> Message: 7
> Date: Fri, 6 Apr 2007 09:58:48 -0400
> From: "Alex C" <alexchan.1976 at gmail.com>
> Subject: [nycphp-talk] pagination of search results with ldap
> To: "NYPHP Talk" <talk at lists.nyphp.org>
> Message-ID:
> <8f494f760704060658w7d2d68e9x64fad089621606fc at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> 
> Hi All,
> 
> I would like to know what would be the best way to do paged search
> results for LDAP. Is it even possible to do it similiar to mysql limit
> offset  functionality? Or should i do it via PHP.  However, I do know
> LDAP has pagedSearch control.  i don't know how or if i need to invoke
> it via php.
> 
> Thanks ,
> 
> alex
> 
> 
> ------------------------------
> 
> Message: 8
> Date: Fri, 6 Apr 2007 10:47:57 -0400
> From: Daniel Convissor <danielc at analysisandsolutions.com>
> Subject: Re: [nycphp-talk] MySQL: Delete row
> To: NYPHP Talk <talk at lists.nyphp.org>
> Message-ID: <20070406144757.GB22063 at panix.com>
> Content-Type: text/plain; charset=us-ascii
> 
> On Wed, Apr 04, 2007 at 03:04:56AM +0000, tuon1 at netzero.net wrote:
> 
>> $Query = "SELECT * FROM $Tablename";
> 
> You better be VERY careful about the value of $Tablename.  If it's set
> directly by your script, that's fine, since you control what it can be.
> But if $Tablename comes from user input, you MUST check that $Tablename is
> a legitimate name before allowing it into a query.
> 
> For more information about SQL Injection, check out
> http://phpsec.org/projects/guide/3.html#3.2
> 
> --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
> 
> 
> ------------------------------
> 
> _______________________________________________
> talk mailing list
> talk at lists.nyphp.org
> http://lists.nyphp.org/mailman/listinfo/talk
> 
> End of talk Digest, Vol 6, Issue 9
> **********************************





More information about the talk mailing list