Re: [nyphp-talk] Advice on CodeWorks Conference Tracks

2009-10-03 Thread Nate Abele
gh some of the available extensions to PHP. Both are great talks, just depends on where your interest is. - Design Patterns in PHP is a beginners' talk as well (and Cal is giving it, so it'll definitely be very approachable). Highly recommended for beginners. Anyway, hope that

Re: [nyphp-talk] Frameworks & Fast Iterations

2009-07-25 Thread Nate Abele
and we'll have one for the upcoming 1.3 release as well (only a few very minor BC breaks in that one anyway, won't affect most apps at all). - Nate Abele Lead Developer, CakePHP ___ New York PHP User Group Community Talk Maili

Re: [nyphp-talk] JSON and MVC

2009-07-21 Thread Nate Abele
you never need to think about them again, they just work; and all the switching logic is kept out of your controller. - Nate Abele Lead Developer, CakePHP ___ New York PHP User Group Community Talk Mailing List http://lists.nyphp.org/mailman/list

Re: [nyphp-talk] talk Digest, Vol 33, Issue 2

2009-07-01 Thread Nate Abele
rs, ('-f' . $this->adminEmail))) { return true; } else { return false; } } Apologies to anyone on Evolt for the cross-post. That was not intentional. I picked the wrong email address. -- Randal Rust R.Squared Communications www.r2communi

Re: [nyphp-talk] Help with a CakePHP View

2009-05-01 Thread Nate Abele
why not use that? Also, since whatever's in $passedArgs gets passed as parameters to the action, you could really just do this (assuming this code is called in an action: function view($id = null) { // ... $district = $this->District->findById($id); $this->s

[nyphp-talk] Re: talk Digest, Vol 20, Issue 19

2008-06-06 Thread Nate Abele
Date: Fri, 6 Jun 2008 16:34:59 -0400 From: "Mitch Pirtle" <[EMAIL PROTECTED]> Subject: Re: [nyphp-talk] CakePHP To: "NYPHP Talk" -- Mitch, ducking under desk and waiting for the "my framework is better than yours" battle Honestly I'm kind of getting bored with the battles, so I'm going

[nyphp-talk] Re: Embrace Dynamic PHP

2008-04-25 Thread Nate Abele
Date: Fri, 25 Apr 2008 10:46:44 -0400 (EDT) From: Ajai Khattri <[EMAIL PROTECTED]> Subject: Re: [nyphp-talk] Re: Embrace Dynamic PHP To: NYPHP Talk Message-ID: <[EMAIL PROTECTED]> Content-Type: TEXT/PLAIN; charset=US-ASCII On Thu, 24 Apr 2008, Nate Abele wrote: Enter CakePHP, sta

[nyphp-talk] Re: Embrace Dynamic PHP

2008-04-24 Thread Nate Abele
Date: Thu, 24 Apr 2008 16:40:13 -0400 (EDT) From: [EMAIL PROTECTED] Subject: [nyphp-talk] Embrace Dynamic PHP To: talk@lists.nyphp.org 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 ap

Re: [nyphp-talk] Greetings

2008-04-22 Thread Nate Abele
Date: Tue, 22 Apr 2008 12:09:25 -0400 (EDT) From: Ajai Khattri <[EMAIL PROTECTED]> Subject: Re: [nyphp-talk] Greetings To: NYPHP Talk On Tue, 22 Apr 2008, Erik Schoster wrote: I can attest to symfony. As someone who forced themselves to shirk frameworks while I learned PHP, I do enjoy a good

[nyphp-talk] Re: PHP Argentina

2008-03-24 Thread Nate Abele
Date: Mon, 24 Mar 2008 09:25:15 -0400 From: "Hans Zaunere" <[EMAIL PROTECTED]> Subject: [nyphp-talk] PHP Argentina To: "'NYPHP Talk'" All, I'd like to quickly announce the formation of PHP Argentina. http://www.php-ar.com.ar They're just starting out, so if you or anyone you know is in that

[nyphp-talk] Re: Templating engines

2008-01-22 Thread Nate Abele
Date: Sat, 19 Jan 2008 11:38:05 -0800 From: "Tom Melendez" <[EMAIL PROTECTED]> Hi Nate, Could you supply us with the benchmarks you've cited? I'm curious to see them and I'm sure others are as well. Thanks, Tom http://www.liphp.org Symfony vs. Rails: http://wiki.rubyonrails.org/rails/pag

Re: [nyphp-talk] Templating engines

2008-01-19 Thread Nate Abele
On Jan 19, 2008, at 10:20 AM, [EMAIL PROTECTED] wrote: On Fri, 18 Jan 2008, Anirudh Zala wrote: When you move from medium to large scale projects, Symfony starts getting restricted. For example there is no native support to handle replication of database hence you left stumped that what t

Re: [nyphp-talk] When to close a mysql connection

2007-07-02 Thread Nate Abele
Cliff Hirsch wrote: Although I should know if I use database-based sessions, I am not sure as I am not sure what exactly a database-based session is. So, what is that? Standard PHP sessions are stored in flat files on the server. Not conducive to scale-out as the session is local to a spec

Re: [nyphp-talk] $_SERVER

2007-05-29 Thread Nate Abele
Date: Sun, 27 May 2007 23:30:26 -0400 From: Jon Baer <[EMAIL PROTECTED]> Subject: Re: [nyphp-talk] $_SERVER To: NYPHP Talk Well I remembered it from a PHP internals talk I saw once and the same question was asked about how $_* variables are pushed up from the server layer. Although Nate's solut

Re: [nyphp-talk] $_SERVER

2007-05-27 Thread Nate Abele
Date: Sat, 26 May 2007 20:23:27 -0400 From: David Krings <[EMAIL PROTECTED]> Subject: [nyphp-talk] $_SERVER To: NYPHP Talk Hi! Every web server generates a different $_SERVER array in PHP. I got burnt by it once. I used several keys/values that are present in the Luckasoft EnginServer, but not

[nyphp-talk] Re: talk Digest, Vol 6, Issue 9

2007-04-06 Thread Nate Abele
Date: Thu, 5 Apr 2007 15:21:21 -0400 (EDT) From: Ajai Khattri <[EMAIL PROTECTED]> Subject: Re: [nyphp-talk] PHP Web Frameworks To: NYPHP Talk On Thu, 5 Apr 2007, Nate Abele wrote: (1) The developers of Symfony specifically discourage running it without a PHP accelerator. In the PHP

Re: [nyphp-talk] PHP Web Frameworks

2007-04-05 Thread Nate Abele
Date: Thu, 05 Apr 2007 07:47:07 -0400 From: Cliff Hirsch <[EMAIL PROTECTED]> Subject: Re: [nyphp-talk] PHP Web Frameworks To: NYPHP Talk Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset="US-ASCII" On 4/4/07 9:58 PM, "Nate Abele" <[EMAIL

Re: [nyphp-talk] PHP Web Frameworks

2007-04-04 Thread Nate Abele
Date: Wed, 4 Apr 2007 14:13:09 -0400 (EDT) From: Ajai Khattri <[EMAIL PROTECTED]> Subject: Re: [nyphp-talk] PHP Web Frameworks To: NYPHP Talk Message-ID: <[EMAIL PROTECTED]> Content-Type: TEXT/PLAIN; charset=US-ASCII On Wed, 4 Apr 2007, Hendre Louw wrote: What PHP web frameworks are out there?

[nyphp-talk] OT: Web Testing open source tools

2007-03-16 Thread Nate Abele
Date: Fri, 16 Mar 2007 10:31:10 -0400 From: David A. Roth <[EMAIL PROTECTED]> Subject: [nyphp-talk] OT: Web Testing open source tools I'm looking for recommendations of excellent web testing open source tools that run on Linux and cover testing areas that include functional testing and perform

[nyphp-talk] Upcoming Month of PHP Bugs (michael)

2007-02-21 Thread Nate Abele
Date: Wed, 21 Feb 2007 15:15:04 -0500 From: csnyder <[EMAIL PROTECTED]> Subject: Re: [nyphp-talk] Re: Upcoming Month of PHP Bugs (michael) To: "NYPHP Talk" On 2/21/07, Nate Abele <[EMAIL PROTECTED]> wrote: Despite the claims, I'm not so sure that most of these

[nyphp-talk] Re: Upcoming Month of PHP Bugs (michael)

2007-02-21 Thread Nate Abele
Despite the claims, I'm not so sure that most of these security issues couldn't be mitigated with a proper server configuration and a well-designed application. While I'm sure there are vulnerabilities that exist in a *stock* installation of PHP (especially in older versions where things l

[nyphp-talk] Re: talk Digest, Vol 4, Issue 39

2007-02-20 Thread Nate Abele
The days of the one-size-fits-all shopping cart are dead. What's needed is a toolkit which provides developers with the basic functionality required to implement a cart, i.e. payment processing libraries, interfaces to shipping APIs, customer authentication and order persistence. If done

[nyphp-talk] Re: talk Digest, Vol 4, Issue 37

2007-02-18 Thread Nate Abele
Yeah, I just ran into this recently. The ctype functions are part of an extension that doesn't seem to be installed by default on some Linux builds. Date: Sun, 18 Feb 2007 11:07:57 -0500 From: Daniel Convissor <[EMAIL PROTECTED]> Subject: Re: [nyphp-talk] Best practice for escaping data To:

[nyphp-talk] Re: Removing www.

2007-02-08 Thread Nate Abele
Broken on IE7? Is that like a joke or something? ummm. be careful when taking code snippets and standards advice from a site that doesn't validate and is broken in IE7. Especially when it promotes a back link campaign IMHO. ___ New York PHP C

[nyphp-talk] Re: Da Bears In Lights!

2007-02-05 Thread Nate Abele
Don't let the Boston Police Department see that... Date: Sun, 4 Feb 2007 19:08:10 -0600 From: "Thomas O'Neill" <[EMAIL PROTECTED]> Subject: [nyphp-talk] Da Bears In Lights! To: "NYPHP Talk" Message-ID: <[EMAIL PROTECTED]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Chec

[nyphp-talk] Re:Intellectual Monday

2007-01-23 Thread Nate Abele
We just implemented this thing in Cake where you can effectively add one object to another, such that all the public methods of the first object are available in the second. It uses magic methods, and it's kind of a hack (and you can't overload methods in the base class or anything), but i

[nyphp-talk] show me your best work

2007-01-19 Thread Nate Abele
My best work is probably CakePHP. http://cakephp.org/ ___ 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://ww

[nyphp-talk] Philosophy of Frameworks (Was: CAKE Ain't Soup!)

2007-01-11 Thread Nate Abele
Heheh, the way I see it, it's kind of like raising kids: you're only responsible to a point. After that, it's in God's hands. ;-) Thanks for the donation, man. We'll put it towards hours worked on documentation. :-) - Nate I feel bad for writing the email that unleashed all this. So I

[nyphp-talk] Philosophy of Frameworks (Was: CAKE Ain't Soup!)

2007-01-11 Thread Nate Abele
Ah, so you're a support puke, not an actual programmer. Yeah, that explains a thing or two. Anyway, in an effort to cut this discussion short, I'm going to simply suggest that you don't use Cake. Not now, or at any point in the future. I, as a core dev of the project, am telling you that

[nyphp-talk] CakePHP and HTTP Auth

2007-01-10 Thread Nate Abele
Workin' on it ;-) Date: Tue, 9 Jan 2007 12:27:31 -0500 From: "Jeff Loiselle" <[EMAIL PROTECTED]> Subject: Re: [nyphp-talk] CakePHP and HTTP Auth Jon, Should I point you to the correct acquisitions editor? ;-) Regards, jeff On 1/5/07, Jon Baer <[EMAIL PROTECTED]> wrote: I think this depends

[nyphp-talk] Philosophy of Frameworks (Was: CAKE Ain't Soup!)

2007-01-10 Thread Nate Abele
Okay, I need to interject here, because I really don't think that's what Jeff is saying. I think Jeff is saying what I'm saying, which is if you'd like to dig into the source code to help us improve and expand on our documentation, that would be really *really* helpful. Also, I really did

[nyphp-talk] CAKE Ain't Soup!

2007-01-07 Thread Nate Abele
Some get a kick from cocaine. I'm sure that if I took even one sniff, it would bore me terrifically, too. Yet, I get a kick out of you. Date: Sun, 07 Jan 2007 12:08:41 +0800 From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> Subject: [nyphp-talk] CAKE Ain't Soup! To: talk@lists.nyphp.org Message-I

[nyphp-talk] Re: CakePHP and HTTP Auth

2007-01-04 Thread Nate Abele
class PluginAppController extends AppController { var $components = array("Security"); function beforeFilter() { $this->Security->requireLogin(array('users' => array( 'admin' => 'admin', 'guest' => 'guest'

[nyphp-talk] Re: Passing array elements as... strings?

2007-01-04 Thread Nate Abele
Two solutions that come to mind are to (a) parse out the var name and the index from the string, or (b) submit the var name and the index as two separate POST vars. Any reason either of those wouldn't work? - Nate Date: Thu, 4 Jan 2007 11:39:08 -0500 From: csnyder <[EMAIL PROTECTED]> Subje

[nyphp-talk] Re: Cakephp

2006-12-14 Thread Nate Abele
Hey Paul, don't get me wrong, because I completely agree about the statelessness of the web being critical for RESTfulness and whatnot, but seriously, any app that uses $_SESSION is broken? I'm sure I'm not the only one who would beg to differ on that one, especially since there are many g

[nyphp-talk] Re: Cakephp

2006-12-12 Thread Nate Abele
Yes, I use the CakePHP framework ;-) Exactly what kind of trouble are you having? Getting errors? Things just aren't saving? Can you paste some code samples? By default, the Session class acts as a wrapper for the $_SESSION variable, so you may want to check and see if that works, becau

Re: [nyphp-talk] microframeworks

2006-11-18 Thread Nate Abele
Most of the new features I've added to CakePHP have been extracted from Real Applications(tm). It's also flexible enough to allow you to modify or replace the framework's functionality at pretty much any point in the process. The only reason you'd ever want to fork a framework project is

Re: [nyphp-talk] talk Digest, Vol 42, Issue 15

2006-11-09 Thread Nate Abele
Ken, any reason you wouldn't just generate JavaScript to be eval'd on the client side? I would think that would actually be more efficient, despite the use of eval(). It also saves you from having to re-implement more JavaScript language features, should you choose to expand your dynamic

Re: [nyphp-talk] php framework

2006-11-08 Thread Nate Abele
Sean, don't look at that graphic. It is horribly outdated, and the author of the corresponding article barely did a shred of research before publishing it. The article and the graphic have been updated a few times to correct some of the initial mistakes, but you can read the comments here

Re: [nyphp-talk] cake url question

2006-11-02 Thread Nate Abele
We're trying to get a dev release out next week. -Nate > Date: Wed, 1 Nov 2006 11:54:49 -0500 > From: "Baer, Jon" <[EMAIL PROTECTED]> > Subject: Re: [nyphp-talk] cake url question > To: "NYPHP Talk" > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset="US-ASCII" > > -BEG

Re: [nyphp-talk] cake url question

2006-11-01 Thread Nate Abele
Hi Marcin, Cake 1.2 adds support for this. In app/config/routes.php, you can add a route like the following: Router::connect('/:car_brand', array('controller' => 'cars', 'action' => 'view'), array('car_brand' => 'bmw|toyota|nissan')); The only issue is that all the possible values of car_br