Re: [nyphp-talk] databases with PHP

2009-05-07 Thread David Mintz
One nice thing about MySQL, however, is that replication is pretty easy. I have no experience with PostgreSQL but after doing a little research it looks like replication in PostgreSQL is a comparative PITA. -- David Mintz http://davidmintz.org/ The subtle source is clear and bright The tributary

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

2009-05-07 Thread David Krings
Leam Hall wrote: Well, let's hope you don't have any heart attacks soon! however, I do wonder how you *real* developers get specs and requirements? Are they that loose until you build and the client says "that's not what I wanted"? Although I work in a software company I´d guess the same mecha

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

2009-05-07 Thread Corey H Maass - gelform.com
It's cheeky, but you can demand these things if you work for yourself. If you can to calm the inner 'freakout' voice, you can usually convince a client that doing it the right way is worth the little extra time (money is another matter :-P ). When I was full-time freelance a few years ago I had thi

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

2009-05-07 Thread Ajai Khattri
On Wed, 6 May 2009, David Mintz wrote: > It's a little > harder to create simulated http environments complete with cookies and > sessions My usual answer: it depends :-) Some PHP frameworks, as well supporting unit tests, go a little further and provide functional testing which simulates almos

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

2009-05-07 Thread Ajai Khattri
On Thu, 7 May 2009, Mitch Pirtle wrote: > I think the biggest pain most of us face is that web development is > always of the > oh-my-god-we-are-all-going-to-die-if-we-dont-launch-freaking-TOMORROW > variety of projects. Tomorrow? You mean yesterday surely?! :-) -- Aj. _

Re: [nyphp-talk] databases with PHP

2009-05-07 Thread Anthony Wlodarski
Looks like I am upgrading my DB on my Ubuntu machine later tonight. Cheers Dan for pointing that out! -Anthony On Thu, May 7, 2009 at 9:16 AM, Daniel Horning wrote: > > -Original Message- > > From: talk-boun...@lists.nyphp.org [mailto:talk- > > boun...@lists.nyphp.org] On Behalf Of Dan

Re: [nyphp-talk] ini_set and file_get_contents

2009-05-07 Thread Leam Hall
Brent, you are a wonderful person! No matter what Hans, Mitch, David, and maybe a few others say...:) Wasn't able to change anything that would allow file_get_contents but the curl code you provided works like a charm! This is a growth point for me so it's nice to be successful for a chang

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

2009-05-07 Thread Leam Hall
Well, let's hope you don't have any heart attacks soon! however, I do wonder how you *real* developers get specs and requirements? Are they that loose until you build and the client says "that's not what I wanted"? Is there room or time for better requirements gathering up front so you save ti

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

2009-05-07 Thread y2rob
hello mitch, nicely put man and i totally know where you're coming from.? i to hate those type of projects where you're expected to create miracles to get a site up and running in a short amount of time.? not only perform the miracle, but brunt the pressures while developing with this tight de

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

2009-05-07 Thread Mitch Pirtle
I think the biggest pain most of us face is that web development is always of the oh-my-god-we-are-all-going-to-die-if-we-dont-launch-freaking-TOMORROW variety of projects. If a client ever came to me and said "You know Mitch, take your time on this one, I'd really like to see it done right" I wou

Re: [nyphp-talk] JPEG Preview of PDFs

2009-05-07 Thread Scott Mattocks
Peter Sawczynec wrote: I need on file upload to grab the uploaded PDF and generate a JPEG preview of page 1 of that PDF. exec('/usr/bin/convert /path/to/pdf.pdf[0] /path/to/image.jpg'); -- Scott Mattocks Author: Pro PHP-GTK http://www.crisscott.com _

[nyphp-talk] JPEG Preview of PDFs

2009-05-07 Thread Peter Sawczynec
I need on file upload to grab the uploaded PDF and generate a JPEG preview of page 1 of that PDF. Any thoughts, directions. Warmest regards,   Peter Sawczynec Technology Dir. blūstudio 941.893.0396 p...@blu-studio.com www.blu-studio.com ___ New

Re: [nyphp-talk] databases with PHP

2009-05-07 Thread Daniel Horning
> -Original Message- > From: talk-boun...@lists.nyphp.org [mailto:talk- > boun...@lists.nyphp.org] On Behalf Of Dan Cech > > Anthony Wlodarski wrote: > > Here is an example of a convenience that is not yet built into > PostgreSQL > > (and if it is please correct me as I am using 8.1.1). >

Re: [nyphp-talk] databases with PHP

2009-05-07 Thread Dan Cech
Anthony Wlodarski wrote: > Here is an example of a convenience that is not yet built into PostgreSQL > (and if it is please correct me as I am using 8.1.1). > > INSERT INTO x (a,b) > VALUES > ('1', 'one'), > ('2', 'two'), > ('3', 'three') It seems like this was added in 8.2, it's been a while

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

2009-05-07 Thread Konstantin Rozinov
1. Ubuntu 2. localhost 3. UltraEdit, but will be moving to Eclipse+PDT+Subversive (thanks to this thread) 4. SVN 5. Zend Debugger, and the standard echos, print_r, error_log On Wed, May 6, 2009 at 10:47 AM, Joelle Tegwen wrote: > 1 Ubuntu - upgrading to Jaunty today. :) > 2 localhost with separ