Re: [nyphp-talk] databases with PHP

2009-05-06 Thread Anthony Wlodarski
Same here, I am still a "noob" to the SQL game but I prefer PostgreSQL over MySQL. The one thing I do find rewarding is that at the end of the day I can watch PostgreSQL run circles around MySQL in regards to performance. But those nice to haves are missed that make MySQL user friendly for the maj

Re: [nyphp-talk] databases with PHP

2009-05-06 Thread Kenneth Downs
Anthony Wlodarski wrote: We use PostgreSQL for our environments. Although it is quite powerful there are some ease of use issues with tuning and getting it to perform at its maximum. But the great thing about PostgreSQL is transactions right out of the box, that has been the most useful feature

Re: [nyphp-talk] databases with PHP

2009-05-06 Thread Anthony Wlodarski
We use PostgreSQL for our environments. Although it is quite powerful there are some ease of use issues with tuning and getting it to perform at its maximum. But the great thing about PostgreSQL is transactions right out of the box, that has been the most useful feature so far. I haven't had a c

Re: [nyphp-talk] databases with PHP

2009-05-06 Thread David Krings
Jesse Callaway wrote: I think the idea is that MySQL had a decent business model and was doing quite well. If Oracle does decide to shitcan it, it's GPL'd anyway and will live on kinda like CentOS does. Besides that MySQL forked already and while I do like and use MySQL, there is still Postgr

Re: [nyphp-talk] databases with PHP

2009-05-06 Thread Jesse Callaway
Ahem, I meant Sun. And I meant to not top-post, but here we go On Wed, May 6, 2009 at 7:22 PM, Jesse Callaway wrote: > I think the idea is that MySQL had a decent business model and was > doing quite well. If Oracle does decide to shitcan it, it's GPL'd > anyway and will live on kinda like Ce

Re: [nyphp-talk] databases with PHP

2009-05-06 Thread Jesse Callaway
I think the idea is that MySQL had a decent business model and was doing quite well. If Oracle does decide to shitcan it, it's GPL'd anyway and will live on kinda like CentOS does. -jesse On Wed, May 6, 2009 at 6:53 PM, SusanS wrote: > Now that Oracle has bought Sun (and also MySQL), is there an

Re: [nyphp-talk] htaccess question - deafult behavior in one folder

2009-05-06 Thread Jesse Callaway
Hey Corey, Try !^/blog.*$ if you end up installing Drupal under Wordpress... just kidding. But the fewer passes to mod_rewrite the happier everyone is. That pattern ought to tell it to ignore anything after /blog in the URL without any further rules. mod_rewrite is mind blowing sometimes... Try

[nyphp-talk] databases with PHP

2009-05-06 Thread SusanS
Now that Oracle has bought Sun (and also MySQL), is there any discussion in the community about a change in open-source databases? ___ New York PHP User Group Community Talk Mailing List http://lists.nyphp.org/mailman/listinfo/talk http://www.ny

Re: [nyphp-talk] htaccess question - deafult behavior in one folder

2009-05-06 Thread Corey H Maass - gelform.com
Ooh, great! I actually combined the two responses. Adding: RewriteCond %{REQUEST_URI} !^/blog worked for /blog, but anything after blog (/blog/2009/my-post) still gave me a 404. So then I added an .htaccess to /blog/ to redirect to it's root and it worked. Thanks! On Wed, 6 May 2009 17:53:07 -0400

Re: [nyphp-talk] htaccess question - deafult behavior in one folder

2009-05-06 Thread Ajai Khattri
On Wed, 6 May 2009, Corey H Maass - gelform.com wrote: > I have a site that uses the Zend framework. I want to run a blog at > /blog. I tried installing wordpress in an actual folder at /blog but my > htaccess is set to have anything that doesn't point to an actual file > redirect to index.php for

Re: [nyphp-talk] htaccess question - deafult behavior in one folder

2009-05-06 Thread Andy Dirnberger
> So I need a rule that says, 'anything in /blog, just do what you > normally do' but I'm not sure how to go about that. I've dug thru > htaccess tutorials but I'm not finding anything. Here's how I accomplish that same thing for Trac instead of WordPress. RewriteEngine On Rewrit

[nyphp-talk] htaccess question - deafult behavior in one folder

2009-05-06 Thread Corey H Maass - gelform.com
I have a site that uses the Zend framework. I want to run a blog at /blog. I tried installing wordpress in an actual folder at /blog but my htaccess is set to have anything that doesn't point to an actual file redirect to index.php for zend. wordpress relies on blog/ directing to blog/index.php. He

Re: [nyphp-talk] ini_set and file_get_contents

2009-05-06 Thread Brent Baisley
You should file_get_contents to retrieve URLs, which is what you seem to be trying to do. It doesn't handle failures (i.e. timeout, redirects) very well at all. You should use curl if you need to retrieve a remote file. $url = 'http://yourfile.com'; $ch = curl_init(); curl_s

Re: [nyphp-talk] unit testing, was Survey: Development environment....

2009-05-06 Thread David Krings
David Mintz wrote: I get the impression that most developers report that they do automated testing or they are trying to learn. Only a minority seem to be answering flat-out no. Automated testing is the most overhyped tool in the QA world. I am in software QA for a decade now and automated QA

Re: [nyphp-talk] [fw-general] Survey: Development environment for PHP/ZFW

2009-05-06 Thread Joelle Tegwen
1 Ubuntu - upgrading to Jaunty today. :) 2 localhost with separate test and production servers 3 Eclipse with PHPEclipse and XMLBuddy 4 svn 5 A custom written debug script (to format things the right way) I've installed xdebug but not used it. Just started using PHPUnit this project and loving i

Re: [nyphp-talk] unit testing, was Survey: Development environment....

2009-05-06 Thread Kenneth Downs
David Mintz wrote: I get the impression that most developers report that they do automated testing or they are trying to learn. Only a minority seem to be answering flat-out no. imho one of the major differences between a polished professional and a hobbyist is responsible testing. That's why I

Re: [nyphp-talk] ini_set and file_get_contents

2009-05-06 Thread Tom Melendez
On Wed, May 6, 2009 at 7:13 AM, Leam Hall wrote: > I have a file_get_contents working on my laptop/dev box, but when I put it > on the hosting server it comes back with an error. > >        URL file-access is disabled in the server configuration > > My guess is that there's a way to ini_set this t

[nyphp-talk] ini_set and file_get_contents

2009-05-06 Thread Leam Hall
I have a file_get_contents working on my laptop/dev box, but when I put it on the hosting server it comes back with an error. URL file-access is disabled in the server configuration My guess is that there's a way to ini_set this to allow it, but the closest thing I found was allow_url_

Re: [nyphp-talk] unit testing, was Survey: Development environment....

2009-05-06 Thread Leam Hall
Add me to the "want to get there but..." list. By the time I squirrel away a couple hours to code I've forgotten what I learned last month when I had time to PHP and thus keep re-inventing the hamster wheel that is my brain... Leam ___ New York PHP U

[nyphp-talk] unit testing, was Survey: Development environment....

2009-05-06 Thread David Mintz
I get the impression that most developers report that they do automated testing or they are trying to learn. Only a minority seem to be answering flat-out no. imho one of the major differences between a polished professional and a hobbyist is responsible testing. That's why I still kick myself, as