Re: [nyphp-talk] Constants interfaces

2008-09-02 Thread Michael B Allen
On Wed, Sep 3, 2008 at 12:34 AM, Anirudh Zala <[EMAIL PROTECTED]> wrote: > On Wednesday 03 September 2008 06:04:16 Michael B Allen wrote: >> How do people feel about the use of Java-ist "Constants" interfaces like: >> >> interface Sql_Constants >> { >> >> const SELECT = 1; >> const

Re: [nyphp-talk] Constants interfaces

2008-09-02 Thread Anirudh Zala
On Wednesday 03 September 2008 06:04:16 Michael B Allen wrote: > How do people feel about the use of Java-ist "Constants" interfaces like: > > interface Sql_Constants > { > > const SELECT = 1; > const FROM = 2; > const WHERE = 3; > const NOT = 4; > > > } > >

Re: [nyphp-talk] Foo_Shape_Circle class naming convention from where?

2008-09-02 Thread Ajai Khattri
On Tue, 2 Sep 2008, Paul M Jones wrote: > To the best of my knowledge, it originated in the PEAR project ... > >http://pear.php.net > > ... and it was adopted by lots of other projects thereafter, not just > frameworks. Im probably showing my age here, but its pretty common on COBOL and L

Re: [nyphp-talk] Module Organization ideas...

2008-09-02 Thread Daniel Convissor
Hi Mike: I'm a bit late, but hey... > I am thinking that maybe I need to break up the second function into a > more specific set of functions The structure your code takes doesn't matter at all. You have a set of steps you have to take. It doesn't matter if you write them all in line or in f

Re[2]: [nyphp-talk] PHP to Online Payment Processing

2008-09-02 Thread mikesz
listinfo/talk > NYPHPCon 2006 Presentations Online > http://www.nyphpcon.com > Show Your Participation in New York PHP > http://www.nyphp.org/show_participation.php > __ Information from ESET Smart Security, version of virus > signature database 3409 (20080902) __ &g

Re: [nyphp-talk] PHP to Online Payment Processing

2008-09-02 Thread Dan Horning
I can help you get that setup - i use it for a few clients... a couple of options exist as well paypal pro is nice 2checkout.com ... but make sure they can use it - i think as long as they are a 501/3c thing e-onlinedata options authorize.net - https://www.e-onlinedata.com/amerids Plug'n'pay -

Re: [nyphp-talk] Foo_Shape_Circle class naming convention from where?

2008-09-02 Thread Paul M Jones
On Sep 2, 2008, at 19:29 , Michael B Allen wrote: I'm just curious but does anyone know what the origin of the class underscore per-directory naming convention used by some frameworks is? Meaning, a class with a name like: Zend_Auth_Adapter_Ldap would have a script file path that ends with:

Re: [nyphp-talk] Foo_Shape_Circle class naming convention from where?

2008-09-02 Thread Ben Sgro
Hello, Yes, I follow this name space / naming convention. Learned from Zend and kept using. Since PHP doesn't support namespaces (like java) I guess the next best thing is the "Zend_Auth_.." style. - Ben Michael B Allen wrote: I'm just curious but does anyone know what the origin of the c

Re: [nyphp-talk] PHP to Online Payment Processing

2008-09-02 Thread Michael B Allen
On Tue, Sep 2, 2008 at 8:16 PM, Peter Sawczynec <[EMAIL PROTECTED]> wrote: > I know that with PHP (and, of course, without PHP) it is a snap to > create something like an online Contribute button on a web site that > hooks to PayPal for credit card contribution/payment processing. > > But, client d

[nyphp-talk] Constants interfaces

2008-09-02 Thread Michael B Allen
How do people feel about the use of Java-ist "Constants" interfaces like: interface Sql_Constants { const SELECT = 1; const FROM = 2; const WHERE = 3; const NOT = 4; } where the objective is to permit any class that needs these constants to access them u

[nyphp-talk] Foo_Shape_Circle class naming convention from where?

2008-09-02 Thread Michael B Allen
I'm just curious but does anyone know what the origin of the class underscore per-directory naming convention used by some frameworks is? Meaning, a class with a name like: Zend_Auth_Adapter_Ldap would have a script file path that ends with: /Zend/Auth/Adapter/Ldap.php Also, do people sens

Re: [nyphp-talk] PHP to Online Payment Processing

2008-09-02 Thread Kristina Anderson
Peter -- for people who do a lot of international sales and need fraud protection, WorldPay is a decent option that some are using. It's not as easy to set up as Paypal but not too onerous. Documentation was good a few years back at least. -- Kristina > I know that with PHP (and, of course, w

[nyphp-talk] PHP to Online Payment Processing

2008-09-02 Thread Peter Sawczynec
I know that with PHP (and, of course, without PHP) it is a snap to create something like an online Contribute button on a web site that hooks to PayPal for credit card contribution/payment processing. But, client doesn't want to use PayPal. So is anyone aware of any other similar or alternate se

Re: [nyphp-talk] Php Debugger

2008-09-02 Thread @ndrés
www.*firephp*.org/ It's like coding print sentences but without being intrusive to the layout/presentation layer On Tue, Sep 2, 2008 at 7:08 AM, David Krings <[EMAIL PROTECTED]> wrote: > (Margaret) Michele Waldman wrote: > >> I already use print statements. >> >> I've been programming php for ab

Re: [nyphp-talk] FDF support

2008-09-02 Thread William Klein
> The ./configure script keeps a config.log in current directory of all > of the tests it's tried. Usually the tests involve dynamically > creating a small test program and then trying to compile it. If that > compilation failed, you should see the compiler error. It could be > just a missing depen

Re: [nyphp-talk] FDF support

2008-09-02 Thread Michael B Allen
On Tue, Sep 2, 2008 at 9:07 AM, William Klein <[EMAIL PROTECTED]> wrote: > states tax form. Fpdf is made for this and if the bloody thing would > compile I'd be in fat city since I already have made all the state tax fpdf > blank forms. The ./configure script keeps a config.log in current directo

[nyphp-talk] Dynamic/Scripting Languages

2008-09-02 Thread Hans Zaunere
Hello all, hope the weekend was good. Some food for thought for the Fall: http://www.cio.com/article/446829/PHP_JavaScript_Ruby_Perl_Python_and_Tcl_To day_The_State_of_the_Scripting_Universe or: http://tinyurl.com/55tpka Aside from the two pop-ups, an interesting read. --- Hans Zaunere / Mana

RE: [nyphp-talk] Php Debugger

2008-09-02 Thread David Krings
(Margaret) Michele Waldman wrote: I already use print statements. I've been programming php for about 1 1/2-2 years without a debugger. I can do it. I'm just hoping to speed up my development. I can't think of any other ways to cut corners. Yes, there are debuggers for Windows. One of the p

Re: [nyphp-talk] FDF support

2008-09-02 Thread William Klein
I've been using fpdf also for years. The problem I have with it is when I want to fill in a form. I know I can do that by XY coordinates but I need to set up a site where people around the country can fill in a state tax resale certificate. So there are many different forms with the same informa

Re: [nyphp-talk] Php Debugger

2008-09-02 Thread Adrian Noland
Forgot to include: http://tech.blog.box.net/2007/06/20/how-to-debug-php-with-vim-and-xdebug-on-linux/ On Tue, Sep 2, 2008 at 8:29 AM, Adrian Noland <[EMAIL PROTECTED]> wrote: > Xdebug is my personal favorite. xdebug.org. > -- installs as a php module, works about the same on Linux and Windows. >

Re: [nyphp-talk] Php Debugger

2008-09-02 Thread Adrian Noland
Xdebug is my personal favorite. xdebug.org. -- installs as a php module, works about the same on Linux and Windows. The venerable dbg started it all. http://dd.cron.ru/dbg/ -- can be a pain to use. Have to purchase to get latest fixes, but works for most cases. In order to see the debugging info

Re: [nyphp-talk] Php Debugger

2008-09-02 Thread Kenneth Downs
Start out with the xdebug extension to PHP. This adds debugging abilities to PHP itself. Then from there you have to get an editor that can talk to xdebug. I have never gone ahead and done this, so I can't give specifics, but the idea is to have something that can talk back and forth to the

RE: [nyphp-talk] Php Debugger

2008-09-02 Thread (Margaret) Michele Waldman
I already use print statements. I've been programming php for about 1 1/2-2 years without a debugger. I can do it. I'm just hoping to speed up my development. I can't think of any other ways to cut corners. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf

Re: [nyphp-talk] Php Debugger

2008-09-02 Thread Edward Potter
print "foo"; :-) On Tue, Sep 2, 2008 at 7:57 AM, (Margaret) Michele Waldman <[EMAIL PROTECTED]> wrote: > Does anyone know of a good php debuggers for the windows platform (xp)? > > > > Are there any all-in-ones for Php, javascript, etc? > > > > Michele > > > > Sovereign Sites L.L.C. > > Website D

[nyphp-talk] Php Debugger

2008-09-02 Thread (Margaret) Michele Waldman
Does anyone know of a good php debuggers for the windows platform (xp)? Are there any all-in-ones for Php, javascript, etc? Michele Sovereign Sites L.L.C. Website Development Rule your domain ... ___ New York PHP Community Talk Mailing L