Re: [nyphp-talk] Embrace Dynamic PHP

2008-04-25 Thread Daniel Convissor
Hey Austin: On Fri, Apr 25, 2008 at 05:27:58PM -0400, Austin Smith wrote: > I thought I was pretty clear, that query was an example of what many newbies > do, not what I would do Oh. :) I read "blow their brains out" as "spend hours trying to figure out." Pardon, --Dan -- T H E A N A L Y

Re: [nyphp-talk] Embrace Dynamic PHP

2008-04-25 Thread anthony wlodarski
I <3 mysql_real_escape_string() -- Anthony Wlodarski PHP/MySQL Developer www.thrillist.com 560 Broadway, Suite 308 New York, NY 10012 p 646.274.2435 f 646.557.0803 ___ New York PHP Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk

Re: [nyphp-talk] Embrace Dynamic PHP

2008-04-25 Thread csnyder
On Fri, Apr 25, 2008 at 5:27 PM, Austin Smith <[EMAIL PROTECTED]> wrote: > I thought I was pretty clear, that query was an example of what many newbies > do, not what I would do (... so they don't blow their brains out with things > like ...) exposing a vulnerability and almost certainly exposing t

Re: [nyphp-talk] Embrace Dynamic PHP

2008-04-25 Thread Austin Smith
I thought I was pretty clear, that query was an example of what many newbies do, not what I would do (... so they don't blow their brains out with things like ...) exposing a vulnerability and almost certainly exposing themselves to copy-paste repetition. It certainly wasn't shorthand, and I've see

Re: [nyphp-talk] Embrace Dynamic PHP

2008-04-25 Thread Jake McGraw
On Fri, Apr 25, 2008 at 9:37 AM, Daniel Convissor <[EMAIL PROTECTED]> wrote: > On Fri, Apr 25, 2008 at 09:06:54AM -0400, Jake McGraw wrote: > > > > Not necessarily true, secure string interpolation is coming soon: > > > > > http://google-caja.googlecode.com/svn/changes/mikesamuel/string-interp

Re: [nyphp-talk] Embrace Dynamic PHP

2008-04-25 Thread Ajai Khattri
On Thu, 24 Apr 2008, Hans Kaspersetz wrote: > You must know this is where all frameworks and monolithic systems are > born. The seed is the desire to solve some problem, like db > connectivity and front end controller. And before you know it, you have > had to extend it to cover the edge case

Re: [nyphp-talk] Embrace Dynamic PHP

2008-04-25 Thread Ajai Khattri
On Thu, 24 Apr 2008, Austin Smith wrote: > You know, provide simple active record, super simple controllers, no > configuration, lightweight templates, pack it into one file to include in a > single front controller, and forget about it. Something super light like Camping? http://code.whythelucky

Re: [nyphp-talk] Embrace Dynamic PHP

2008-04-25 Thread Daniel Convissor
On Fri, Apr 25, 2008 at 09:06:54AM -0400, Jake McGraw wrote: > > Not necessarily true, secure string interpolation is coming soon: > > http://google-caja.googlecode.com/svn/changes/mikesamuel/string-interpolation-29-Jan-2008/trunk/src/js/com/google/caja/interp/index.html Yuck. Such tactics are

Re: [nyphp-talk] Embrace Dynamic PHP

2008-04-25 Thread Urb LeJeune
Further, I've long wanted to write a very simple set of flexible helper functions for PHP newbies so they don't blow their brains out with things like mysql_query("insert into blog_entries values(0, "{$_POST['title']}", "{$_POST['body']}"); I've written a DB abstraction layer in whic

Re: [nyphp-talk] Embrace Dynamic PHP

2008-04-25 Thread Jake McGraw
On Fri, Apr 25, 2008 at 8:49 AM, Daniel Convissor <[EMAIL PROTECTED]> wrote: > On Thu, Apr 24, 2008 at 07:34:50PM -0400, Austin Smith wrote: > > > Further, I've long wanted to write a very simple set of flexible helper > > functions for PHP newbies so they don't blow their brains out with things

Re: [nyphp-talk] Embrace Dynamic PHP

2008-04-25 Thread csnyder
On Thu, Apr 24, 2008 at 4:40 PM, <[EMAIL PROTECTED]> wrote: > I've been coding in static languages for my day job for much of the last > year, but I'm still using PHP for my own projects. I'm increasingly coming > to appreciate dynamic object construction, dynamic method calls and 'magic' >

Re: [nyphp-talk] Embrace Dynamic PHP

2008-04-25 Thread Daniel Convissor
On Thu, Apr 24, 2008 at 07:34:50PM -0400, Austin Smith wrote: > Further, I've long wanted to write a very simple set of flexible helper > functions for PHP newbies so they don't blow their brains out with things > like mysql_query("insert into blog_entries values(0, "{$_POST['title']}", > "{$_POST

Re: [nyphp-talk] Embrace Dynamic PHP

2008-04-24 Thread Hans Kaspersetz
Austin Smith wrote: Further, I've long wanted to write a very simple set of flexible helper functions for PHP newbies so they don't blow their brains out with things like mysql_query("insert into blog_entries values(0, "{$_POST['title']}", "{$_POST['body']}"); You know, provide simple active

Re: [nyphp-talk] Embrace Dynamic PHP

2008-04-24 Thread Tim Lieberman
I've only played very little with the big CMS++ type systems like Drupal and Joomla. Always seems to me that the learning curve is just too steep and it's too easy to get backed into a corner which means spending days doing it "right" or else you end up with some ugly hack. I haven't played w

Re: [nyphp-talk] Embrace Dynamic PHP

2008-04-24 Thread Austin Smith
You know, I feel much the same way about the Zend components... reference implementations of important patterns, for sure, which I've enjoyed using on Big Important Projects but they hurt my head to use, what with the Zend_Package_Class_Subclass naming, the zillion page manual... Generally, though