Re: [nyphp-talk] Webserver file access (and version control)

2007-08-21 Thread Greg Rundlett
I wanted to add a few cents about the role of a version control system in managing websites. Release Engineering is a complex subject worthy of it's own profession. I say that because I've worked in a Release Engineering team supporting multiple software products and distributed teams numbering i

Re: [nyphp-talk] Ideas on how to speed up search process

2007-08-21 Thread Daniel Convissor
On Mon, Aug 20, 2007 at 10:40:35PM -0400, Nelly Yusupova wrote: > > I have a table that contains about 40,000 rows of job posting data. ... snip ... > average query takes about 10 seconds to display in a browser, which is way > too long. 40k rows is small. Searching is what databases excel at.

Re: [nyphp-talk] Auto Form Generation

2007-08-21 Thread Steve Francia
On 8/17/07, Gary Mort <[EMAIL PROTECTED]> wrote: > > Just curious how many people have used form generation/templating > systems like http://www.phpclasses.org/browse/package/1.html and what > your opinions of them are? > ___ > New York PHP Community Talk

Re: [nyphp-talk] [0T] Comcast as ISP -- opinions?

2007-08-21 Thread Rob Marscher
On Aug 21, 2007, at 4:03 PM, Anthony Wlodarski wrote: Also in regards to your friends server David, I tried to do that once with Verizon, they saw the bandwidth traffic and blocked the port 80 incoming requests, that’s when I called up and they said I was violating my TOS when I decided to h

Re: [nyphp-talk] [0T] Comcast as ISP -- opinions?

2007-08-21 Thread David Krings
Anthony Wlodarski wrote: > But I have also heard good things about FiOS but make sure your neighborhood has access to it. Also in regards to your friends server David, I tried to do that once with Verizon, they saw the bandwidth traffic and blocked the port 80 incoming requests, that’s when I

RE: [nyphp-talk] [0T] Comcast as ISP -- opinions?

2007-08-21 Thread Anthony Wlodarski
I happen to live in an area where FiOS is in direct competition with my Comcast line, good news for me I got a good bump in connection speed. I maxed out at about 64mbps the other day, insanely fast just to browse the web. I know other people in the community also got a bump in speed as well from

Re: [nyphp-talk] [0T] Comcast as ISP -- opinions?

2007-08-21 Thread David Mintz
FiOS isn't available to me yet but I will keep watching. What's RCN? In any case it looks like Comcast has a monopoly on all non-DSL, consumer-type broadband in my area. F... Fooie. Many thanks to all. On 8/16/07, Rob Marscher <[EMAIL PROTECTED]> wrote: > > On Aug 15, 2007, at 6:54 PM, David Mint

Re: [nyphp-talk] Webserver file access (and version control)

2007-08-21 Thread Jon Baer
The only thing that pertains to that you are developing a Rails application is that you have a "config" folder @ the root level so that a "deply.rb" script can be set there. (old method) In fact the new method is just to have a Capfile in your root + describe tasks. From there you would ru

Re: [nyphp-talk] Webserver file access (and version control)

2007-08-21 Thread Cliff Hirsch
On 8/21/07 12:41 PM, "Rob Marscher" <[EMAIL PROTECTED]> wrote: > Capistrano is a ruby app the allows automated scripting and parallel > updates on multiple servers at the same. Worth looking into before > rolling out your own custom shell scripts. > > http://manuals.rubyonrails.com/read/chapter/9

Re: [nyphp-talk] Webserver file access (and version control)

2007-08-21 Thread Jon Baer
+1 for Capistrano, it saves so much time ... But if you need something else even more lightweight ... Vlad the Deployer (yes, that is the name, no typo) ... http://www.infoq.com/news/2007/08/vlad-the-deployer :-) On Aug 21, 2007, at 12:41 PM, Rob Marscher wrote: On Aug 20, 2007, at 3:59 P

Re: [nyphp-talk] Webserver file access (and version control)

2007-08-21 Thread Rob Marscher
On Aug 20, 2007, at 3:59 PM, Cliff Hirsch wrote: But...it's still an update and conflicts would be a bear to deal with in a production environment You should check out Capistrano some time. It pulls down the whole app from subversion into a new directory. It then symlinks the current webr

RE: [nyphp-talk] PHP 5.3 Problem - Object Creation problem

2007-08-21 Thread Jeff Siegel
Jake, Thank you! That worked like a charm! Jeff === -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Jake McGraw Sent: Tuesday, August 21, 2007 10:01 AM To: NYPHP Talk Subject: Re: [nyphp-talk] PHP 5.3 Problem - Object Creation proble

Re: [nyphp-talk] PHP 5.3 Problem - Object Creation problem

2007-08-21 Thread Jake McGraw
Create a public __toString() function within your Database class. It can be something as simple as: public function __toString() { return 'Object'; } This is a new as of 5.2 - for some reason they've removed implicit object-to-string conversion. You must provide explicit __toString if you're pr

[nyphp-talk] PHP 5.3 Problem - Object Creation problem

2007-08-21 Thread jeff mailings
Anyone know the best way to handle this error? "PHP Catchable fatal error: Object of class Database could not be converted to string" I've got some old class modules that I'm trying to run under PHP 5.3. Jeff Siegel ___ New York PHP Community Talk M

RE: [nyphp-talk] table image display

2007-08-21 Thread Anthony Wlodarski
I think John hit the nail on the head but for your mysql_fetch_array($result), I like to use mysql_fetch_array($result, MYSQL_ASSOC) just to qualify that the array returned is associative. Or for short you can use mysql_fetch_assoc($result). That way only an associative array is returned. Anthon