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

[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] 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

[nyphp-talk] Embrace Dynamic PHP

2008-04-24 Thread paul
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' methods in PHP. As much as I like symfony, it feels like an

Re: [nyphp-talk] using PHP mail function on Windows server?

2008-04-24 Thread PaulCheung
When I was having problems this is what was suggested to me. If you are trying to send through localhost, then PHP expects to be able to connect to port 25 on localhost and talk SMTP to it to send the email. If you are using your ISPs mail server to se

Re: [nyphp-talk] using PHP mail function on Windows server?

2008-04-24 Thread Kristina Anderson
Hi Paul, Thanks. We are on PHP 4.x and Windows 2003 server and looking through the directories through FTP, there doesn't appear to be an existing PHP.INI file...the tech support is directing my client in what settings to configure in PHP.INI (Port 25 and STMP=localhost and so on)...I'm assum

Re: [nyphp-talk] using PHP mail function on Windows server?

2008-04-24 Thread PaulCheung
Hi Kristina I was wrestling with this problem a few months ago, I remember having to do some fiddling with the PHP.INI. Anyway the coding below works for WINDOWS and PHP 5 Paul - Original Message - From: "Kristina Anderson" <[EMAIL PROTECTED]> To: Sent: Thursday, April 24, 2008

Re: [nyphp-talk] using PHP mail function on Windows server?

2008-04-24 Thread Tim Gales
Kristina Anderson wrote: Hi everyone -- My current client's app is a PHP 4 site running on a Windows box (don't ask...I have no idea why). I'm trying to use the mail() function and the mail isn't cooperating. [...] Thanks for any help... I got this to work once using IIS6 on WindowsXP P

Re: [nyphp-talk] using PHP mail function on Windows server?

2008-04-24 Thread Kristina Anderson
Everyone -- thanks tons for your feedback so far. We are contacting the host company today to get details on what our options are and I will let you know what we find out! --Kristina > [EMAIL PROTECTED] wrote: > > Forgot, I was using the mail.mysite.com and the IP address for same > > with sim

Re: Spam: Re[2]: [nyphp-talk] About Formalizing an Enterprise PHP and the PHP+Developer

2008-04-24 Thread tedd
At 1:07 PM -0700 4/23/08, Kristina Anderson wrote: Unfortunately, there are few geniuses in HR :) Surprise, surprise. But to their defense, they have nothing else to go on but what can be put to paper or provided by a test and therein lies the problem. They are hired to judge, but don't have

Re: Re[2]: [nyphp-talk] About Formalizing an Enterprise PHP and the PHP+ Developer

2008-04-24 Thread tedd
At 12:38 PM -0700 4/23/08, Kristina Anderson wrote: Mike -- 99.9% of the people posting on this list do have a university degree, from what I have seen! A lot of them have MS or PhDs, even. But, a 10- or 20-year old degree doesn't prove anything when it comes to current technology. A certifica

Re: [nyphp-talk] About Formalizing an Enterprise PHP and the PHP+ Developer

2008-04-24 Thread Tom Melendez
So, everyone knows what I think of this thread and the one preceding it regarding testing and such. I won't go there. However, now that some specs have been laid as to what some employers want and some ideas for the implementation, I challenge everyone (or anyone interested) to put some numbers a

Re: [nyphp-talk] MySQL - SQL Question

2008-04-24 Thread SyAD
Just to give you another convention, I do: 1) tbl for tables, with the singular, like tblEmployee -- not really necessary in SQL statements directly, but I use a class to generate SQL statements, so in PHP function calls I can tell what's a table more easily 2) I capitalize field names with n

RE: [nyphp-talk] About Formalizing an Enterprise PHP and the PHP+ Developer

2008-04-24 Thread Peter Sawczynec
Now this roll up (redisplayed below) from Time Lieberman is excellent and elegantly captures what a real PHP+ programmer would be. And in reality and based on my own experience too, this skill set is exactly what is most often needed and even silently tacitly expected when you step into an advanced