From leam at reuel.net Wed Jun 1 07:10:15 2005
From: leam at reuel.net (leam at reuel.net)
Date: Wed, 1 Jun 2005 07:10:15 -0400
Subject: [nycphp-talk] Making an array from a list item?
In-Reply-To: <429C9908.7000000@phpwerx.net>
References: <20050531164812.GE3104@leitz> <429C9908.7000000@phpwerx.net>
Message-ID: <20050601111015.GB2905@leitz>
Dan;
That took me a couple minutes to transcribe. Probably a little longer to comprehend well enough to use again. ;)
Does this sond like a reasonable english translation?
Create an array called $output
Create a query. Make the query and store the result in $result.
Iterate through the rows in $result
if there is no variable $output[$row]['skillID']
Create one as an array
Add the $row['knackID'] onto the array $output[$row]['skillID']
print it so I can read it.
It works! Thanks! I think the coffee has to really start kicking in before I fully get it though...
ciao!
leam
On Tue, May 31, 2005 at 01:04:08PM -0400, Dan Cech wrote:
> Try:
>
> $output = array();
>
> $query = 'select skillID,knackID from characters.skill_knacks';
> $result = mysql_query($query,$link_id);
>
> while($row = mysql_fetch_array($result)) {
> if (empty($output[$row['skillID']])) {
> $output[$row['skillID']] = array();
> }
> $output[$row['skillID']][] = $row['knackID'];
> }
>
> print_r($output);
>
> Dan
>
> leam at reuel.net wrote:
> >Trying to read code from last year. *sigh* At least it isn't as difficult
> >as perl...
> >
> >Looking through the archives I don't think I've asked this before. If
> >there is a better way, and I'd not be surprised, feel free to suggest it.
> >;)
> >
> >My project is a character sheet for a game. Each character has a different
> >set of skills, and each skill has a sub-skill called a "knack". A
> >character can have a rank of 0-5 in a knack. "0" means they don't have
> >that knack. Skills are not ranked; you just have it or not. For example, a
> >character might have the Skill "Hunter" and have the knacks "Fishing (2)",
> >"Stealth (2)", and "Tracking (1)". A character may or may not have all the
> >knacks in a skill. Some knacks are in more than one skill.
> >
> >Each Skill and Knack has a unique short name like "hntr", "fshng", and
> >"stlth". I've been using the short name as array keys. The character sheet
> >pulls the list of skills that character has and then looks up what knacks
> >are in that skill. It then writes the Skill header, lists each knack and
> >the rank the character has in that knack.
> >The current problem is that I'm using an included file that manually sets
> >the array $htnr to have the knacks "fshg", "stlth", etc. I'd rather, if
> >possible, have the array built from a database pull. I'm failing because I
> >don't know how to iterate through a list and make the list item an array,
> >and then populate the array with the knacks.
> >
> >Line from the included file:
> >
> >$hntr = array( "ambsh", "anmltn", "fshg", "sknng", "stlth", "srvl",
> >"trkng", "trlsgns", "trps" );
> >
> >
> >So far the code looks like this:
> >
> >
> >foreach ( $skills As $s ) {
> > $a = $s;
> > $s = array ();
> > $$s[0] = $a;
> > echo "
s[0] is $s[0] ";
> >}
> >
> >If I comment out the included file and try the above code it gives output
> >like this:
> >
> >s[0] is !
> >hello ambsh hello anmltn hello fshg hello sknng hello stlth hello srvl
> >hello trkng hello trlsgns hello trps s[0] is
> >
> >So the "echo $skill_knack_data[knackID]" line shows the short name is
> >being gotten, I've just not gotten it onto the array. If I change the
> >bottom "s[0] is $s[0] to higher number it still shows nothing in the array.
> >
> >It seems easiest to build the array to match the included file, but there
> >may be a better, easier way.
> >
> >Thoughts? Suggestions? Crude comments?
> >
> >ciao!
> >
> >leam
> >
> >
> >_______________________________________________
> >New York PHP Talk Mailing List
> >AMP Technology
> >Supporting Apache, MySQL and PHP
> >http://lists.nyphp.org/mailman/listinfo/talk
> >http://www.nyphp.org
>
> _______________________________________________
> New York PHP Talk Mailing List
> AMP Technology
> Supporting Apache, MySQL and PHP
> http://lists.nyphp.org/mailman/listinfo/talk
> http://www.nyphp.org
>
From lists at zaunere.com Wed Jun 1 11:09:51 2005
From: lists at zaunere.com (Hans Zaunere)
Date: Wed, 1 Jun 2005 11:09:51 -0400
Subject: [nycphp-talk] [OT] any interest in a newbie installfest
ofWordPress plus in NY or NJ?
In-Reply-To: <4297A9E3.3030109@travelersdiary.com>
Message-ID: <0MKz5u-1DdUqu2Ajr-0000PZ@mrelay.perfora.net>
I'd get involved. Maybe a Mambo installfest too?
H
> -----Original Message-----
> From: talk-bounces at lists.nyphp.org [mailto:talk-bounces at lists.nyphp.org] On Behalf Of Josh
> McCormack
> Sent: Friday, May 27, 2005 7:15 PM
> To: NYPHP Talk
> Subject: Re: [nycphp-talk] [OT] any interest in a newbie installfest ofWordPress plus in NY or
> NJ?
>
> I'm not new to PHP/MySQL, but have not used WordPress, but want to for a
> couple of sites. I'd love to get your perspective and guidance,
> especially as I want to customize my installs of it.
>
> Josh
>
> inforequest wrote:
>
> > I always apreciated newbie installfests and so I am willing to set one up if there is
> interest.
> >
> > WordPress is a hot blog software, written in PHP/MySQL. It is very flexible, and can be many
> things in addition to a standard blog. It is now at a very nice and relatively stable version
> 1.5.1.2 9 (as of today?) which I really like.
> >
> > Most of you out there are probably thinking "what's to install and configure? It's so
> simple!" and you are correct. But it's not that easy for those not actively working with all-
> things-php, and this is an installfest for those people.
> >
> > To make it even more interesting, I will suggest that while there are literally THOUSANDS of
> themes and templates and plug-ins available (each one promoted as the best thing since Sliced
> Images), there are actually not that many that are "ready for prime time" on the latest
> WP1.5.x release. So there's value to participating even if you are so 133t you can program PHP
> using this kick-ass keyboard http://peripherals.engadget.com/entry/1234000577031787/
> >
> > Add to that the WordPress docs are widely dispersed and wiki-based, and there's plenty of
> knowledge to share.
> >
> > Anybody interested? Here's what I figure could happen at least once:
> >
> > - bring your gear, meet at wifi friendly spot in NY or NJ
> > - have an editor, your own hosting account or use a temp one provided by (someone or some
> not-for-profit? Or we can NAT my T-mobile account and 0wn a Starbucks)
> > - we can intro to SVN to get and keep up with WP, or just grab the DL. I can demonstrate why
> you might consider the SVN nightlies... and if you don't use SVN this is an easy way to start
> (WP is a wide open SVN repo).
> > - there's many places to get themes and templates - I know a few good ones and few dead-ends
> > - WP is based on a controller called the WP Loop. Get an intro so you can start hacking it.
> > - The WP Codex is a vast knowledge base.. I have a set of bookmarks to start with
> > - search engine friendly? Pheh. We can fix that, too, or at least start on the path.
> >
> > Let me know if you are interested, if you have ideas/preferences, or a place etc. Again I
> encourage those who have little experience but want to dig into WP etc cause it's really low
> key and low pressure to get started with WP. Of course if there are only uberstus, we could
> jump right to in-lining bbpress and MG2, or tying in some single sign-on for a multiblog or
> whatever.
> >
> >
> > -=john andrews
> > http://www.seo-fun.com (nothing to see, move along...)
> >
> >
> > _______________________________________________
> > New York PHP Talk Mailing List
> > AMP Technology
> > Supporting Apache, MySQL and PHP
> > http://lists.nyphp.org/mailman/listinfo/talk
> > http://www.nyphp.org
> >
> _______________________________________________
> New York PHP Talk Mailing List
> AMP Technology
> Supporting Apache, MySQL and PHP
> http://lists.nyphp.org/mailman/listinfo/talk
> http://www.nyphp.org
From mitch.pirtle at gmail.com Wed Jun 1 11:51:30 2005
From: mitch.pirtle at gmail.com (Mitch Pirtle)
Date: Wed, 1 Jun 2005 11:51:30 -0400
Subject: [nycphp-talk] [OT] any interest in a newbie installfest
ofWordPress plus in NY or NJ?
In-Reply-To: <0MKz5u-1DdUqu2Ajr-0000PZ@mrelay.perfora.net>
References: <4297A9E3.3030109@travelersdiary.com>
<0MKz5u-1DdUqu2Ajr-0000PZ@mrelay.perfora.net>
Message-ID: <330532b60506010851705e9a85@mail.gmail.com>
On 6/1/05, Hans Zaunere wrote:
>
> I'd get involved. Maybe a Mambo installfest too?
Somebody wanna Mambo? You can count me in ;-)
-- Mitch
From 1j0lkq002 at sneakemail.com Wed Jun 1 12:15:40 2005
From: 1j0lkq002 at sneakemail.com (inforequest)
Date: Wed, 01 Jun 2005 12:15:40 -0400
Subject: [nycphp-talk] [OT] any interest in a newbie installfest ofWordPress
plus in NY or NJ?
In-Reply-To: <330532b60506010851705e9a85@mail.gmail.com>
References: <4297A9E3.3030109@travelersdiary.com> <0MKz5u-1DdUqu2Ajr-0000PZ@mrelay.perfora.net>
<330532b60506010851705e9a85@mail.gmail.com>
Message-ID: <16627-75796@sneakemail.com>
Mitch Pirtle mitch.pirtle-at-gmail.com |nyphp dev/internal group use| wrote:
>On 6/1/05, Hans Zaunere wrote:
>
>
>>I'd get involved. Maybe a Mambo installfest too?
>>
>>
>
>Somebody wanna Mambo? You can count me in ;-)
>
>-- Mitch
>_______________________________________________
>
>
Great to hear Hans is supportive :-) do we have a space with wifi
available or is that a hassle?
From lists at zaunere.com Wed Jun 1 12:24:28 2005
From: lists at zaunere.com (Hans Zaunere)
Date: Wed, 1 Jun 2005 12:24:28 -0400
Subject: [nycphp-talk] [OT] any interest in a newbie
installfest ofWordPressplus in NY or NJ?
In-Reply-To: <16627-75796@sneakemail.com>
Message-ID: <0MKz5u-1DdW172Owu-0003Od@mrelay.perfora.net>
> >>I'd get involved. Maybe a Mambo installfest too?
> >>
> >>
> >
> >Somebody wanna Mambo? You can count me in ;-)
> >
> >-- Mitch
> >_______________________________________________
> >
> >
> Great to hear Hans is supportive :-) do we have a space with wifi
> available or is that a hassle?
We could - we easily have it for a handful of people. Over 10 or so though, we'd have to look at another space (which would be a bar/rooftop in the LES). Either is doable without much effort.
H
From corey at bmfenterprises.com Wed Jun 1 17:34:22 2005
From: corey at bmfenterprises.com (Corey Fogarty)
Date: Wed, 01 Jun 2005 17:34:22 -0400
Subject: [nycphp-talk] PEAR::SOAP, NuSOAP
Message-ID:
I am trying to make SOAP work on my Solaris machine which is running PHP
4.3.4. I searched for a simple ?hello world? demo and found some very
convoluted stuff out there. Tried a couple with no luck, I am wondering if
there is something wrong with PHP or my install of SOAP or the ?hello world?
demo.
Anyone out there who has done this and can guide me?
I would be eternally grateful!
Thanks,
Corey
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From mitch.pirtle at gmail.com Thu Jun 2 00:15:17 2005
From: mitch.pirtle at gmail.com (Mitch Pirtle)
Date: Thu, 2 Jun 2005 00:15:17 -0400
Subject: [nycphp-talk] Mambo 4.5.2.2 is out! [SECURITY PATCH]
Message-ID: <330532b6050601211576f53b90@mail.gmail.com>
Hi gang,
Apologies for the cross post.
There was a security issue found in the included domit-xml xml parsing
library in the current version of Mambo, which we have fixed with this
release (4.5.2.2). The vulnerability includes information disclosure,
including the contents of your configuration.php - so this is an
immediate, critical upgrade.
You can get the full version or patch at MamboForge:
http://mamboforge.net/frs/?group_id=5
--
Mitch Pirtle
Mambo Core Developer
From dmintz at davidmintz.org Thu Jun 2 10:41:58 2005
From: dmintz at davidmintz.org (David Mintz)
Date: Thu, 2 Jun 2005 10:41:58 -0400 (EDT)
Subject: [nycphp-talk] PEAR::SOAP, NuSOAP
In-Reply-To:
References:
Message-ID:
I don't have it here so I can't quote chapter and verse, but Sklar's book
"Essential PHP Tools" has some good examples. You should buy it, but if
you don't, it seems the code examples are available online from apress.com
If you could upgrade to PHP5 you'd enjoy better SOAP support. (-:
HTH
---
David Mintz
http://davidmintz.org/
On Wed, 1 Jun 2005, Corey Fogarty wrote:
> I am trying to make SOAP work on my Solaris machine which is running PHP
> 4.3.4. I searched for a simple ?hello world? demo and found some very
> convoluted stuff out there. Tried a couple with no luck, I am wondering if
> there is something wrong with PHP or my install of SOAP or the ?hello world?
> demo.
>
> Anyone out there who has done this and can guide me?
From jeff.knight at gmail.com Thu Jun 2 11:42:25 2005
From: jeff.knight at gmail.com (Jeff Knight)
Date: Thu, 2 Jun 2005 11:42:25 -0400
Subject: [nycphp-talk] PEAR::SOAP, NuSOAP
In-Reply-To:
References:
Message-ID: <2ca9ba9105060208426a6d03cc@mail.gmail.com>
On 6/2/05, David Mintz wrote:
> If you could upgrade to PHP5 you'd enjoy better SOAP support. (-:
Much in the same way you'd "enjoy" getting hit by a hammer once an
hour rather than once a minute.
From odragola at gmail.com Thu Jun 2 12:02:11 2005
From: odragola at gmail.com (Odra Gola)
Date: Thu, 2 Jun 2005 12:02:11 -0400
Subject: [nycphp-talk] mysql_unbuffered_query + mysql_pconnect
Message-ID:
Hello,
Two questions:
1. Has anyone experienced any complications using mysql_unbuffered_query
with mysql_pconnect?
2. Does mysql_unbuffered_query really lock the table(s) until all result
rows are retrieved?
Thanks,
Odra
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From enunez at tiaa-cref.org Thu Jun 2 13:27:49 2005
From: enunez at tiaa-cref.org (Nunez, Eddy)
Date: Thu, 2 Jun 2005 13:27:49 -0400
Subject: [nycphp-talk] [OT] Consulting work
Message-ID: <33DFD788D44E404CB92B90176DEC061A6DAEB3@NYCPDMSXMB06.ad.tiaa-cref.org>
Recently someone offered me some consulting work....
they're paying pretty well(so they say) @ ~$35-45 / hr
based in manhattan, 20-30 hrs per week, mysql+php+perl;
they want you to be on-site at least once a week - Which is why I couldn't accept.
Anyone interested, let me know.
-Eddy
**************************************************************
This message, including any attachments, contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, please contact sender immediately by reply e-mail and destroy all copies. You are hereby notified that any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited.
TIAA-CREF
**************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From shiflett at php.net Thu Jun 2 21:00:38 2005
From: shiflett at php.net (Chris Shiflett)
Date: Thu, 02 Jun 2005 21:00:38 -0400
Subject: [nycphp-talk] [OT] Consulting work
In-Reply-To: <33DFD788D44E404CB92B90176DEC061A6DAEB3@NYCPDMSXMB06.ad.tiaa-cref.org>
References: <33DFD788D44E404CB92B90176DEC061A6DAEB3@NYCPDMSXMB06.ad.tiaa-cref.org>
Message-ID: <429FABB6.5010909@php.net>
Nunez, Eddy wrote:
> Recently someone offered me some consulting work....
> they're paying pretty well(so they say) @ ~$35-45 / hr
That's not bad for a full-time job with benefits and job stability, but
$45/hour (or less) is not "paying pretty well" for consulting work.
Friends don't let friends get screwed. :-)
Chris
--
Chris Shiflett
Brain Bulb, The PHP Consultancy
http://brainbulb.com/
From codebowl at gmail.com Thu Jun 2 21:14:57 2005
From: codebowl at gmail.com (Joseph Crawford)
Date: Thu, 2 Jun 2005 21:14:57 -0400
Subject: [nycphp-talk] [OT] Consulting work
In-Reply-To: <429FABB6.5010909@php.net>
References: <33DFD788D44E404CB92B90176DEC061A6DAEB3@NYCPDMSXMB06.ad.tiaa-cref.org>
<429FABB6.5010909@php.net>
Message-ID: <8d9a428005060218146462ad1c@mail.gmail.com>
no for consulting/freelance no stability you're getting screwed. Here in
Vermont i get $50 hour for contracting but then again that's vermont. In NYC
i am not sure of the rates but i am sure you could get more than that ;)
--
Joseph Crawford Jr.
Codebowl Solutions
codebowl at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From mitch.pirtle at gmail.com Thu Jun 2 21:45:32 2005
From: mitch.pirtle at gmail.com (Mitch Pirtle)
Date: Thu, 2 Jun 2005 21:45:32 -0400
Subject: [nycphp-talk] [OT] Consulting work
In-Reply-To: <8d9a428005060218146462ad1c@mail.gmail.com>
References: <33DFD788D44E404CB92B90176DEC061A6DAEB3@NYCPDMSXMB06.ad.tiaa-cref.org>
<429FABB6.5010909@php.net> <8d9a428005060218146462ad1c@mail.gmail.com>
Message-ID: <330532b6050602184545404a61@mail.gmail.com>
On 6/2/05, Joseph Crawford wrote:
> no for consulting/freelance no stability you're getting screwed. Here in
> Vermont i get $50 hour for contracting but then again that's vermont. In
> NYC i am not sure of the rates but i am sure you could get more than that ;)
As a freelancer you gotta get your own equipment, software,
communications, etc., and ALSO health insurance, liability insurance,
accountant etc. So you most definitely need to make sure your hourly
rate makes it possible to fund all the non-salary stuff.
NYC PHP programmers should make a minimum of $50/hr, and I get offers
up to $120.
Short-term projects of real high import are the $120/hr variety, and
the longer term projects are typically of the $50-75/hr variety.
This is all from my direct experience, which is questionable at best :-)
-- Mitch
From matt at jiffycomp.com Thu Jun 2 22:27:48 2005
From: matt at jiffycomp.com (Matt Morgan)
Date: Thu, 02 Jun 2005 22:27:48 -0400
Subject: [nycphp-talk] [OT] Consulting work
In-Reply-To: <330532b6050602184545404a61@mail.gmail.com>
References: <33DFD788D44E404CB92B90176DEC061A6DAEB3@NYCPDMSXMB06.ad.tiaa-cref.org> <429FABB6.5010909@php.net>
<8d9a428005060218146462ad1c@mail.gmail.com>
<330532b6050602184545404a61@mail.gmail.com>
Message-ID: <429FC024.5090707@jiffycomp.com>
Mitch Pirtle wrote:
>On 6/2/05, Joseph Crawford wrote:
>
>
>>no for consulting/freelance no stability you're getting screwed. Here in
>>Vermont i get $50 hour for contracting but then again that's vermont. In
>>NYC i am not sure of the rates but i am sure you could get more than that ;)
>>
>>
>
>As a freelancer you gotta get your own equipment, software,
>communications, etc., and ALSO health insurance, liability insurance,
>accountant etc. So you most definitely need to make sure your hourly
>rate makes it possible to fund all the non-salary stuff.
>
>NYC PHP programmers should make a minimum of $50/hr, and I get offers
>up to $120.
>
>Short-term projects of real high import are the $120/hr variety, and
>the longer term projects are typically of the $50-75/hr variety.
>
>This is all from my direct experience, which is questionable at best :-)
>
>-- Mitch
>_______________________________________________
>
>
As a frequent employer of consulting programmers (not so much php, but
similar) I agree. I run the IS department at a Museum ... a non-profit.
$40 is what we pay consulting IT people and programmers when we beg them
to work cheaper because we're poor and they go for it; $60-70 is more
typical; and $125 is not unheard of (though we can only pay it in rare,
extremely well-funded circumstances and for engagements with strict
completion requirements).
But they other thing I will say: we /always/ advertise a job for the
lowest amount we think we can possibly get, and we /expect/ talented and
experienced people to request higher pay. Just because it says $35-45,
it doesn't mean that's the best they'll do.
--Matt
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From 1j0lkq002 at sneakemail.com Fri Jun 3 09:46:50 2005
From: 1j0lkq002 at sneakemail.com (inforequest)
Date: Fri, 3 Jun 2005 09:46:50 -0400 (GMT-04:00)
Subject: [nycphp-talk] [OT] Consulting work
Message-ID: <30073-43035@sneakemail.com>
As a consultant I agree with Mitch 100%. As a hiring manager I have to add that because it is an hourly rate, it will depend a great deal on the level of supervision exercised over your work (which includes the work environment).
The more you know the better you can negotiate - so try and go as far into the process as you can without agreeing to a rate, to learn all you can about their situation. If you are a good fit for them, show them that, and ask for a higher rate. It's very much like a poker game, by the way.
-----Original Message-----
From:
"Mitch Pirtle mitch.pirtle-at-gmail.com |nyphp dev/internal group use|" <...>
Sent: Jun 2, 2005 9:45 PM
To: NYPHP Talk
Subject: Re: [nycphp-talk] [OT] Consulting work
On 6/2/05, Joseph Crawford wrote:
> no for consulting/freelance no stability you're getting screwed. Here in
> Vermont i get $50 hour for contracting but then again that's vermont. In
> NYC i am not sure of the rates but i am sure you could get more than that ;)
As a freelancer you gotta get your own equipment, software,
communications, etc., and ALSO health insurance, liability insurance,
accountant etc. So you most definitely need to make sure your hourly
rate makes it possible to fund all the non-salary stuff.
NYC PHP programmers should make a minimum of $50/hr, and I get offers
up to $120.
Short-term projects of real high import are the $120/hr variety, and
the longer term projects are typically of the $50-75/hr variety.
This is all from my direct experience, which is questionable at best :-)
-- Mitch
_______________________________________________
New York PHP Talk Mailing List
AMP Technology
Supporting Apache, MySQL and PHP
http://lists.nyphp.org/mailman/listinfo/talk
http://www.nyphp.org
From dmintz at davidmintz.org Fri Jun 3 09:52:10 2005
From: dmintz at davidmintz.org (David Mintz)
Date: Fri, 3 Jun 2005 09:52:10 -0400 (EDT)
Subject: [nycphp-talk] [OT] Consulting work
In-Reply-To: <30073-43035@sneakemail.com>
References: <30073-43035@sneakemail.com>
Message-ID:
May I ask real dumb dilettante question? Thanks. How is it that a client
can agree to an hourly rate without there being some kind of cap on it? If
I say $75/hr and bill for 20 hrs, that's one thing; quite another if I
bill for, say, 50.
---
David Mintz
http://davidmintz.org/
From mitch.pirtle at gmail.com Fri Jun 3 11:01:04 2005
From: mitch.pirtle at gmail.com (Mitch Pirtle)
Date: Fri, 3 Jun 2005 11:01:04 -0400
Subject: [nycphp-talk] [OT] Consulting work
In-Reply-To:
References: <30073-43035@sneakemail.com>
Message-ID: <330532b605060308016968520@mail.gmail.com>
On 6/3/05, David Mintz wrote:
>
> May I ask real dumb dilettante question? Thanks. How is it that a client
> can agree to an hourly rate without there being some kind of cap on it? If
> I say $75/hr and bill for 20 hrs, that's one thing; quite another if I
> bill for, say, 50.
There is the balancing act. If you push too high on the hourly rate,
the client will then push you to get the whole thing done in an hour
;-)
Ultimately, they will have say $20,000 to get a given project done,
and they will pay you the same amount in the end, either take your
time with a low rate, or bust your butt for a high one.
I avoid T&M (Time & Materials) projects for this very reason - they
already know how much they are going to spend, and are only looking to
get someone cheep.
-- Mitch
From mwithington at PLMresearch.com Fri Jun 3 11:17:04 2005
From: mwithington at PLMresearch.com (Mark Withington)
Date: Fri, 3 Jun 2005 11:17:04 -0400
Subject: [nycphp-talk] [OT] Consulting work
Message-ID: <1F3CD8DDFB6A9B4C9B8DD06E4A7DE358EF2412@network.PLMresearch.com>
Adding my two cents (or perhaps non-cents).
Nearly all the "big" consulting companies follow this format when proposing
consulting work:
1. "Through our vast knowledge we think this project will cost $xxx" (fyi -
this rarely occurs);
2. "This is only an estimate, using best practices" (and witchcraft);
3. "We used the following rates/project plan to price this estimate";
4. "If for some reasons the job take longer (e.g. reality sets in) we will
use this rate card for all work going forward";
5. "We of course will never charge you additional money without another
estimate and your approval" (oh, btw when we get to this point you'll be so
far into the project you'll have no choice but approve the new estimate)
6. We will meet frequently to ensure that you're aware of when we're going
pull this stunt.
7. rinse and repeat.
Can you tell that I live up in Boston - home of the "Big Dig" ;-)
Enjoy the weekend
--------------------------
Mark L. Withington
PLMresearch
"eBusiness for the Midsize Enterprise"
PO Box 1354
Plymouth, MA 02362
o: 800-310-3992 ext. 704
f: 508-746-4973
v: 508-746-2383
m: 508-801-0181
http://www.PLMresearch.com
Netscape/AOL/MSN IM: PLMresearch
mwithington at plmresearch.com
Public Key:
http://www.plmdev.com/plmr/plmresearch.com/keys/MLW_public_key.asc
Calendar: http://www.plmdev.com/plmr/plmresearch.com/calendar.php
-----Original Message-----
From: talk-bounces at lists.nyphp.org
[mailto:talk-bounces at lists.nyphp.org]On Behalf Of Mitch Pirtle
Sent: Friday, June 03, 2005 11:01 AM
To: NYPHP Talk
Subject: Re: [nycphp-talk] [OT] Consulting work
On 6/3/05, David Mintz wrote:
>
> May I ask real dumb dilettante question? Thanks. How is it that a client
> can agree to an hourly rate without there being some kind of cap on it? If
> I say $75/hr and bill for 20 hrs, that's one thing; quite another if I
> bill for, say, 50.
There is the balancing act. If you push too high on the hourly rate,
the client will then push you to get the whole thing done in an hour
;-)
Ultimately, they will have say $20,000 to get a given project done,
and they will pay you the same amount in the end, either take your
time with a low rate, or bust your butt for a high one.
I avoid T&M (Time & Materials) projects for this very reason - they
already know how much they are going to spend, and are only looking to
get someone cheep.
-- Mitch
_______________________________________________
New York PHP Talk Mailing List
AMP Technology
Supporting Apache, MySQL and PHP
http://lists.nyphp.org/mailman/listinfo/talk
http://www.nyphp.org
From enunez at tiaa-cref.org Fri Jun 3 11:38:45 2005
From: enunez at tiaa-cref.org (Nunez, Eddy)
Date: Fri, 3 Jun 2005 11:38:45 -0400
Subject: [nycphp-talk] [OT] Consulting work
Message-ID: <33DFD788D44E404CB92B90176DEC061A6DAEB6@NYCPDMSXMB06.ad.tiaa-cref.org>
I've personally have never done any "real" consulting work....
except maybe in college... where I was paid like ~$15/hr...
I was just a student and just learning at the time...
so very different situation. I've always been able to work
full time w/ benefits. Consultants' needs are a foreign topic to me.
However, consultant or not, I would never knowningly let a colleague
get "screwed" on pay; like someone else said...the pay is most likely negotiable.
Work is work...money is always green, to someone who needs it enough.
Or wants some experience bad enough.
-----Original Message-----
From: talk-bounces at lists.nyphp.org
[mailto:talk-bounces at lists.nyphp.org]On Behalf Of Chris Shiflett
Sent: Thursday, June 02, 2005 9:01 PM
To: NYPHP Talk
Subject: Re: [nycphp-talk] [OT] Consulting work
Nunez, Eddy wrote:
> Recently someone offered me some consulting work....
> they're paying pretty well(so they say) @ ~$35-45 / hr
That's not bad for a full-time job with benefits and job stability, but
$45/hour (or less) is not "paying pretty well" for consulting work.
Friends don't let friends get screwed. :-)
Chris
--
Chris Shiflett
Brain Bulb, The PHP Consultancy
http://brainbulb.com/
_______________________________________________
New York PHP Talk Mailing List
AMP Technology
Supporting Apache, MySQL and PHP
http://lists.nyphp.org/mailman/listinfo/talk
http://www.nyphp.org
**************************************************************
This message, including any attachments, contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, please contact sender immediately by reply e-mail and destroy all copies. You are hereby notified that any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited.
TIAA-CREF
**************************************************************
From mitch.pirtle at gmail.com Fri Jun 3 11:54:00 2005
From: mitch.pirtle at gmail.com (Mitch Pirtle)
Date: Fri, 3 Jun 2005 11:54:00 -0400
Subject: [nycphp-talk] [OT] Anybody hosting IRC?
Message-ID: <330532b605060308543cd2e6af@mail.gmail.com>
Hi gang,
Today we (Mambo core developers) learned that our IRC server was going
offline for good. It was provided gratis, so we couldn't complain :-)
The question has been posed, "What now?" Is there anyone here that
would be interested in providing IRC services for the Mambo project?
I'd donate the servers myself, but the hosting center forbids IRC :-(
-- Mitch
From codebowl at gmail.com Fri Jun 3 12:45:21 2005
From: codebowl at gmail.com (Joseph Crawford)
Date: Fri, 3 Jun 2005 12:45:21 -0400
Subject: [nycphp-talk] [OT] Anybody hosting IRC?
In-Reply-To: <330532b605060308543cd2e6af@mail.gmail.com>
References: <330532b605060308543cd2e6af@mail.gmail.com>
Message-ID: <8d9a428005060309456a97569a@mail.gmail.com>
why deal with this? you are an open source project why not just start a
channel on irc.freenode.net they are directed at
open source.
--
Joseph Crawford Jr.
Codebowl Solutions
codebowl at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From lists at zaunere.com Fri Jun 3 12:55:24 2005
From: lists at zaunere.com (Hans Zaunere)
Date: Fri, 3 Jun 2005 12:55:24 -0400
Subject: [nycphp-talk] [OT] Anybody hosting IRC?
In-Reply-To: <330532b605060308543cd2e6af@mail.gmail.com>
Message-ID: <0MKz5u-1DeFSA0WoF-0002HD@mrelay.perfora.net>
> Today we (Mambo core developers) learned that our IRC server was going
> offline for good. It was provided gratis, so we couldn't complain :-)
>
> The question has been posed, "What now?" Is there anyone here that
> would be interested in providing IRC services for the Mambo project?
>
> I'd donate the servers myself, but the hosting center forbids IRC :-(
New York PHP would have the bandwidth/server to do this. However, we'd need someone with experience to set and maintain the IRC server software itself. If this is something to discuss, ping me off list.
An alternative, as Joe mentioned, would be freenode - they have a nice network.
---
Hans Zaunere
President, Founder
New York PHP
http://www.nyphp.org
AMP Technology
Supporting Apache, MySQL and PHP
From 1j0lkq002 at sneakemail.com Fri Jun 3 14:07:03 2005
From: 1j0lkq002 at sneakemail.com (inforequest)
Date: Fri, 03 Jun 2005 14:07:03 -0400
Subject: [nycphp-talk] [OT] Consulting work
In-Reply-To: <1F3CD8DDFB6A9B4C9B8DD06E4A7DE358EF2412@network.PLMresearch.com>
References: <1F3CD8DDFB6A9B4C9B8DD06E4A7DE358EF2412@network.PLMresearch.com>
Message-ID: <19937-91493@sneakemail.com>
Mark Withington mwithington-at-PLMresearch.com |nyphp dev/internal group
use| wrote:
>Can you tell that I live up in Boston - home of the "Big Dig" ;-)
>
>
haha.. that's a temporary honor. It was Denver with their massive
baggage handling system for many years ( I still get a kick out of
seeing blue screens on their baggage claim monitors -- they is always at
least one when I pass thru).
I suspect the Big Dig will be dethroned if NYC gets an Olympic
opportunity, or perhaps even with the West Side stadium project.
From codebowl at gmail.com Fri Jun 3 14:12:01 2005
From: codebowl at gmail.com (Joseph Crawford)
Date: Fri, 3 Jun 2005 14:12:01 -0400
Subject: [nycphp-talk] [OT] Anybody hosting IRC?
In-Reply-To: <0MKz5u-1DeFSA0WoF-0002HD@mrelay.perfora.net>
References: <330532b605060308543cd2e6af@mail.gmail.com>
<0MKz5u-1DeFSA0WoF-0002HD@mrelay.perfora.net>
Message-ID: <8d9a42800506031112d55ee21@mail.gmail.com>
i have irc experience, not so much setting up and running but as a Server
Admin
On 6/3/05, Hans Zaunere wrote:
>
>
> > Today we (Mambo core developers) learned that our IRC server was going
> > offline for good. It was provided gratis, so we couldn't complain :-)
> >
> > The question has been posed, "What now?" Is there anyone here that
> > would be interested in providing IRC services for the Mambo project?
> >
> > I'd donate the servers myself, but the hosting center forbids IRC :-(
>
> New York PHP would have the bandwidth/server to do this. However, we'd
> need someone with experience to set and maintain the IRC server software
> itself. If this is something to discuss, ping me off list.
>
> An alternative, as Joe mentioned, would be freenode - they have a nice
> network.
>
>
> ---
> Hans Zaunere
> President, Founder
>
> New York PHP
> http://www.nyphp.org
>
> AMP Technology
> Supporting Apache, MySQL and PHP
>
>
>
> _______________________________________________
> New York PHP Talk Mailing List
> AMP Technology
> Supporting Apache, MySQL and PHP
> http://lists.nyphp.org/mailman/listinfo/talk
> http://www.nyphp.org
>
--
Joseph Crawford Jr.
Codebowl Solutions
codebowl at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From max at neuropunks.org Fri Jun 3 14:47:51 2005
From: max at neuropunks.org (max)
Date: Fri, 3 Jun 2005 13:47:51 -0500
Subject: [nycphp-talk] [OT] Anybody hosting IRC?
In-Reply-To: <0MKz5u-1DeFSA0WoF-0002HD@mrelay.perfora.net>
References: <330532b605060308543cd2e6af@mail.gmail.com>
<0MKz5u-1DeFSA0WoF-0002HD@mrelay.perfora.net>
Message-ID: <20050603184751.GA68167@neuropunks.org>
Me and a couple of friends used to host/admin one of the irc.2600.net servers some time ago, was an obsd machine at exodus. (i used to nick muted on that network, im sure someone still remembers that time..)
It was a Hybrid box, we set the thing up, it ran pretty well.
I also have a server, at pilosoft, its a 1U netra t1, so I can host it if you want. Ill make you a jail. Or, you can have a couple of machines hosting it, for load and redundancy reasons. Or of course, something like efnet or freenode would be the way to go. It is nice when you are a server admin, not just a channel op tho, dont know about freenode, but i dont think that would be that easy to get at something like efnet
On Fri, Jun 03, 2005 at 12:55:24PM -0400, Hans Zaunere wrote:
>
> > Today we (Mambo core developers) learned that our IRC server was going
> > offline for good. It was provided gratis, so we couldn't complain :-)
> >
> > The question has been posed, "What now?" Is there anyone here that
> > would be interested in providing IRC services for the Mambo project?
> >
> > I'd donate the servers myself, but the hosting center forbids IRC :-(
>
> New York PHP would have the bandwidth/server to do this. However, we'd need someone with experience to set and maintain the IRC server software itself. If this is something to discuss, ping me off list.
>
> An alternative, as Joe mentioned, would be freenode - they have a nice network.
>
>
> ---
> Hans Zaunere
> President, Founder
>
> New York PHP
> http://www.nyphp.org
>
> AMP Technology
> Supporting Apache, MySQL and PHP
>
>
>
> _______________________________________________
> New York PHP Talk Mailing List
> AMP Technology
> Supporting Apache, MySQL and PHP
> http://lists.nyphp.org/mailman/listinfo/talk
> http://www.nyphp.org
>
From lists at neoncowboy.com Fri Jun 3 16:11:18 2005
From: lists at neoncowboy.com (John Corry)
Date: Fri, 3 Jun 2005 16:11:18 -0400
Subject: [nycphp-talk] [OT] Anybody hosting IRC?
In-Reply-To: <8d9a428005060309456a97569a@mail.gmail.com>
Message-ID: <20050603201335.01CBDA863B@virtu.nyphp.org>
Ditto that.
With irc.freenode.net positioned to give IRC hosting to open source
projects...why not use them?
I am regular on several channels there and can attest to their reliability.
________________________________
From: talk-bounces at lists.nyphp.org
[mailto:talk-bounces at lists.nyphp.org] On Behalf Of Joseph Crawford
Sent: Friday, June 03, 2005 12:45 PM
To: NYPHP Talk
Subject: Re: [nycphp-talk] [OT] Anybody hosting IRC?
why deal with this? you are an open source project why not just
start a channel on irc.freenode.net they are directed at open source.
--
Joseph Crawford Jr.
Codebowl Solutions
codebowl at gmail.com
From matt at jiffycomp.com Fri Jun 3 17:49:26 2005
From: matt at jiffycomp.com (Matt Morgan)
Date: Fri, 03 Jun 2005 17:49:26 -0400
Subject: [nycphp-talk] [OT] Consulting work
In-Reply-To:
References: <30073-43035@sneakemail.com>
Message-ID: <42A0D066.9020203@jiffycomp.com>
David Mintz wrote:
>May I ask real dumb dilettante question? Thanks. How is it that a client
>can agree to an hourly rate without there being some kind of cap on it? If
>I say $75/hr and bill for 20 hrs, that's one thing; quite another if I
>bill for, say, 50.
>
>---
>David Mintz
>http://davidmintz.org/
>
In the case of Brooklyn Museum--actually yes, we often agree on an
overall price for jobs. But it depends partly on where the funding is
coming from. When it's my IT department funding and I know I'm going to
be supervising the work directly, I don't mind doing it hourly
(especially because then I can often ask the programmer to do additional
work that was not part of the original spec, without having to get it
approved by people outside the IT department). When the work is being
funded by some other budget (kiosk content for a special exhibition, for
example) it's always this-much-work for this-amount-of-money.
Sometimes I'm hiring programmers not just to do exact work that's
perfectly spec'ed out--sometimes I'm hiring programmers to tell ME the
best way to do things, and to do it that way. In that case, hourly it is
(usually).
From mitch.pirtle at gmail.com Fri Jun 3 18:01:05 2005
From: mitch.pirtle at gmail.com (Mitch Pirtle)
Date: Fri, 3 Jun 2005 18:01:05 -0400
Subject: [nycphp-talk] [OT] Anybody hosting IRC?
In-Reply-To: <20050603201335.01CBDA863B@virtu.nyphp.org>
References: <8d9a428005060309456a97569a@mail.gmail.com>
<20050603201335.01CBDA863B@virtu.nyphp.org>
Message-ID: <330532b605060315016db8c72f@mail.gmail.com>
On 6/3/05, John Corry wrote:
>
> With irc.freenode.net positioned to give IRC hosting to open source
> projects...why not use them?
There is already a #mambo on freenode. What we need is a private IRC
channel for the core developers, hence the need for a private server.
If there was a way to have a private channel (authentication required)
on freenode I would be all over it.
--
Mitch Pirtle
Mambo Core Developer
From codebowl at gmail.com Fri Jun 3 18:16:46 2005
From: codebowl at gmail.com (Joseph Crawford)
Date: Fri, 3 Jun 2005 18:16:46 -0400
Subject: [nycphp-talk] [OT] Anybody hosting IRC?
In-Reply-To: <330532b605060315016db8c72f@mail.gmail.com>
References: <8d9a428005060309456a97569a@mail.gmail.com>
<20050603201335.01CBDA863B@virtu.nyphp.org>
<330532b605060315016db8c72f@mail.gmail.com>
Message-ID: <8d9a4280050603151650a44866@mail.gmail.com>
Mitch,
in freenode's poliy anything not directly related to the project needs to
use ##mambo, hence if you go there, you get #mambo and the other channel can
join you or they will be moved to ##mambo.
check ##php since they are NOT related to the actual PHP but a support
channel they have to move thier channel.
anyhow i think freenode would be a good home since you are an OSS project
and they are focused on them.
--
Joseph Crawford Jr.
Codebowl Solutions
codebowl at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From codebowl at gmail.com Fri Jun 3 18:18:45 2005
From: codebowl at gmail.com (Joseph Crawford)
Date: Fri, 3 Jun 2005 18:18:45 -0400
Subject: [nycphp-talk] [OT] Anybody hosting IRC?
In-Reply-To: <8d9a4280050603151650a44866@mail.gmail.com>
References: <8d9a428005060309456a97569a@mail.gmail.com>
<20050603201335.01CBDA863B@virtu.nyphp.org>
<330532b605060315016db8c72f@mail.gmail.com>
<8d9a4280050603151650a44866@mail.gmail.com>
Message-ID: <8d9a4280050603151826b113ef@mail.gmail.com>
Mitch,
sorry i missed the actual mention of private channel.
All IRCD's offer a way to have a private channel you would just set it
secret
/mode #channel +sk your-key-here
the s makes it hidden from /list results and the k makes it so to join you
have to type /join #channel your-channel-key
hope this helps :)
On 6/3/05, Joseph Crawford wrote:
>
> Mitch,
>
> in freenode's poliy anything not directly related to the project needs to
> use ##mambo, hence if you go there, you get #mambo and the other channel can
> join you or they will be moved to ##mambo.
>
> check ##php since they are NOT related to the actual PHP but a support
> channel they have to move thier channel.
>
> anyhow i think freenode would be a good home since you are an OSS project
> and they are focused on them.
>
> --
> Joseph Crawford Jr.
> Codebowl Solutions
> codebowl at gmail.com
>
--
Joseph Crawford Jr.
Codebowl Solutions
codebowl at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From corey at bmfenterprises.com Fri Jun 3 21:44:02 2005
From: corey at bmfenterprises.com (Corey Fogarty)
Date: Fri, 03 Jun 2005 21:44:02 -0400
Subject: [nycphp-talk] SOAP IS KILLING ME SLOWLY!
In-Reply-To: <20050603222102.8A404A87CB@virtu.nyphp.org>
Message-ID:
I am getting all manor of errors. It must be something I am not doing, or
something I am doing and should not be...
The last error I got said something about needing to install cURL, so I did
that. Now it is still giving me an error when I try to use print_r(); and it
only returns Object when I use print();
Please someone help or just plain shoot me!
Thanks!
Corey
https://www.bmfenterprises.com/pearsoap-hello-client.php
'World');
/* Send a request to the server, and store its response in $response: */
$response = $client->call('helloWorld',$params,array('namespace'=>
'urn:helloworld'));
/* Print the server-response: */
print $response;
?>
https://www.bmfenterprises.com/pearsoap-hello-client2.php
'World');
/* Send a request to the server, and store its response in $response: */
$response = $client->call('helloWorld',$params,array('namespace'=>
'urn:helloworld'));
/* Print the server-response: */
print_r($response);
?>
dispatch_map['helloWorld'] = array(
'in' =>
array('inmessage'=>'string'),
'out' =>
array('outmessage'=>'string')
);
}
/* Of course, we also need to define all the functions that should
be requestable through our server: */
function helloWorld($inmessage)
{
/* Generate a SOAP error if the argument was not valid: */
if($inmessage == '')
{
/* The SOAP error is generated by the SOAP_Fault class: */
$fault = new SOAP_Fault('You must supply a valid
string!','12345');
return $fault->message();
}
else
{
/* If the argument is okay, we submit out return message: */
return "Hello $inmessage!";
}
}
}
/* Create a new SOAP server using PEAR::SOAP's SOAP_Server class: */
$server = new SOAP_Server();
/* Create an instance of our class: */
$soaphelloserver = new SOAP_Hello_Server();
/* Register this instance to the server class: */
$server->addObjectMap($soaphelloserver,array('namespace'=>
'urn:helloworld'));
/* The following line starts the actual service: */
$server->service($HTTP_RAW_POST_DATA);
?>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From damovand at yahoo.com Sat Jun 4 08:14:39 2005
From: damovand at yahoo.com (Leila Lappin)
Date: Sat, 4 Jun 2005 05:14:39 -0700 (PDT)
Subject: [nycphp-talk] Availability of Evening and weekend work
Message-ID: <20050604121439.54282.qmail@web30815.mail.mud.yahoo.com>
I am involved in an educational program full time
every day (8 ? 4). But I also need to work to support
myself while continuing in the program. Is there any
possibility for PHP work during evening or weekend
hours? I am wondering and hoping that someone on this
board has some experience or ideas about the
possibilities and how to look for them?
Thanks in advance for you advice and any input.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
From chendry at gmail.com Sat Jun 4 12:57:50 2005
From: chendry at gmail.com (Christopher Hendry)
Date: Sat, 4 Jun 2005 12:57:50 -0400
Subject: [nycphp-talk] SOAP IS KILLING ME SLOWLY!
In-Reply-To:
References: <20050603222102.8A404A87CB@virtu.nyphp.org>
Message-ID: <769e4ce050604095754ec7652@mail.gmail.com>
Don't know where you're at with this, but I hit your client, and I see
you get this error from cURL: "curl_exec error 60 SSL certificate
problem, verify that the CA cert is OK"
Looks like cURL is trying to verify the authenticity of your cert,
which being self signed, may be giving it problems (dunno). Have you
tried:
curl_setopt( $res, CURLOPT_SSL_VERIFYPEER, 0 );
Which should stop cURL from trying to verify it. Or test it without SSL?
C
--
"When you do things right, people won't be sure you've done anything at all."
From damovand at yahoo.com Sat Jun 4 18:18:03 2005
From: damovand at yahoo.com (Leila Lappin)
Date: Sat, 4 Jun 2005 15:18:03 -0700 (PDT)
Subject: [nycphp-talk] Code review
Message-ID: <20050604221803.56237.qmail@web30801.mail.mud.yahoo.com>
Would anyone be interested to review some of my PHP
scripts? I don?t know if this is too much to ask, I
hope not. I?m trying to make my code according to the
best practices and style. I?m reading Zend
certification study guide, which is great. But I?m
coming from a C++/Java background and old habits are
hard to break. I think I could use the advice of a
more experienced PHP developer to catch myself.
Many thanks in advance for any help and advice given.
Leila Lappin
__________________________________
Yahoo! Mail Mobile
Take Yahoo! Mail with you! Check email on your mobile phone.
http://mobile.yahoo.com/learn/mail
From chendry at gmail.com Sat Jun 4 22:35:01 2005
From: chendry at gmail.com (Christopher Hendry)
Date: Sat, 4 Jun 2005 19:35:01 -0700
Subject: [nycphp-talk] Code review
In-Reply-To: <20050604221803.56237.qmail@web30801.mail.mud.yahoo.com>
References: <20050604221803.56237.qmail@web30801.mail.mud.yahoo.com>
Message-ID: <769e4ce050604193546308ef1@mail.gmail.com>
Is it code you can make publicly available, I'm sure you'll get plenty
of feedback if you do :)
Otherwise, send me some snippets off list, I'd love to see how a
C++/Java programmer is using PHP.
Is it PHP5?
C
--
"When you do things right, people won't be sure you've done anything at all."
From damovand at yahoo.com Sun Jun 5 11:34:04 2005
From: damovand at yahoo.com (Leila Lappin)
Date: Sun, 5 Jun 2005 08:34:04 -0700 (PDT)
Subject: [nycphp-talk] Code review
In-Reply-To: <769e4ce050604193546308ef1@mail.gmail.com>
Message-ID: <20050605153404.21206.qmail@web30814.mail.mud.yahoo.com>
Hi,
I don?t know if making my code publicly available
would help since my scripts might not be useful to
anyone, so they might not get anyone?s attention. I
try to make my stuff interesting in terms of coding
style. I definitely know what I need to do but having
useful tips how to do certain things is something
else. I?m sending a few of my scripts (in a zipped
file) anything you care to browse through and comment
would be great. I?m using PHP4.3.5 so there isn?t
much object oriented coding. That?s too bad since I
could really do it up with features like protected and
private members.
Thank you in advance for your time, and in case you?re
interested in a comparison between Java and PHP I
found this link that you may like
http://www.tek271.com/articles/JavaOrPhp.html and find
useful.
--- Christopher Hendry wrote:
> Is it code you can make publicly available, I'm sure
> you'll get plenty
> of feedback if you do :)
>
> Otherwise, send me some snippets off list, I'd love
> to see how a
> C++/Java programmer is using PHP.
>
> Is it PHP5?
>
> C
>
>
> --
>
> "When you do things right, people won't be sure
> you've done anything at all."
> _______________________________________________
> New York PHP Talk Mailing List
> AMP Technology
> Supporting Apache, MySQL and PHP
> http://lists.nyphp.org/mailman/listinfo/talk
> http://www.nyphp.org
>
__________________________________
Yahoo! Mail Mobile
Take Yahoo! Mail with you! Check email on your mobile phone.
http://mobile.yahoo.com/learn/mail
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sample_code.zip
Type: application/zip
Size: 9495 bytes
Desc: 2947804297-sample_code.zip
URL:
From mitch.pirtle at gmail.com Sun Jun 5 23:25:45 2005
From: mitch.pirtle at gmail.com (Mitch Pirtle)
Date: Sun, 5 Jun 2005 23:25:45 -0400
Subject: [nycphp-talk] Merchant processor options?
Message-ID: <330532b605060520254737b55d@mail.gmail.com>
Hey gang,
Somewhat related is what happens when you want to bring a store online
for a small local business. What procesing partner can you recommend?
I'm used to doing this for gigantic megacorporations where it doesn't
matter and relationships are already created; but this is only useful
to the megacorporations...
For the SMB market, who can you recommend for payment processing (and
I don't mean PayPal!)?
--
Mitch Pirtle
Mambo Core Developer
From preinheimer at gmail.com Sun Jun 5 23:31:51 2005
From: preinheimer at gmail.com (Paul Reinheimer)
Date: Sun, 5 Jun 2005 23:31:51 -0400
Subject: [nycphp-talk] Code review
In-Reply-To: <20050605153404.21206.qmail@web30814.mail.mud.yahoo.com>
References: <769e4ce050604193546308ef1@mail.gmail.com>
<20050605153404.21206.qmail@web30814.mail.mud.yahoo.com>
Message-ID: <6ec19ec7050605203116b977b2@mail.gmail.com>
hrm, I got so caught up arguing with the site you linked
that I forgot to look at your code :)
Four things that stick out during a quick look
1. In several places you echo out links to the user agent, but encode the
ampersand, I don't think you need to do this, since you are using it as
a seperator, not a charecter (or such is my understanding).
eg.
doQueryIndex.inc
line 59
href="/anp/auth_man.php?event=doQueryLogin&loginAgent=doQueryLogin&target=doQueryIndex
2. You're using a global array to store data in physiology.php
$_REQUEST['issue'] = htmlspecialchars(urldecode($url_array[4]));
By storing processed data (in this case by urldecode) in a global
variable, you make impossible for another function to determine
later on wether or not the processing has occured. What if I passed
an issue paramater in either a GET or POST?
3. This looks really dangerous
$app = $class . '.inc';
include ($app);
If url fopen wrappers are enabled I can include any file I want, from anywhere.
If you absolutly need to do something like this, base it on a switch or if
structure,
if $class == "something" include "something.inc" elseif
$class == "somethingelse" include "somethingelse.inc".
4. Your zip structure didn't include any directory structure, it's a
good idea to keep your .inc files out of the document root. This way
they can't be viewed by end users, or executed unexpectedly.
paul
On 6/5/05, Leila Lappin wrote:
> Hi,
>
> I don't know if making my code publicly available
> would help since my scripts might not be useful to
> anyone, so they might not get anyone's attention. I
> try to make my stuff interesting in terms of coding
> style. I definitely know what I need to do but having
> useful tips how to do certain things is something
> else. I'm sending a few of my scripts (in a zipped
> file) anything you care to browse through and comment
> would be great. I'm using PHP4.3.5 so there isn't
> much object oriented coding. That's too bad since I
> could really do it up with features like protected and
> private members.
>
> Thank you in advance for your time, and in case you're
> interested in a comparison between Java and PHP I
> found this link that you may like
> http://www.tek271.com/articles/JavaOrPhp.html and find
> useful.
>
>
> --- Christopher Hendry wrote:
>
> > Is it code you can make publicly available, I'm sure
> > you'll get plenty
> > of feedback if you do :)
> >
> > Otherwise, send me some snippets off list, I'd love
> > to see how a
> > C++/Java programmer is using PHP.
> >
> > Is it PHP5?
> >
> > C
> >
> >
> > --
> >
> > "When you do things right, people won't be sure
> > you've done anything at all."
> > _______________________________________________
> > New York PHP Talk Mailing List
> > AMP Technology
> > Supporting Apache, MySQL and PHP
> > http://lists.nyphp.org/mailman/listinfo/talk
> > http://www.nyphp.org
> >
>
>
>
> __________________________________
> Yahoo! Mail Mobile
> Take Yahoo! Mail with you! Check email on your mobile phone.
> http://mobile.yahoo.com/learn/mail
>
> _______________________________________________
> New York PHP Talk Mailing List
> AMP Technology
> Supporting Apache, MySQL and PHP
> http://lists.nyphp.org/mailman/listinfo/talk
> http://www.nyphp.org
>
>
>
--
Paul Reinheimer
Zend Certified Engineer
From dcech at phpwerx.net Mon Jun 6 07:53:54 2005
From: dcech at phpwerx.net (Dan Cech)
Date: Mon, 06 Jun 2005 07:53:54 -0400
Subject: [nycphp-talk] Merchant processor options?
In-Reply-To: <330532b605060520254737b55d@mail.gmail.com>
References: <330532b605060520254737b55d@mail.gmail.com>
Message-ID: <42A43952.2050800@phpwerx.net>
Too easy,
http://www.merchantplus.com/
Dan
Mitch Pirtle wrote:
> Hey gang,
>
> Somewhat related is what happens when you want to bring a store online
> for a small local business. What procesing partner can you recommend?
>
> I'm used to doing this for gigantic megacorporations where it doesn't
> matter and relationships are already created; but this is only useful
> to the megacorporations...
>
> For the SMB market, who can you recommend for payment processing (and
> I don't mean PayPal!)?
>
> --
> Mitch Pirtle
> Mambo Core Developer
From lists at zaunere.com Mon Jun 6 08:22:19 2005
From: lists at zaunere.com (Hans Zaunere)
Date: Mon, 6 Jun 2005 08:22:19 -0400
Subject: [nycphp-talk] Merchant processor options?
In-Reply-To: <42A43952.2050800@phpwerx.net>
Message-ID: <0MKz5u-1DfGca08aX-0002qd@mrelay.perfora.net>
Ditto - Zac and company is good stuff.
H
> -----Original Message-----
> From: talk-bounces at lists.nyphp.org [mailto:talk-bounces at lists.nyphp.org] On Behalf Of Dan Cech
> Sent: Monday, June 06, 2005 7:54 AM
> To: NYPHP Talk
> Subject: Re: [nycphp-talk] Merchant processor options?
>
> Too easy,
>
> http://www.merchantplus.com/
>
> Dan
>
> Mitch Pirtle wrote:
> > Hey gang,
> >
> > Somewhat related is what happens when you want to bring a store online
> > for a small local business. What procesing partner can you recommend?
> >
> > I'm used to doing this for gigantic megacorporations where it doesn't
> > matter and relationships are already created; but this is only useful
> > to the megacorporations...
> >
> > For the SMB market, who can you recommend for payment processing (and
> > I don't mean PayPal!)?
> >
> > --
> > Mitch Pirtle
> > Mambo Core Developer
>
> _______________________________________________
> New York PHP Talk Mailing List
> AMP Technology
> Supporting Apache, MySQL and PHP
> http://lists.nyphp.org/mailman/listinfo/talk
> http://www.nyphp.org
From damovand at yahoo.com Mon Jun 6 09:45:57 2005
From: damovand at yahoo.com (Leila Lappin)
Date: Mon, 6 Jun 2005 06:45:57 -0700 (PDT)
Subject: [nycphp-talk] Code review
In-Reply-To: <6ec19ec7050605203116b977b2@mail.gmail.com>
Message-ID: <20050606134557.4666.qmail@web30803.mail.mud.yahoo.com>
Hi,
Thank you for your review. Interesting to know in how
many ways a code can fail. I?m going to find a better
way to handle the points you mentioned.
Thanks again for your time and help.
--- Paul Reinheimer wrote:
> hrm, I got so caught up arguing with the site you
> linked
> that I forgot to look at your code :)
>
> Four things that stick out during a quick look
>
> 1. In several places you echo out links to the user
> agent, but encode the
> ampersand, I don't think you need to do this, since
> you are using it as
> a seperator, not a charecter (or such is my
> understanding).
> eg.
> doQueryIndex.inc
> line 59
>
href="/anp/auth_man.php?event=doQueryLogin&loginAgent=doQueryLogin&target=doQueryIndex
>
> 2. You're using a global array to store data in
> physiology.php
> $_REQUEST['issue'] =
> htmlspecialchars(urldecode($url_array[4]));
>
> By storing processed data (in this case by
> urldecode) in a global
> variable, you make impossible for another function
> to determine
> later on wether or not the processing has occured.
> What if I passed
> an issue paramater in either a GET or POST?
>
> 3. This looks really dangerous
> $app = $class . '.inc';
> include ($app);
> If url fopen wrappers are enabled I can include any
> file I want, from anywhere.
> If you absolutly need to do something like this,
> base it on a switch or if
> structure,
> if $class == "something" include "something.inc"
> elseif
> $class == "somethingelse" include
> "somethingelse.inc".
>
> 4. Your zip structure didn't include any directory
> structure, it's a
> good idea to keep your .inc files out of the
> document root. This way
> they can't be viewed by end users, or executed
> unexpectedly.
>
>
>
> paul
>
>
>
> On 6/5/05, Leila Lappin wrote:
> > Hi,
> >
> > I don't know if making my code publicly available
> > would help since my scripts might not be useful to
> > anyone, so they might not get anyone's attention.
> I
> > try to make my stuff interesting in terms of
> coding
> > style. I definitely know what I need to do but
> having
> > useful tips how to do certain things is something
> > else. I'm sending a few of my scripts (in a
> zipped
> > file) anything you care to browse through and
> comment
> > would be great. I'm using PHP4.3.5 so there
> isn't
> > much object oriented coding. That's too bad since
> I
> > could really do it up with features like protected
> and
> > private members.
> >
> > Thank you in advance for your time, and in case
> you're
> > interested in a comparison between Java and PHP I
> > found this link that you may like
> > http://www.tek271.com/articles/JavaOrPhp.html and
> find
> > useful.
> >
> >
> > --- Christopher Hendry wrote:
> >
> > > Is it code you can make publicly available, I'm
> sure
> > > you'll get plenty
> > > of feedback if you do :)
> > >
> > > Otherwise, send me some snippets off list, I'd
> love
> > > to see how a
> > > C++/Java programmer is using PHP.
> > >
> > > Is it PHP5?
> > >
> > > C
> > >
> > >
> > > --
> > >
> > > "When you do things right, people won't be sure
> > > you've done anything at all."
> > > _______________________________________________
> > > New York PHP Talk Mailing List
> > > AMP Technology
> > > Supporting Apache, MySQL and PHP
> > > http://lists.nyphp.org/mailman/listinfo/talk
> > > http://www.nyphp.org
> > >
> >
> >
> >
> > __________________________________
> > Yahoo! Mail Mobile
> > Take Yahoo! Mail with you! Check email on your
> mobile phone.
> > http://mobile.yahoo.com/learn/mail
> >
> > _______________________________________________
> > New York PHP Talk Mailing List
> > AMP Technology
> > Supporting Apache, MySQL and PHP
> > http://lists.nyphp.org/mailman/listinfo/talk
> > http://www.nyphp.org
> >
> >
> >
>
>
> --
> Paul Reinheimer
> Zend Certified Engineer
> _______________________________________________
> New York PHP Talk Mailing List
> AMP Technology
> Supporting Apache, MySQL and PHP
> http://lists.nyphp.org/mailman/listinfo/talk
> http://www.nyphp.org
>
__________________________________
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
http://promotions.yahoo.com/new_mail
From damovand at yahoo.com Mon Jun 6 10:09:30 2005
From: damovand at yahoo.com (Leila Lappin)
Date: Mon, 6 Jun 2005 07:09:30 -0700 (PDT)
Subject: [nycphp-talk] Merchant processor options?
In-Reply-To: <330532b605060520254737b55d@mail.gmail.com>
Message-ID: <20050606140930.54234.qmail@web30809.mail.mud.yahoo.com>
Just a point of curiosity why not PayPal? Is there
something wrong with them?
--- Mitch Pirtle wrote:
> Hey gang,
>
> Somewhat related is what happens when you want to
> bring a store online
> for a small local business. What procesing partner
> can you recommend?
>
> I'm used to doing this for gigantic megacorporations
> where it doesn't
> matter and relationships are already created; but
> this is only useful
> to the megacorporations...
>
> For the SMB market, who can you recommend for
> payment processing (and
> I don't mean PayPal!)?
>
> --
> Mitch Pirtle
> Mambo Core Developer
> _______________________________________________
> New York PHP Talk Mailing List
> AMP Technology
> Supporting Apache, MySQL and PHP
> http://lists.nyphp.org/mailman/listinfo/talk
> http://www.nyphp.org
>
__________________________________
Discover Yahoo!
Use Yahoo! to plan a weekend, have fun online and more. Check it out!
http://discover.yahoo.com/
From chsnyder at gmail.com Mon Jun 6 10:17:35 2005
From: chsnyder at gmail.com (csnyder)
Date: Mon, 6 Jun 2005 10:17:35 -0400
Subject: [nycphp-talk] Code review
In-Reply-To: <6ec19ec7050605203116b977b2@mail.gmail.com>
References: <769e4ce050604193546308ef1@mail.gmail.com>
<20050605153404.21206.qmail@web30814.mail.mud.yahoo.com>
<6ec19ec7050605203116b977b2@mail.gmail.com>
Message-ID:
On 6/5/05, Paul Reinheimer wrote:
> 1. In several places you echo out links to the user agent, but encode the
> ampersand, I don't think you need to do this, since you are using it as
> a seperator, not a charecter (or such is my understanding).
> href="/anp/auth_man.php?event=doQueryLogin&loginAgent=[...]"
Using & as a separator in output URLs is required if the output is
XHTML, because an ampersand by itself is not an allowed entity. So the
above snippet is fine.
--
Chris Snyder
http://chxo.com/
From preinheimer at gmail.com Mon Jun 6 10:41:09 2005
From: preinheimer at gmail.com (Paul Reinheimer)
Date: Mon, 6 Jun 2005 10:41:09 -0400
Subject: [nycphp-talk] Code review
In-Reply-To:
References: <769e4ce050604193546308ef1@mail.gmail.com>
<20050605153404.21206.qmail@web30814.mail.mud.yahoo.com>
<6ec19ec7050605203116b977b2@mail.gmail.com>
Message-ID: <6ec19ec705060607416f38493b@mail.gmail.com>
I stand corrected, thanks!
An entity reference was found in the document, but there is no
reference by that name defined. Often this is caused by misspelling
the reference name, unencoded ampersands, or by leaving off the
trailing semicolon (;). The most common cause of this error is
unencoded ampersands in URLs as described by the WDG in "Ampersands in
URLs".
Entity references start with an ampersand (&) and end with a semicolon
(;). If you want to use a literal ampersand in your document you must
encode it as "&" (even inside URLs!). Be careful to end entity
references with a semicolon or your entity reference may get
interpreted in connection with the following text. Also keep in mind
that named entity references are case-sensitive; &Aelig; and æ
are different characters.
Note that in most documents, errors related to entity references will
trigger up to 5 separate messages from the Validator. Usually these
will all disappear when the original problem is fixed.
paul
On 6/6/05, csnyder wrote:
> On 6/5/05, Paul Reinheimer wrote:
>
> > 1. In several places you echo out links to the user agent, but encode the
> > ampersand, I don't think you need to do this, since you are using it as
> > a seperator, not a charecter (or such is my understanding).
>
> > href="/anp/auth_man.php?event=doQueryLogin&loginAgent=[...]"
>
> Using & as a separator in output URLs is required if the output is
> XHTML, because an ampersand by itself is not an allowed entity. So the
> above snippet is fine.
>
> --
> Chris Snyder
> http://chxo.com/
> _______________________________________________
> New York PHP Talk Mailing List
> AMP Technology
> Supporting Apache, MySQL and PHP
> http://lists.nyphp.org/mailman/listinfo/talk
> http://www.nyphp.org
>
--
Paul Reinheimer
Zend Certified Engineer
From damovand at yahoo.com Mon Jun 6 10:55:34 2005
From: damovand at yahoo.com (Leila Lappin)
Date: Mon, 6 Jun 2005 07:55:34 -0700 (PDT)
Subject: [nycphp-talk] any good mambo (adding component) documentation?
Message-ID: <20050606145534.75869.qmail@web30806.mail.mud.yahoo.com>
Does anyone know of any good documentation about how
to add a component to mambo? A few months ago I
looked at a number of online resources for good
documentation on how to add a component to mambo and
found nothing either comprehensive or complete.
I am now reading an article on different CMS and it
brings me back to my original questions about mambo.
Here?s the article if anyone is interested
http://www.billkatz.com/node/12
Leila
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
From mitch.pirtle at gmail.com Mon Jun 6 12:54:42 2005
From: mitch.pirtle at gmail.com (Mitch Pirtle)
Date: Mon, 6 Jun 2005 12:54:42 -0400
Subject: [nycphp-talk] Merchant processor options?
In-Reply-To: <20050606140930.54234.qmail@web30809.mail.mud.yahoo.com>
References: <330532b605060520254737b55d@mail.gmail.com>
<20050606140930.54234.qmail@web30809.mail.mud.yahoo.com>
Message-ID: <330532b605060609546a8febc3@mail.gmail.com>
On 6/6/05, Leila Lappin wrote:
> Just a point of curiosity why not PayPal? Is there
> something wrong with them?
Too many horror stories, too much frustration for non-PayPal clients
to get started, and too much difficulty dealing with PayPal in
general.
If you want to sell something online, PayPal only represents a small
percentage of the market - as everyone has a debit/credit card
nowadays, but few use PayPal.
I think being technical skews our perspectives - when you talk to a
non-geek, it becomes painfully clear that PayPal is only ancillary,
and not a major provider.
-- Mitch
From list at harveyk.com Mon Jun 6 13:00:29 2005
From: list at harveyk.com (harvey)
Date: Mon, 06 Jun 2005 13:00:29 -0400
Subject: [nycphp-talk] Merchant processor options?
In-Reply-To: <330532b605060609546a8febc3@mail.gmail.com>
References: <330532b605060520254737b55d@mail.gmail.com>
<20050606140930.54234.qmail@web30809.mail.mud.yahoo.com>
<330532b605060609546a8febc3@mail.gmail.com>
Message-ID: <6.1.0.6.2.20050606125809.03931b70@mail.harveyk.com>
You can use Paypal as a processor for credit card transactions
The purchaser does not need a Paypal account
Millions and millions of people are familiar with it through eBay
I think the main issue for the developer is ease of customization
At 12:54 PM 6/6/2005, Mitch Pirtle wrote:
>On 6/6/05, Leila Lappin wrote:
> > Just a point of curiosity why not PayPal? Is there
> > something wrong with them?
>
>Too many horror stories, too much frustration for non-PayPal clients
>to get started, and too much difficulty dealing with PayPal in
>general.
>
>If you want to sell something online, PayPal only represents a small
>percentage of the market - as everyone has a debit/credit card
>nowadays, but few use PayPal.
>
>I think being technical skews our perspectives - when you talk to a
>non-geek, it becomes painfully clear that PayPal is only ancillary,
>and not a major provider.
>
>-- Mitch
>_______________________________________________
>New York PHP Talk Mailing List
>AMP Technology
>Supporting Apache, MySQL and PHP
>http://lists.nyphp.org/mailman/listinfo/talk
>http://www.nyphp.org
From max at neuropunks.org Mon Jun 6 13:01:03 2005
From: max at neuropunks.org (max)
Date: Mon, 6 Jun 2005 12:01:03 -0500
Subject: [nycphp-talk] Merchant processor options?
In-Reply-To: <330532b605060609546a8febc3@mail.gmail.com>
References: <330532b605060520254737b55d@mail.gmail.com>
<20050606140930.54234.qmail@web30809.mail.mud.yahoo.com>
<330532b605060609546a8febc3@mail.gmail.com>
Message-ID: <20050606170103.GA67705@neuropunks.org>
One good one in my experience was netbilling.com
Another thing to consider, is that may be Yahoo store is a better option. At some point we set that up for a customer, because there was a deadline, and there was no need for a ridiculous ammount of custom code - yahoo will process your payments, as well as host your inventory and give you a shopping cart and tools for management - great if you want to setup someone with a do once and forget option. You will still make plenty of hours doing support, trust me : )
On Mon, Jun 06, 2005 at 12:54:42PM -0400, Mitch Pirtle wrote:
> On 6/6/05, Leila Lappin wrote:
> > Just a point of curiosity why not PayPal? Is there
> > something wrong with them?
>
> Too many horror stories, too much frustration for non-PayPal clients
> to get started, and too much difficulty dealing with PayPal in
> general.
>
> If you want to sell something online, PayPal only represents a small
> percentage of the market - as everyone has a debit/credit card
> nowadays, but few use PayPal.
>
> I think being technical skews our perspectives - when you talk to a
> non-geek, it becomes painfully clear that PayPal is only ancillary,
> and not a major provider.
>
> -- Mitch
> _______________________________________________
> New York PHP Talk Mailing List
> AMP Technology
> Supporting Apache, MySQL and PHP
> http://lists.nyphp.org/mailman/listinfo/talk
> http://www.nyphp.org
>
From preinheimer at gmail.com Mon Jun 6 13:01:45 2005
From: preinheimer at gmail.com (Paul Reinheimer)
Date: Mon, 6 Jun 2005 13:01:45 -0400
Subject: [nycphp-talk] Merchant processor options?
In-Reply-To: <330532b605060609546a8febc3@mail.gmail.com>
References: <330532b605060520254737b55d@mail.gmail.com>
<20050606140930.54234.qmail@web30809.mail.mud.yahoo.com>
<330532b605060609546a8febc3@mail.gmail.com>
Message-ID: <6ec19ec705060610013e873383@mail.gmail.com>
Horror Stories: http://www.paypalsucks.com/
Much of my displeasure with PayPal dissolved away when
they switched to stop requiring an account to send payment.
These days you can send a payment via paypal just by using
your credit card, no lasting account.
paul
On 6/6/05, Mitch Pirtle wrote:
> On 6/6/05, Leila Lappin wrote:
> > Just a point of curiosity why not PayPal? Is there
> > something wrong with them?
>
> Too many horror stories, too much frustration for non-PayPal clients
> to get started, and too much difficulty dealing with PayPal in
> general.
>
> If you want to sell something online, PayPal only represents a small
> percentage of the market - as everyone has a debit/credit card
> nowadays, but few use PayPal.
>
> I think being technical skews our perspectives - when you talk to a
> non-geek, it becomes painfully clear that PayPal is only ancillary,
> and not a major provider.
>
> -- Mitch
> _______________________________________________
> New York PHP Talk Mailing List
> AMP Technology
> Supporting Apache, MySQL and PHP
> http://lists.nyphp.org/mailman/listinfo/talk
> http://www.nyphp.org
>
--
Paul Reinheimer
Zend Certified Engineer
From mitch.pirtle at gmail.com Mon Jun 6 13:06:26 2005
From: mitch.pirtle at gmail.com (Mitch Pirtle)
Date: Mon, 6 Jun 2005 13:06:26 -0400
Subject: [nycphp-talk] any good mambo (adding component) documentation?
In-Reply-To: <20050606145534.75869.qmail@web30806.mail.mud.yahoo.com>
References: <20050606145534.75869.qmail@web30806.mail.mud.yahoo.com>
Message-ID: <330532b605060610067078eef0@mail.gmail.com>
Hey Leila,
Andrew Eddie (fearless development leader for Mambo) has written a
two-part series on creating components for Mambo, you can see them
here:
http://help.mamboserver.com/index.php?option=com_content&task=category§ionid=11&id=135&Itemid=64
Running out the door, but will most definitely be reading the
Drupal/Mambo comparison when I get back - thanks for the link!
--
Mitch Pirtle
Mambo Core Developer
On 6/6/05, Leila Lappin wrote:
> Does anyone know of any good documentation about how
> to add a component to mambo? A few months ago I
> looked at a number of online resources for good
> documentation on how to add a component to mambo and
> found nothing either comprehensive or complete.
>
> I am now reading an article on different CMS and it
> brings me back to my original questions about mambo.
> Here's the article if anyone is interested
> http://www.billkatz.com/node/12
>
> Leila
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> _______________________________________________
> New York PHP Talk Mailing List
> AMP Technology
> Supporting Apache, MySQL and PHP
> http://lists.nyphp.org/mailman/listinfo/talk
> http://www.nyphp.org
>
From damovand at yahoo.com Mon Jun 6 14:40:51 2005
From: damovand at yahoo.com (Leila Lappin)
Date: Mon, 6 Jun 2005 11:40:51 -0700 (PDT)
Subject: [thanks]Re: [nycphp-talk] any good mambo (adding component)
documentation?
In-Reply-To: <330532b605060610067078eef0@mail.gmail.com>
Message-ID: <20050606184051.70488.qmail@web30805.mail.mud.yahoo.com>
and you're welcome, glad you found the link
interesting .
--- Mitch Pirtle wrote:
> Hey Leila,
>
> Andrew Eddie (fearless development leader for Mambo)
> has written a
> two-part series on creating components for Mambo,
> you can see them
> here:
>
>
http://help.mamboserver.com/index.php?option=com_content&task=category§ionid=11&id=135&Itemid=64
>
> Running out the door, but will most definitely be
> reading the
> Drupal/Mambo comparison when I get back - thanks for
> the link!
>
> --
> Mitch Pirtle
> Mambo Core Developer
>
> On 6/6/05, Leila Lappin wrote:
> > Does anyone know of any good documentation about
> how
> > to add a component to mambo? A few months ago I
> > looked at a number of online resources for good
> > documentation on how to add a component to mambo
> and
> > found nothing either comprehensive or complete.
> >
> > I am now reading an article on different CMS and
> it
> > brings me back to my original questions about
> mambo.
> > Here's the article if anyone is interested
> > http://www.billkatz.com/node/12
> >
> > Leila
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam? Yahoo! Mail has the best spam
> protection around
> > http://mail.yahoo.com
> > _______________________________________________
> > New York PHP Talk Mailing List
> > AMP Technology
> > Supporting Apache, MySQL and PHP
> > http://lists.nyphp.org/mailman/listinfo/talk
> > http://www.nyphp.org
> >
> _______________________________________________
> New York PHP Talk Mailing List
> AMP Technology
> Supporting Apache, MySQL and PHP
> http://lists.nyphp.org/mailman/listinfo/talk
> http://www.nyphp.org
>
__________________________________
Do you Yahoo!?
Yahoo! Mail - Find what you need with new enhanced search.
http://info.mail.yahoo.com/mail_250
From damovand at yahoo.com Wed Jun 8 08:11:23 2005
From: damovand at yahoo.com (Leila Lappin)
Date: Wed, 8 Jun 2005 05:11:23 -0700 (PDT)
Subject: [nycphp-talk] is everyone on vacation?
Message-ID: <20050608121123.72378.qmail@web30809.mail.mud.yahoo.com>
I'm just curious why I haven't seen anything since
Monday.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
From damovand at yahoo.com Wed Jun 8 08:25:23 2005
From: damovand at yahoo.com (Leila Lappin)
Date: Wed, 8 Jun 2005 05:25:23 -0700 (PDT)
Subject: [nycphp-talk] is everyone on vacation?
In-Reply-To: <20050608121123.72378.qmail@web30809.mail.mud.yahoo.com>
Message-ID: <20050608122523.88535.qmail@web30801.mail.mud.yahoo.com>
I got my own message, so everybody must be busy at
work and that's the reason for the lull. That's good
to know.
--- Leila Lappin wrote:
> I'm just curious why I haven't seen anything since
> Monday.
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam
> protection around
> http://mail.yahoo.com
> _______________________________________________
> New York PHP Talk Mailing List
> AMP Technology
> Supporting Apache, MySQL and PHP
> http://lists.nyphp.org/mailman/listinfo/talk
> http://www.nyphp.org
>
__________________________________
Discover Yahoo!
Stay in touch with email, IM, photo sharing and more. Check it out!
http://discover.yahoo.com/stayintouch.html
From krook at us.ibm.com Wed Jun 8 09:29:54 2005
From: krook at us.ibm.com (Daniel Krook)
Date: Wed, 8 Jun 2005 09:29:54 -0400
Subject: [nycphp-talk] PHP5 reimplementation of Struts (ZNF)
Message-ID:
Since we do seem to have a lull on the list... :)
This project was brought to my attention this morning. Seems
interesting, though I haven't had time to dig into it yet. They're
looking for testers and developers. The have a very comprehensive
developer's guide in PDF at: http://znf.zeronotice.com/docs/znf-0.7.0.pdf
"[ZeroNotice] have developed an open source PHP5 reimplementation of
Struts.
This is not the first attempt to rewrite the Struts implementation, or
part of it, in PHP, but after spending a lot of time studying existing
open source frameworks, like Phrame, PHPMVC, Struts4PHP, Seagull and Vida
we decided to reimplement a brand new framework from scratch for many
reasons. First of all, all the mentioned frameworks, except Vida, are
written in PHP4 and we believe that its object engine (Zend Engine 1) is
too limited for developing enterprise level web application.
At the same time the code we analyzed is written without a rigorous
approach (coding standards, compliance to W3C standards, output of
notice/warnings, lack of documentation/examples).
Last but not least frameworks claiming to be a porting of Struts have made
no code optimization during the porting from J2EE to PHP. We're searching
for comments, feedback, bug signaling and best of all new developers. Any
kind of contribution will be appreciated! ZNF is free software released
under GNU/LGPL license, the official ZNF home page is at
http://znf.zeronotice.com/."
Daniel Krook, Advisory IT Specialist
Application Development, Production Services - Tools, ibm.com
Personal: http://info.krook.org/
BluePages: http://bluepages.redirect.webahead.ibm.com/
BlogPages: http://blogpages.redirect.webahead.ibm.com/
From jeff.knight at gmail.com Wed Jun 8 10:45:10 2005
From: jeff.knight at gmail.com (Jeff Knight)
Date: Wed, 8 Jun 2005 10:45:10 -0400
Subject: [nycphp-talk] is everyone on vacation?
In-Reply-To: <20050608122523.88535.qmail@web30801.mail.mud.yahoo.com>
References: <20050608121123.72378.qmail@web30809.mail.mud.yahoo.com>
<20050608122523.88535.qmail@web30801.mail.mud.yahoo.com>
Message-ID: <2ca9ba9105060807451c467e66@mail.gmail.com>
I know a lot of people are busy and/or out of town, but none of it has
to do with fun. Many of the usual suspects, in fact, will not be on
hand for tonight's salute to php's 10th at the Remote Lounge.
On 6/8/05, Leila Lappin wrote:
> I got my own message, so everybody must be busy at
> work and that's the reason for the lull. That's good
> to know.
>
> --- Leila Lappin wrote:
>
> > I'm just curious why I haven't seen anything since
> > Monday.
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam? Yahoo! Mail has the best spam
> > protection around
> > http://mail.yahoo.com
> > _______________________________________________
> > New York PHP Talk Mailing List
> > AMP Technology
> > Supporting Apache, MySQL and PHP
> > http://lists.nyphp.org/mailman/listinfo/talk
> > http://www.nyphp.org
> >
>
>
>
>
> __________________________________
> Discover Yahoo!
> Stay in touch with email, IM, photo sharing and more. Check it out!
> http://discover.yahoo.com/stayintouch.html
> _______________________________________________
> New York PHP Talk Mailing List
> AMP Technology
> Supporting Apache, MySQL and PHP
> http://lists.nyphp.org/mailman/listinfo/talk
> http://www.nyphp.org
>
From mitch.pirtle at gmail.com Wed Jun 8 11:54:30 2005
From: mitch.pirtle at gmail.com (Mitch Pirtle)
Date: Wed, 8 Jun 2005 11:54:30 -0400
Subject: [nycphp-talk] is everyone on vacation?
In-Reply-To: <2ca9ba9105060807451c467e66@mail.gmail.com>
References: <20050608121123.72378.qmail@web30809.mail.mud.yahoo.com>
<20050608122523.88535.qmail@web30801.mail.mud.yahoo.com>
<2ca9ba9105060807451c467e66@mail.gmail.com>
Message-ID: <330532b60506080854a9ba019@mail.gmail.com>
On 6/8/05, Jeff Knight wrote:
> I know a lot of people are busy and/or out of town, but none of it has
> to do with fun. Many of the usual suspects, in fact, will not be on
> hand for tonight's salute to php's 10th at the Remote Lounge.
You can add me to the list of workload casualties, as I have been
burning the midnight oil on the upcoming Mambo 4.5.3 release and a
pile of articles/writing, and consequently getting behind on my
project work and domestic duties, which just makes the days go even
longer!
Would love to be there tonight, and am truly disappointed that I am
not able to make it. Everyone please have an extra beer for me to make
up for my absence ;-)
--
Mitch Pirtle
Mambo Core Developer
From jaimeb82 at yahoo.com Wed Jun 8 12:32:06 2005
From: jaimeb82 at yahoo.com (jaime bermudez)
Date: Wed, 8 Jun 2005 09:32:06 -0700 (PDT)
Subject: [nycphp-talk] How to run a script?
Message-ID: <20050608163206.72226.qmail@web51301.mail.yahoo.com>
I have been running the following command
>mysql -h host -u bookorama -D books -p <
bookorama.sql
so I don't have to type over and over my sql scripts .
The command doesn't work for me and I don't know how
to do it even when this should be a simple task.
I am doing this:
mysql> mysql -h jbe -u root -D jaime -p < jaime.sql;
I get the following error:
ERROR 1064 (42000)
__________________________________
Discover Yahoo!
Use Yahoo! to plan a weekend, have fun online and more. Check it out!
http://discover.yahoo.com/
From preinheimer at gmail.com Wed Jun 8 12:57:56 2005
From: preinheimer at gmail.com (Paul Reinheimer)
Date: Wed, 8 Jun 2005 12:57:56 -0400
Subject: [nycphp-talk] is everyone on vacation?
In-Reply-To: <330532b60506080854a9ba019@mail.gmail.com>
References: <20050608121123.72378.qmail@web30809.mail.mud.yahoo.com>
<20050608122523.88535.qmail@web30801.mail.mud.yahoo.com>
<2ca9ba9105060807451c467e66@mail.gmail.com>
<330532b60506080854a9ba019@mail.gmail.com>
Message-ID: <6ec19ec705060809571124b7df@mail.gmail.com>
My editor doesn't beleive in vacation, only deadlines :)
paul
On 6/8/05, Mitch Pirtle wrote:
> On 6/8/05, Jeff Knight wrote:
> > I know a lot of people are busy and/or out of town, but none of it has
> > to do with fun. Many of the usual suspects, in fact, will not be on
> > hand for tonight's salute to php's 10th at the Remote Lounge.
>
> You can add me to the list of workload casualties, as I have been
> burning the midnight oil on the upcoming Mambo 4.5.3 release and a
> pile of articles/writing, and consequently getting behind on my
> project work and domestic duties, which just makes the days go even
> longer!
>
> Would love to be there tonight, and am truly disappointed that I am
> not able to make it. Everyone please have an extra beer for me to make
> up for my absence ;-)
>
> --
> Mitch Pirtle
> Mambo Core Developer
> _______________________________________________
> New York PHP Talk Mailing List
> AMP Technology
> Supporting Apache, MySQL and PHP
> http://lists.nyphp.org/mailman/listinfo/talk
> http://www.nyphp.org
>
--
Paul Reinheimer
Zend Certified Engineer
From andrew at plexpod.com Wed Jun 8 13:06:00 2005
From: andrew at plexpod.com (Andrew Yochum)
Date: Wed, 8 Jun 2005 13:06:00 -0400
Subject: [nycphp-talk] How to run a script?
In-Reply-To: <20050608163206.72226.qmail@web51301.mail.yahoo.com>
References: <20050608163206.72226.qmail@web51301.mail.yahoo.com>
Message-ID: <20050608170559.GI8012@zoidberg.digitalpulp.com>
On Wed, Jun 08, 2005 at 09:32:06AM -0700, jaime bermudez wrote:
> I have been running the following command
>
> >mysql -h host -u bookorama -D books -p <
> bookorama.sql
>
>
> so I don't have to type over and over my sql scripts .
> The command doesn't work for me and I don't know how
> to do it even when this should be a simple task.
>
> I am doing this:
>
> mysql> mysql -h jbe -u root -D jaime -p < jaime.sql;
> I get the following error:
>
> ERROR 1064 (42000)
You're almost there. Run the same command at your shell prompt instead
of the mysql prompt. In other words, don't login to the mysql command
line client first.
HTH,
Andrew
--
Andrew Yochum
Plexpod
andrew at plexpod.com
718-360-0879
From dmintz at davidmintz.org Wed Jun 8 14:10:47 2005
From: dmintz at davidmintz.org (David Mintz)
Date: Wed, 8 Jun 2005 14:10:47 -0400 (EDT)
Subject: [nycphp-talk] How to run a script?
In-Reply-To: <20050608170559.GI8012@zoidberg.digitalpulp.com>
References: <20050608163206.72226.qmail@web51301.mail.yahoo.com>
<20050608170559.GI8012@zoidberg.digitalpulp.com>
Message-ID:
On Wed, 8 Jun 2005, Andrew Yochum wrote:
> > > On Wed, Jun 08, 2005 at 09:32:06AM -0700, jaime bermudez wrote:
> > I am doing this:
> >
> > mysql> mysql -h jbe -u root -D jaime -p < jaime.sql;
> > I get the following error:
> >
> > ERROR 1064 (42000)
>
> You're almost there. Run the same command at your shell prompt instead
> of the mysql prompt. In other words, don't login to the mysql command
> line client first.
Or, if you want to run jaime.sql once you are already sitting at the mysql
prompt:
mysql> \. /path/to/jaime.sql
I just noticed while doing a little fact-checking that apparently the
source file has to be in the same directory or a descendant directory of
the directory you were in when you launched mysql; you can't go back up
the tree. True?
---
David Mintz
http://davidmintz.org/
From nyphp at enobrev.com Wed Jun 8 23:38:01 2005
From: nyphp at enobrev.com (Mark Armendariz)
Date: Wed, 8 Jun 2005 20:38:01 -0700
Subject: [nycphp-talk] Pitching PHP to a Java House
Message-ID: <20050609034228.34E50A862D@virtu.nyphp.org>
Anyone here ever pitch PHP to a Java house?
I have a fairly large client who's interest may be waning due to their
current Java setup. They are listening, but not necessarily intently. I've
been doing my reading, but my time is very short. I'm finding a lot about
scalability, but for the most part, the articles are short and the
discussions are generally
my-language-can-kick-your-language's-ass-cuz-I-said-so, and
you're-all-children-use-C-or-perl. I need to get off the playground and
actually prove to this client that php is a viable option.
Current site is running Struts, using customs Java for model and controller
and JSP for the view
F5 Labs Big IP load balancer
8 Machines running Apache 2 in worker MPM mode (which I've read that PHP
doesn't quite love)
Resin 2.1
Oracle 9i db
A good friend mentioned that he usually argues that the development time is
preferable with PHP. Anyone here have resources to share or a good general
direction to walk in with this argument?
Thanks!
Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From krook at us.ibm.com Thu Jun 9 00:10:42 2005
From: krook at us.ibm.com (Daniel Krook)
Date: Thu, 9 Jun 2005 00:10:42 -0400
Subject: [nycphp-talk] Pitching PHP to a Java House
In-Reply-To: <20050609034228.34E50A862D@virtu.nyphp.org>
Message-ID:
> Anyone here ever pitch PHP to a Java house?
>
> I have a fairly large client who?s interest may be waning
> due to their current Java setup. They are listening, but
> not necessarily intently. I?ve been doing my reading, but
> my time is very short. I?m finding a lot about
> scalability, but for the most part, the articles are short
> and the discussions are generally my-language-can-kick-
> your-language?s-ass-cuz-I-said-so, and you?re-all-
> children-use-C-or-perl. I need to get off the playground
> and actually prove to this client that php is a viable option.
>
> Current site is running Struts, using customs Java for
> model and controller and JSP for the view
> F5 Labs Big IP load balancer
> 8 Machines running Apache 2 in worker MPM mode (which I?ve
> read that PHP doesn?t quite love)
> Resin 2.1
> Oracle 9i db
>
> A good friend mentioned that he usually argues that the
> development time is preferable with PHP. Anyone here have
> resources to share or a good general direction to walk in
> with this argument?
Mark,
You could take the following three-pronged approach to a situation like
this; after you've honestly evaluated the client's needs and decided that
PHP would suit them better than Java.
* Establish PHP's corporate credibility
Point out that IBM has partnered with Zend Technologies to provide support
for PHP. Better yet, plan to attend and let them know about NYPHP's
upcoming June meeting with members of the IBM Software Group:
http://nyphp.org/
You might also have them take a look at SourceLabs: http://sourcelabs.com/
* Show how PHP's features are enterprise ready
Pick some case studies from Zend about PHP's application in the
enterprise: http://www.zend.com/company/customers.php
* Show examples of a migration path
To keep their J2EE developers comfortable, show them that their existing
Java knowledge translates nicely to PHP5. They might be interested in
reading about the ZNF (PHP5 reimplementation of Struts) which I found out
about today: http://znf.zeronotice.com/ or phpPatterns from Harry Fuecks:
http://www.sitepoint.com/articlelist/210
Of course, they can even choose to run PHP and J2EE side by side to take
advantage of each platforms relative advantage. :)
http://ibm.com/developerworks/websphere/techjournal/0505_krook/0505_krook.html
Daniel Krook, Advisory IT Specialist
Application Development, Production Services - Tools, ibm.com
Personal: http://info.krook.org/
BluePages: http://bluepages.redirect.webahead.ibm.com/
BlogPages: http://blogpages.redirect.webahead.ibm.com/
From tgales at tgaconnect.com Thu Jun 9 04:26:48 2005
From: tgales at tgaconnect.com (Tim Gales)
Date: Thu, 09 Jun 2005 04:26:48 -0400
Subject: [nycphp-talk] Pitching PHP to a Java House
In-Reply-To: <20050609034228.34E50A862D@virtu.nyphp.org>
References: <20050609034228.34E50A862D@virtu.nyphp.org>
Message-ID: <42A7FD48.9030202@tgaconnect.com>
Mark Armendariz writes:
> Anyone here ever pitch PHP to a Java house?
>... Anyone here have resources to share or a good
> general direction to walk in with this argument?
You may find this to be of interest:
http://troutgirl.com/blog/index.php?/archives/22_Friendster_goes_PHP.html
Also this blog by Peter Yared:
http://peteryared.blogspot.com/2003/09/next-language.html
Peter Yared is the founder of ActiveGrid which has developed
something called the 'Grid Application Server', which uses
LAMP to create horizontally scalable 'transaction grids'.
It might be worthwhile to take a look at the ActiveGrid approach,
particularly the 'old thinking' vs. 'new thinking' at:
http://www.activegrid.com/technology/index.php
--
T. Gales & Associates
'Helping People Connect with Technology'
http://www.tgaconnect.com
From tom at supertom.com Thu Jun 9 07:11:18 2005
From: tom at supertom.com (Tom)
Date: Thu, 09 Jun 2005 07:11:18 -0400
Subject: [nycphp-talk] Pitching PHP to a Java House
In-Reply-To: <20050609034228.34E50A862D@virtu.nyphp.org>
Message-ID: <0IHT00EQHCUQPA@mta9.srv.hcvlny.cv.net>
Hi Mark,
In addition to the good points made by others, you may also want to mention
Oracle's involvement/investment in PHP, especially since your client is
using Oracle themselves.
http://www.oracle.com/technology/tech/php/index.html
Tom
http://www.liphp.org
_____
From: talk-bounces at lists.nyphp.org [mailto:talk-bounces at lists.nyphp.org] On
Behalf Of Mark Armendariz
Sent: Wednesday, June 08, 2005 11:38 PM
To: 'NYPHP Talk'
Subject: [nycphp-talk] Pitching PHP to a Java House
Anyone here ever pitch PHP to a Java house?
I have a fairly large client who's interest may be waning due to their
current Java setup. They are listening, but not necessarily intently. I've
been doing my reading, but my time is very short. I'm finding a lot about
scalability, but for the most part, the articles are short and the
discussions are generally
my-language-can-kick-your-language's-ass-cuz-I-said-so, and
you're-all-children-use-C-or-perl. I need to get off the playground and
actually prove to this client that php is a viable option.
Current site is running Struts, using customs Java for model and controller
and JSP for the view
F5 Labs Big IP load balancer
8 Machines running Apache 2 in worker MPM mode (which I've read that PHP
doesn't quite love)
Resin 2.1
Oracle 9i db
A good friend mentioned that he usually argues that the development time is
preferable with PHP. Anyone here have resources to share or a good general
direction to walk in with this argument?
Thanks!
Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From smanes at magpie.com Thu Jun 9 07:27:16 2005
From: smanes at magpie.com (Steve Manes)
Date: Thu, 09 Jun 2005 07:27:16 -0400
Subject: [nycphp-talk] Pitching PHP to a Java House
In-Reply-To: <20050609034228.34E50A862D@virtu.nyphp.org>
References: <20050609034228.34E50A862D@virtu.nyphp.org>
Message-ID: <42A82794.8050800@magpie.com>
Mark Armendariz wrote:
> A good friend mentioned that he usually argues that the development time
> is preferable with PHP. Anyone here have resources to share or a good
> general direction to walk in with this argument?
A company for whom I consult was considering porting their existing ASP
software from PHP/Perl to Java. Their reason had mostly to do with
their new tech director and the fact that he only knew Java.
Most of my arguments fell on deaf ears. The one that finally caused the
bosses to put the kibosh on the Java porting project was my reminder of
how the software is hacked almost daily to add new chrome and doodads
for specific ASP clients without affecting the others. PHP (and Perl)
are simply better suited to this sort of ad hoc surgery than Java.
It also helped when I told them that their PHP/PostgreSQL production
servers had been up for 480 days without a reboot (they were also
considering porting to an MS architecture).
From gisolfi at us.ibm.com Thu Jun 9 07:26:06 2005
From: gisolfi at us.ibm.com (Dan Gisolfi)
Date: Thu, 9 Jun 2005 07:26:06 -0400
Subject: Fw: [nycphp-talk] Pitching PHP to a Java House
Message-ID:
Mark:
I concur with Krook's three prong approach and would like to elaborate on
the third point -- Coexistence.
I would suggest that you do not want to challenge the J2EE skill base and
mindset of this client. Instead you want to show them that PHP can be used
as a productivity enhancement to the front-end of their web application
development. Focus on segmenting their project into Web/UI (client-side)
and backend business process (server-side) architectures. Then site
examples about how PHP is a more productive than Java for developing web
application. Avoid comparisons about Java and PHP. The bottom line is that
both are adequate languages, especially with PHP5 moving to OO. Focus on
productivity as this correlates to time which == $$. To make this argument
clear you want to stress that integration between a struts based PHP
framework and a J2EE backend is feasible.
Dan Gisolfi
talk-bounces at lists.nyphp.org wrote on 06/09/2005 12:10:42 AM:
> > Anyone here ever pitch PHP to a Java house?
> >
> > I have a fairly large client who?s interest may be waning
> > due to their current Java setup. They are listening, but
> > not necessarily intently. I?ve been doing my reading, but
> > my time is very short. I?m finding a lot about
> > scalability, but for the most part, the articles are short
> > and the discussions are generally my-language-can-kick-
> > your-language?s-ass-cuz-I-said-so, and you?re-all-
> > children-use-C-or-perl. I need to get off the playground
> > and actually prove to this client that php is a viable option.
> >
> > Current site is running Struts, using customs Java for
> > model and controller and JSP for the view
> > F5 Labs Big IP load balancer
> > 8 Machines running Apache 2 in worker MPM mode (which I?ve
> > read that PHP doesn?t quite love)
> > Resin 2.1
> > Oracle 9i db
> >
> > A good friend mentioned that he usually argues that the
> > development time is preferable with PHP. Anyone here have
> > resources to share or a good general direction to walk in
> > with this argument?
>
>
> Mark,
>
> You could take the following three-pronged approach to a situation like
> this; after you've honestly evaluated the client's needs and decided
that
> PHP would suit them better than Java.
>
> * Establish PHP's corporate credibility
> Point out that IBM has partnered with Zend Technologies to provide
support
> for PHP. Better yet, plan to attend and let them know about NYPHP's
> upcoming June meeting with members of the IBM Software Group:
> http://nyphp.org/
> You might also have them take a look at SourceLabs:
http://sourcelabs.com/
>
> * Show how PHP's features are enterprise ready
> Pick some case studies from Zend about PHP's application in the
> enterprise: http://www.zend.com/company/customers.php
>
> * Show examples of a migration path
> To keep their J2EE developers comfortable, show them that their existing
> Java knowledge translates nicely to PHP5. They might be interested in
> reading about the ZNF (PHP5 reimplementation of Struts) which I found
out
> about today: http://znf.zeronotice.com/ or phpPatterns from Harry
Fuecks:
> http://www.sitepoint.com/articlelist/210
> Of course, they can even choose to run PHP and J2EE side by side to take
> advantage of each platforms relative advantage. :)
>
http://ibm.com/developerworks/websphere/techjournal/0505_krook/0505_krook.html
>
>
>
>
>
> Daniel Krook, Advisory IT Specialist
> Application Development, Production Services - Tools, ibm.com
>
> Personal: http://info.krook.org/
> BluePages: http://bluepages.redirect.webahead.ibm.com/
> BlogPages: http://blogpages.redirect.webahead.ibm.com/
> _______________________________________________
> New York PHP Talk Mailing List
> AMP Technology
> Supporting Apache, MySQL and PHP
> http://lists.nyphp.org/mailman/listinfo/talk
> http://www.nyphp.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From damovand at yahoo.com Thu Jun 9 08:10:48 2005
From: damovand at yahoo.com (Leila Lappin)
Date: Thu, 9 Jun 2005 05:10:48 -0700 (PDT)
Subject: [nycphp-talk] Pitching PHP to a Java House
In-Reply-To: <42A82794.8050800@magpie.com>
Message-ID: <20050609121048.79978.qmail@web30807.mail.mud.yahoo.com>
One word of caution,
Warning the following is a rant, read with caution or
don?t read if you don?t want to be bothered,
With success comes migration of jobs elsewhere and
more than 100million hungry programmers poised and
ready to take the jobs away. Sorry for the trumpet of
doom and despair but it?s happened before.
Since I already spilled the beans, let me elaborate a
little more. The only reason PHP remains a good
source of employment in New York is because the big
boys (mid to large size corporations) don?t take it
seriously. Once they start doing so, next thing you
know they?re importing cheap programmers to do the
work and whatnot. Let the Java people remain in their
Java houses and think their big giant cow of a
language is the best thing that ever happened to the
IT community.
With PHP5 becoming the standard installation in all
shops, we all know that Java loses its lead as a
better object oriented language and the only thing it
has to boast. But let?s keep this a sweet secret.
Sorry for the rant, I hope I haven?t ruined your
morning.
--- Steve Manes wrote:
> Mark Armendariz wrote:
> > A good friend mentioned that he usually argues
> that the development time
> > is preferable with PHP. Anyone here have resources
> to share or a good
> > general direction to walk in with this argument?
>
> A company for whom I consult was considering porting
> their existing ASP
> software from PHP/Perl to Java. Their reason had
> mostly to do with
> their new tech director and the fact that he only
> knew Java.
>
> Most of my arguments fell on deaf ears. The one
> that finally caused the
> bosses to put the kibosh on the Java porting project
> was my reminder of
> how the software is hacked almost daily to add new
> chrome and doodads
> for specific ASP clients without affecting the
> others. PHP (and Perl)
> are simply better suited to this sort of ad hoc
> surgery than Java.
>
> It also helped when I told them that their
> PHP/PostgreSQL production
> servers had been up for 480 days without a reboot
> (they were also
> considering porting to an MS architecture).
> _______________________________________________
> New York PHP Talk Mailing List
> AMP Technology
> Supporting Apache, MySQL and PHP
> http://lists.nyphp.org/mailman/listinfo/talk
> http://www.nyphp.org
>
__________________________________
Discover Yahoo!
Use Yahoo! to plan a weekend, have fun online and more. Check it out!
http://discover.yahoo.com/
From edwardpotter at gmail.com Thu Jun 9 08:27:19 2005
From: edwardpotter at gmail.com (edward potter)
Date: Thu, 9 Jun 2005 08:27:19 -0400
Subject: [nycphp-talk] Pitching PHP to a Java House
In-Reply-To: <20050609121048.79978.qmail@web30807.mail.mud.yahoo.com>
References: <42A82794.8050800@magpie.com>
<20050609121048.79978.qmail@web30807.mail.mud.yahoo.com>
Message-ID:
What has happened at a few shops I worked with, use php to "model" the
project, then move it over to Java. What happens? No one moves it
"over" to Java, it just works as is. And everyone just moves on.
-ed :-)
On 6/9/05, Leila Lappin wrote:
> One word of caution,
> Warning the following is a rant, read with caution or
> don't read if you don't want to be bothered,
>
>
> With success comes migration of jobs elsewhere and
> more than 100million hungry programmers poised and
> ready to take the jobs away. Sorry for the trumpet of
> doom and despair but it's happened before.
>
> Since I already spilled the beans, let me elaborate a
> little more. The only reason PHP remains a good
> source of employment in New York is because the big
> boys (mid to large size corporations) don't take it
> seriously. Once they start doing so, next thing you
> know they're importing cheap programmers to do the
> work and whatnot. Let the Java people remain in their
> Java houses and think their big giant cow of a
> language is the best thing that ever happened to the
> IT community.
>
> With PHP5 becoming the standard installation in all
> shops, we all know that Java loses its lead as a
> better object oriented language and the only thing it
> has to boast. But let's keep this a sweet secret.
>
> Sorry for the rant, I hope I haven't ruined your
> morning.
>
> --- Steve Manes wrote:
>
> > Mark Armendariz wrote:
> > > A good friend mentioned that he usually argues
> > that the development time
> > > is preferable with PHP. Anyone here have resources
> > to share or a good
> > > general direction to walk in with this argument?
> >
> > A company for whom I consult was considering porting
> > their existing ASP
> > software from PHP/Perl to Java. Their reason had
> > mostly to do with
> > their new tech director and the fact that he only
> > knew Java.
> >
> > Most of my arguments fell on deaf ears. The one
> > that finally caused the
> > bosses to put the kibosh on the Java porting project
> > was my reminder of
> > how the software is hacked almost daily to add new
> > chrome and doodads
> > for specific ASP clients without affecting the
> > others. PHP (and Perl)
> > are simply better suited to this sort of ad hoc
> > surgery than Java.
> >
> > It also helped when I told them that their
> > PHP/PostgreSQL production
> > servers had been up for 480 days without a reboot
> > (they were also
> > considering porting to an MS architecture).
> > _______________________________________________
> > New York PHP Talk Mailing List
> > AMP Technology
> > Supporting Apache, MySQL and PHP
> > http://lists.nyphp.org/mailman/listinfo/talk
> > http://www.nyphp.org
> >
>
>
>
>
> __________________________________
> Discover Yahoo!
> Use Yahoo! to plan a weekend, have fun online and more. Check it out!
> http://discover.yahoo.com/
> _______________________________________________
> New York PHP Talk Mailing List
> AMP Technology
> Supporting Apache, MySQL and PHP
> http://lists.nyphp.org/mailman/listinfo/talk
> http://www.nyphp.org
>
From ps at pswebcode.com Thu Jun 9 09:15:42 2005
From: ps at pswebcode.com (Peter Sawczynec)
Date: Thu, 9 Jun 2005 09:15:42 -0400
Subject: [nycphp-talk] Pitching PHP to a Java House
In-Reply-To: <20050609034228.34E50A862D@virtu.nyphp.org>
Message-ID: <000901c56cf5$59f73e10$6400a8c0@yourx1adg12jme>
I think one of the answer avenues here is that for raw competitive purposes,
the single developer/small shop should deliver PHP and JAVA
and be able to handle the maximum diversity of the client's needs.
>From my experiences in corporate environments with competing technologies
setting in, the most successful shop/developer/IT manager
in the mix has a handle on the broadest array of technologies at play and
manages and delivers the thoroughbred mix.
The corp will/must go where it needs and the emps typically need to ratchet
to match.
I feel independent work works out best when one really focuses gangbusters
on what one does best and delivers it in spades and fast. When the client
really
doesn't want your stuff, you leave your portfolio/card and you must nail the
next client that wants your stuff now.
I think PHP would benefit most from making/delivering compatibility
extensions/strategies that embrace (I mean, just swallow up) what JAVA puts
out.
And then PHP moves on, shoulder to shoulder with JAVA taking all it can give
and sucking up more marketplace nonetheless.
So that in theory the discussion becomes more how do we get our JAVA to
maximize its integration with PHP which is just obviously such
an incredible monster everywhere product.
Of course, I have not yet jumped on the continuing JAVA up tick myself. But
I think if I add a new technology to my personal portfolio (and I want to
keep my technologies very portable and very web related), JAVA would be
next.
Warmest regards,
Peter Sawczynec
Technology Director
PSWebcode
ps at pswebcode.com
718.543.3240
-----Original Message-----
From: talk-bounces at lists.nyphp.org [mailto:talk-bounces at lists.nyphp.org] On
Behalf Of Mark Armendariz
Sent: Wednesday, June 08, 2005 11:38 PM
To: 'NYPHP Talk'
Subject: [nycphp-talk] Pitching PHP to a Java House
Anyone here ever pitch PHP to a Java house?
I have a fairly large client who's interest may be waning due to their
current Java setup. They are listening, but not necessarily intently. I've
been doing my reading, but my time is very short. I'm finding a lot about
scalability, but for the most part, the articles are short and the
discussions are generally
my-language-can-kick-your-language's-ass-cuz-I-said-so, and
you're-all-children-use-C-or-perl. I need to get off the playground and
actually prove to this client that php is a viable option.
Current site is running Struts, using customs Java for model and controller
and JSP for the view
F5 Labs Big IP load balancer
8 Machines running Apache 2 in worker MPM mode (which I've read that PHP
doesn't quite love)
Resin 2.1
Oracle 9i db
A good friend mentioned that he usually argues that the development time is
preferable with PHP. Anyone here have resources to share or a good general
direction to walk in with this argument?
Thanks!
Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From nyphp at enobrev.com Thu Jun 9 11:58:31 2005
From: nyphp at enobrev.com (Mark Armendariz)
Date: Thu, 9 Jun 2005 08:58:31 -0700
Subject: [nycphp-talk] Pitching PHP to a Java House
In-Reply-To: <000901c56cf5$59f73e10$6400a8c0@yourx1adg12jme>
Message-ID: <20050609160254.E9A26A87AA@virtu.nyphp.org>
You guys never cease to impress me. And in such a short time as well.
I began writing a summary of the pros and cons of php and whatnot, but it
felt so loaded and bs. In the end I pointed out that the languages are
comparable as far as the web is concerned and have their preferred uses and
environments. I'd emphasized the "Time-to-market" and bottom line and gave
examples of large companies switching to PHP. You guys gave me a great
palette to work with.
Thanks so much!
Mark Armendariz
From nestorflorez at earthlink.net Thu Jun 9 12:18:00 2005
From: nestorflorez at earthlink.net (Nestor Florez)
Date: Thu, 9 Jun 2005 09:18:00 -0700 (GMT-07:00)
Subject: [nycphp-talk] Pitching PHP to a Java House
Message-ID: <18193800.1118333880508.JavaMail.root@wamui-chisos.atl.sa.earthlink.net>
PHP is one of Oracle 10g prefer sons :-)
Plenty of Oracle/PHP info on otn.oracle.com
Nestor :-)
-----Original Message-----
From: Mark Armendariz
Sent: Jun 8, 2005 8:38 PM
To: 'NYPHP Talk'
Subject: [nycphp-talk] Pitching PHP to a Java House
Anyone here ever pitch PHP to a Java house?
I have a fairly large client who's interest may be waning due to their
current Java setup. They are listening, but not necessarily intently. I've
been doing my reading, but my time is very short. I'm finding a lot about
scalability, but for the most part, the articles are short and the
discussions are generally
my-language-can-kick-your-language's-ass-cuz-I-said-so, and
you're-all-children-use-C-or-perl. I need to get off the playground and
actually prove to this client that php is a viable option.
Current site is running Struts, using customs Java for model and controller
and JSP for the view
F5 Labs Big IP load balancer
8 Machines running Apache 2 in worker MPM mode (which I've read that PHP
doesn't quite love)
Resin 2.1
Oracle 9i db
A good friend mentioned that he usually argues that the development time is
preferable with PHP. Anyone here have resources to share or a good general
direction to walk in with this argument?
Thanks!
Mark
From shiflett at php.net Thu Jun 9 12:52:52 2005
From: shiflett at php.net (Chris Shiflett)
Date: Thu, 09 Jun 2005 12:52:52 -0400
Subject: [nycphp-talk] Pitching PHP to a Java House
In-Reply-To: <20050609160254.E9A26A87AA@virtu.nyphp.org>
References: <20050609160254.E9A26A87AA@virtu.nyphp.org>
Message-ID: <42A873E4.7010509@php.net>
Another thing that I didn't see mentioned is that there isn't much Java
at the very top (nor Microsoft for that matter). Look at the big boys:
Yahoo, Google, Amazon, TicketMaster, etc. They all use different
languages and platforms, but there is some common DNA in their solutions.
Chris
--
Chris Shiflett
Brain Bulb, The PHP Consultancy
http://brainbulb.com/
From leam at reuel.net Thu Jun 9 13:05:00 2005
From: leam at reuel.net (leam at reuel.net)
Date: Thu, 9 Jun 2005 13:05:00 -0400
Subject: [nycphp-talk] Including CSS?
Message-ID: <20050609170459.GF2944@leitz.reuel.net>
The first way I saw to reference a CSS file was to have it in the section, like this:
But since i'm using include() on some files outside the docroot, is there a way to include the css file? Or does to have to be in the header?
ciao!
leam
From codebowl at gmail.com Thu Jun 9 13:11:13 2005
From: codebowl at gmail.com (Joseph Crawford)
Date: Thu, 9 Jun 2005 13:11:13 -0400
Subject: [nycphp-talk] Including CSS?
In-Reply-To: <20050609170459.GF2944@leitz.reuel.net>
References: <20050609170459.GF2944@leitz.reuel.net>
Message-ID: <8d9a42800506091011163ac970@mail.gmail.com>
i believe the CSS has to remain in the header for it to be recognised but i
am not a css guru either ;)
i know yoiu can embed css using the
However, this will mean that the css data has to be sent on each and
every request. By using the link syntax the styles fie will only be
fetched periodically assuming the client is using caching, and can also
be cached by proxy servers, which will increase the performance of the
site/application.
Dan
leam at reuel.net wrote:
> The first way I saw to reference a CSS file was to have it in the section, like this:
>
>
>
> But since i'm using include() on some files outside the docroot, is there a way to include the css file? Or does to have to be in the header?
>
> ciao!
>
> leam
From rahmin at insite-out.com Thu Jun 9 13:55:19 2005
From: rahmin at insite-out.com (Rahmin Pavlovic)
Date: Thu, 9 Jun 2005 13:55:19 -0400
Subject: [nycphp-talk] Including CSS?
Message-ID: <200506091755.j59HtJZW004686@webmail3.megamailservers.com>
An embedded and charset-unspecified text was scrubbed...
Name: not available
URL:
From ps at pswebcode.com Thu Jun 9 14:21:36 2005
From: ps at pswebcode.com (Peter Sawczynec)
Date: Thu, 9 Jun 2005 14:21:36 -0400
Subject: [nycphp-talk] Including CSS?
In-Reply-To: <20050609170459.GF2944@leitz.reuel.net>
Message-ID: <002e01c56d20$156d68c0$6400a8c0@yourx1adg12jme>
.css and .js files can typically be included anywhere in the HTML doc and
the info will get pulled in. It is not pretty but it works.
But for clarity, in a hypothetical file such as base.php with content of:
If the hypothetical content of head.inc.php is similar to:
';
$style2='';
($switchvar==33)? $stylechoice = $style1 : $stylechoice = $style2;
echo <<$switchvar Page
$stylechoice
END;
$newbodyvar = $switchvar++;
?>
Then it doesn't matter at all where the file called head.inc.php is
physically located because the .css file won't get included until
PHP has composited the page and sent it down to the browser as raw HTML and
the browser will grab the .css include according to your
true web site dir structure.
Peter
-----Original Message-----
From: talk-bounces at lists.nyphp.org [mailto:talk-bounces at lists.nyphp.org] On
Behalf Of leam at reuel.net
Sent: Thursday, June 09, 2005 1:05 PM
To: talk at lists.nyphp.org
Subject: [nycphp-talk] Including CSS?
The first way I saw to reference a CSS file was to have it in the
section, like this:
But since i'm using include() on some files outside the docroot, is there a
way to include the css file? Or does to have to be in the header?
ciao!
leam
_______________________________________________
New York PHP Talk Mailing List
AMP Technology
Supporting Apache, MySQL and PHP
http://lists.nyphp.org/mailman/listinfo/talk
http://www.nyphp.org
From shiflett at php.net Thu Jun 9 14:37:32 2005
From: shiflett at php.net (Chris Shiflett)
Date: Thu, 09 Jun 2005 14:37:32 -0400
Subject: [nycphp-talk] Including CSS?
In-Reply-To: <20050609170459.GF2944@leitz.reuel.net>
References: <20050609170459.GF2944@leitz.reuel.net>
Message-ID: <42A88C6C.7050705@php.net>
leam at reuel.net wrote:
> The first way I saw to reference a CSS file was to have it in the
> section, like this:
>
> href="http://albasystemadmin.org/alba.css">
>
> But since i'm using include() on some files outside the docroot,
> is there a way to include the css file? Or does to have to be in
> the header?
Is your stylesheet within document root? If it is, the first method that
you mention is best. This lets the browser handle fetching the
stylesheet, so it can cache it and issue conditional GETs for subsequent
requests. This cuts down on your bandwidth consumption.
As per your specific question, just remember that PHP only cares about
PHP code - CSS, JavaScript, and HTML are all things you output with PHP
(or place outside of PHP blocks). This stuff is up to you.
Hope that helps.
Chris
--
Chris Shiflett
Brain Bulb, The PHP Consultancy
http://brainbulb.com/
From lists at zaunere.com Thu Jun 9 17:33:36 2005
From: lists at zaunere.com (Hans Zaunere)
Date: Thu, 9 Jun 2005 17:33:36 -0400
Subject: [nycphp-talk] Pitching PHP to a Java House
In-Reply-To: <42A873E4.7010509@php.net>
Message-ID: <0MKz1m-1DgUet1V6J-0000oL@mrelay.perfora.net>
> Another thing that I didn't see mentioned is that there isn't much Java
> at the very top (nor Microsoft for that matter). Look at the big boys:
> Yahoo, Google, Amazon, TicketMaster, etc. They all use different
> languages and platforms, but there is some common DNA in their solutions.
To be far, internet giants can't be compared with other industries. For example, the "enterprise" market, such as automotive, financial, and manufacturing, have a completely different take on technology than these internet behemoths. The internet pillars are technical institutions, and have technically savvy people by the dozens.
The classic enterprise, however, have a very different view, and thus rely on the sealed-and-delivered solutions like Java. But with backing from the blue-chips like IBM, PHP can integrate deep within these environments, thus reducing the do-it-yourself nature of open source, and providing the total solution non-technical enterprises expect.
---
Hans Zaunere
President, Founder
New York PHP
http://www.nyphp.org
AMP Technology
Supporting Apache, MySQL and PHP
From nasir81 at gmail.com Thu Jun 9 20:24:07 2005
From: nasir81 at gmail.com (Nasir Zubair)
Date: Thu, 9 Jun 2005 20:24:07 -0400
Subject: [nycphp-talk] Google Code of Summer
Message-ID: <40fcda73050609172457b179e8@mail.gmail.com>
Hi guys,
I just received an email regarding Google Code of Summer (links below)
program. However, it came through LispNYC.
I was wondering if NYPHP or Zend are participating in this program? I
do see Mambo on the list.
http://code.google.com/summfaq.html
http://code.google.com/summerofcode.html
--
Nasir Zubair
http://www.nasir.us/
From nasir81 at gmail.com Thu Jun 9 20:24:50 2005
From: nasir81 at gmail.com (Nasir Zubair)
Date: Thu, 9 Jun 2005 20:24:50 -0400
Subject: [nycphp-talk] Re: Google Code of Summer
In-Reply-To: <40fcda73050609172457b179e8@mail.gmail.com>
References: <40fcda73050609172457b179e8@mail.gmail.com>
Message-ID: <40fcda7305060917247518b63d@mail.gmail.com>
Doh, it should be Summer of Code :-)
On 6/9/05, Nasir Zubair wrote:
> Hi guys,
>
> I just received an email regarding Google Code of Summer (links below)
> program. However, it came through LispNYC.
>
> I was wondering if NYPHP or Zend are participating in this program? I
> do see Mambo on the list.
>
> http://code.google.com/summfaq.html
> http://code.google.com/summerofcode.html
>
>
> --
> Nasir Zubair
> http://www.nasir.us/
>
--
Nasir Zubair
http://www.nasir.us/
From adam at trachtenberg.com Thu Jun 9 21:26:08 2005
From: adam at trachtenberg.com (Adam Maccabee Trachtenberg)
Date: Thu, 9 Jun 2005 21:26:08 -0400 (EDT)
Subject: [nycphp-talk] Google Code of Summer
In-Reply-To: <40fcda73050609172457b179e8@mail.gmail.com>
References: <40fcda73050609172457b179e8@mail.gmail.com>
Message-ID:
On Thu, 9 Jun 2005, Nasir Zubair wrote:
> I just received an email regarding Google Code of Summer (links below)
> program. However, it came through LispNYC.
>
> I was wondering if NYPHP or Zend are participating in this program? I
> do see Mambo on the list.
Google got full and didn't have room for PHP or Zend.
-adam
--
adam at trachtenberg.com | http://www.trachtenberg.com
author of o'reilly's "upgrading to php 5" and "php cookbook"
avoid the holiday rush, buy your copies today!
From mitch.pirtle at gmail.com Thu Jun 9 21:44:25 2005
From: mitch.pirtle at gmail.com (Mitch Pirtle)
Date: Thu, 9 Jun 2005 21:44:25 -0400
Subject: [nycphp-talk] Google Code of Summer
In-Reply-To:
References: <40fcda73050609172457b179e8@mail.gmail.com>
Message-ID: <330532b6050609184471e5081f@mail.gmail.com>
On 6/9/05, Adam Maccabee Trachtenberg wrote:
> On Thu, 9 Jun 2005, Nasir Zubair wrote:
>
> > I was wondering if NYPHP or Zend are participating in this program? I
> > do see Mambo on the list.
>
> Google got full and didn't have room for PHP or Zend.
We jumped on the chance immediately, and barely made it. Looks like
this was a very popular idea, but tragic that PHP/Zend don't get to
participate.
OTOH there are several notable PHP projects that are participating,
which IMHO give a good show of the PHP community in general, as well
as the technology's importance in the open source universe :-)
-- Mitch
From shiflett at php.net Thu Jun 9 21:46:57 2005
From: shiflett at php.net (Chris Shiflett)
Date: Thu, 09 Jun 2005 21:46:57 -0400
Subject: [nycphp-talk] Pitching PHP to a Java House
In-Reply-To: <0MKz1m-1DgUet1V6J-0000oL@mrelay.perfora.net>
References: <0MKz1m-1DgUet1V6J-0000oL@mrelay.perfora.net>
Message-ID: <42A8F111.204@php.net>
Hans Zaunere wrote:
> To be fair, internet giants can't be compared with other industries.
I completely agree, but this was part of my point.
If I raced cars for a living, and I was in the market for a car to drive
around town, I might be looking at something like this:
http://www3.porsche.com/english/usa/carreragt/
If I was an average Joe, I might be more interested in this:
http://www.fordvehicles.com/cars/focus/
The latter is clearly more practical. With open source software, there
is no price barrier to deter anyone. So, we can all drive around with
Porsche Carrera GTs, even though very few of us can properly appreciate
such a machine. However, this doesn't justify the argument that Porsches
wreck too often, so it's better to stick with Ford.
Then again, maybe my analogies are too far-fetched. :-)
Chris
--
Chris Shiflett
Brain Bulb, The PHP Consultancy
http://brainbulb.com/
From leam at reuel.net Thu Jun 9 23:05:36 2005
From: leam at reuel.net (leam at reuel.net)
Date: Thu, 9 Jun 2005 23:05:36 -0400
Subject: [nycphp-talk] Including CSS?
In-Reply-To: <42A88022.4080309@phpwerx.net>
References: <20050609170459.GF2944@leitz.reuel.net>
<42A88022.4080309@phpwerx.net>
Message-ID: <20050610030536.GA2902@leitz.reuel.net>
I think this is the kicker--though I'd rather have the .css file not in the docroot I think the performance is a more desireable choice. Well, mostly. I'm just starting to use CSS and I'd rather figure it out now when there are only a couple requests per page instead of later.
Thanks!
leam
On Thu, Jun 09, 2005 at 01:45:06PM -0400, Dan Cech wrote:
> If you wish you can include a css file by putting something like
>
>
>
> However, this will mean that the css data has to be sent on each and
> every request. By using the link syntax the styles fie will only be
> fetched periodically assuming the client is using caching, and can also
> be cached by proxy servers, which will increase the performance of the
> site/application.
>
> Dan
>
> leam at reuel.net wrote:
> >The first way I saw to reference a CSS file was to have it in the
> >section, like this:
> >
> > >href="http://albasystemadmin.org/alba.css">
> >
> >But since i'm using include() on some files outside the docroot, is there
> >a way to include the css file? Or does to have to be in the header?
> >
> >ciao!
> >
> >leam
From damovand at yahoo.com Fri Jun 10 00:04:06 2005
From: damovand at yahoo.com (Leila Lappin)
Date: Thu, 9 Jun 2005 21:04:06 -0700 (PDT)
Subject: [nycphp-talk] Pitching PHP to a Java House (Part II)
Message-ID: <20050610040406.27209.qmail@web30810.mail.mud.yahoo.com>
Java is not an easy language to work with. If anyone
has the time and the interest you can validate this
for yourself. Java has a lot of features that can
bring a shop to a halt. For example garbage collection
is supposed to be one of those magical features of
Java, except there is caveat. The garbage collection
system reclaims a memory if and when the memory is
released. When is the memory released? That?s where
you have to watch out for traps and pitfalls, just
because you?re done with an object and it?s apparently
out of scope does not mean that it?s released. I saw
this happen at a Java shop I used work at, every day
at 12 noon the server went down! It took a few days
of intense debugging by the most senior level
developer to figure out the problem.
Just take a quick look at this one post from a popular
Java forum,
http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=24&t=027721
. There seems to be confusion over whether Java
passes by value or reference, and that is supposed to
be one of the most basic and fundamental rules of the
language, one of the features that made Java oh soo
soo.. much better than C++. Except it seems with all
the exceptions nobody is really sure when the rule
applies and when it doesn?t.
But Java was developed by Sun Corporation, so it has
the seal of approval of the big corporation bosses.
It didn?t hurt that Sun was in the news for years over
fighting with the big bad Microsoft to keep Java pure
and open (yawn). Plus, the CEOs and CTOs of
corporations that choose Java don?t have to worry
about the cost and time of development they already
solved that problem.
__________________________________
Discover Yahoo!
Stay in touch with email, IM, photo sharing and more. Check it out!
http://discover.yahoo.com/stayintouch.html
From lists at zaunere.com Fri Jun 10 03:30:21 2005
From: lists at zaunere.com (Hans Zaunere)
Date: Fri, 10 Jun 2005 03:30:21 -0400
Subject: [nycphp-talk] Google Code of Summer
In-Reply-To:
Message-ID: <0MKyxe-1DgdyA0br2-0002zt@mrelay.perfora.net>
> > I just received an email regarding Google Code of Summer (links below)
> > program. However, it came through LispNYC.
> >
> > I was wondering if NYPHP or Zend are participating in this program? I
> > do see Mambo on the list.
>
> Google got full and didn't have room for PHP or Zend.
That's ok - I wasn't looking forward to selling my soul to google anyway.
H
From photographyworks at netscape.net Fri Jun 10 09:05:03 2005
From: photographyworks at netscape.net (Serge Chabert)
Date: Fri, 10 Jun 2005 09:05:03 -0400
Subject: [nycphp-talk] Problems After Install Of Xammp. Help Please
Message-ID: <63306637.0162CC8C.4D4F7EAF@netscape.net>
i installed xampp on my computer and when i go to http://localhost. it seems to work
however, how do i set up the configuration file so that i can have access to the pages of my websites tests.
this is when i type http://localhost/mywebsite that it shows the file list instead of showing the index.htm page.
before i installed Xammp, the document root was var/www/html (where all my websites folder were located) but since i i installed Xammp, the document root seemed to have become, somehow, /opt/lampp/htdocs/. if i leave my websites folder in var/www/html and i type http://localhost/something, it says not present on the server. when i move the website folder in /opt/lampp/htdocs/ and i type http://localhost/something, then it display the directory contents of the folder without launching the index.htm file to display the page.
Furthrermore, i was able to enter in phpmyadmin, but when i want to create a new database, it tells me :
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
any idea what is wrong ?
i tried to add privileges, but it is the same thing after that.
Is there any tutorial that explain how to setup the configuration files :
/opt/lampp/etc/httpd.conf The Apache configuration file.
/opt/lampp/etc/my.cnf The MySQL configuration file.
/opt/lampp/etc/php.ini The PHP configuration file.
/opt/lampp/etc/proftpd.conf The ProFTPD configuration file. (since 0.9.5)
/opt/lampp/phpmyadmin/config.inc.php The phpMyAdmin configuration file
Help please !!!!!!
MY configuration :
Linux Mandriva 2005
XAMPP Linux 1.4.13 (Apache 2.0.53, MySQL 4.1.11, PHP 5.0.4 & 4.3.11 & PEAR + SQLite 2.8.9/2.8.14 + multibyte (mbstring) support, Perl 5.8.6, ProFTPD 1.2.10, phpMyAdmin 2.6.1-pl3, OpenSSL 0.9.7d, GD 2.0.1, Freetype2 2.1.7, libjpeg 6b, libpng 1.2.7, gdbm 1.8.0, zlib 1.1.4, expat 1.2, Sablotron 1.0, libxml 2.4.26, Ming 0.2a, Webalizer 2.01, pdf class 009e, ncurses 5.8, mod_perl 2.0.0-RC4, FreeTDS 0.62.4, gettext 0.11.5, IMAP C-Client 2002b, OpenLDAP (client) 2.2.13, mcrypt 2.5.7, mhash 0.8.18, eAccelerator 0.9.2a, cURL 7.13.1, libxslt 1.1.8, phpSQLiteAdmin 0.2, libapreq 2.04-dev)
MD5 checsum: 65643bf5cac992f455b89d06ba8ee267
__________________________________________________________________
Switch to Netscape Internet Service.
As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register
Netscape. Just the Net You Need.
New! Netscape Toolbar for Internet Explorer
Search from anywhere on the Web and block those annoying pop-ups.
Download now at http://channels.netscape.com/ns/search/install.jsp
From chsnyder at gmail.com Fri Jun 10 10:01:42 2005
From: chsnyder at gmail.com (csnyder)
Date: Fri, 10 Jun 2005 10:01:42 -0400
Subject: [nycphp-talk] Problems After Install Of Xammp. Help Please
In-Reply-To: <63306637.0162CC8C.4D4F7EAF@netscape.net>
References: <63306637.0162CC8C.4D4F7EAF@netscape.net>
Message-ID:
On 6/10/05, Serge Chabert wrote:
> this is when i type http://localhost/mywebsite that it shows the file list instead of showing the index.htm page.
In /opt/lampp/etc/httpd.conf you need to change the DirectoryIndex
directive so that it looks for index.htm as well as index.html
>
> before i installed Xammp, the document root was var/www/html (where all my websites folder were located) but since i i installed Xammp, the document root seemed to have become, somehow, /opt/lampp/htdocs/.
Check the DocumentRoot setting in opt/lampp/etc/httpd.conf -- Xammp
does not use your system httpd.conf, it uses its own. So yes, none of
your previous settings apply now.
From patrick.fee at baesystems.com Fri Jun 10 10:41:39 2005
From: patrick.fee at baesystems.com (Fee, Patrick J (US SSA))
Date: Fri, 10 Jun 2005 10:41:39 -0400
Subject: [nycphp-talk] Problems After Install Of Xammp. Help Please
Message-ID: <728813C3358BF04CB3A3DA2341D44A710285D443@e2k11.na.baesystems.com>
You have 2 issues here. Once is changing the default directory for
Apache.
The second is the default page within that directory (e.g.: default.html
or index.php or index.html).
First, the default directory issue.
XAMPP is set up to install in its own directory structure. According to
the literature this is to make it easy if you wish to remove it:
"If you decide that XAMPP isn't needed any more just delete the XAMPP
directory and it's completely removed from your system."
-http://www.apachefriends.org/en/xampp.html
To change that you need to change the default directory in your Apache
config file. (Although the default location is usually " var/www/html",
so xampp must have changed it...) That can usually be found in the
following directory structure:
apache/conf/httpd.conf
To change the default directory (e.g.:DocumentRoot from
"/opt/lampp/htdocs/" to "var/www/html" Add the following:
# Changing default None to All in next line, to enable .htaccess
AllowOverride All
Allow From All
Options ExecCGI
SetHandler cgi-script
Second is the default FILE issue:
However, you may change these default settings if you edit the
/etc/httpd/conf/httpd.conf file in this section:
#
# DirectoryIndex: Name of the file or files to use as a pre-written HTML
# directory index. Separate multiple entries with spaces.
#
DirectoryIndex index.html index.htm index.shtml index.php ...
Obviously there may be differences in different versions of Apache, and
I haven't really delved into XAMMP yet. But I hope this helps a bit.
pjf
Patrick J. Fee
IT Software Analysis Solutions Group Manager
13900 Connecticut Avenue
Silver Spring, MD 20906-2919
Tel: (202) 231-1418
Cel: (240) 401-6820
Patrick.Fee at BAESystems.com
-----Original Message-----
From: talk-bounces at lists.nyphp.org [mailto:talk-bounces at lists.nyphp.org]
On Behalf Of Serge Chabert
Sent: Friday, June 10, 2005 9:05 AM
To: talk at lists.nyphp.org
Subject: [nycphp-talk] Problems After Install Of Xammp. Help Please
i installed xampp on my computer and when i go to http://localhost. it
seems to work
however, how do i set up the configuration file so that i can have
access to the pages of my websites tests.
this is when i type http://localhost/mywebsite that it shows the file
list instead of showing the index.htm page.
before i installed Xammp, the document root was var/www/html (where all
my websites folder were located) but since i i installed Xammp, the
document root seemed to have become, somehow, /opt/lampp/htdocs/. if i
leave my websites folder in var/www/html and i type
http://localhost/something, it says not present on the server. when i
move the website folder in /opt/lampp/htdocs/ and i type
http://localhost/something, then it display the directory contents of
the folder without launching the index.htm file to display the page.
Furthrermore, i was able to enter in phpmyadmin, but when i want to
create a new database, it tells me :
#1064 - You have an error in your SQL syntax; check the manual that
corresponds to your MySQL server version for the right syntax to use
near '' at line 1
any idea what is wrong ?
i tried to add privileges, but it is the same thing after that.
Is there any tutorial that explain how to setup the configuration files
:
/opt/lampp/etc/httpd.conf The Apache configuration file.
/opt/lampp/etc/my.cnf The MySQL configuration file.
/opt/lampp/etc/php.ini The PHP configuration file.
/opt/lampp/etc/proftpd.conf The ProFTPD configuration file. (since
0.9.5)
/opt/lampp/phpmyadmin/config.inc.php The phpMyAdmin configuration file
Help please !!!!!!
MY configuration :
Linux Mandriva 2005
XAMPP Linux 1.4.13 (Apache 2.0.53, MySQL 4.1.11, PHP 5.0.4 & 4.3.11 &
PEAR + SQLite 2.8.9/2.8.14 + multibyte (mbstring) support, Perl 5.8.6,
ProFTPD 1.2.10, phpMyAdmin 2.6.1-pl3, OpenSSL 0.9.7d, GD 2.0.1,
Freetype2 2.1.7, libjpeg 6b, libpng 1.2.7, gdbm 1.8.0, zlib 1.1.4, expat
1.2, Sablotron 1.0, libxml 2.4.26, Ming 0.2a, Webalizer 2.01, pdf class
009e, ncurses 5.8, mod_perl 2.0.0-RC4, FreeTDS 0.62.4, gettext 0.11.5,
IMAP C-Client 2002b, OpenLDAP (client) 2.2.13, mcrypt 2.5.7, mhash
0.8.18, eAccelerator 0.9.2a, cURL 7.13.1, libxslt 1.1.8, phpSQLiteAdmin
0.2, libapreq 2.04-dev)
MD5 checsum: 65643bf5cac992f455b89d06ba8ee267
__________________________________________________________________
Switch to Netscape Internet Service.
As low as $9.95 a month -- Sign up today at
http://isp.netscape.com/register
Netscape. Just the Net You Need.
New! Netscape Toolbar for Internet Explorer
Search from anywhere on the Web and block those annoying pop-ups.
Download now at http://channels.netscape.com/ns/search/install.jsp
_______________________________________________
New York PHP Talk Mailing List
AMP Technology
Supporting Apache, MySQL and PHP
http://lists.nyphp.org/mailman/listinfo/talk
http://www.nyphp.org
From patrick.fee at baesystems.com Fri Jun 10 10:51:37 2005
From: patrick.fee at baesystems.com (Fee, Patrick J (US SSA))
Date: Fri, 10 Jun 2005 10:51:37 -0400
Subject: [nycphp-talk] Problems After Install Of Xammp. Help Please
Message-ID: <728813C3358BF04CB3A3DA2341D44A710285D44A@e2k11.na.baesystems.com>
Thanks, I did not know that Xammp sets up it's own httpd.conf. But that
make sense, considering the ability to remove it by simply deleting the
directory structure.
DO you like using Xammp?
Patrick J. Fee
IT Software Analysis Solutions Group Manager
13900 Connecticut Avenue
Silver Spring, MD 20906-2919
Tel: (202) 231-1418
Cel: (240) 401-6820
Patrick.Fee at BAESystems.com
-----Original Message-----
From: talk-bounces at lists.nyphp.org [mailto:talk-bounces at lists.nyphp.org]
On Behalf Of csnyder
Sent: Friday, June 10, 2005 10:02 AM
To: NYPHP Talk
Subject: Re: [nycphp-talk] Problems After Install Of Xammp. Help Please
On 6/10/05, Serge Chabert wrote:
> this is when i type http://localhost/mywebsite that it shows the file
list instead of showing the index.htm page.
In /opt/lampp/etc/httpd.conf you need to change the DirectoryIndex
directive so that it looks for index.htm as well as index.html
>
> before i installed Xammp, the document root was var/www/html (where
all my websites folder were located) but since i i installed Xammp, the
document root seemed to have become, somehow, /opt/lampp/htdocs/.
Check the DocumentRoot setting in opt/lampp/etc/httpd.conf -- Xammp
does not use your system httpd.conf, it uses its own. So yes, none of
your previous settings apply now.
_______________________________________________
New York PHP Talk Mailing List
AMP Technology
Supporting Apache, MySQL and PHP
http://lists.nyphp.org/mailman/listinfo/talk
http://www.nyphp.org
From lists at neoncowboy.com Fri Jun 10 14:59:09 2005
From: lists at neoncowboy.com (John Corry)
Date: Fri, 10 Jun 2005 14:59:09 -0400
Subject: [nycphp-talk] Geocoder and PHP
Message-ID: <20050610190139.B0D9BA86DE@virtu.nyphp.org>
Attn: cross posted to ATLPHP
I am working on a project that will require running about 3500 street
addresses through a geocoder application to return lat/long pairs.
My first idea was to use cURL to post the address to the http://geocoder.us/
site...once for each address, parsing the returned result to get lat/long
and store those with the address record in my db.
I haven't tried it yet because a quiet but persistent voice is whispering to
me that looping through 3500 records and opening a cURL session to another
website to screen-scrape the results is somehow not a good idea...for my
server or theirs. I don't know enough about all of the issues to be able to
articulate why (perhaps you want to enlighten me)...just that it seems like
a bad idea.
Does anyone know a better way? I can't pay for a commercial service for this
but if there's a faster, more efficient means of usign the free services
available I'd appreciate hearing about it.
Thanks,
John Corry
From edwardpotter at gmail.com Fri Jun 10 15:07:16 2005
From: edwardpotter at gmail.com (edward potter)
Date: Fri, 10 Jun 2005 15:07:16 -0400
Subject: [nycphp-talk] Geocoder and PHP
In-Reply-To: <20050610190139.B0D9BA86DE@virtu.nyphp.org>
References: <20050610190139.B0D9BA86DE@virtu.nyphp.org>
Message-ID:
I think these days, 3500 hits is a drop in the bucket. Maybe if u did
a few million someone would call the boss, but for 3500, I doubt it.
-ed
On 6/10/05, John Corry wrote:
> Attn: cross posted to ATLPHP
>
> I am working on a project that will require running about 3500 street
> addresses through a geocoder application to return lat/long pairs.
>
> My first idea was to use cURL to post the address to the http://geocoder.us/
> site...once for each address, parsing the returned result to get lat/long
> and store those with the address record in my db.
>
> I haven't tried it yet because a quiet but persistent voice is whispering to
> me that looping through 3500 records and opening a cURL session to another
> website to screen-scrape the results is somehow not a good idea...for my
> server or theirs. I don't know enough about all of the issues to be able to
> articulate why (perhaps you want to enlighten me)...just that it seems like
> a bad idea.
>
> Does anyone know a better way? I can't pay for a commercial service for this
> but if there's a faster, more efficient means of usign the free services
> available I'd appreciate hearing about it.
>
> Thanks,
> John Corry
>
>
> _______________________________________________
> New York PHP Talk Mailing List
> AMP Technology
> Supporting Apache, MySQL and PHP
> http://lists.nyphp.org/mailman/listinfo/talk
> http://www.nyphp.org
>
From edwardpotter at gmail.com Fri Jun 10 15:09:13 2005
From: edwardpotter at gmail.com (edward potter)
Date: Fri, 10 Jun 2005 15:09:13 -0400
Subject: [nycphp-talk] Geocoder and PHP
In-Reply-To: <20050610190139.B0D9BA86DE@virtu.nyphp.org>
References: <20050610190139.B0D9BA86DE@virtu.nyphp.org>
Message-ID:
O, wait, take that back! They do have a plan, 20,000 lookups for $50.
On 6/10/05, John Corry wrote:
> Attn: cross posted to ATLPHP
>
> I am working on a project that will require running about 3500 street
> addresses through a geocoder application to return lat/long pairs.
>
> My first idea was to use cURL to post the address to the http://geocoder.us/
> site...once for each address, parsing the returned result to get lat/long
> and store those with the address record in my db.
>
> I haven't tried it yet because a quiet but persistent voice is whispering to
> me that looping through 3500 records and opening a cURL session to another
> website to screen-scrape the results is somehow not a good idea...for my
> server or theirs. I don't know enough about all of the issues to be able to
> articulate why (perhaps you want to enlighten me)...just that it seems like
> a bad idea.
>
> Does anyone know a better way? I can't pay for a commercial service for this
> but if there's a faster, more efficient means of usign the free services
> available I'd appreciate hearing about it.
>
> Thanks,
> John Corry
>
>
> _______________________________________________
> New York PHP Talk Mailing List
> AMP Technology
> Supporting Apache, MySQL and PHP
> http://lists.nyphp.org/mailman/listinfo/talk
> http://www.nyphp.org
>
From dcech at phpwerx.net Fri Jun 10 15:16:52 2005
From: dcech at phpwerx.net (Dan Cech)
Date: Fri, 10 Jun 2005 15:16:52 -0400
Subject: [nycphp-talk] Geocoder and PHP
In-Reply-To: <20050610190139.B0D9BA86DE@virtu.nyphp.org>
References: <20050610190139.B0D9BA86DE@virtu.nyphp.org>
Message-ID: <42A9E724.8050105@phpwerx.net>
Apparently their web service is based on this cpan module.
http://search.cpan.org/~sderle/Geo-Coder-US/
You should be able to cook up a perl frontend script you can call to do
the lookups pretty easily.
Dan
John Corry wrote:
> Attn: cross posted to ATLPHP
>
> I am working on a project that will require running about 3500 street
> addresses through a geocoder application to return lat/long pairs.
>
> My first idea was to use cURL to post the address to the http://geocoder.us/
> site...once for each address, parsing the returned result to get lat/long
> and store those with the address record in my db.
>
> I haven't tried it yet because a quiet but persistent voice is whispering to
> me that looping through 3500 records and opening a cURL session to another
> website to screen-scrape the results is somehow not a good idea...for my
> server or theirs. I don't know enough about all of the issues to be able to
> articulate why (perhaps you want to enlighten me)...just that it seems like
> a bad idea.
>
> Does anyone know a better way? I can't pay for a commercial service for this
> but if there's a faster, more efficient means of usign the free services
> available I'd appreciate hearing about it.
>
> Thanks,
> John Corry
>
>
> _______________________________________________
> New York PHP Talk Mailing List
> AMP Technology
> Supporting Apache, MySQL and PHP
> http://lists.nyphp.org/mailman/listinfo/talk
> http://www.nyphp.org
From rolan at omnistep.com Fri Jun 10 15:37:36 2005
From: rolan at omnistep.com (Rolan Yang)
Date: Fri, 10 Jun 2005 15:37:36 -0400
Subject: [nycphp-talk] Geocoder and PHP
In-Reply-To: <20050610190139.B0D9BA86DE@virtu.nyphp.org>
References: <20050610190139.B0D9BA86DE@virtu.nyphp.org>
Message-ID: <42A9EC00.3070403@omnistep.com>
Heh, for 3500, I would just go ahead and scrape it.
Once I wrote an app which, when given a street address, would fetch and
scrape zip+4 results from the usps.gov website.
It worked without a hitch until google and yahoo linked it from their
front page.. around noon, the app stopped working..
and so did the entire usps.gov website. A minute later my client was on
the phone informing me that the postmaster general called and was going
to shut them down for DOS'ing the servers.
~Rolan
John Corry wrote:
>Attn: cross posted to ATLPHP
>
>I am working on a project that will require running about 3500 street
>addresses through a geocoder application to return lat/long pairs.
>
>My first idea was to use cURL to post the address to the http://geocoder.us/
>site...once for each address, parsing the returned result to get lat/long
>and store those with the address record in my db.
>
>
>
From lists at neoncowboy.com Fri Jun 10 15:47:46 2005
From: lists at neoncowboy.com (John Corry)
Date: Fri, 10 Jun 2005 15:47:46 -0400
Subject: [nycphp-talk] Geocoder and PHP
In-Reply-To: <42A9EC00.3070403@omnistep.com>
Message-ID: <20050610195019.8150AA86DE@virtu.nyphp.org>
> around noon, the app stopped working..
> and so did the entire usps.gov website. A minute later my
> client was on the phone informing me that the postmaster
> general called and was going to shut them down for DOS'ing
> the servers.
Lol
From danielc at analysisandsolutions.com Fri Jun 10 19:05:38 2005
From: danielc at analysisandsolutions.com (Daniel Convissor)
Date: Fri, 10 Jun 2005 19:05:38 -0400
Subject: [nycphp-talk] php in SecurityFocus Newsletter #302
Message-ID: <20050610230538.GA15965@panix.com>
SecurityFocus Newsletter #302
APPLICATIONS USING PHP
----------------------
Shop-Script CategoryID SQL Injection Vulnerability
http://www.securityfocus.com/bid/13633
Shop-Script ProductID SQL Injection Vulnerability
http://www.securityfocus.com/bid/13635
PostNuke Blocks Module Directory Traversal Vulnerability
http://www.securityfocus.com/bid/13636
WoltLab Burning Board Verify_email Function SQL Injection Vu...
http://www.securityfocus.com/bid/13643
NPDS THOLD Parameter SQL Injection Vulnerability
http://www.securityfocus.com/bid/13649
JGS-Portal Multiple Cross-Site Scripting and SQL Injection V...
http://www.securityfocus.com/bid/13650
Wordpress WP-Trackback.PHP SQL Injection Vulnerability
http://www.securityfocus.com/bid/13655
SafeHTML Quotes Handling Security Bypass Vulnerability
http://www.securityfocus.com/bid/13659
Wordpress Post.PHP Cross-Site Scripting Vulnerability
http://www.securityfocus.com/bid/13663
Wordpress Edit.PHP Cross-Site Scripting Vulnerability
http://www.securityfocus.com/bid/13664
Help Center Live Multiple Input Validation Vulnerabilities
http://www.securityfocus.com/bid/13666
Help Center Live Administrator Command Execution Vulnerability
http://www.securityfocus.com/bid/13667
S9Y Serendipity Multiple Unspecified Remote Vulnerabilities
http://www.securityfocus.com/bid/13669
PROMS Multiple Unspecified HTML Injection Vulnerabilities
http://www.securityfocus.com/bid/13673
PROMS Project Members Unauthorized Access Vulnerability
http://www.securityfocus.com/bid/13674
Core CMS Unspecified Security Vulnerability
http://www.securityfocus.com/bid/13675
PHP Advanced Transfer Manager Arbitrary File Include Vulnerability
http://www.securityfocus.com/bid/13691
EJ3 TOPo Multiple Index.PHP Cross-Site Scripting Vulnerability
http://www.securityfocus.com/bid/13700
EJ3 TOPo Comments Multiple HTML Injection Vulnerabilities
http://www.securityfocus.com/bid/13701
RELATED STUFF
-------------
MySQL mysql_install_db Insecure Temporary File Creation Vulnerability
http://www.securityfocus.com/bid/13660
MySQL versions prior to 4.0.12 and MySQL 5.x releases 5.0.4 and
prior versions are reported to be affected.
--
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
data intensive web and database programming
http://www.AnalysisAndSolutions.com/
4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409
From kenrbnsn at rbnsn.com Fri Jun 10 19:18:27 2005
From: kenrbnsn at rbnsn.com (Ken Robinson)
Date: Fri, 10 Jun 2005 19:18:27 -0400
Subject: [nycphp-talk] Geocoder and PHP
In-Reply-To: <20050610190139.B0D9BA86DE@virtu.nyphp.org>
References: <20050610190139.B0D9BA86DE@virtu.nyphp.org>
Message-ID: <6.2.3.0.2.20050610190505.024a31c8@mail.rbnsn.com>
At 02:59 PM 6/10/2005, John Corry wrote:
>I am working on a project that will require running about 3500 street
>addresses through a geocoder application to return lat/long pairs.
>
>My first idea was to use cURL to post the address to the http://geocoder.us/
>site...once for each address, parsing the returned result to get lat/long
>and store those with the address record in my db.
This request intrigued me, since I've been looking at creating an
interface to Google maps via PHP and I needed to get lat/long points
for the addresses currently in my database. My first attempt was to
use a query to Google Maps, capture the output and use preg_replace
on the returned XML string to extract the lat/long pair. Looking at
http://geocoder.us/ I saw that one use SOAP, XML-RPC, and REST-ful
RDF clients to get the information. I chose to use the RDF method,
since it returns the shortest string. I then used the miniXML
package to turn the
returned XML string into an associative array.
Here's the code I used:
include('./minixml.inc.php');
set_time_limit(0); // the code took a long time to go out and back
function get_lat_long($q) { // $q is the address string with ZIP code
$xmlDoc = new MiniXMLDoc();
$gm = fopen('http://rpc.geocoder.us/service/rest?address=' .
str_replace(' ','%20',$q),'r');
$tmp = @fread($gm,30000);
fclose($gm);
//
// I probably should do some error checking here to make sure I got
an XML string
//
$xmlDoc->fromString($tmp);
$tmpa = $xmlDoc->toArray();
return(array($tmpa['rdf:RDF']['geo:Point']['geo:lat'],$tmpa['rdf:RDF']['geo:Point']['geo:long']));
}
?>
I wrote and debugged this in less than an hour.
Ken Robinson
kenrbnsn at rbnsn.com
PS ... I'm looking for freelance/contract/permanent PHP work
From stephen at musgrave.org Sat Jun 11 19:49:09 2005
From: stephen at musgrave.org (Stephen Musgrave)
Date: Sat, 11 Jun 2005 19:49:09 -0400
Subject: [nycphp-talk] Taproot
Message-ID:
For those looking to use your skills for volunteer endeavors, take a
look at Taproot Foundation, a non-profit that awards services grants
that are fulfilled by professionals. I've recently heard that they are
running low on technical volunteers.
http://www.taprootfoundation.org/
Taproot has more of a marketing agency model than a technology model.
I've been on two projects with them, and it hardly gets more complex
than HTML, CSS and mailto form. This might not seem to exciting for
some of you, but the whole process of going through a well-defined
project provides complementary insights (training).
Thanks,
Stephen
???????????????????????????????
email: stephen at musgrave.org
web: http://stephen.musgrave.org/career
office: 917.721.3378
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 867 bytes
Desc: not available
URL:
From codebowl at gmail.com Sun Jun 12 13:39:03 2005
From: codebowl at gmail.com (Joseph Crawford)
Date: Sun, 12 Jun 2005 13:39:03 -0400
Subject: [nycphp-talk] [OT] Attn David Sklar and others
Message-ID: <8d9a42800506121039159d070e@mail.gmail.com>
are these legit books? or is this guy selling these things illegally?
http://www.shopping.rodneysaleh.com/
--
Joseph Crawford Jr.
Codebowl Solutions
codebowl at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From rolan at omnistep.com Sun Jun 12 14:01:20 2005
From: rolan at omnistep.com (Rolan Yang)
Date: Sun, 12 Jun 2005 14:01:20 -0400
Subject: [nycphp-talk] [OT] Attn David Sklar and others
In-Reply-To: <8d9a42800506121039159d070e@mail.gmail.com>
References: <8d9a42800506121039159d070e@mail.gmail.com>
Message-ID: <42AC7870.5010107@omnistep.com>
hrm..
Registrant:
rodney saleh
jerusalem
jerusalem, il 98700
IL
Registrar: NAMESDIRECT
Domain Name: RODNEYSALEH.COM
Created on: 08-MAR-05
Expires on: 08-MAR-06
Last Updated on: 08-MAR-05
Administrative, Technical Contact:
saleh, rodney rodney25 at hotmail.com
jerusalem
jerusalem, il 98700
IL
972547578190
Joseph Crawford wrote:
> are these legit books? or is this guy selling these things illegally?
>
> http://www.shopping.rodneysaleh.com/
>
> --
> Joseph Crawford Jr.
> Codebowl Solutions
> codebowl at gmail.com
>
>------------------------------------------------------------------------
>
>_______________________________________________
>New York PHP Talk Mailing List
>AMP Technology
>Supporting Apache, MySQL and PHP
>http://lists.nyphp.org/mailman/listinfo/talk
>http://www.nyphp.org
>
From nasir81 at gmail.com Sun Jun 12 14:04:42 2005
From: nasir81 at gmail.com (Nasir Zubair)
Date: Sun, 12 Jun 2005 14:04:42 -0400
Subject: [nycphp-talk] [OT] Attn David Sklar and others
In-Reply-To: <8d9a42800506121039159d070e@mail.gmail.com>
References: <8d9a42800506121039159d070e@mail.gmail.com>
Message-ID: <40fcda730506121104552a1681@mail.gmail.com>
As far as I know, Electronic versions of O'reilly books are only
available through their Safari service for online reading (or chpater
based downloads). So, I don't think those are legit. Can't say about
the others.
On 6/12/05, Joseph Crawford wrote:
> are these legit books? or is this guy selling these things illegally?
>
> http://www.shopping.rodneysaleh.com/
>
> --
> Joseph Crawford Jr.
> Codebowl Solutions
> codebowl at gmail.com
> _______________________________________________
> New York PHP Talk Mailing List
> AMP Technology
> Supporting Apache, MySQL and PHP
> http://lists.nyphp.org/mailman/listinfo/talk
> http://www.nyphp.org
>
>
--
Nasir Zubair
http://www.nasir.us/
From leam at reuel.net Sun Jun 12 14:23:23 2005
From: leam at reuel.net (leam at reuel.net)
Date: Sun, 12 Jun 2005 14:23:23 -0400
Subject: [nycphp-talk] [OT] Attn David Sklar and others
In-Reply-To: <40fcda730506121104552a1681@mail.gmail.com>
References: <8d9a42800506121039159d070e@mail.gmail.com>
<40fcda730506121104552a1681@mail.gmail.com>
Message-ID: <20050612182323.GA2905@leitz.reuel.net>
Joseph, you might want to contact O'Reilly then, as you are the discoverer.
ciao!
leam
On Sun, Jun 12, 2005 at 02:04:42PM -0400, Nasir Zubair wrote:
> As far as I know, Electronic versions of O'reilly books are only
> available through their Safari service for online reading (or chpater
> based downloads). So, I don't think those are legit. Can't say about
> the others.
>
>
> On 6/12/05, Joseph Crawford wrote:
> > are these legit books? or is this guy selling these things illegally?
> >
> > http://www.shopping.rodneysaleh.com/
> >
> > --
> > Joseph Crawford Jr.
> > Codebowl Solutions
> > codebowl at gmail.com
From adam at trachtenberg.com Sun Jun 12 17:07:16 2005
From: adam at trachtenberg.com (Adam Maccabee Trachtenberg)
Date: Sun, 12 Jun 2005 17:07:16 -0400 (EDT)
Subject: [nycphp-talk] [OT] Attn David Sklar and others
In-Reply-To: <20050612182323.GA2905@leitz.reuel.net>
References: <8d9a42800506121039159d070e@mail.gmail.com>
<40fcda730506121104552a1681@mail.gmail.com>
<20050612182323.GA2905@leitz.reuel.net>
Message-ID:
I will forward this to them.
-adam
On Sun, 12 Jun 2005 leam at reuel.net wrote:
> Joseph, you might want to contact O'Reilly then, as you are the discoverer.
>
> ciao!
>
> leam
>
> On Sun, Jun 12, 2005 at 02:04:42PM -0400, Nasir Zubair wrote:
> > As far as I know, Electronic versions of O'reilly books are only
> > available through their Safari service for online reading (or chpater
> > based downloads). So, I don't think those are legit. Can't say about
> > the others.
> >
> >
> > On 6/12/05, Joseph Crawford wrote:
> > > are these legit books? or is this guy selling these things illegally?
> > >
> > > http://www.shopping.rodneysaleh.com/
> > >
> > > --
> > > Joseph Crawford Jr.
> > > Codebowl Solutions
> > > codebowl at gmail.com
> _______________________________________________
> New York PHP Talk Mailing List
> AMP Technology
> Supporting Apache, MySQL and PHP
> http://lists.nyphp.org/mailman/listinfo/talk
> http://www.nyphp.org
>
--
adam at trachtenberg.com | http://www.trachtenberg.com
author of o'reilly's "upgrading to php 5" and "php cookbook"
avoid the holiday rush, buy your copies today!
From codebowl at gmail.com Sun Jun 12 18:43:43 2005
From: codebowl at gmail.com (Joseph Crawford)
Date: Sun, 12 Jun 2005 18:43:43 -0400
Subject: [nycphp-talk] [OT] Attn David Sklar and others
In-Reply-To:
References: <8d9a42800506121039159d070e@mail.gmail.com>
<40fcda730506121104552a1681@mail.gmail.com>
<20050612182323.GA2905@leitz.reuel.net>
Message-ID: <8d9a428005061215433fdf3cba@mail.gmail.com>
thanks adam ;)
this guy was selling on ebay that's how i found the site.
--
Joseph Crawford Jr.
Codebowl Solutions
codebowl at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From lists at natserv.com Sun Jun 12 18:46:02 2005
From: lists at natserv.com (Francisco Reyes)
Date: Sun, 12 Jun 2005 18:46:02 -0400 (EDT)
Subject: [nycphp-talk] [OT] Consulting work
In-Reply-To: <330532b605060308016968520@mail.gmail.com>
References: <30073-43035@sneakemail.com>
<330532b605060308016968520@mail.gmail.com>
Message-ID: <20050612183357.J55840@zoraida.natserv.net>
On Fri, 3 Jun 2005, Mitch Pirtle wrote:
> There is the balancing act. If you push too high on the hourly rate,
> the client will then push you to get the whole thing done in an hour
The way I see it, it's all about risk.
Hourly rate. The customer takes all the risk.
Fixed rate. The consultant takes all the risk.
I have not found much middle ground.
There are different strategies to try and reduce risk, but who carries the
risk, on my experience, doesn't change easily.
From fields at hedge.net Sun Jun 12 19:31:37 2005
From: fields at hedge.net (Adam Fields)
Date: Sun, 12 Jun 2005 19:31:37 -0400
Subject: [nycphp-talk] [OT] Consulting work
In-Reply-To: <20050612183357.J55840@zoraida.natserv.net>
References: <30073-43035@sneakemail.com>
<330532b605060308016968520@mail.gmail.com>
<20050612183357.J55840@zoraida.natserv.net>
Message-ID: <20050612233136.GA24031@lola.aquick.org>
On Sun, Jun 12, 2005 at 06:46:02PM -0400, Francisco Reyes wrote:
> The way I see it, it's all about risk.
On this, I agree, but I think your black and whites below are too
black and white.
> Hourly rate. The customer takes all the risk.
That depends. Do you have accurate specs and reasonable estimates? In
my experience, the upfront work done to make hourly contracts work
makes for better projects with higher customer satisfaction at the
end. It also results in happier consultants, who don't feel like
they're getting nickel-and-dimed all the time.
If you don't trust your consultant to do the work as efficiently as
possible, don't hire that person.
> Fixed rate. The consultant takes all the risk.
Depends. Again, in my experience, fixed rate bids are often heavily
padded, because the consultant assumes they're going to get screwed.
I work almost exclusively hourly, and if I finish something early, I
always bill less than the estimate. Yes, this has happened a few
times, and when it does, it's actually cheaper for the client.
Either way, I get paid for work I actually do.
--
- Adam
** I can fix your database problems: http://www.everylastounce.com/mysql.html **
Blog............... [ http://www.aquick.org/blog ]
Links.............. [ http://del.icio.us/fields ]
Photos............. [ http://www.aquick.org/photoblog ]
Experience......... [ http://www.adamfields.com/resume.html ]
Product Reviews: .. [ http://www.buyadam.com/blog ]
From 1j0lkq002 at sneakemail.com Sun Jun 12 20:00:55 2005
From: 1j0lkq002 at sneakemail.com (inforequest)
Date: Sun, 12 Jun 2005 20:00:55 -0400 (GMT-04:00)
Subject: [nycphp-talk] [OT] Consulting work
Message-ID: <31627-63945@sneakemail.com>
Sensible discussion.
I disagree about the risk part. If the consultant takes on too much risk, such as might happen with a loosely-defined, fixed-price project, it is risky for the client. In that case, who took on the risk?
It costs money to make careful, detailed specs. That effort has to be covered somewhere -- is it a product of a prior loss (client's last project failed, but now they know what they want) or is it fruit of the consultant's expertise and experience (in which case her rate should be commensurate, no?). There is no free lunch.
Also detailed, careful specs preclude much of the creative/techno-creative input a consultant can have. If bound to a spec, then sure -- it goes well, but many consultants want to contribute creative solutions and not just code to specs.
Bottom line is satisfy the client, no? If the client knows what she wants, then do the work for hire. If the client doesn't, then help her define it, for hire, or perhaps choose to limit your scope of involvement until the project is well-defined.
Just be sure not to choose to do a project that is not defined, or define a project for free (perhaps expecting to get the build). That way you either work on well-defined projects, or work on defining projects.
As a hirer/manager I prefer to pay hourly rate for technical services, commensurate with knowledge, skills, and experience. Then I apply frequent checks of work against desired product, which requires me to project manage in light of project goals and objectives (blasphemy!). It permits market rates for services, with the good guys able to charge higher rates -- which is fine, because I also don't buy large blocks of time. I bear the risk, because it is my project, and the consultant bears the risk of reputation and uncertain employment -- as usual.
Most of the problems I see are between naive clients who don't manage and don't hire a manager, and consultants who took on ill-defined work or work that looked like a loser, hoping to convert it somehow or perhaps bail if it got too bad (or something better came along).
Caveat emptor. Nothing new here, move along...nothing to see.
-=john andrews
-----Original Message-----
From:
"Adam Fields fields-at-hedge.net |nyphp dev/internal group use|" <...>
Sent: Jun 12, 2005 7:31 PM
To: NYPHP Talk
Subject: Re: [nycphp-talk] [OT] Consulting work
On Sun, Jun 12, 2005 at 06:46:02PM -0400, Francisco Reyes wrote:
> The way I see it, it's all about risk.
On this, I agree, but I think your black and whites below are too
black and white.
> Hourly rate. The customer takes all the risk.
That depends. Do you have accurate specs and reasonable estimates? In
my experience, the upfront work done to make hourly contracts work
makes for better projects with higher customer satisfaction at the
end. It also results in happier consultants, who don't feel like
they're getting nickel-and-dimed all the time.
If you don't trust your consultant to do the work as efficiently as
possible, don't hire that person.
> Fixed rate. The consultant takes all the risk.
Depends. Again, in my experience, fixed rate bids are often heavily
padded, because the consultant assumes they're going to get screwed.
I work almost exclusively hourly, and if I finish something early, I
always bill less than the estimate. Yes, this has happened a few
times, and when it does, it's actually cheaper for the client.
Either way, I get paid for work I actually do.
--
- Adam
** I can fix your database problems: http://www.everylastounce.com/mysql.html **
Blog............... [ http://www.aquick.org/blog ]
Links.............. [ http://del.icio.us/fields ]
Photos............. [ http://www.aquick.org/photoblog ]
Experience......... [ http://www.adamfields.com/resume.html ]
Product Reviews: .. [ http://www.buyadam.com/blog ]
_______________________________________________
New York PHP Talk Mailing List
AMP Technology
Supporting Apache, MySQL and PHP
http://lists.nyphp.org/mailman/listinfo/talk
http://www.nyphp.org
From mitch.pirtle at gmail.com Sun Jun 12 20:09:34 2005
From: mitch.pirtle at gmail.com (Mitch Pirtle)
Date: Sun, 12 Jun 2005 20:09:34 -0400
Subject: [nycphp-talk] [OT] Consulting work
In-Reply-To: <20050612183231.O55840@zoraida.natserv.net>
References: <33DFD788D44E404CB92B90176DEC061A6DAEB3@NYCPDMSXMB06.ad.tiaa-cref.org>
<429FABB6.5010909@php.net> <8d9a428005060218146462ad1c@mail.gmail.com>
<330532b6050602184545404a61@mail.gmail.com>
<20050612183231.O55840@zoraida.natserv.net>
Message-ID: <330532b605061217097f7ce18d@mail.gmail.com>
On 6/12/05, Francisco Reyes wrote:
> On Thu, 2 Jun 2005, Mitch Pirtle wrote:
>
> > NYC PHP programmers should make a minimum of $50/hr, and I get offers
> > up to $120.
>
> May I ask where?
> I am an independant and having a hard time finding more clients.. If you
> even have work to sub-contract that would be great too. :-)
Then at least I could outsource myself to someone local (rimshot)
In all honesty, I think the toughest part in this city is developing
the contacts. Once that is done, your talent and work ethic will take
care of the rest, and give back what you put into it.
A funny sidenote - in the Mambo universe there is a horrible slant
regarding talent on the template making side, where anyone and
everyone is promoting themselves as 'Mambo template specialists'. Even
when they suck. What blows me away is that there are still floods of
people in panic mode because they cannot get a template put together
in time, or need someone to setup a Mambo and import their (usually
static) content.
So if you know anything about PHP, HTML and Mambo, you should be doing
just fine ;-) Take on the $300 template gigs, and eventually you will
establish a reputation. If that is a good reputation, then you should
not have to look for work anymore, and people will find you looking
for Mambo help, which of course ups your rate.
You will NOT however find the $150/hr stuff as a Mambo template guy.
Those gigs are almost exclusively with the financial research firms
and so on, and it is very hard work that (occasionally at least) is
not worth it.
I would rather spit out Mambo-based products.
-- Mitch, holding his right pinkie up to the corner of his mouth
From lists at natserv.com Sun Jun 12 20:18:14 2005
From: lists at natserv.com (Francisco Reyes)
Date: Sun, 12 Jun 2005 20:18:14 -0400 (EDT)
Subject: [nycphp-talk] [OT] Consulting work
In-Reply-To: <20050612233136.GA24031@lola.aquick.org>
References: <30073-43035@sneakemail.com>
<330532b605060308016968520@mail.gmail.com>
<20050612183357.J55840@zoraida.natserv.net>
<20050612233136.GA24031@lola.aquick.org>
Message-ID: <20050612200537.T56446@zoraida.natserv.net>
On Sun, 12 Jun 2005, Adam Fields wrote:
> On Sun, Jun 12, 2005 at 06:46:02PM -0400, Francisco Reyes wrote:
>> The way I see it, it's all about risk.
>
> On this, I agree, but I think your black and whites below are too
> black and white.
That's just my view. :)
>> Hourly rate. The customer takes all the risk.
>
> That depends. Do you have accurate specs and reasonable estimates? In
> my experience, the upfront work done to make hourly contracts work
> makes for better projects with higher customer satisfaction at the
> end. It also results in happier consultants, who don't feel like
> they're getting nickel-and-dimed all the time.
They are countless things that can go wrong.. even with good specs.
For instance my impression is that you describe a near perfect scenario
which rarely happens.
* The people who gave the specs to the consultant may be a fraction of the
user population.
* People that interface with the consultants may not be available making
the consultant having to do more work than planned.
* The people that gave the specs may have forgotten a key few points
because they only occurr rarely, but yet are major showstoppers.
> If you don't trust your consultant to do the work as efficiently as
> possible, don't hire that person.
Even if you trust the person the risk for hourly work is still 100% on the
customer.. What do you think the customer will do if the project is late,
but the consultants, that they trust, keep saying it's coming along ok?
They will likely continue.. or if this system/implementation is critical
for the business? The customer basically may have no choice but to take
the hit.
>> Fixed rate. The consultant takes all the risk.
>
> Depends. Again, in my experience, fixed rate bids are often heavily
> padded, because the consultant assumes they're going to get screwed.
I don't pad excesively my bids, because then the customer may just decline
and go with someone that will low ball the bid to just ask for more
later..
> I work almost exclusively hourly, and if I finish something early, I
> always bill less than the estimate.
I wish I had contracts where the work was as much as expected. :-)
The people I have done systems for are non technical or not the primary
users that will have to do the system. The end result.. I rarely ever get
the full picture until the project is on the way.
Although I tend to do primarily fixed price work I am learning on how to
mitigate the risk.. but still think that there is no mid point (and again
that's just my very biased view). The 2 main things I am doing to reduce
risk are having a detailed list of what the project will entail AND to
specify what is expected from the customer.
My last two projects have gone less than perfect not because I didnt' get
the "right specs", but because the people that gave me the specs didn't
know the entire picture.. so the "right specs" I got where not the specs
needed by the users.. The other problem I have had is users not giving
enough feedback or giving feedback on a timely manner.
I hope to improve my contracts to increase price if there is a problem
with user feedback or the specs given by the contact I worked with.
> Yes, this has happened a few
> times, and when it does, it's actually cheaper for the client.
I think each person needs to do what they are most confortable with.
I guess if I was better marketting I would convince my customers to pay
hourly.. but find it easier to close the deal going fixed... :-(
From lists at natserv.com Sun Jun 12 20:31:13 2005
From: lists at natserv.com (Francisco Reyes)
Date: Sun, 12 Jun 2005 20:31:13 -0400 (EDT)
Subject: [nycphp-talk] [OT] Consulting work
In-Reply-To: <330532b605061217097f7ce18d@mail.gmail.com>
References: <33DFD788D44E404CB92B90176DEC061A6DAEB3@NYCPDMSXMB06.ad.tiaa-cref.org>
<429FABB6.5010909@php.net> <8d9a428005060218146462ad1c@mail.gmail.com>
<330532b6050602184545404a61@mail.gmail.com>
<20050612183231.O55840@zoraida.natserv.net>
<330532b605061217097f7ce18d@mail.gmail.com>
Message-ID: <20050612202853.R56446@zoraida.natserv.net>
On Sun, 12 Jun 2005, Mitch Pirtle wrote:
> You will NOT however find the $150/hr stuff as a Mambo template guy.
> Those gigs are almost exclusively with the financial research firms
:-(
I rather work for $50/hour than to work with financial firms... although I
am doing work for one right now..
The pressure and stress from working with financial firms is more than
long living human beings can take.. I think working for financial firms is
a slow form of suicide.. but maybe I have just worked/dealt with the wrong
financial firms. :-)
From lists at natserv.com Sun Jun 12 21:37:24 2005
From: lists at natserv.com (Francisco Reyes)
Date: Sun, 12 Jun 2005 21:37:24 -0400 (EDT)
Subject: [nycphp-talk] [OT] Consulting work
In-Reply-To: <20050612201912.B56446@zoraida.natserv.net>
References: <31627-63945@sneakemail.com>
<20050612201912.B56446@zoraida.natserv.net>
Message-ID: <20050612213624.I56820@zoraida.natserv.net>
On Sun, 12 Jun 2005, inforequest wrote:
> I disagree about the risk part. If the consultant takes on too much risk,
> such as
> might happen with a loosely-defined, fixed-price project, it is risky for
> the client. In that case, who took on the risk?
I need to better qualify my statement..
I was refering to risk related to money paid to the consultant(s).. ie
whether the consultant can loose money or the company can loose the money
paid for the work.. or overpay for the work...
There IS risk on all projects for the client outside of just the cost of the
project. Business disruption, loosing customers because the system
malfunctions, etc..
> It costs money to make careful, detailed specs.
That's something I am doing more of.. Ask for a fee for a detailed analysis.
I explain to the client that whether I do the project or someone else this
analysis will be helpfull.
> Also detailed, careful specs preclude much of the creative/techno-creative
> input a consultant
> can have. If bound to a spec, then sure -- it goes well, but many
> consultants want to contribute creative solutions and not just code to
> specs.
My personal biggest problem has been getting to talk to the right people at
the client side. You may be delegated to work with a small set of people or
just and individual and that person may not understand completely what needs
to be done.
> Bottom line is satisfy the client, no?
Absolutely.
> If the client knows what she wants, then do the work for hire. If the
> client doesn't, then help her define it, for hire, or perhaps choose
> to limit your scope of involvement until the project is well-defined.
Exactly.
> As a hirer/manager I prefer to pay hourly rate for technical services,
> commensurate with knowledge, skills, and experience.
Not always possible if there is a budget for a project. They simply have to
get the best person they can within the budget.
From preinheimer at gmail.com Mon Jun 13 10:16:47 2005
From: preinheimer at gmail.com (Paul Reinheimer)
Date: Mon, 13 Jun 2005 10:16:47 -0400
Subject: [nycphp-talk] [OT] Attn David Sklar and others
In-Reply-To: <8d9a428005061215433fdf3cba@mail.gmail.com>
References: <8d9a42800506121039159d070e@mail.gmail.com>
<40fcda730506121104552a1681@mail.gmail.com>
<20050612182323.GA2905@leitz.reuel.net>
<8d9a428005061215433fdf3cba@mail.gmail.com>
Message-ID: <6ec19ec705061307164b60f6b1@mail.gmail.com>
I have notified the Wrox/Wiley team as well.
paul
On 6/12/05, Joseph Crawford wrote:
> thanks adam ;)
>
> this guy was selling on ebay that's how i found the site.
>
> --
>
> Joseph Crawford Jr.
> Codebowl Solutions
> codebowl at gmail.com
> _______________________________________________
> New York PHP Talk Mailing List
> AMP Technology
> Supporting Apache, MySQL and PHP
> http://lists.nyphp.org/mailman/listinfo/talk
> http://www.nyphp.org
>
>
--
Paul Reinheimer
Zend Certified Engineer
From codebowl at gmail.com Mon Jun 13 10:43:46 2005
From: codebowl at gmail.com (Joseph Crawford)
Date: Mon, 13 Jun 2005 10:43:46 -0400
Subject: [nycphp-talk] [OT] Attn David Sklar and others
In-Reply-To: <6ec19ec705061307164b60f6b1@mail.gmail.com>
References: <8d9a42800506121039159d070e@mail.gmail.com>
<40fcda730506121104552a1681@mail.gmail.com>
<20050612182323.GA2905@leitz.reuel.net>
<8d9a428005061215433fdf3cba@mail.gmail.com>
<6ec19ec705061307164b60f6b1@mail.gmail.com>
Message-ID: <8d9a428005061307432606ad2b@mail.gmail.com>
i will see if i can find his ebay name again and alert ebay as well
--
Joseph Crawford Jr.
Codebowl Solutions
codebowl at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From codebowl at gmail.com Mon Jun 13 10:44:27 2005
From: codebowl at gmail.com (Joseph Crawford)
Date: Mon, 13 Jun 2005 10:44:27 -0400
Subject: [nycphp-talk] [OT] Attn David Sklar and others
In-Reply-To: <8d9a428005061307432606ad2b@mail.gmail.com>
References: <8d9a42800506121039159d070e@mail.gmail.com>
<40fcda730506121104552a1681@mail.gmail.com>
<20050612182323.GA2905@leitz.reuel.net>
<8d9a428005061215433fdf3cba@mail.gmail.com>
<6ec19ec705061307164b60f6b1@mail.gmail.com>
<8d9a428005061307432606ad2b@mail.gmail.com>
Message-ID: <8d9a42800506130744fcd6883@mail.gmail.com>
http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&category=378&item=4555830306&rd=1&ssPageName=WDVW
there it is ;)
--
Joseph Crawford Jr.
Codebowl Solutions
codebowl at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From codebowl at gmail.com Mon Jun 13 10:51:46 2005
From: codebowl at gmail.com (Joseph Crawford)
Date: Mon, 13 Jun 2005 10:51:46 -0400
Subject: [nycphp-talk] [OT] Attn David Sklar and others
In-Reply-To: <8d9a42800506130744fcd6883@mail.gmail.com>
References: <8d9a42800506121039159d070e@mail.gmail.com>
<40fcda730506121104552a1681@mail.gmail.com>
<20050612182323.GA2905@leitz.reuel.net>
<8d9a428005061215433fdf3cba@mail.gmail.com>
<6ec19ec705061307164b60f6b1@mail.gmail.com>
<8d9a428005061307432606ad2b@mail.gmail.com>
<8d9a42800506130744fcd6883@mail.gmail.com>
Message-ID: <8d9a4280050613075173b02db0@mail.gmail.com>
i thought something was fishy about these auctions and this site because
usually you cannot just buy an ebook like that, if you can someone should
direct me where to legally buy them ;)
--
Joseph Crawford Jr.
Codebowl Solutions
codebowl at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From preinheimer at gmail.com Mon Jun 13 10:58:12 2005
From: preinheimer at gmail.com (Paul Reinheimer)
Date: Mon, 13 Jun 2005 10:58:12 -0400
Subject: [nycphp-talk] [OT] Attn David Sklar and others
In-Reply-To: <8d9a4280050613075173b02db0@mail.gmail.com>
References: <8d9a42800506121039159d070e@mail.gmail.com>
<40fcda730506121104552a1681@mail.gmail.com>
<20050612182323.GA2905@leitz.reuel.net>
<8d9a428005061215433fdf3cba@mail.gmail.com>
<6ec19ec705061307164b60f6b1@mail.gmail.com>
<8d9a428005061307432606ad2b@mail.gmail.com>
<8d9a42800506130744fcd6883@mail.gmail.com>
<8d9a4280050613075173b02db0@mail.gmail.com>
Message-ID: <6ec19ec70506130758b62b60a@mail.gmail.com>
http://safari.oreilly.com/
O'Reilly only obviously.
Wiley offers some of their imprints as e-books
http://ca.wiley.com/WileyCDA/Section/index.html
paul
On 6/13/05, Joseph Crawford wrote:
> i thought something was fishy about these auctions and this site because
> usually you cannot just buy an ebook like that, if you can someone should
> direct me where to legally buy them ;)
>
>
> --
> Joseph Crawford Jr.
> Codebowl Solutions
> codebowl at gmail.com
> _______________________________________________
> New York PHP Talk Mailing List
> AMP Technology
> Supporting Apache, MySQL and PHP
> http://lists.nyphp.org/mailman/listinfo/talk
> http://www.nyphp.org
>
>
--
Paul Reinheimer
Zend Certified Engineer
From codebowl at gmail.com Mon Jun 13 11:01:38 2005
From: codebowl at gmail.com (Joseph Crawford)
Date: Mon, 13 Jun 2005 11:01:38 -0400
Subject: [nycphp-talk] [OT] Attn David Sklar and others
In-Reply-To: <8d9a4280050613075173b02db0@mail.gmail.com>
References: <8d9a42800506121039159d070e@mail.gmail.com>
<40fcda730506121104552a1681@mail.gmail.com>
<20050612182323.GA2905@leitz.reuel.net>
<8d9a428005061215433fdf3cba@mail.gmail.com>
<6ec19ec705061307164b60f6b1@mail.gmail.com>
<8d9a428005061307432606ad2b@mail.gmail.com>
<8d9a42800506130744fcd6883@mail.gmail.com>
<8d9a4280050613075173b02db0@mail.gmail.com>
Message-ID: <8d9a428005061308017055774b@mail.gmail.com>
ebay has been alerted.
On 6/13/05, Joseph Crawford wrote:
>
> i thought something was fishy about these auctions and this site because
> usually you cannot just buy an ebook like that, if you can someone should
> direct me where to legally buy them ;)
>
> --
> Joseph Crawford Jr.
> Codebowl Solutions
> codebowl at gmail.com
>
--
Joseph Crawford Jr.
Codebowl Solutions
codebowl at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From cfeldmann at gmail.com Mon Jun 13 11:02:28 2005
From: cfeldmann at gmail.com (chris feldmann)
Date: Mon, 13 Jun 2005 11:02:28 -0400
Subject: [nycphp-talk] [OT] Attn David Sklar and others
In-Reply-To: <6ec19ec70506130758b62b60a@mail.gmail.com>
References: <8d9a42800506121039159d070e@mail.gmail.com>
<40fcda730506121104552a1681@mail.gmail.com>
<20050612182323.GA2905@leitz.reuel.net>
<8d9a428005061215433fdf3cba@mail.gmail.com>
<6ec19ec705061307164b60f6b1@mail.gmail.com>
<8d9a428005061307432606ad2b@mail.gmail.com>
<8d9a42800506130744fcd6883@mail.gmail.com>
<8d9a4280050613075173b02db0@mail.gmail.com>
<6ec19ec70506130758b62b60a@mail.gmail.com>
Message-ID: <7e2c731f05061308026638dd3a@mail.gmail.com>
See also:
http://books.allofthem.com/
They're free, but of, um, questionable provenance.
On 6/13/05, Paul Reinheimer wrote:
>
> http://safari.oreilly.com/
>
> O'Reilly only obviously.
>
> Wiley offers some of their imprints as e-books
>
> http://ca.wiley.com/WileyCDA/Section/index.html
>
>
> paul
>
>
> On 6/13/05, Joseph Crawford wrote:
> > i thought something was fishy about these auctions and this site because
> > usually you cannot just buy an ebook like that, if you can someone
> should
> > direct me where to legally buy them ;)
> >
> >
> > --
> > Joseph Crawford Jr.
> > Codebowl Solutions
> > codebowl at gmail.com
> > _______________________________________________
> > New York PHP Talk Mailing List
> > AMP Technology
> > Supporting Apache, MySQL and PHP
> > http://lists.nyphp.org/mailman/listinfo/talk
> > http://www.nyphp.org
> >
> >
>
>
> --
> Paul Reinheimer
> Zend Certified Engineer
> _______________________________________________
> New York PHP Talk Mailing List
> AMP Technology
> Supporting Apache, MySQL and PHP
> http://lists.nyphp.org/mailman/listinfo/talk
> http://www.nyphp.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From codebowl at gmail.com Mon Jun 13 11:04:55 2005
From: codebowl at gmail.com (Joseph Crawford)
Date: Mon, 13 Jun 2005 11:04:55 -0400
Subject: [nycphp-talk] [OT] Attn David Sklar and others
In-Reply-To: <8d9a428005061308017055774b@mail.gmail.com>
References: <8d9a42800506121039159d070e@mail.gmail.com>
<40fcda730506121104552a1681@mail.gmail.com>
<20050612182323.GA2905@leitz.reuel.net>
<8d9a428005061215433fdf3cba@mail.gmail.com>
<6ec19ec705061307164b60f6b1@mail.gmail.com>
<8d9a428005061307432606ad2b@mail.gmail.com>
<8d9a42800506130744fcd6883@mail.gmail.com>
<8d9a4280050613075173b02db0@mail.gmail.com>
<8d9a428005061308017055774b@mail.gmail.com>
Message-ID: <8d9a4280050613080474d78be3@mail.gmail.com>
i thought safari wasnt really an ebook site since you cannot download the
entire book (only chapters) in PDF or CHM format, you have to view them
online... and it's not only oreilly ;) it's actually Safari which several
people use, not only publishers ;)
safari.oreilly.com
safari.informit.com
safari.java.com
safari.bvdep.com
safaribooksonline.com
sorry had to be a smart alec and just list all the sites google found LOL
so anywhere to "legally" purchase PDF or CHM ebooks or are they all illegal?
On 6/13/05, Joseph Crawford wrote:
>
> ebay has been alerted.
>
> On 6/13/05, Joseph Crawford wrote:
> >
> > i thought something was fishy about these auctions and this site because
> > usually you cannot just buy an ebook like that, if you can someone should
> > direct me where to legally buy them ;)
> >
> > --
> > Joseph Crawford Jr.
> > Codebowl Solutions
> > codebowl at gmail.com
> >
>
>
>
> --
> Joseph Crawford Jr.
> Codebowl Solutions
> codebowl at gmail.com
>
--
Joseph Crawford Jr.
Codebowl Solutions
codebowl at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From codebowl at gmail.com Mon Jun 13 11:08:15 2005
From: codebowl at gmail.com (Joseph Crawford)
Date: Mon, 13 Jun 2005 11:08:15 -0400
Subject: [nycphp-talk] [OT] Attn David Sklar and others
In-Reply-To: <8d9a4280050613080474d78be3@mail.gmail.com>
References: <8d9a42800506121039159d070e@mail.gmail.com>
<20050612182323.GA2905@leitz.reuel.net>
<8d9a428005061215433fdf3cba@mail.gmail.com>
<6ec19ec705061307164b60f6b1@mail.gmail.com>
<8d9a428005061307432606ad2b@mail.gmail.com>
<8d9a42800506130744fcd6883@mail.gmail.com>
<8d9a4280050613075173b02db0@mail.gmail.com>
<8d9a428005061308017055774b@mail.gmail.com>
<8d9a4280050613080474d78be3@mail.gmail.com>
Message-ID: <8d9a428005061308082737b56@mail.gmail.com>
yea i dont think they are legitimate books lol probably not supposed to be
free ;)
--
Joseph Crawford Jr.
Codebowl Solutions
codebowl at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From shiflett at php.net Mon Jun 13 11:09:50 2005
From: shiflett at php.net (Chris Shiflett)
Date: Mon, 13 Jun 2005 16:09:50 +0100
Subject: [nycphp-talk] [OT] Attn David Sklar and others
In-Reply-To: <6ec19ec70506130758b62b60a@mail.gmail.com>
References: <8d9a42800506121039159d070e@mail.gmail.com>
<40fcda730506121104552a1681@mail.gmail.com>
<20050612182323.GA2905@leitz.reuel.net>
<8d9a428005061215433fdf3cba@mail.gmail.com>
<6ec19ec705061307164b60f6b1@mail.gmail.com>
<8d9a428005061307432606ad2b@mail.gmail.com>
<8d9a42800506130744fcd6883@mail.gmail.com>
<8d9a4280050613075173b02db0@mail.gmail.com>
<6ec19ec70506130758b62b60a@mail.gmail.com>
Message-ID: <42ADA1BE.5010401@php.net>
Paul Reinheimer wrote:
> http://safari.oreilly.com/
>
> O'Reilly only obviously.
Safari consists of more than O'Reilly. Here are some others (about half
of the publishers who participate):
Peachpit
New Riders
Addison Wesley
Prentice Hall
Que
Sams
O'Reilly just happens to have better marketing and branding than any
other publisher (by far). As a result, many people think Safari is owned
and operated by O'Reilly.
Many of the other publishers have their own URLs:
http://safari.samspublishing.com/
http://safari.informit.com/
Anyway, this concludes the useless trivia of the day. :-)
Chris
From jeff.loiselle at gmail.com Mon Jun 13 11:24:54 2005
From: jeff.loiselle at gmail.com (Jeff Loiselle)
Date: Mon, 13 Jun 2005 11:24:54 -0400
Subject: [nycphp-talk] [OT] Attn David Sklar and others
In-Reply-To: <42ADA1BE.5010401@php.net>
References: <8d9a42800506121039159d070e@mail.gmail.com>
<20050612182323.GA2905@leitz.reuel.net>
<8d9a428005061215433fdf3cba@mail.gmail.com>
<6ec19ec705061307164b60f6b1@mail.gmail.com>
<8d9a428005061307432606ad2b@mail.gmail.com>
<8d9a42800506130744fcd6883@mail.gmail.com>
<8d9a4280050613075173b02db0@mail.gmail.com>
<6ec19ec70506130758b62b60a@mail.gmail.com> <42ADA1BE.5010401@php.net>
Message-ID: <4b1887110506130824767a276d@mail.gmail.com>
Chris,
Safari *is* owned an operated by O'Reilly. ;-) Inquire within.
On 6/13/05, Chris Shiflett wrote:
> Paul Reinheimer wrote:
> > http://safari.oreilly.com/
> >
> > O'Reilly only obviously.
>
> Safari consists of more than O'Reilly. Here are some others (about half
> of the publishers who participate):
>
> Peachpit
> New Riders
> Addison Wesley
> Prentice Hall
> Que
> Sams
>
> O'Reilly just happens to have better marketing and branding than any
> other publisher (by far). As a result, many people think Safari is owned
> and operated by O'Reilly.
>
> Many of the other publishers have their own URLs:
>
> http://safari.samspublishing.com/
> http://safari.informit.com/
>
> Anyway, this concludes the useless trivia of the day. :-)
>
> Chris
> _______________________________________________
> New York PHP Talk Mailing List
> AMP Technology
> Supporting Apache, MySQL and PHP
> http://lists.nyphp.org/mailman/listinfo/talk
> http://www.nyphp.org
>
--
---
Jeff Loiselle
Web Developer, Musician, and Observer
http://jeff.loiselles.com
From shiflett at php.net Mon Jun 13 12:14:14 2005
From: shiflett at php.net (Chris Shiflett)
Date: Mon, 13 Jun 2005 17:14:14 +0100
Subject: [nycphp-talk] [OT] Attn David Sklar and others
In-Reply-To: <4b1887110506130824767a276d@mail.gmail.com>
References: <8d9a42800506121039159d070e@mail.gmail.com>
<20050612182323.GA2905@leitz.reuel.net>
<8d9a428005061215433fdf3cba@mail.gmail.com>
<6ec19ec705061307164b60f6b1@mail.gmail.com>
<8d9a428005061307432606ad2b@mail.gmail.com>
<8d9a42800506130744fcd6883@mail.gmail.com>
<8d9a4280050613075173b02db0@mail.gmail.com>
<6ec19ec70506130758b62b60a@mail.gmail.com> <42ADA1BE.5010401@php.net>
<4b1887110506130824767a276d@mail.gmail.com>
Message-ID: <42ADB0D6.1040108@php.net>
Jeff Loiselle wrote:
> Safari *is* owned an operated by O'Reilly.
http://safari.oreilly.com/?mode=About
Chris
From codebowl at gmail.com Mon Jun 13 12:23:13 2005
From: codebowl at gmail.com (Joseph Crawford)
Date: Mon, 13 Jun 2005 12:23:13 -0400
Subject: [nycphp-talk] [OT] Attn David Sklar and others
In-Reply-To: <42ADB0D6.1040108@php.net>
References: <8d9a42800506121039159d070e@mail.gmail.com>
<8d9a428005061215433fdf3cba@mail.gmail.com>
<6ec19ec705061307164b60f6b1@mail.gmail.com>
<8d9a428005061307432606ad2b@mail.gmail.com>
<8d9a42800506130744fcd6883@mail.gmail.com>
<8d9a4280050613075173b02db0@mail.gmail.com>
<6ec19ec70506130758b62b60a@mail.gmail.com> <42ADA1BE.5010401@php.net>
<4b1887110506130824767a276d@mail.gmail.com> <42ADB0D6.1040108@php.net>
Message-ID: <8d9a42800506130923549d1ae2@mail.gmail.com>
Safari is not worth it if you want the downloadable chapters.
David Sklar's Learning PHP 5 book would cost you $32 to download all the
chapters from safari, search amazon you can get it for $19.77
http://www.amazon.com/exec/obidos/tg/detail/-/0596005601/qid%3D1118679711/sr%3D11-1/ref%3Dsr%5F11%5F1/103-0500534-0839844?v=glance
--
Joseph Crawford Jr.
Codebowl Solutions
codebowl at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From preinheimer at gmail.com Mon Jun 13 12:28:18 2005
From: preinheimer at gmail.com (Paul Reinheimer)
Date: Mon, 13 Jun 2005 12:28:18 -0400
Subject: [nycphp-talk] [OT] Attn David Sklar and others
In-Reply-To: <42ADB0D6.1040108@php.net>
References: <8d9a42800506121039159d070e@mail.gmail.com>
<8d9a428005061215433fdf3cba@mail.gmail.com>
<6ec19ec705061307164b60f6b1@mail.gmail.com>
<8d9a428005061307432606ad2b@mail.gmail.com>
<8d9a42800506130744fcd6883@mail.gmail.com>
<8d9a4280050613075173b02db0@mail.gmail.com>
<6ec19ec70506130758b62b60a@mail.gmail.com> <42ADA1BE.5010401@php.net>
<4b1887110506130824767a276d@mail.gmail.com> <42ADB0D6.1040108@php.net>
Message-ID: <6ec19ec705061309287abb7059@mail.gmail.com>
I've been interested in this job with Safari for a while,
http://www.oreillynet.com/pub/j/31
I'm considering applying once I graduate.
Those who know my employment history may see some irony in the
selection, but it sounds like a neat job.
That posting is also one of the reasons I though safari was a wholly
owned subsidry of O'Reilly/
paul
On 6/13/05, Chris Shiflett wrote:
> Jeff Loiselle wrote:
> > Safari *is* owned an operated by O'Reilly.
>
> http://safari.oreilly.com/?mode=About
>
> Chris
> _______________________________________________
> New York PHP Talk Mailing List
> AMP Technology
> Supporting Apache, MySQL and PHP
> http://lists.nyphp.org/mailman/listinfo/talk
> http://www.nyphp.org
>
--
Paul Reinheimer
Zend Certified Engineer
From codebowl at gmail.com Mon Jun 13 14:26:28 2005
From: codebowl at gmail.com (Joseph Crawford)
Date: Mon, 13 Jun 2005 14:26:28 -0400
Subject: [nycphp-talk] [OT] Attn David Sklar and others
In-Reply-To: <6ec19ec705061309287abb7059@mail.gmail.com>
References: <8d9a42800506121039159d070e@mail.gmail.com>
<6ec19ec705061307164b60f6b1@mail.gmail.com>
<8d9a428005061307432606ad2b@mail.gmail.com>
<8d9a42800506130744fcd6883@mail.gmail.com>
<8d9a4280050613075173b02db0@mail.gmail.com>
<6ec19ec70506130758b62b60a@mail.gmail.com> <42ADA1BE.5010401@php.net>
<4b1887110506130824767a276d@mail.gmail.com> <42ADB0D6.1040108@php.net>
<6ec19ec705061309287abb7059@mail.gmail.com>
Message-ID: <8d9a428005061311262afd7d28@mail.gmail.com>
bleh i would like to find a job that would just get me free books ;)
--
Joseph Crawford Jr.
Codebowl Solutions
codebowl at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From codebowl at gmail.com Mon Jun 13 14:35:05 2005
From: codebowl at gmail.com (Joseph Crawford)
Date: Mon, 13 Jun 2005 14:35:05 -0400
Subject: [nycphp-talk] [OT] Attn David Sklar and others
In-Reply-To: <8d9a428005061311262afd7d28@mail.gmail.com>
References: <8d9a42800506121039159d070e@mail.gmail.com>
<8d9a428005061307432606ad2b@mail.gmail.com>
<8d9a42800506130744fcd6883@mail.gmail.com>
<8d9a4280050613075173b02db0@mail.gmail.com>
<6ec19ec70506130758b62b60a@mail.gmail.com> <42ADA1BE.5010401@php.net>
<4b1887110506130824767a276d@mail.gmail.com> <42ADB0D6.1040108@php.net>
<6ec19ec705061309287abb7059@mail.gmail.com>
<8d9a428005061311262afd7d28@mail.gmail.com>
Message-ID: <8d9a42800506131135634757ea@mail.gmail.com>
LOL after a bit of whois research i can find out that the Name servers that
the books.allofthem.com is
queldor.net,
nothing is at that page, so i am assuming he registered it to use just for a
Name Server, however if you just trail the name servers etc.. you finally
get down to a name ;) I'm sure this may not be the end of the line but more
digging could probably turn up more lol
domain: queldor.net
status: lock
owner: Michael Toth
email: joker at queldor.com
address: 1467 Main Rd
city: Granville
state: MA
postal-code: 01034
country: US
phone: 413-572-0950
admin-c: joker at queldor.com#0
tech-c: joker at queldor.com#0
billing-c: joker at queldor.com#0
nserver: ns.queldor.net 66.103.13.8
nserver: ns.spam-sucks.com
24.218.93.8
nserver: ns.lilpenguins.com
24.218.20.108
created: 2003-07-06 21:57:59 UTC
modified: 2005-05-17 00:50:12 UTC
expires: 2006-07-06 17:57:46 UTC
source: joker.com live whois service
query-time: 0.178091
db-updated: 2005-06-13 18:32:31
Registry Status: REGISTRAR-LOCK
--
Joseph Crawford Jr.
Codebowl Solutions
codebowl at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From adam at trachtenberg.com Mon Jun 13 14:44:13 2005
From: adam at trachtenberg.com (Adam Maccabee Trachtenberg)
Date: Mon, 13 Jun 2005 14:44:13 -0400 (EDT)
Subject: [nycphp-talk] [OT] Attn David Sklar and others
In-Reply-To: <8d9a42800506131135634757ea@mail.gmail.com>
References: <8d9a42800506121039159d070e@mail.gmail.com>
<8d9a428005061307432606ad2b@mail.gmail.com>
<8d9a42800506130744fcd6883@mail.gmail.com>
<8d9a4280050613075173b02db0@mail.gmail.com>
<6ec19ec70506130758b62b60a@mail.gmail.com>
<42ADA1BE.5010401@php.net> <4b1887110506130824767a276d@mail.gmail.com>
<42ADB0D6.1040108@php.net> <6ec19ec705061309287abb7059@mail.gmail.com>
<8d9a428005061311262afd7d28@mail.gmail.com>
<8d9a42800506131135634757ea@mail.gmail.com>
Message-ID:
O'Reilly has told me that their lawyers are on the case.
-adam
On Mon, 13 Jun 2005, Joseph Crawford wrote:
> LOL after a bit of whois research i can find out that the Name servers that
> the books.allofthem.com is
> queldor.net,
> nothing is at that page, so i am assuming he registered it to use just for a
> Name Server, however if you just trail the name servers etc.. you finally
> get down to a name ;) I'm sure this may not be the end of the line but more
> digging could probably turn up more lol
>
> domain: queldor.net
> status: lock
> owner: Michael Toth
> email: joker at queldor.com
> address: 1467 Main Rd
> city: Granville
> state: MA
> postal-code: 01034
> country: US
> phone: 413-572-0950
> admin-c: joker at queldor.com#0
> tech-c: joker at queldor.com#0
> billing-c: joker at queldor.com#0
> nserver: ns.queldor.net 66.103.13.8
> nserver: ns.spam-sucks.com
> 24.218.93.8
> nserver: ns.lilpenguins.com
> 24.218.20.108
> created: 2003-07-06 21:57:59 UTC
> modified: 2005-05-17 00:50:12 UTC
> expires: 2006-07-06 17:57:46 UTC
> source: joker.com live whois service
> query-time: 0.178091
> db-updated: 2005-06-13 18:32:31
>
> Registry Status: REGISTRAR-LOCK
>
>
--
adam at trachtenberg.com | http://www.trachtenberg.com
author of o'reilly's "upgrading to php 5" and "php cookbook"
avoid the holiday rush, buy your copies today!
-------------- next part --------------
_______________________________________________
New York PHP Talk Mailing List
AMP Technology
Supporting Apache, MySQL and PHP
http://lists.nyphp.org/mailman/listinfo/talk
http://www.nyphp.org
From cfeldmann at gmail.com Mon Jun 13 15:27:51 2005
From: cfeldmann at gmail.com (chris feldmann)
Date: Mon, 13 Jun 2005 15:27:51 -0400
Subject: [nycphp-talk] NYPHP Courses
Message-ID: <7e2c731f0506131227513ff03d@mail.gmail.com>
The NYPHP pages seem to point me here with any questions on the courses, so
if anyone can help I'd appreciate it. Essentially I'm trying to figure out
which course I should take, leaning towards the two-day "programmers track"
as opposed to leaping right into one of the intensive 2-hour RAMP courses (
e.g. the February course on OOP in PHP).
To this point, totally self-taught (with the help of some of the authors who
frequent this very list), I've used php mainly as "glue" to automate, say,
photo galleries and for mail forms and the like. I've written a few sites
that included database abstraction layers to interact with small MySQL
databases - I'm pretty comfortable with SQL, but I am having trouble getting
a useful grasp on Classes and object-oriented php in general (I wasn't a CS
major). I would say my comfortable vocabulary of built-in functions is
rudimentary - I always need a reference open. On the other hand, I run my
own linux webserver and have been using linux as my desktop for almost a
decade and until gmail made it painfully obsolete, my main (web) email
client was a php app I wrote.
My worry is that the two-day course is going to be too basic, though, like
"Now we're going to write our first F-U-N-C-T-I-O-N." Can anyone give me a
sense of the level of the course? I don't have a generous employer to pay my
tuition; it will be coming out of my own pocket, so I want to make sure I'm
not taking the wrong course. I do feel that I've kind of run into a wall in
my auto-didactical regimen and could be well served by merely _talking_ with
other people who use these tools. Lately I've set my php books aside in
frustration, distracting myself by writing greasemonkey scripts. If it's a
useful bit of info, web programming/designing is not my day job (yet),
though I do make some money doing it.
Thanks,
Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From codebowl at gmail.com Mon Jun 13 15:32:47 2005
From: codebowl at gmail.com (Joseph Crawford)
Date: Mon, 13 Jun 2005 15:32:47 -0400
Subject: [nycphp-talk] [OT] Attn David Sklar and others
In-Reply-To:
References: <8d9a42800506121039159d070e@mail.gmail.com>
<8d9a4280050613075173b02db0@mail.gmail.com>
<6ec19ec70506130758b62b60a@mail.gmail.com> <42ADA1BE.5010401@php.net>
<4b1887110506130824767a276d@mail.gmail.com> <42ADB0D6.1040108@php.net>
<6ec19ec705061309287abb7059@mail.gmail.com>
<8d9a428005061311262afd7d28@mail.gmail.com>
<8d9a42800506131135634757ea@mail.gmail.com>
Message-ID: <8d9a428005061312321db8af74@mail.gmail.com>
good deal ;)
On 6/13/05, Adam Maccabee Trachtenberg wrote:
>
> O'Reilly has told me that their lawyers are on the case.
>
> -adam
>
> On Mon, 13 Jun 2005, Joseph Crawford wrote:
>
> > LOL after a bit of whois research i can find out that the Name servers
> that
> > the books.allofthem.com <
> http://books.allofthem.com> is
> > queldor.net ,
> > nothing is at that page, so i am assuming he registered it to use just
> for a
> > Name Server, however if you just trail the name servers etc.. you
> finally
> > get down to a name ;) I'm sure this may not be the end of the line but
> more
> > digging could probably turn up more lol
> >
> > domain: queldor.net
> > status: lock
> > owner: Michael Toth
> > email: joker at queldor.com
> > address: 1467 Main Rd
> > city: Granville
> > state: MA
> > postal-code: 01034
> > country: US
> > phone: 413-572-0950
> > admin-c: joker at queldor.com#0
> > tech-c: joker at queldor.com#0
> > billing-c: joker at queldor.com#0
> > nserver: ns.queldor.net
> 66.103.13.8
> > nserver: ns.spam-sucks.com <
> http://ns.spam-sucks.com>
> > 24.218.93.8
> > nserver: ns.lilpenguins.com <
> http://ns.lilpenguins.com>
> > 24.218.20.108
> > created: 2003-07-06 21:57:59 UTC
> > modified: 2005-05-17 00:50:12 UTC
> > expires: 2006-07-06 17:57:46 UTC
> > source: joker.com live whois
> service
> > query-time: 0.178091
> > db-updated: 2005-06-13 18:32:31
> >
> > Registry Status: REGISTRAR-LOCK
> >
> >
>
> --
> adam at trachtenberg.com | http://www.trachtenberg.com
> author of o'reilly's "upgrading to php 5" and "php cookbook"
> avoid the holiday rush, buy your copies today!
>
> _______________________________________________
> New York PHP Talk Mailing List
> AMP Technology
> Supporting Apache, MySQL and PHP
> http://lists.nyphp.org/mailman/listinfo/talk
> http://www.nyphp.org
>
> _______________________________________________
> New York PHP Talk Mailing List
> AMP Technology
> Supporting Apache, MySQL and PHP
> http://lists.nyphp.org/mailman/listinfo/talk
> http://www.nyphp.org
>
>
--
Joseph Crawford Jr.
Codebowl Solutions
codebowl at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From lists at zaunere.com Mon Jun 13 15:44:36 2005
From: lists at zaunere.com (Hans Zaunere)
Date: Mon, 13 Jun 2005 15:44:36 -0400
Subject: [nycphp-talk] NYPHP Courses
In-Reply-To: <7e2c731f0506131227513ff03d@mail.gmail.com>
Message-ID: <0MKz5u-1DhurM0odV-0007EZ@mrelay.perfora.net>
Hi Chris,
Those who have taken the course are welcome to give feedback, but for specific questions we have a form:
http://www.nyphp.org/content/training/training_info.php
since we'd prefer not to clutter already busy lists.
Thanks,
---
Hans Zaunere
President, Founder
New York PHP
http://www.nyphp.org
AMP Technology
Supporting Apache, MySQL and PHP
_____
From: talk-bounces at lists.nyphp.org [mailto:talk-bounces at lists.nyphp.org] On Behalf Of chris feldmann
Sent: Monday, June 13, 2005 3:28 PM
To: NYPHP Talk
Subject: [nycphp-talk] NYPHP Courses
The NYPHP pages seem to point me here with any questions on the courses, so if anyone can help I'd appreciate it. Essentially I'm trying to figure out which course I should take, leaning towards the two-day "programmers track" as opposed to leaping right into one of the intensive 2-hour RAMP courses (e.g. the February course on OOP in PHP).
To this point, totally self-taught (with the help of some of the authors who frequent this very list), I've used php mainly as "glue" to automate, say, photo galleries and for mail forms and the like. I've written a few sites that included database abstraction layers to interact with small MySQL databases - I'm pretty comfortable with SQL, but I am having trouble getting a useful grasp on Classes and object-oriented php in general (I wasn't a CS major). I would say my comfortable vocabulary of built-in functions is rudimentary - I always need a reference open. On the other hand, I run my own linux webserver and have been using linux as my desktop for almost a decade and until gmail made it painfully obsolete, my main (web) email client was a php app I wrote.
My worry is that the two-day course is going to be too basic, though, like "Now we're going to write our first F-U-N-C-T-I-O-N." Can anyone give me a sense of the level of the course? I don't have a generous employer to pay my tuition; it will be coming out of my own pocket, so I want to make sure I'm not taking the wrong course. I do feel that I've kind of run into a wall in my auto-didactical regimen and could be well served by merely _talking_ with other people who use these tools. Lately I've set my php books aside in frustration, distracting myself by writing greasemonkey scripts. If it's a useful bit of info, web programming/designing is not my day job (yet), though I do make some money doing it.
Thanks,
Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From cfeldmann at gmail.com Mon Jun 13 16:09:48 2005
From: cfeldmann at gmail.com (chris feldmann)
Date: Mon, 13 Jun 2005 16:09:48 -0400
Subject: [nycphp-talk] NYPHP Courses
In-Reply-To: <0MKz5u-1DhurM0odV-0007EZ@mrelay.perfora.net>
References: <7e2c731f0506131227513ff03d@mail.gmail.com>
<0MKz5u-1DhurM0odV-0007EZ@mrelay.perfora.net>
Message-ID: <7e2c731f050613130944ff4271@mail.gmail.com>
On 6/13/05, Hans Zaunere wrote:
>
> Hi Chris,
>
> Those who have taken the course are welcome to give feedback, but for
> specific questions we have a form:
>
> http://www.nyphp.org/content/training/training_info.php
>
> since we'd prefer not to clutter already busy lists.
>
> Thanks,
>
> ---
>
> Hans Zaunere
>
> President, Founder
>
> New York PHP
>
Thanks, Hanz.
I was reluctant to post such a question here, but wasn't fortunate enough to
be able to find the page you posted. And also rather hoped to find input
from people who had taken (or taught) any of the courses. I'll submit my
question to the form.
Chris
http://www.nyphp.org
>
> AMP Technology
>
> Supporting Apache, MySQL and PHP
>
> ------------------------------
>
> *From:* talk-bounces at lists.nyphp.org [mailto:talk-bounces at lists.nyphp.org]
> *On Behalf Of *chris feldmann
> *Sent:* Monday, June 13, 2005 3:28 PM
> *To:* NYPHP Talk
> *Subject:* [nycphp-talk] NYPHP Courses
>
> The NYPHP pages seem to point me here with any questions on the courses,
> so if anyone can help I'd appreciate it. Essentially I'm trying to figure
> out which course I should take, leaning towards the two-day "programmers
> track" as opposed to leaping right into one of the intensive 2-hour RAMP
> courses (e.g. the February course on OOP in PHP).
>
> To this point, totally self-taught (with the help of some of the authors
> who frequent this very list), I've used php mainly as "glue" to automate,
> say, photo galleries and for mail forms and the like. I've written a few
> sites that included database abstraction layers to interact with small MySQL
> databases - I'm pretty comfortable with SQL, but I am having trouble getting
> a useful grasp on Classes and object-oriented php in general (I wasn't a CS
> major). I would say my comfortable vocabulary of built-in functions is
> rudimentary - I always need a reference open. On the other hand, I run my
> own linux webserver and have been using linux as my desktop for almost a
> decade and until gmail made it painfully obsolete, my main (web) email
> client was a php app I wrote.
>
> My worry is that the two-day course is going to be too basic, though, like
> "Now we're going to write our first F-U-N-C-T-I-O-N." Can anyone give me a
> sense of the level of the course? I don't have a generous employer to pay my
> tuition; it will be coming out of my own pocket, so I want to make sure I'm
> not taking the wrong course. I do feel that I've kind of run into a wall in
> my auto-didactical regimen and could be well served by merely _talking_ with
> other people who use these tools. Lately I've set my php books aside in
> frustration, distracting myself by writing greasemonkey scripts. If it's a
> useful bit of info, web programming/designing is not my day job (yet),
> though I do make some money doing it.
>
> Thanks,
> Chris
>
> _______________________________________________
> New York PHP Talk Mailing List
> AMP Technology
> Supporting Apache, MySQL and PHP
> http://lists.nyphp.org/mailman/listinfo/talk
> http://www.nyphp.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From codebowl at gmail.com Tue Jun 14 09:44:55 2005
From: codebowl at gmail.com (Joseph Crawford)
Date: Tue, 14 Jun 2005 09:44:55 -0400
Subject: [nycphp-talk] Cheap Book Source
Message-ID: <8d9a4280050614064477fad309@mail.gmail.com>
Anyone here have a good source for affordable books?
i need to get some books to stay on top of the game and catch up on some
topics other than php but dont want to spend a fortune either.
--
Joseph Crawford Jr.
Codebowl Solutions
codebowl at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From acas at sapo.pt Tue Jun 14 09:46:40 2005
From: acas at sapo.pt (Alberto dos Santos)
Date: Tue, 14 Jun 2005 14:46:40 +0100
Subject: [nycphp-talk] Cheap Book Source
In-Reply-To: <8d9a4280050614064477fad309@mail.gmail.com>
Message-ID: <20050614134649.7D2D3A8798@virtu.nyphp.org>
Hello.
Have you tried to look at Amazon's 2nd hand books? Sometimes prices are
good.
Cheers,
--
Alberto dos Santos
email: acas at sapo.pt
skype: fatflash
Salvaguarda: Este email e seus anexos est?o protegidos de v?rus e programas
maliciosos. Se notar algo de anormal por favor informe-me. Obrigado.
Disclaimer: This email and it?s attachements are protected from v?rus and
malicious software. If you notice something unusual please report. Thanks.
_____
From: talk-bounces at lists.nyphp.org [mailto:talk-bounces at lists.nyphp.org] On
Behalf Of Joseph Crawford
Sent: ter?a-feira, 14 de Junho de 2005 14:45
To: NYPHP Talk
Subject: [nycphp-talk] Cheap Book Source
Anyone here have a good source for affordable books?
i need to get some books to stay on top of the game and catch up on some
topics other than php but dont want to spend a fortune either.
--
Joseph Crawford Jr.
Codebowl Solutions
codebowl at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From codebowl at gmail.com Tue Jun 14 09:48:50 2005
From: codebowl at gmail.com (Joseph Crawford)
Date: Tue, 14 Jun 2005 09:48:50 -0400
Subject: [nycphp-talk] Cheap Book Source
In-Reply-To: <20050614134649.7D2D3A8798@virtu.nyphp.org>
References: <8d9a4280050614064477fad309@mail.gmail.com>
<20050614134649.7D2D3A8798@virtu.nyphp.org>
Message-ID: <8d9a42800506140648780c2b1f@mail.gmail.com>
darn sorry i didnt mark this [OT] i sure meant to.
--
Joseph Crawford Jr.
Codebowl Solutions
codebowl at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From leam at reuel.net Tue Jun 14 09:51:41 2005
From: leam at reuel.net (leam at reuel.net)
Date: Tue, 14 Jun 2005 09:51:41 -0400
Subject: [nycphp-talk] Cheap Book Source
In-Reply-To: <8d9a42800506140648780c2b1f@mail.gmail.com>
References: <8d9a4280050614064477fad309@mail.gmail.com>
<20050614134649.7D2D3A8798@virtu.nyphp.org>
<8d9a42800506140648780c2b1f@mail.gmail.com>
Message-ID: <20050614135141.GF2905@leitz.reuel.net>
What sort of books are you looking for?
ciao!
leam
On Tue, Jun 14, 2005 at 09:48:50AM -0400, Joseph Crawford wrote:
> darn sorry i didnt mark this [OT] i sure meant to.
>
From j at nybg.org Tue Jun 14 10:06:44 2005
From: j at nybg.org (Freeman, Joshua)
Date: Tue, 14 Jun 2005 10:06:44 -0400
Subject: [nycphp-talk] Cheap Book Source
Message-ID: <319FD9EAB7A43E43895ACA5AA1F81E0502910292@xmail.nybg.org>
http://www.bookpool.com/
Joshua S. Freeman
Director, Information Technology, NYBG
v: 718 817 8937 m: 347 392 2560
jfreeman at nybg dot org
-----Original Message-----
From: talk-bounces at lists.nyphp.org on behalf of Joseph Crawford
Sent: Tue 6/14/2005 9:44 AM
To: NYPHP Talk
Subject: [nycphp-talk] Cheap Book Source
Anyone here have a good source for affordable books?
i need to get some books to stay on top of the game and catch up on some
topics other than php but dont want to spend a fortune either.
--
Joseph Crawford Jr.
Codebowl Solutions
codebowl at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 2611 bytes
Desc: not available
URL:
From codebowl at gmail.com Tue Jun 14 10:14:56 2005
From: codebowl at gmail.com (Joseph Crawford)
Date: Tue, 14 Jun 2005 10:14:56 -0400
Subject: [nycphp-talk] Cheap Book Source
In-Reply-To: <319FD9EAB7A43E43895ACA5AA1F81E0502910292@xmail.nybg.org>
References: <319FD9EAB7A43E43895ACA5AA1F81E0502910292@xmail.nybg.org>
Message-ID: <8d9a428005061407146a9ed3f2@mail.gmail.com>
leam,
i appreciate that, that is however one that i have it's 3rd ed i have and
didnt find that book too useful...
--
Joseph Crawford Jr.
Codebowl Solutions
codebowl at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From codebowl at gmail.com Tue Jun 14 10:16:25 2005
From: codebowl at gmail.com (Joseph Crawford)
Date: Tue, 14 Jun 2005 10:16:25 -0400
Subject: [nycphp-talk] Cheap Book Source
In-Reply-To: <8d9a428005061407146a9ed3f2@mail.gmail.com>
References: <319FD9EAB7A43E43895ACA5AA1F81E0502910292@xmail.nybg.org>
<8d9a428005061407146a9ed3f2@mail.gmail.com>
Message-ID: <8d9a428005061407167d75a35@mail.gmail.com>
when it comes to JS it's not the syntax i cannot grasp it's the cross
browser stuff, the browser methods etc.. JS syntax is cake ;)
--
Joseph Crawford Jr.
Codebowl Solutions
codebowl at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From aaron at aarond.com Tue Jun 14 10:35:45 2005
From: aaron at aarond.com (aaron at aarond.com)
Date: Tue, 14 Jun 2005 10:35:45 -0400
Subject: [nycphp-talk] Freelance sites
In-Reply-To: <8d9a428005061407146a9ed3f2@mail.gmail.com>
References: <319FD9EAB7A43E43895ACA5AA1F81E0502910292@xmail.nybg.org>
<8d9a428005061407146a9ed3f2@mail.gmail.com>
Message-ID: <42AEEB41.1000709@aarond.com>
Can anyone recommend a web freelance site that is worth while? Something
like guru.com I guess.
I've also been seeing a lot of php related jobs on these sites.
thanks,
Aaron
From codebowl at gmail.com Tue Jun 14 10:43:24 2005
From: codebowl at gmail.com (Joseph Crawford)
Date: Tue, 14 Jun 2005 10:43:24 -0400
Subject: [nycphp-talk] Freelance sites
In-Reply-To: <42AEEB41.1000709@aarond.com>
References: <319FD9EAB7A43E43895ACA5AA1F81E0502910292@xmail.nybg.org>
<8d9a428005061407146a9ed3f2@mail.gmail.com>
<42AEEB41.1000709@aarond.com>
Message-ID: <8d9a42800506140743169b6dca@mail.gmail.com>
i believe these sites are useless ;) I was a member at guru for a while and
gave it up because i didnt ever get any jobs that could be worth the time
invested. rentacoder.com is horrible, they are all
poeple from india bleh....
--
Joseph Crawford Jr.
Codebowl Solutions
codebowl at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From aaron at aarond.com Tue Jun 14 10:42:36 2005
From: aaron at aarond.com (aaron at aarond.com)
Date: Tue, 14 Jun 2005 10:42:36 -0400
Subject: [nycphp-talk] Freelance sites
In-Reply-To: <8d9a42800506140743169b6dca@mail.gmail.com>
References: <319FD9EAB7A43E43895ACA5AA1F81E0502910292@xmail.nybg.org> <8d9a428005061407146a9ed3f2@mail.gmail.com> <42AEEB41.1000709@aarond.com>
<8d9a42800506140743169b6dca@mail.gmail.com>
Message-ID: <42AEECDC.90009@aarond.com>
Thanks, I figured my only hope was looking for jobs where people wanted
someone local. Found a few, but haven't heard back from any.
Worth a shot eh?
Joseph Crawford wrote:
> i believe these sites are useless ;) I was a member at guru for a while
> and gave it up because i didnt ever get any jobs that could be worth the
> time invested. rentacoder.com is horrible, they
> are all poeple from india bleh....
>
> --
> Joseph Crawford Jr.
> Codebowl Solutions
> codebowl at gmail.com
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> New York PHP Talk Mailing List
> AMP Technology
> Supporting Apache, MySQL and PHP
> http://lists.nyphp.org/mailman/listinfo/talk
> http://www.nyphp.org
From leam at reuel.net Tue Jun 14 10:51:25 2005
From: leam at reuel.net (leam at reuel.net)
Date: Tue, 14 Jun 2005 10:51:25 -0400
Subject: [nycphp-talk] Freelance sites
In-Reply-To: <42AEECDC.90009@aarond.com>
References: <319FD9EAB7A43E43895ACA5AA1F81E0502910292@xmail.nybg.org>
<8d9a428005061407146a9ed3f2@mail.gmail.com>
<42AEEB41.1000709@aarond.com>
<8d9a42800506140743169b6dca@mail.gmail.com>
<42AEECDC.90009@aarond.com>
Message-ID: <20050614145125.GM2905@leitz.reuel.net>
Where are you, what do you do? What's your portfolio?
ciao!
leam
On Tue, Jun 14, 2005 at 10:42:36AM -0400, aaron at aarond.com wrote:
> Thanks, I figured my only hope was looking for jobs where people wanted
> someone local. Found a few, but haven't heard back from any.
>
> Worth a shot eh?
>
>
>
> Joseph Crawford wrote:
>
> >i believe these sites are useless ;) I was a member at guru for a while
> >and gave it up because i didnt ever get any jobs that could be worth the
> >time invested. rentacoder.com is horrible, they
> >are all poeple from india bleh....
> >
From hans at cyberxdesigns.com Tue Jun 14 11:12:16 2005
From: hans at cyberxdesigns.com (Hans Kaspersetz)
Date: Tue, 14 Jun 2005 11:12:16 -0400
Subject: [nycphp-talk] PHP in the News.
Message-ID: <42AEF3D0.1030801@cyberxdesigns.com>
Hi guys,
ZDnet.com has an article about PHP and Active Grid today. As you might
remember Active Grid presented to us a couple of months ago.
http://news.zdnet.com/2100-3513_22-5744767.html?tag=zdfd.newsfeed
--
Hans C. Kaspersetz
Cyber X Designs
http://www.cyberxdesigns.com
From spedeens at gmail.com Tue Jun 14 12:16:13 2005
From: spedeens at gmail.com (Denis Ramirez)
Date: Tue, 14 Jun 2005 12:16:13 -0400
Subject: [nycphp-talk] Freelance sites
References: <319FD9EAB7A43E43895ACA5AA1F81E0502910292@xmail.nybg.org><8d9a428005061407146a9ed3f2@mail.gmail.com><42AEEB41.1000709@aarond.com><8d9a42800506140743169b6dca@mail.gmail.com><42AEECDC.90009@aarond.com>
<20050614145125.GM2905@leitz.reuel.net>
Message-ID: <010001c570fc$62ad6f10$0554c644@HODESK>
look this site..
http://newyork.craigslist.org/art/
Sorry I don't write english very well, but i want to know people in NY, i'm
from Cuba, if somebody speak spanish or somebody want to communicate with me
please contact, i need frineds in NY...
Denis.
PD: I can read english.. thanks
----- Original Message -----
From:
To: "NYPHP Talk"
Sent: Tuesday, June 14, 2005 10:51 AM
Subject: Re: [nycphp-talk] Freelance sites
> Where are you, what do you do? What's your portfolio?
>
> ciao!
>
> leam
>
> On Tue, Jun 14, 2005 at 10:42:36AM -0400, aaron at aarond.com wrote:
>> Thanks, I figured my only hope was looking for jobs where people wanted
>> someone local. Found a few, but haven't heard back from any.
>>
>> Worth a shot eh?
>>
>>
>>
>> Joseph Crawford wrote:
>>
>> >i believe these sites are useless ;) I was a member at guru for a while
>> >and gave it up because i didnt ever get any jobs that could be worth the
>> >time invested. rentacoder.com is horrible, they
>> >are all poeple from india bleh....
>> >
> _______________________________________________
> New York PHP Talk Mailing List
> AMP Technology
> Supporting Apache, MySQL and PHP
> http://lists.nyphp.org/mailman/listinfo/talk
> http://www.nyphp.org
From lists at natserv.com Tue Jun 14 12:36:59 2005
From: lists at natserv.com (Francisco Reyes)
Date: Tue, 14 Jun 2005 12:36:59 -0400 (EDT)
Subject: [nycphp-talk] Freelance sites
In-Reply-To: <010001c570fc$62ad6f10$0554c644@HODESK>
References: <319FD9EAB7A43E43895ACA5AA1F81E0502910292@xmail.nybg.org><8d9a428005061407146a9ed3f2@mail.gmail.com><42AEEB41.1000709@aarond.com><8d9a42800506140743169b6dca@mail.gmail.com><42AEECDC.90009@aarond.com>
<20050614145125.GM2905@leitz.reuel.net>
<010001c570fc$62ad6f10$0554c644@HODESK>
Message-ID: <20050614123351.V76127@zoraida.natserv.net>
On Tue, 14 Jun 2005, Denis Ramirez wrote:
> look this site..
> http://newyork.craigslist.org/art/
I think you could look at the top level
http://newyork.craigslist.org and then check the different categories.
Also I sometimes check other sities and check by using the "telecommute"
flag. Many of the jobs are not telecommute, but some are.
> Sorry I don't write english very well, but i want to know people in NY, i'm
> from Cuba, if somebody speak spanish or somebody want to communicate with me
> please contact, i need frineds in NY...
Yo, Yo, Yo. :-)
I live in NYC. I speak/read/write spanish.
From lists at natserv.com Tue Jun 14 12:41:49 2005
From: lists at natserv.com (Francisco Reyes)
Date: Tue, 14 Jun 2005 12:41:49 -0400 (EDT)
Subject: [nycphp-talk] Freelance sites
In-Reply-To: <42AEEB41.1000709@aarond.com>
References: <319FD9EAB7A43E43895ACA5AA1F81E0502910292@xmail.nybg.org>
<8d9a428005061407146a9ed3f2@mail.gmail.com>
<42AEEB41.1000709@aarond.com>
Message-ID: <20050614123831.U76127@zoraida.natserv.net>
On Tue, 14 Jun 2005, aaron at aarond.com wrote:
> Can anyone recommend a web freelance site that is worth while? Something like
> guru.com I guess.
Other than the craigslist site, mentioned on another email, I have not
foudn any other good site. Most "General" sites have too many people
overseas that can underbid you by a long shot.. no way to compete with
those rates while living in the US.
From mlynch at icbf.com Tue Jun 14 12:50:44 2005
From: mlynch at icbf.com (Michael Lynch)
Date: Tue, 14 Jun 2005 17:50:44 +0100
Subject: [nycphp-talk] RE: Sending OCI array through XML_RPC
Message-ID: <11B62D16D13187468EEF6726E13214641EBBAF@icbf-server1.icbf.com>
Hi All
Could anyone adivise on the best way to send the results of an OCI query
through XML_RPC ?
I have a server side function that queries an Oracle database and sends
the results back via XML_RPC.
I can get it to work fine for single row result set by just binding out
variables but I'm finding mult-row result sets more difficult.
I'm using oci_fetch_array to put the results of my SQL query into an
array.
I then want to encapusulate this and send it as normal.
Below is my latest attempt.
$idbConn = oci_new_connect(DB_USER, DB_PSWD, DB_NAME);
$call = "SELECT col1, col2, col3 FROM mytable";
$Statement = @OCIParse($idbConn, $call);
@OCIExecute($Statement, OCI_DEFAULT);
while($data_array=oci_fetch_array($Statement,
OCI_BOTH))
{
foreach ($data_array as $key =>
$value)
{
$arData = new
XML_RPC_Value(array(
new
XML_RPC_Value(array($key => new XML_RPC_Value($value)),
"struct")));
}
}
$strucData = new
XML_RPC_Value($arData,'struct');
return new XML_RPC_Response($strucData);
All I get on debug is
---GOT---
HTTP/1.1 200 OK
Date: Tue, 14 Jun 2005 16:23:01 GMT
Server: Apache/1.3.33 (Unix) PHP/5.0.2
X-Powered-By: PHP/5.0.2
Content-Length: 302
Connection: close
Content-Type: text/xml
memytype
---END---
---EVALING---[119 chars]---
new XML_RPC_Value(array('me' => new XML_RPC_Value("", 'string'),'mytype'
=> new XML_RPC_Value("", 'string')), 'struct');
---END---
Thanks
Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From danielc at analysisandsolutions.com Tue Jun 14 13:30:15 2005
From: danielc at analysisandsolutions.com (Daniel Convissor)
Date: Tue, 14 Jun 2005 13:30:15 -0400
Subject: [nycphp-talk] RE: Sending OCI array through XML_RPC
In-Reply-To: <11B62D16D13187468EEF6726E13214641EBBAF@icbf-server1.icbf.com>
References: <11B62D16D13187468EEF6726E13214641EBBAF@icbf-server1.icbf.com>
Message-ID: <20050614173015.GA29025@panix.com>
On Tue, Jun 14, 2005 at 05:50:44PM +0100, Michael Lynch wrote:
>
> I can get it to work fine for single row result set by just binding out
> variables but I'm finding mult-row result sets more difficult.
Make a multi-dimensional array. The main array contains an element for
each row in the result, then each of those elements contains a sub array
of the data contained in that row.
--Dan
--
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
data intensive web and database programming
http://www.AnalysisAndSolutions.com/
4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409
From egewirtz at suscom.net Tue Jun 14 15:40:24 2005
From: egewirtz at suscom.net (Eric Gewirtz)
Date: Tue, 14 Jun 2005 15:40:24 -0400
Subject: [nycphp-talk] Timing out in php batch
Message-ID: <01a601c57118$e923f9d0$6501a8c0@Libby>
We are having a time out issue running in php batch mode. It was my
understanding based on the php manual that the max_execution_time
parameter in php.ini is overridden by batch and set to unlimited, yet
our application is getting the following error.
Fatal error: Maximum execution time of 30 seconds exceeded in
/home/abc/def_html/xxxxxxx/p2/prod/prodscript.php on line
315
The process is a database OLTP oriented application so we are
'selecting' from a MySQL DB and we are you using mysqlimport to load
tables as well as insert / update / and delete processing using PEAR DB.
The process usually runs for about 45 minutes but when the machine has
other processing going on it could take up to 2 hours and occasionally
it times out :-(
In this particular case the code was reading a 400,000 plus record flat
ascii file to get a record count (I know we could have used 'wc -l' but
we are trying to do everything in php so we are platform and OS
independent). While this was going on another process was applying about
4.5 million transactions to database tables.
We have been running this code for almost a year and we do get this
error when we run a lot of scripts on the server at the same time. This
time the error message identified a specific line of code that caused
the time out but this is not consistent - it times out within other
areas of the code too.
Our hosted server is dedicated to us - it is a dual processor (2ghz) - 2
gig memory
The following is the output of 'uname -a' from the server ---> Linux
xxxxxxx.xxxxxxx.com 2.4.30 #2 SMP Thu May 19 12:34:10 CDT 2005 i686 i686
i386 GNU/Linux
We are running php version 4.3.10
Any help would be appreciated - thanks
Eric Gewirtz
SolutionOne
Phone - 845-729-7800
Fax - 845-279-5502
egewirtz at rcn.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From dcech at phpwerx.net Tue Jun 14 15:57:12 2005
From: dcech at phpwerx.net (Dan Cech)
Date: Tue, 14 Jun 2005 15:57:12 -0400
Subject: [nycphp-talk] Timing out in php batch
In-Reply-To: <01a601c57118$e923f9d0$6501a8c0@Libby>
References: <01a601c57118$e923f9d0$6501a8c0@Libby>
Message-ID: <42AF3698.3050706@phpwerx.net>
Eric,
Try using http://php.net/set_time_limit at the top of the script to
increase/remove the time limit.
Dan
Eric Gewirtz wrote:
> We are having a time out issue running in php batch mode. It was my
> understanding based on the php manual that the max_execution_time
> parameter in php.ini is overridden by batch and set to unlimited, yet
> our application is getting the following error.
>
> Fatal error: Maximum execution time of 30 seconds exceeded in
> /home/abc/def_html/xxxxxxx/p2/prod/prodscript.php on line
> 315
From mitch.pirtle at gmail.com Tue Jun 14 17:42:56 2005
From: mitch.pirtle at gmail.com (Mitch Pirtle)
Date: Tue, 14 Jun 2005 17:42:56 -0400
Subject: [nycphp-talk] Cheap Book Source
In-Reply-To: <8d9a428005061407167d75a35@mail.gmail.com>
References: <319FD9EAB7A43E43895ACA5AA1F81E0502910292@xmail.nybg.org>
<8d9a428005061407146a9ed3f2@mail.gmail.com>
<8d9a428005061407167d75a35@mail.gmail.com>
Message-ID: <330532b605061414426f053e33@mail.gmail.com>
On 6/14/05, Joseph Crawford wrote:
> when it comes to JS it's not the syntax i cannot grasp it's the cross
> browser stuff, the browser methods etc.. JS syntax is cake ;)
Well I have an extra copy of Sitepoint's new AJAX book, and will be
bringing it to this month's NYPHP meet...
-- Mitch, happy to be getting extra copies of books for NYPHP
From codebowl at gmail.com Tue Jun 14 17:46:43 2005
From: codebowl at gmail.com (Joseph Crawford)
Date: Tue, 14 Jun 2005 17:46:43 -0400
Subject: [nycphp-talk] Cheap Book Source
In-Reply-To: <330532b605061414426f053e33@mail.gmail.com>
References: <319FD9EAB7A43E43895ACA5AA1F81E0502910292@xmail.nybg.org>
<8d9a428005061407146a9ed3f2@mail.gmail.com>
<8d9a428005061407167d75a35@mail.gmail.com>
<330532b605061414426f053e33@mail.gmail.com>
Message-ID: <8d9a428005061414465b47b0e4@mail.gmail.com>
lol i wish i could be there ;)
i live in VT so it's not easy for me to get to a meeting, i will make it to
one eventually though ;)
--
Joseph Crawford Jr.
Codebowl Solutions
codebowl at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From mitch.pirtle at gmail.com Tue Jun 14 17:50:22 2005
From: mitch.pirtle at gmail.com (Mitch Pirtle)
Date: Tue, 14 Jun 2005 17:50:22 -0400
Subject: [nycphp-talk] Freelance sites
In-Reply-To: <010001c570fc$62ad6f10$0554c644@HODESK>
References: <319FD9EAB7A43E43895ACA5AA1F81E0502910292@xmail.nybg.org>
<8d9a428005061407146a9ed3f2@mail.gmail.com>
<42AEEB41.1000709@aarond.com>
<8d9a42800506140743169b6dca@mail.gmail.com>
<42AEECDC.90009@aarond.com> <20050614145125.GM2905@leitz.reuel.net>
<010001c570fc$62ad6f10$0554c644@HODESK>
Message-ID: <330532b605061414503f2fe71f@mail.gmail.com>
On 6/14/05, Denis Ramirez wrote:
>
> Sorry I don't write english very well, but i want to know people in NY, i'm
> from Cuba, if somebody speak spanish or somebody want to communicate with me
> please contact, i need frineds in NY...
I used to be fluent, but forgot all my Spanish when I learned
Swiss-German. But put enough Guinness in me and I can even give you
Brasilian Portoguese ;-)
-- Mitch
From acas at sapo.pt Tue Jun 14 18:53:04 2005
From: acas at sapo.pt (Alberto dos Santos)
Date: Tue, 14 Jun 2005 23:53:04 +0100
Subject: [nycphp-talk] Freelance sites
In-Reply-To: <330532b605061414503f2fe71f@mail.gmail.com>
Message-ID: <20050614225301.09846A862D@virtu.nyphp.org>
Hola Denis,
Soy Portugu?s, pero hablo espa?ol.
Si quieres poner una question tecnica, pues hacelo en espa?ol que te lo
traduzco para Ingl?s.
Hasta.
--
Alberto dos Santos
email: acas at sapo.pt
web: otrebla.no.sapo.pt
skype: fatflash
msn: fatflash at hotmail.com
Salvaguarda: Este email est? protegido de v?rus e programas maliciosos
-----Original Message-----
From: talk-bounces at lists.nyphp.org [mailto:talk-bounces at lists.nyphp.org] On
Behalf Of Mitch Pirtle
Sent: ter?a-feira, 14 de Junho de 2005 22:50
To: NYPHP Talk
Subject: Re: [nycphp-talk] Freelance sites
On 6/14/05, Denis Ramirez wrote:
>
> Sorry I don't write english very well, but i want to know people in NY,
i'm
> from Cuba, if somebody speak spanish or somebody want to communicate with
me
> please contact, i need frineds in NY...
I used to be fluent, but forgot all my Spanish when I learned
Swiss-German. But put enough Guinness in me and I can even give you
Brasilian Portoguese ;-)
-- Mitch
_______________________________________________
New York PHP Talk Mailing List
AMP Technology
Supporting Apache, MySQL and PHP
http://lists.nyphp.org/mailman/listinfo/talk
http://www.nyphp.org
From jay_nyphp at fastmail.fm Tue Jun 14 20:35:03 2005
From: jay_nyphp at fastmail.fm (Jayesh Sheth)
Date: Tue, 14 Jun 2005 20:35:03 -0400
Subject: [nycphp-talk] structured programming in practice
Message-ID: <1118795703.23685.236380936@webmail.messagingengine.com>
Hello NYPHP members,
I thought I would ask your opinions on using structured programming (
see http://en.wikipedia.org/wiki/Structured_programming and
http://discuss.fogcreek.com/joelonsoftware/default.asp?cmd=show&ixPost=31001
) principles. More specifically, what are your opinions on single points
of entry and exit for functions?
For example, consider the following three code snippets:
What if you are stuck using PHP 4, and you have to use any of the
following error handling methods instead of exceptions, which one would
you choose? If so, why? Thanks in advance for reading through these
snippets!
----
Snippet 1
function make_beverage($bev_type, &$bev)
{
if($bev_type == 'coffee')
{
$aw = add_cwater($bev);
if ( ! $aw)
{
return false;
}
$bc = brew_coffee($bev);
if (!$bc)
{
return false;
}
return true;
}
else if ($bev_type == 'tea')
{
$aw = add_twater($bev)
{
if (! $aw)
{
return false;
}
}
$atb = add_tea_bag($bev);
if ( ! $atb )
{
return false;
}
return true;
}
}
-----
Snippet
function make_beverage($bev_type, &$bev)
{
if($bev_type == 'coffee' || $bev_type == 'tea')
{
if($bev_type == 'coffee')
{
$aw = add_cwater($bev);
if ($aw)
{
$bc = brew_coffee($bev);
if ($bc)
{
$return = true;
}
else
{
$return = false;
}
}
else
{
$return = false;
}
}
else
{
$aw = add_twater($bev)
if ($aw)
{
$atb = add_tea_bag($bev);
if ( $atb )
{
$return = true;
}
else
{
$return = false;
}
}
else
{
$return = false;
}
}
return $return;
}
}
----
Both Snippet 1 and Snippet 2 introduce an interesting problem. $bev is
passed in by reference, and so the functions that make_beverage() call
also act on $bev, which is defined outside of make_beverage(), before
make_beverage() is called.
So, if you want to know what exactly failed, what would you do?
Would you use return codes? For example:
----
Snippet 3
function make_beverage($bev_type, &$bev)
{
if($bev_type == 'coffee')
{
$aw = add_cwater($bev);
if ( ! $aw)
{
return -1;
}
$bc = brew_coffee($bev);
if (!$bc)
{
return -2;
}
return 1;
}
else if ($bev_type == 'tea')
{
$aw = add_twater($bev)
{
if (! $aw)
{
return -3;
}
}
$atb = add_tea_bag($bev);
if ( ! $atb )
{
return -4;
}
return 1;
}
}
----
Or would you do something like:
----
Snippet 4
function make_beverage($bev_type, &$bev, &$errs)
{
if($bev_type == 'coffee' || $bev_type == 'tea')
{
if($bev_type == 'coffee')
{
$aw = add_cwater($bev);
if ($aw)
{
$bc = brew_coffee($bev);
if ($bc)
{
$return = true;
}
else
{
$errs[] = 'bc';
$return = false;
}
}
else
{
$errs[] = 'aw';
$return = false;
}
}
else
{
$aw = add_twater($bev)
if ($aw)
{
$atb = add_tea_bag($bev);
if ( $atb )
{
$return = true;
}
else
{
$errs[] = 'atb';
$return = false;
}
}
else
{
$errs[] = 'aw';
$return = false;
}
}
return $return;
}
}
----
Best regards,
- Jay
From danielc at analysisandsolutions.com Wed Jun 15 09:17:57 2005
From: danielc at analysisandsolutions.com (Daniel Convissor)
Date: Wed, 15 Jun 2005 09:17:57 -0400
Subject: [nycphp-talk] structured programming in practice
In-Reply-To: <1118795703.23685.236380936@webmail.messagingengine.com>
References: <1118795703.23685.236380936@webmail.messagingengine.com>
Message-ID: <20050615131757.GA25931@panix.com>
Jay:
Man, your coding style gives me a headache. Way too much nesting, let
alone inconsistent widths of nesting. Then putting braces below each if
statement makes the code take up loads of extra vertical space, so it's
hard to see as much logic on a page.
That aside, the notion of having one exit point per function doesn't carry
much weight in my mind. If one reaches the end of execution, it seems
clearest to me to actually say you've reached that point by leaving the
function. Otherwise, you're left wondering what else happens down in the
rest of the function and have to go hunting, only to find out, oh, it's
done. What a waste.
Something I noticed in your examples is you're not handling the situation
if $bev_type isn't coffee or tea. I'd likely use a switch with a default
case here.
You're assigning the returns of add_twater() and add_tea_bag() to
variables, but the values are only used for evaluation in an if statement.
It's more efficient to just do:
if (!add_tea_bag($bev)) {
return false;
}
Now, as far as how to handle reporting of errors, that's really situation
specific.
Here's how I'd write your function:
function make_beverage_dan($bev_type, &$bev) {
switch ($bev_type) {
case 'coffee':
if (add_cwater($bev) && brew_coffee($bev)) {
return true;
}
return false;
case 'tea':
if (add_cwater($bev) && add_tea_bag($bev)) {
return true;
}
return false;
default:
return false;
}
}
I notice you're passing in $bev by reference. If that's solely to get the
value out of the method, I tend to prefer returning the values.
--Dan
--
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
data intensive web and database programming
http://www.AnalysisAndSolutions.com/
4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409
From codebowl at gmail.com Wed Jun 15 09:23:56 2005
From: codebowl at gmail.com (Joseph Crawford)
Date: Wed, 15 Jun 2005 09:23:56 -0400
Subject: [nycphp-talk] structured programming in practice
In-Reply-To: <20050615131757.GA25931@panix.com>
References: <1118795703.23685.236380936@webmail.messagingengine.com>
<20050615131757.GA25931@panix.com>
Message-ID: <8d9a42800506150623784852d1@mail.gmail.com>
Dan,
I completely agree with what you said :)
I just got done reading this and was going to reply but umm why duplicate...
--
Joseph Crawford Jr.
Codebowl Solutions
codebowl at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From mitch.pirtle at gmail.com Wed Jun 15 09:38:20 2005
From: mitch.pirtle at gmail.com (Mitch Pirtle)
Date: Wed, 15 Jun 2005 09:38:20 -0400
Subject: [nycphp-talk] structured programming in practice
In-Reply-To: <8d9a42800506150623784852d1@mail.gmail.com>
References: <1118795703.23685.236380936@webmail.messagingengine.com>
<20050615131757.GA25931@panix.com>
<8d9a42800506150623784852d1@mail.gmail.com>
Message-ID: <330532b605061506382a5ce771@mail.gmail.com>
On 6/15/05, Joseph Crawford wrote:
> Dan,
>
> I completely agree with what you said :)
> I just got done reading this and was going to reply but umm why
> duplicate...
But that is not the purpose of this thread - remember, this is an
intellectual exercise in Structured Programming - of course we all
would most likely put this in a switch statement, but then that
violates the concepts behind Stuctured Programming in the first place!
Yes the code is ugly, it reminds me of really bad COBOL, but it
satisfies the requirements of the exercise.
Raj, you are a better man than I, because I simply cannot do it. ;-)
-- Mitch
From chsnyder at gmail.com Wed Jun 15 09:42:52 2005
From: chsnyder at gmail.com (csnyder)
Date: Wed, 15 Jun 2005 09:42:52 -0400
Subject: [nycphp-talk] structured programming in practice
In-Reply-To: <1118795703.23685.236380936@webmail.messagingengine.com>
References: <1118795703.23685.236380936@webmail.messagingengine.com>
Message-ID:
On 6/14/05, Jayesh Sheth wrote:
> I thought I would ask your opinions on using structured programming
> More specifically, what are your opinions on single points
> of entry and exit for functions?
I like the consistency of it, but I prefer code that is easy to read.
As long as the exits are well-marked, I say return wherever it makes
sense.
I typically bail out of functions or methods at the top if the
arguments don't validate, rather than create a big nested block.
As for figuring out why a function returned early... well, that's why
PHP needed exceptions, isn't it? Otherwise, I'm partial to using a
console to track those things...
$log = array();
function console( $message ) {
global $log;
$log[] = $message;
}
function make_beverage( &$bev ) {
$aw = add_cwater( $bev );
if ( ! $aw) {
console( 'make_beverage: Unable to add water.' );
return FALSE;
}
// ...
return TRUE;
}
//...
// display console messages - developers only!
print '
'.implode( "\n", $log ).'
';
From danielc at analysisandsolutions.com Wed Jun 15 09:52:20 2005
From: danielc at analysisandsolutions.com (Daniel Convissor)
Date: Wed, 15 Jun 2005 09:52:20 -0400
Subject: [nycphp-talk] structured programming in practice
In-Reply-To: <330532b605061506382a5ce771@mail.gmail.com>
References: <1118795703.23685.236380936@webmail.messagingengine.com>
<20050615131757.GA25931@panix.com>
<8d9a42800506150623784852d1@mail.gmail.com>
<330532b605061506382a5ce771@mail.gmail.com>
Message-ID: <20050615135220.GA8873@panix.com>
Sir Mitch:
On Wed, Jun 15, 2005 at 09:38:20AM -0400, Mitch Pirtle wrote:
> But that is not the purpose of this thread - remember, this is an
> intellectual exercise in Structured Programming - of course we all
> would most likely put this in a switch statement, but then that
> violates the concepts behind Stuctured Programming in the first place!
But Jay's examples all had multiple exit points, so he wasn't using SP to
begin with.
--Dan
--
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
data intensive web and database programming
http://www.AnalysisAndSolutions.com/
4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409
From Cbielanski at inta.org Wed Jun 15 10:05:40 2005
From: Cbielanski at inta.org (Chris Bielanski)
Date: Wed, 15 Jun 2005 10:05:40 -0400
Subject: [nycphp-talk] structured programming in practice
Message-ID: <328AA5243F20DA4DABDC022745BF3A073EE6FC@INTAMAIL2k3.ny.inta.org>
I agree with Dan, and I wanted to inject a little experience here. I
spent a few years doing Delphi programming and it got me into a habit of
declaring and using $result in most of my functions. Now, whereas I use
multiple-exit logic like most folks here, a $result variable does (IMHO)
lend itself to the SP method of single-exit. Perhaps this is a suitable
"hybrid" approach, if that's the correct term?
My example modified from Dan's: (I went with my habit for case syntax
function make_beverage_cb($bev_type, &$bev) {
$result = false;
switch ($bev_type) {
case ('coffee'): {
if (add_cwater($bev) && brew_coffee($bev)) {
$result = true;
}
break;
}
case ('tea'): {
if (add_cwater($bev) && add_tea_bag($bev)) {
$result = true;
}
break;
}
default: {
$result = false;
break;
}
}
return $result;
}
Thanks,
Chris Bielanski
Web Programmer,
International Trademark Association,
655 Third Avenue, 10th Floor
New York, NY 10017-5617 USA
+1 (212) 642-1745, f: +1 (212) 768-7796
mailto:cbielanski at inta.org, www.inta.org
INTA -- 125 Years of Excellence
Dan Said:
> That aside, the notion of having one exit point per function
> doesn't carry much weight in my mind. If one reaches the end
> of execution, it seems clearest to me to actually say you've
> reached that point by leaving the function. Otherwise,
> you're left wondering what else happens down in the rest of
> the function and have to go hunting, only to find out, oh,
> it's done. What a waste.
>
> Something I noticed in your examples is you're not handling
> the situation if $bev_type isn't coffee or tea. I'd likely
> use a switch with a default case here.
>
> You're assigning the returns of add_twater() and
> add_tea_bag() to variables, but the values are only used for
> evaluation in an if statement.
> It's more efficient to just do:
>
> if (!add_tea_bag($bev)) {
> return false;
> }
>
> Now, as far as how to handle reporting of errors, that's
> really situation specific.
>
> Here's how I'd write your function:
>
> function make_beverage_dan($bev_type, &$bev) {
> switch ($bev_type) {
> case 'coffee':
> if (add_cwater($bev) && brew_coffee($bev)) {
> return true;
> }
> return false;
>
> case 'tea':
> if (add_cwater($bev) && add_tea_bag($bev)) {
> return true;
> }
> return false;
>
> default:
> return false;
> }
> }
>
> I notice you're passing in $bev by reference. If that's
> solely to get the value out of the method, I tend to prefer
> returning the values.
>
> --Dan
>
> --
> T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
> data intensive web and database programming
> http://www.AnalysisAndSolutions.com/
> 4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f:
> 718-854-0409 _______________________________________________
> New York PHP Talk Mailing List
> AMP Technology
> Supporting Apache, MySQL and PHP
> http://lists.nyphp.org/mailman/listinfo/talk
> http://www.nyphp.org
>
From jay_nyphp at fastmail.fm Wed Jun 15 10:14:00 2005
From: jay_nyphp at fastmail.fm (Jayesh Sheth)
Date: Wed, 15 Jun 2005 10:14:00 -0400
Subject: [nycphp-talk] structured programming in practice
Message-ID: <1118844840.13847.236425960@webmail.messagingengine.com>
Hello guys,
thanks a lot for your valuable feedback! Sorry for the irregularly
spaced code Dan - I first began typing in a textarea then in JEdit.
Mangling was unintentional :-)
I often like returning when I need to do, but some believe exactly in
the opposite ...
- Jay
From corey at bmfenterprises.com Wed Jun 15 11:20:30 2005
From: corey at bmfenterprises.com (Corey Fogarty)
Date: Wed, 15 Jun 2005 11:20:30 -0400
Subject: [nycphp-talk] PEAR::SOAP PHP and SOAP
Message-ID:
We are looking for some help cleaning up an install of PEAR::SOAP or some
kind of PHP SOAP client/server for our Apache 1.3.29, PHP 4.3.4, Solaris 2.6
environment.
I have tried many things with no luck and am looking for someone who has
done this before. We have some budget and are willing to pay for the
services. If there is anyone out there who has done this, or knows someone
who has done this. Please contact me ASAP.
Thank you,
Corey
Corey Fogarty
BMF Enterprises
www.bmfenterprises.com
908.995.4711
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From krook at us.ibm.com Wed Jun 15 11:06:42 2005
From: krook at us.ibm.com (Daniel Krook)
Date: Wed, 15 Jun 2005 11:06:42 -0400
Subject: [nycphp-talk] PHP book recommendations by role
Message-ID:
Following on the earlier book access discussions...
What are the most valuable hard copy book resources that you would
recommend today if you needed to populate a shelf with, say three, of the
best for the following "typical" NYPHPers?
* The freelancer with intermediate skill in procedural PHP 4 and MySQL 4.0
who is looking to strengthen his/her existing technology skillset and to
smoothly transition to PHP 5 OOP and the mysqli interface.
* The traditional C/C++ programmer beginning to develop web applications
(and possibly begin work with relational databases).
* The veteran PHP 4/5 programmer looking to advance his/her understanding
of UML, OOP, patterns & methodologies.
* The second-year university computer science student looking to develop a
web application foundation (HTTP, SQL, HTML).
* The mid-career interface designer with strong XHTML, JavaScript, CSS and
a dab of ASP/JSP scripting?
* The J2EE programmer who is migrating midsize Java applications to PHP,
assuming the database is to remain DB2/Oracle etc.
Daniel Krook, Advisory IT Specialist
Application Development, Production Services - Tools, ibm.com
Personal: http://info.krook.org/
BluePages: http://bluepages.redirect.webahead.ibm.com/
BlogPages: http://blogpages.redirect.webahead.ibm.com/
From james at surgam.net Wed Jun 15 11:17:28 2005
From: james at surgam.net (james at surgam.net)
Date: Wed, 15 Jun 2005 11:17:28 -0400 (EDT)
Subject: [nycphp-talk] structured programming in practice
In-Reply-To: Message from "Chris Bielanski" of "Wed,
15 Jun 2005 10:05:40 EDT."
<328AA5243F20DA4DABDC022745BF3A073EE6FC@INTAMAIL2k3.ny.inta.org>
Message-ID: <20050615151728.1CBC8BE3C@mail.surgam.net>
"Chris Bielanski" says:
...
> My example modified from Dan's: (I went with my habit for case
> syntax
My modification to compact things a bit:
function make_beverage_cb($bev_type, &$bev) {
switch ($bev_type) {
case ('coffee'):
$result = (add_cwater($bev) && brew_coffee($bev));
break;
case ('tea'):
$result = (add_twater($bev) && add_tea_bag($bev));
break;
default:
$result = false;
break;
}
return $result;
}
If you want to stick errors in an array as the original question
asked, you can also do something like this (code off the top of my
head -- NOT TESTED):
function make_beverage_cb($bev_type, &$bev) {
$err = array(); // Could be passed in instead
switch ($bev_type) {
case ('coffee'):
$result = ((add_cwater($bev) || (($err[] = 'aw') && false))
&& (brew_coffee($bev) || (($err[] = 'bc') && false)));
break;
case ('tea'):
$result = ((add_twater($bev) || (($err[] = 'ac') && false))
&& (add_tea_bag($bev) || (($err[] = 'at') && false)));
break;
default:
$err[] = 'bad bev';
$result = false;
break;
}
handle_errs($err); // or this can be done after returning
return $result;
}
$err could also be an array that's passed in and handled later.
From agfische at email.smith.edu Wed Jun 15 11:31:22 2005
From: agfische at email.smith.edu (Aaron Fischer)
Date: Wed, 15 Jun 2005 11:31:22 -0400
Subject: [nycphp-talk] PEAR::SOAP PHP and SOAP
In-Reply-To:
References:
Message-ID: <5a268633e29a93efd9bf6df35ce885fb@email.smith.edu>
This should be posted on the jobs list, not the talk list.
http://www.nyphp.org/content/mailinglist/mlist.php
On Jun 15, 2005, at 11:20 AM, Corey Fogarty wrote:
> We are looking for some help cleaning up an install of PEAR::SOAP or
> some kind of PHP SOAP client/server for our Apache 1.3.29, PHP 4.3.4,
> Solaris 2.6 environment.
>
> I have tried many things with no luck and am looking for someone who
> has done this before. We have some budget and are willing to pay for
> the services. If there is anyone out there who has done this, or knows
> someone who has done this. Please contact me ASAP.
>
> Thank you,
>
> Corey
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 816 bytes
Desc: not available
URL:
From shiflett at php.net Wed Jun 15 10:32:48 2005
From: shiflett at php.net (Chris Shiflett)
Date: Wed, 15 Jun 2005 15:32:48 +0100
Subject: [nycphp-talk] PHP book recommendations by role
In-Reply-To:
References:
Message-ID: <42B03C10.6060407@php.net>
Daniel Krook wrote:
> * The freelancer with intermediate skill in procedural PHP 4 and MySQL 4.0
> who is looking to strengthen his/her existing technology skillset and to
> smoothly transition to PHP 5 OOP and the mysqli interface.
Upgrading to PHP 5
> * The veteran PHP 4/5 programmer looking to advance his/her understanding
> of UML, OOP, patterns & methodologies.
Advanced PHP Programming
> * The mid-career interface designer with strong XHTML, JavaScript, CSS and
> a dab of ASP/JSP scripting?
Learning PHP 5
Those are my picks - I don't have good suggestions for all of the
categories. :-)
Chris
--
Chris Shiflett
Brain Bulb, The PHP Consultancy
http://brainbulb.com/
From mitch.pirtle at gmail.com Wed Jun 15 11:40:35 2005
From: mitch.pirtle at gmail.com (Mitch Pirtle)
Date: Wed, 15 Jun 2005 11:40:35 -0400
Subject: [nycphp-talk] PEAR::SOAP PHP and SOAP
In-Reply-To: <5a268633e29a93efd9bf6df35ce885fb@email.smith.edu>
References:
<5a268633e29a93efd9bf6df35ce885fb@email.smith.edu>
Message-ID: <330532b6050615084032773f02@mail.gmail.com>
Forget the job, I want to know what everyone else is using for SOAP
services! hehe
There are several routes to take, and I'd like opinions and feedback
from folks that have implemented SOAP. What libraries are recommended,
and where are the gotchas?
-- Mitch
From maggie.cassidy at avaion.com Wed Jun 15 12:39:46 2005
From: maggie.cassidy at avaion.com (Maggie Cassidy)
Date: Wed, 15 Jun 2005 12:39:46 -0400
Subject: [nycphp-talk] Timing out in php batch
In-Reply-To: <42AF3698.3050706@phpwerx.net>
Message-ID: <20050615163951.LTSJ1954.imta06a2.registeredsite.com@maggie>
Isn't the set_time_limit/setting the max_execution_time irrelevant in batch
mode/command line script?
-Maggie
-----Original Message-----
From: talk-bounces at lists.nyphp.org [mailto:talk-bounces at lists.nyphp.org] On
Behalf Of Dan Cech
Sent: Tuesday, June 14, 2005 3:57 PM
To: NYPHP Talk
Subject: Re: [nycphp-talk] Timing out in php batch
Eric,
Try using http://php.net/set_time_limit at the top of the script to
increase/remove the time limit.
Dan
Eric Gewirtz wrote:
> We are having a time out issue running in php batch mode. It was my
> understanding based on the php manual that the max_execution_time
> parameter in php.ini is overridden by batch and set to unlimited, yet
> our application is getting the following error.
>
> Fatal error: Maximum execution time of 30 seconds exceeded in
> /home/abc/def_html/xxxxxxx/p2/prod/prodscript.php on line
> 315
_______________________________________________
New York PHP Talk Mailing List
AMP Technology
Supporting Apache, MySQL and PHP
http://lists.nyphp.org/mailman/listinfo/talk
http://www.nyphp.org
--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.7.1 - Release Date: 6/13/2005
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.7.3/15 - Release Date: 6/14/2005
From dcech at phpwerx.net Wed Jun 15 12:48:16 2005
From: dcech at phpwerx.net (Dan Cech)
Date: Wed, 15 Jun 2005 12:48:16 -0400
Subject: [nycphp-talk] Timing out in php batch
In-Reply-To: <20050615163951.LTSJ1954.imta06a2.registeredsite.com@maggie>
References: <20050615163951.LTSJ1954.imta06a2.registeredsite.com@maggie>
Message-ID: <42B05BD0.2040802@phpwerx.net>
Maggie Cassidy wrote:
> Isn't the set_time_limit/setting the max_execution_time irrelevant in batch
> mode/command line script?
According to the manual page I referenced earlier, the
max_execution_time setting does not take into account time spent waiting
for 'system calls using system(), stream operations, database queries,
etc.'. As far as I am aware the timeout will still be in effect for the
script itself, regardless of whether it is run from the command line,
cgi or apache module.
Dan
From adam at trachtenberg.com Wed Jun 15 13:43:05 2005
From: adam at trachtenberg.com (Adam Maccabee Trachtenberg)
Date: Wed, 15 Jun 2005 13:43:05 -0400 (EDT)
Subject: [nycphp-talk] PEAR::SOAP PHP and SOAP
In-Reply-To:
References:
Message-ID:
On Wed, 15 Jun 2005, Corey Fogarty wrote:
> We are looking for some help cleaning up an install of PEAR::SOAP or some
> kind of PHP SOAP client/server for our Apache 1.3.29, PHP 4.3.4, Solaris 2.6
> environment.
Corey --
Please see Chuck's message on the PEAR list. The latest PEAR::SOAP is
much improved, and you should try it out.
-adam
--
adam at trachtenberg.com | http://www.trachtenberg.com
author of o'reilly's "upgrading to php 5" and "php cookbook"
avoid the holiday rush, buy your copies today!
-------------- next part --------------
_______________________________________________
New York PHP Talk Mailing List
AMP Technology
Supporting Apache, MySQL and PHP
http://lists.nyphp.org/mailman/listinfo/talk
http://www.nyphp.org
From egewirtz at suscom.net Wed Jun 15 14:24:17 2005
From: egewirtz at suscom.net (Eric Gewirtz)
Date: Wed, 15 Jun 2005 14:24:17 -0400
Subject: [nycphp-talk] Timing out in php batch
In-Reply-To: <42B05BD0.2040802@phpwerx.net>
Message-ID: <002801c571d7$74a67320$6501a8c0@Libby>
Hi Dan -
Can you point me to what you were reading?
Also, since we are running in batch we are running php (cli)
-bash-2.05b$ php -v
PHP 4.3.10 (cli) (built: Feb 3 2005 23:39:53)
When run in batch, the following returns "0" as documented to be
unlimited execution time
Yet, we are still timing out only when the machine is bogged down - when
run standalone the process always finishes in about 50 minutes of run
time.
Here is what I see in the manual -
There are certain php.ini directives which are overridden by the CLI
SAPI because they do not make sense in shell environments:
Table 43-1. Overridden php.ini directives
Directive CLI SAPI default value Comment
html_errors FALSE It can be quite hard to read the error message in your
shell when it's cluttered with all those meaningless HTML tags,
therefore this directive defaults to FALSE.
implicit_flush TRUE It is desired that any output coming from print(),
echo() and friends is immediately written to the output and not cached
in any buffer. You still can use output buffering if you want to defer
or manipulate standard output.
max_execution_time 0 (unlimited) Due to endless possibilities of using
PHP in shell environments, the maximum execution time has been set to
unlimited. Whereas applications written for the web are often executed
very quickly, shell application tend to have a much longer execution
time.
register_argc_argv TRUE Because this setting is TRUE you will always
have access to argc (number of arguments passed to the application) and
argv (array of the actual arguments) in the CLI SAPI.
As of PHP 4.3.0, the PHP variables $argc and $argv are registered and
filled in with the appropriate values when using the CLI SAPI. Prior to
this version, the creation of these variables behaved as they do in CGI
and MODULE versions which requires the PHP directive register_globals to
be on. Regardless of version or register_globals setting, you can always
go through either $_SERVER or $HTTP_SERVER_VARS. Example:
$_SERVER['argv']
Note: These directives cannot be initialized with another value from the
configuration file php.ini or a custom one (if specified). This is a
limitation because those default values are applied after all
configuration files have been parsed. However, their value can be
changed during runtime (which does not make sense for all of those
directives, e.g. register_argc_argv).
Eric Gewirtz
SolutionOne
Phone - 845-729-7800
Fax - 845-279-5502
egewirtz at rcn.com
>-----Original Message-----
>From: talk-bounces at lists.nyphp.org
[mailto:talk-bounces at lists.nyphp.org] On
>Behalf Of Dan Cech
>Sent: Wednesday, June 15, 2005 11:48 AM
>To: NYPHP Talk
>Subject: Re: [nycphp-talk] Timing out in php batch
>
>Maggie Cassidy wrote:
>> Isn't the set_time_limit/setting the max_execution_time irrelevant in
>batch
>> mode/command line script?
>
>According to the manual page I referenced earlier, the
>max_execution_time setting does not take into account time spent
waiting
>for 'system calls using system(), stream operations, database queries,
>etc.'. As far as I am aware the timeout will still be in effect for
the
>script itself, regardless of whether it is run from the command line,
>cgi or apache module.
>
>Dan
>_______________________________________________
>New York PHP Talk Mailing List
>AMP Technology
>Supporting Apache, MySQL and PHP
>http://lists.nyphp.org/mailman/listinfo/talk
>http://www.nyphp.org
From dcech at phpwerx.net Wed Jun 15 15:26:45 2005
From: dcech at phpwerx.net (Dan Cech)
Date: Wed, 15 Jun 2005 15:26:45 -0400
Subject: [nycphp-talk] Timing out in php batch
In-Reply-To: <002801c571d7$74a67320$6501a8c0@Libby>
References: <002801c571d7$74a67320$6501a8c0@Libby>
Message-ID: <42B080F5.8020203@phpwerx.net>
Eric Gewirtz wrote:
> Hi Dan -
>
> Can you point me to what you were reading?
I was reading http://php.net/set_time_limit, based on the error message
you are receiving.
It does appear that the time limit should not be enforced for cli
scripts, so I guess you need to track down where the error message is
coming from.
Does the main script call out to any other scripts or web pages running
php which could be timing out?
Dan
From egewirtz at suscom.net Wed Jun 15 20:42:19 2005
From: egewirtz at suscom.net (Eric Gewirtz)
Date: Wed, 15 Jun 2005 20:42:19 -0400
Subject: [nycphp-talk] Timing out in php batch
In-Reply-To: <42B080F5.8020203@phpwerx.net>
Message-ID: <003a01c5720c$446aef80$6501a8c0@Libby>
See below
>-----Original Message-----
>From: talk-bounces at lists.nyphp.org
[mailto:talk-bounces at lists.nyphp.org] On
>Behalf Of Dan Cech
>Sent: Wednesday, June 15, 2005 2:27 PM
>To: NYPHP Talk
>Subject: Re: [nycphp-talk] Timing out in php batch
>
>Eric Gewirtz wrote:
>> Hi Dan -
>>
>> Can you point me to what you were reading?
>
>I was reading http://php.net/set_time_limit, based on the error message
>you are receiving.
>
>It does appear that the time limit should not be enforced for cli
>scripts, so I guess you need to track down where the error message is
>coming from.
>
>Does the main script call out to any other scripts or web pages running
>php which could be timing out?
[Eric Gewirtz] Not that I am aware of but it certainly does appear that
this is happening - the entire script is written in php. The script is
called from a shell script but that's it. The script is kind of like JCL
- it's running other php scripts, executing sql statements against mySQL
and invoking mySQL msqlimport - I'm thinking that maybe the sever
conection to MySQL is timing out
>
>Dan
>_______________________________________________
>New York PHP Talk Mailing List
>AMP Technology
>Supporting Apache, MySQL and PHP
>http://lists.nyphp.org/mailman/listinfo/talk
>http://www.nyphp.org
From adam at trachtenberg.com Thu Jun 16 00:40:34 2005
From: adam at trachtenberg.com (Adam Maccabee Trachtenberg)
Date: Thu, 16 Jun 2005 00:40:34 -0400 (EDT)
Subject: [nycphp-talk] PHP book recommendations by role
In-Reply-To:
References:
Message-ID:
On Wed, 15 Jun 2005, Daniel Krook wrote:
> * The veteran PHP 4/5 programmer looking to advance his/her
> understanding of UML, OOP, patterns & methodologies.
Head First Design Patterns. The examples are in Java, but there's
pretty much no difference between that and PHP in this context.
http://www.amazon.com/exec/obidos/tg/detail/-/0596007124
This is an excellent book.
-adam
--
adam at trachtenberg.com | http://www.trachtenberg.com
author of o'reilly's "upgrading to php 5" and "php cookbook"
avoid the holiday rush, buy your copies today!
From mitch.pirtle at gmail.com Thu Jun 16 09:16:02 2005
From: mitch.pirtle at gmail.com (Mitch Pirtle)
Date: Thu, 16 Jun 2005 09:16:02 -0400
Subject: [nycphp-talk] PHP book recommendations by role
In-Reply-To:
References:
Message-ID: <330532b60506160616434390f4@mail.gmail.com>
On 6/16/05, Adam Maccabee Trachtenberg wrote:
> On Wed, 15 Jun 2005, Daniel Krook wrote:
>
> > * The veteran PHP 4/5 programmer looking to advance his/her
> > understanding of UML, OOP, patterns & methodologies.
>
> Head First Design Patterns. The examples are in Java, but there's
> pretty much no difference between that and PHP in this context.
The PHP Anthology Series by Harry Fuecks (Sitepoint) is my fave PHP
book(s), it is readable even away from the computer. Nice coverage and
introduction to OO and patterns, too. Gets my highest recommendation.
-- Mitch
From danielc at analysisandsolutions.com Thu Jun 16 09:23:25 2005
From: danielc at analysisandsolutions.com (Daniel Convissor)
Date: Thu, 16 Jun 2005 09:23:25 -0400
Subject: [nycphp-talk] Timing out in php batch
In-Reply-To: <003a01c5720c$446aef80$6501a8c0@Libby>
References: <42B080F5.8020203@phpwerx.net>
<003a01c5720c$446aef80$6501a8c0@Libby>
Message-ID: <20050616132325.GA6488@panix.com>
Hey Eric:
On Wed, Jun 15, 2005 at 08:42:19PM -0400, Eric Gewirtz wrote:
> and invoking mySQL msqlimport - I'm thinking that maybe the sever
> conection to MySQL is timing out
The error message you saw was definitely from PHP's max execution time.
Are you sure you're running the script against the CLI build? You may be
hitting the CGI build. I saw you tested this with php -v, but put in an
echo php_sapi_name() . "\n";
exit;
at the top of your prodscript.php and see what it says. Make sure you
invoke this test of prodscript.php the same exact way you did when the
timeout errors came up. Out of curiosity, when you got the timeout error,
how were you invoking prodscript.php? Sometimes, different means of
invocation result in a different version of PHP being used.
Regardless, throwing in a call to set_time_limit(0) at the top of the
script should solve the problem.
--Dan
--
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
data intensive web and database programming
http://www.AnalysisAndSolutions.com/
4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409
From pete at slingo.com Thu Jun 16 09:47:11 2005
From: pete at slingo.com (Pete Czech - Slingo, Inc.)
Date: Thu, 16 Jun 2005 09:47:11 -0400
Subject: [nycphp-talk] Need Urgent Assistance!
Message-ID: <20050616134710.6FA98A8798@virtu.nyphp.org>
Hello!
We had a turnover here and need immediate assistance from a system
administrator familiar with BSD/Linux, Load balancing, DNS, and other
aspects of system administration. If someone is able to fill in our gaps or
even looking for full time work, get back to me immediately (like, this
morning). We'd especially appreciate your ability to get to our Englewood
Cliffs, NJ office.
Cheers,
Pete Czech
Director of Technology
Slingo, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From egewirtz at suscom.net Thu Jun 16 09:55:21 2005
From: egewirtz at suscom.net (Eric Gewirtz)
Date: Thu, 16 Jun 2005 09:55:21 -0400
Subject: [nycphp-talk] Timing out in php batch
In-Reply-To: <20050616132325.GA6488@panix.com>
Message-ID: <002d01c5727b$0c66ba50$6501a8c0@Libby>
Dan,
Thanks for the info, we will try your suggestions and see what we get -
Regarding, the questions as to how we are invoking prodscript.php, we
are executing a shell script via cron on a nightly basis. The contents
of the shell script looks like this;
###################################
#!/bin/sh
#Load Daily
#Modified for Unix
#Modified by: Maggie Cassidy
#Last Modified: 12/18/2004
###################################
php /home/xxxxxx/public_html/ffffff/p2/prod/prodscript.php arg1 arg2
arg3 arg4 > /home/xxxxxx/batch/yyyyyyy/p2/prod/logs/ProdScriptLoad.log
Eric Gewirtz
SolutionOne
Phone - 845-729-7800
Fax - 845-279-5502
egewirtz at rcn.com
>-----Original Message-----
>From: talk-bounces at lists.nyphp.org
[mailto:talk-bounces at lists.nyphp.org] On
>Behalf Of Daniel Convissor
>Sent: Thursday, June 16, 2005 8:23 AM
>To: NYPHP Talk
>Subject: Re: [nycphp-talk] Timing out in php batch
>
>Hey Eric:
>
>On Wed, Jun 15, 2005 at 08:42:19PM -0400, Eric Gewirtz wrote:
>
>> and invoking mySQL msqlimport - I'm thinking that maybe the sever
>> conection to MySQL is timing out
>
>The error message you saw was definitely from PHP's max execution time.
>Are you sure you're running the script against the CLI build? You may
be
>hitting the CGI build. I saw you tested this with php -v, but put in
an
>
> echo php_sapi_name() . "\n";
> exit;
>
>at the top of your prodscript.php and see what it says. Make sure you
>invoke this test of prodscript.php the same exact way you did when the
>timeout errors came up. Out of curiosity, when you got the timeout
error,
>how were you invoking prodscript.php? Sometimes, different means of
>invocation result in a different version of PHP being used.
>
>Regardless, throwing in a call to set_time_limit(0) at the top of the
>script should solve the problem.
>
>--Dan
>
>--
> T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
> data intensive web and database programming
> http://www.AnalysisAndSolutions.com/
> 4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409
>_______________________________________________
>New York PHP Talk Mailing List
>AMP Technology
>Supporting Apache, MySQL and PHP
>http://lists.nyphp.org/mailman/listinfo/talk
>http://www.nyphp.org
From egewirtz at suscom.net Thu Jun 16 10:05:07 2005
From: egewirtz at suscom.net (Eric Gewirtz)
Date: Thu, 16 Jun 2005 10:05:07 -0400
Subject: [nycphp-talk] Timing out in php batch
In-Reply-To: <20050616132325.GA6488@panix.com>
Message-ID: <002e01c5727c$66efcd30$6501a8c0@Libby>
Sorry for the second post - should have waited for the results and sent
everything all at once -
We put 'echo php_sapi_name() . "\n";' at the top of the prodscript.php
script and it returned 'cli'
We will put the set_time_limit(0) in and see if this helps -
unfortunately the time out issues occurs randomly and of course when we
try to force it to happen by intentionally running a lot of processes at
one time, it does not fail :-(
Thanks again
Eric Gewirtz
SolutionOne
Phone - 845-729-7800
Fax - 845-279-5502
egewirtz at rcn.com
>-----Original Message-----
>From: talk-bounces at lists.nyphp.org
[mailto:talk-bounces at lists.nyphp.org] On
>Behalf Of Daniel Convissor
>Sent: Thursday, June 16, 2005 8:23 AM
>To: NYPHP Talk
>Subject: Re: [nycphp-talk] Timing out in php batch
>
>Hey Eric:
>
>On Wed, Jun 15, 2005 at 08:42:19PM -0400, Eric Gewirtz wrote:
>
>> and invoking mySQL msqlimport - I'm thinking that maybe the sever
>> conection to MySQL is timing out
>
>The error message you saw was definitely from PHP's max execution time.
>Are you sure you're running the script against the CLI build? You may
be
>hitting the CGI build. I saw you tested this with php -v, but put in
an
>
> echo php_sapi_name() . "\n";
> exit;
>
>at the top of your prodscript.php and see what it says. Make sure you
>invoke this test of prodscript.php the same exact way you did when the
>timeout errors came up. Out of curiosity, when you got the timeout
error,
>how were you invoking prodscript.php? Sometimes, different means of
>invocation result in a different version of PHP being used.
>
>Regardless, throwing in a call to set_time_limit(0) at the top of the
>script should solve the problem.
>
>--Dan
>
>--
> T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
> data intensive web and database programming
> http://www.AnalysisAndSolutions.com/
> 4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409
>_______________________________________________
>New York PHP Talk Mailing List
>AMP Technology
>Supporting Apache, MySQL and PHP
>http://lists.nyphp.org/mailman/listinfo/talk
>http://www.nyphp.org
From dyun at blue-iceberg.com Thu Jun 16 10:08:08 2005
From: dyun at blue-iceberg.com (David Yun)
Date: Thu, 16 Jun 2005 10:08:08 -0400
Subject: [nycphp-talk] [JOB] PHP Freelance Job (1 month on site)
In-Reply-To: <428D4513.7070509@mikebrittain.com>
Message-ID:
Blue Iceberg is looking for a PHP/MySQL web application developer to work on
site with us on a 1 month project. The project is freelance but hopefully
will lead to a longer term relationship.
If you are interested, please send your resum? and rate to
ntjob at blue-iceberg.com
Thanks.
...............................................................
David Yun, Production Manager
Blue Iceberg LLC
Interactive Strategy | Website Development | Business Solutions
http://www.blue-iceberg.com
Tel: 212.337.9920 Fax: 253.295.9296
From lists at zaunere.com Thu Jun 16 10:28:22 2005
From: lists at zaunere.com (Hans Zaunere)
Date: Thu, 16 Jun 2005 10:28:22 -0400
Subject: [nycphp-talk] Job Postings on Talk
Message-ID: <0MKyxe-1DivM02k0d-0003EI@mrelay.perfora.net>
Folks,
Please be sure that all job related postings occur on the NYPHP-Jobs list.
http://lists.nyphp.org/mailman/listinfo/jobs
Thanks all,
---
Hans Zaunere
President, Founder
New York PHP
http://www.nyphp.org
AMP Technology
Supporting Apache, MySQL and PHP
From drydell at att.net Thu Jun 16 10:49:09 2005
From: drydell at att.net (drydell at att.net)
Date: Thu, 16 Jun 2005 14:49:09 +0000
Subject: [nycphp-talk] Timing out in php batch
Message-ID: <061620051449.3773.42B1916500014EC400000EBD216037622304040A0B979D0B@att.net>
I've gotten some strange results invoking scripts from bash shells on some hosts, but wrapping the request with env always seems to fix it:
env -i /path/to/php -q -f /path/to/script.php args > log
-------------- Original message ----------------------
From: "Eric Gewirtz"
> Dan,
>
> Thanks for the info, we will try your suggestions and see what we get -
>
> Regarding, the questions as to how we are invoking prodscript.php, we
> are executing a shell script via cron on a nightly basis. The contents
> of the shell script looks like this;
>
> ###################################
> #!/bin/sh
> #Load Daily
> #Modified for Unix
> #Modified by: Maggie Cassidy
> #Last Modified: 12/18/2004
> ###################################
>
> php /home/xxxxxx/public_html/ffffff/p2/prod/prodscript.php arg1 arg2
> arg3 arg4 > /home/xxxxxx/batch/yyyyyyy/p2/prod/logs/ProdScriptLoad.log
>
>
>
> Eric Gewirtz
> SolutionOne
> Phone - 845-729-7800
> Fax - 845-279-5502
> egewirtz at rcn.com
>
>
> >-----Original Message-----
> >From: talk-bounces at lists.nyphp.org
> [mailto:talk-bounces at lists.nyphp.org] On
> >Behalf Of Daniel Convissor
> >Sent: Thursday, June 16, 2005 8:23 AM
> >To: NYPHP Talk
> >Subject: Re: [nycphp-talk] Timing out in php batch
> >
> >Hey Eric:
> >
> >On Wed, Jun 15, 2005 at 08:42:19PM -0400, Eric Gewirtz wrote:
> >
> >> and invoking mySQL msqlimport - I'm thinking that maybe the sever
> >> conection to MySQL is timing out
> >
> >The error message you saw was definitely from PHP's max execution time.
> >Are you sure you're running the script against the CLI build? You may
> be
> >hitting the CGI build. I saw you tested this with php -v, but put in
> an
> >
> > echo php_sapi_name() . "\n";
> > exit;
> >
> >at the top of your prodscript.php and see what it says. Make sure you
> >invoke this test of prodscript.php the same exact way you did when the
> >timeout errors came up. Out of curiosity, when you got the timeout
> error,
> >how were you invoking prodscript.php? Sometimes, different means of
> >invocation result in a different version of PHP being used.
> >
> >Regardless, throwing in a call to set_time_limit(0) at the top of the
> >script should solve the problem.
> >
> >--Dan
> >
> >--
> > T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
> > data intensive web and database programming
> > http://www.AnalysisAndSolutions.com/
> > 4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409
> >_______________________________________________
> >New York PHP Talk Mailing List
> >AMP Technology
> >Supporting Apache, MySQL and PHP
> >http://lists.nyphp.org/mailman/listinfo/talk
> >http://www.nyphp.org
>
>
> _______________________________________________
> New York PHP Talk Mailing List
> AMP Technology
> Supporting Apache, MySQL and PHP
> http://lists.nyphp.org/mailman/listinfo/talk
> http://www.nyphp.org
From corey at bmfenterprises.com Thu Jun 16 11:18:12 2005
From: corey at bmfenterprises.com (Corey Fogarty)
Date: Thu, 16 Jun 2005 11:18:12 -0400
Subject: [nycphp-talk] PEAR::SOAP Google API Example
Message-ID:
This is the error we are getting when trying to get Geoff Peters Google API
example to work... https://www.bmfenterprises.com/apiexample.php after you
type something in the Search Query box and hit Submit. The code to the
example is highlighted at the bottom of the page if that helps.
> An error #SOAP-ENV:Client occurred!
> Error: /search/beta2No Deserializer found to deserialize a
> 'urn:GoogleSearch:ns4:key' using encoding style
> 'http://schemas.xmlsoap.org/soap/encoding/'.
> Attempt 0 failed.
I am not sure if I have all the classes required or if my path is correct
https://www.bmfenterprises.com/whatclasses.php is a get_declared_classes().
Below is a #pear config-show and a #pear list, not sure if any of this
helps... I wish I knew at least what to show folks in order for them to get
a grasp on my situation...
bash-2.02# pear config-show
Configuration:
==============
PEAR executables directory bin_dir /usr/local/bin
PEAR documentation directory doc_dir /usr/local/lib/php/doc
PHP extension directory ext_dir
/usr/local/lib/php/extensions/no-de
bug-non-zts-20020429
PEAR directory php_dir /usr/local/lib/php
PEAR Installer cache directory cache_dir /tmp/pear/cache
PEAR data directory data_dir /usr/local/lib/php/data
PHP CLI/CGI binary php_bin /usr/local/bin/php
PEAR test directory test_dir /usr/local/lib/php/test
Cache TimeToLive cache_ttl 3600
Preferred Package State preferred_state beta
Unix file mask umask 22
Debug Log Level verbose 1
HTTP Proxy Server Address http_proxy
PEAR server master_server pear.php.net
PEAR password (for password
maintainers)
Signature Handling Program sig_bin /usr/local/bin/gpg
Signature Key Directory sig_keydir /usr/local/etc/pearkeys
Signature Key Id sig_keyid
Package Signature Type sig_type gpg
PEAR username (for username
maintainers)
bash-2.02# pear list
Installed packages:
===================
Package Version State
Archive_Tar 1.1 stable
Console_Getopt 1.0 stable
DB 1.5.0RC2 stable
HTTP 1.2.1 stable
HTTP_Request 1.2.4 stable
Mail 1.1.1 stable
Mail_Mime 1.3.0 stable
Net_DIME 0.3 beta
Net_SMTP 1.2.3 stable
Net_Socket 1.0.6 stable
Net_URL 1.0.14 stable
PEAR 1.3b3 beta
SOAP 0.9.1 beta
XML_Parser 1.0.1 stable
XML_RPC 1.0.4 stable
XML_Wddx 1.0.1 stable
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From ray at lances.net Thu Jun 16 15:28:28 2005
From: ray at lances.net (Ray Lance)
Date: Thu, 16 Jun 2005 15:28:28 -0400
Subject: [work] [nycphp-talk] Need Urgent Assistance!
References: <20050616134710.6FA98A8798@virtu.nyphp.org>
Message-ID: <040001c572a9$9da31f80$0600000a@rayl>
I'm sure I could help you -- see my http://lances.net/resume.htm.
Let me know,
Best Regards,
Ray Lance
http://websaddress.com
212 255-3932
----- Original Message -----
From: Pete Czech - Slingo, Inc.
To: talk at lists.nyphp.org
Cc: jobs at lists.nyphp.org
Sent: Thursday, June 16, 2005 9:47 AM
Subject: [work] [nycphp-talk] Need Urgent Assistance!
Hello!
We had a turnover here and need immediate assistance from a system administrator familiar with BSD/Linux, Load balancing, DNS, and other aspects of system administration. If someone is able to fill in our gaps or even looking for full time work, get back to me immediately (like, this morning). We'd especially appreciate your ability to get to our Englewood Cliffs, NJ office.
Cheers,
Pete Czech
Director of Technology
Slingo, Inc.
------------------------------------------------------------------------------
_______________________________________________
New York PHP Talk Mailing List
AMP Technology
Supporting Apache, MySQL and PHP
http://lists.nyphp.org/mailman/listinfo/talk
http://www.nyphp.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From luckysugarone at yahoo.com Fri Jun 17 01:26:10 2005
From: luckysugarone at yahoo.com (Denise Ohakpo)
Date: Thu, 16 Jun 2005 22:26:10 -0700 (PDT)
Subject: [nycphp-talk] Timing out in php batch
In-Reply-To: <20050615163951.LTSJ1954.imta06a2.registeredsite.com@maggie>
Message-ID: <20050617052610.95862.qmail@web90209.mail.scd.yahoo.com>
Please do not send me any more emails. Thankyou
Maggie Cassidy wrote:
Isn't the set_time_limit/setting the max_execution_time irrelevant in batch
mode/command line script?
-Maggie
-----Original Message-----
From: talk-bounces at lists.nyphp.org [mailto:talk-bounces at lists.nyphp.org] On
Behalf Of Dan Cech
Sent: Tuesday, June 14, 2005 3:57 PM
To: NYPHP Talk
Subject: Re: [nycphp-talk] Timing out in php batch
Eric,
Try using http://php.net/set_time_limit at the top of the script to
increase/remove the time limit.
Dan
Eric Gewirtz wrote:
> We are having a time out issue running in php batch mode. It was my
> understanding based on the php manual that the max_execution_time
> parameter in php.ini is overridden by batch and set to unlimited, yet
> our application is getting the following error.
>
> Fatal error: Maximum execution time of 30 seconds exceeded in
> /home/abc/def_html/xxxxxxx/p2/prod/prodscript.php on line
> 315
_______________________________________________
New York PHP Talk Mailing List
AMP Technology
Supporting Apache, MySQL and PHP
http://lists.nyphp.org/mailman/listinfo/talk
http://www.nyphp.org
--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.7.1 - Release Date: 6/13/2005
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.7.3/15 - Release Date: 6/14/2005
_______________________________________________
New York PHP Talk Mailing List
AMP Technology
Supporting Apache, MySQL and PHP
http://lists.nyphp.org/mailman/listinfo/talk
http://www.nyphp.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From tgales at tgaconnect.com Fri Jun 17 08:44:45 2005
From: tgales at tgaconnect.com (Tim Gales)
Date: Fri, 17 Jun 2005 08:44:45 -0400
Subject: [nycphp-talk] Article about object overloading in PHP 5
Message-ID: <200506170844.45784.tgales@tgaconnect.com>
I saw an article by Martin Jansen
called 'Object Overloading in PHP 5' at:
http://www.onlamp.com/pub/a/php/2005/06/16/overloading.html
Thought it might be of some interest to readers of this list.
--
T. Gales & Associates
'Helping People Connect with Technology'
http://www.tgaconnect.com
From jeff.loiselle at gmail.com Fri Jun 17 11:01:10 2005
From: jeff.loiselle at gmail.com (Jeff Loiselle)
Date: Fri, 17 Jun 2005 11:01:10 -0400
Subject: [nycphp-talk] [OT] OSCON 2005
Message-ID: <4b18871105061708011a7ba39d@mail.gmail.com>
I just realized that O'Reilly gives user group discounts to OSCON. I
was just wondering if NYPHP has been registered with them. ;-)
Otherwise I might have to morph into a federal employee or full time
student...
---
Jeff Loiselle
Web Developer, Musician, and Observer
http://jeff.loiselles.com
From krook at us.ibm.com Fri Jun 17 12:23:20 2005
From: krook at us.ibm.com (Daniel Krook)
Date: Fri, 17 Jun 2005 12:23:20 -0400
Subject: [nycphp-talk] PHP book recommendations by role
In-Reply-To:
Message-ID: