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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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?
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
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
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
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
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:
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
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
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
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
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
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
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
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
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
class PluginAppController extends AppController {
var $components = array("Security");
function beforeFilter() {
$this->Security->requireLogin(array('users' => array(
'admin' => 'admin',
'guest' => 'guest'
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
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
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
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
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
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
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
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
41 matches
Mail list logo