[PHP] Recommended Books on Object Oriented Programming

2010-03-24 Thread Ben Stones
Hi, I want to properly learn object oriented programming as I've been coding in procedural style since I started with PHP a few years ago, and want to give OOP a shot. The web isn't really a good resource to learn OOP in PHP to be honest, as a lot is outdated for PHP4's style of OOP. I've looked i

Re: [PHP] how to do cloud computing with php

2010-03-24 Thread Lester Caine
Rene Veerman wrote: Hi.. As a way to take a few steps back from the kinda heated "when will php grow up and support threading" thread, i'm requesting you people list how you scale from 1 server to many servers; what's called cloud computing. In particular, i'm interested in how to set up an app

Re: [PHP] Properly handling multiple constructors.

2010-03-24 Thread Richard Quadling
On 24 March 2010 12:08, Nilesh Govindarajan wrote: > On 03/24/2010 05:31 PM, Richard Quadling wrote: >> >> Hi. >> >> I have a scenario where I would _like_ to have multiple constructors >> for a class. >> >> Each constructor has a greater number of parameters than the previous one. >> >> e.g. >> >

Re: [PHP] Properly handling multiple constructors.

2010-03-24 Thread Richard Quadling
On 24 March 2010 12:06, Peter Lind wrote: > Hmmm, that looks to me like you're trying to solve a problem in PHP > with a c/c++c/# overloading solution. I'd give the builder pattern a > try instead: http://en.wikipedia.org/wiki/Builder_pattern > > On 24 March 2010 13:01, Richard Quadling wrote: >>

Re: [PHP] Properly handling multiple constructors.

2010-03-24 Thread Peter Lind
And how exactly does that differ from building the same pizza in different ways? Builder doesn't mean you have to create different objects, it means taking the complexity in building a given object or set of objects and storing it in one place. In your case, it allows you to build your object in d

Re: [PHP] how to do cloud computing with php

2010-03-24 Thread Stuart Dallas
On 24 Mar 2010, at 11:55, Rene Veerman wrote: > As a way to take a few steps back from the kinda heated "when will php > grow up and support threading" thread, i'm requesting you people list > how you scale from 1 server to many servers; what's called cloud > computing. > > In particular, i'm inte

Re: [PHP] Properly handling multiple constructors.

2010-03-24 Thread Richard Quadling
On 24 March 2010 12:39, Peter Lind wrote: > And how exactly does that differ from building the same pizza in > different ways? Builder doesn't mean you have to create different > objects, it means taking the complexity in building a given object or > set of objects and storing it in one place. > >

Re: [PHP] Will PHP ever "grow up" and have threading?

2010-03-24 Thread Robert Cummings
Per Jessen wrote: Rene Veerman wrote: stop bashing the people who DO have a use for threading and other advanced concepts eh. I'm not bashing anyone. just because you don't have a use for it, it shouldn't be included?! kinda arrogant. Feel free to think so - I never said I don't have a u

Re: [PHP] constants STDOUT, STDERR, STDIN not working in 5.2.x?

2010-03-24 Thread Marten Lehmann
Hello, dan...@daniel-laptop:~$ php test.php> /dev/null Error 1 Error 2 dan...@daniel-laptop:~$ ./src/php-5.2.12/sapi/cli/php test.php> /dev/null Error 1 Error 2 well, using php-cli instead of php-cgi, this finally worked: But why doesn't it work with php-cgi? That's a binary that is calle

Re: [PHP] how to do cloud computing with php

2010-03-24 Thread Yousif Masoud
On Wed, Mar 24, 2010 at 11:55 AM, Rene Veerman wrote: > Hi.. > > As a way to take a few steps back from the kinda heated "when will php > grow up and support threading" thread, i'm requesting you people list > how you scale from 1 server to many servers; what's called cloud > computing. > Intere

Re: [PHP] Will PHP ever "grow up" and have threading?

2010-03-24 Thread Robert Cummings
Rene Veerman wrote: talk to me about this some other time. atm i'm having an argument with per and his kind about their very very annoying behaviour of determining my toolset for me. keeping a thread on topic is also ettiquette from the mailinglist rules eh? you might wanna consider just how mu

Re: [PHP] Will PHP ever "grow up" and have threading?

2010-03-24 Thread Robert Cummings
Rene Veerman wrote: On Wed, Mar 24, 2010 at 10:36 AM, Per Jessen wrote: By advocating that thread support does not belong in PHP, I am in no way determining what you (or anyone else) may or may not do. You are a free individual and free to choose the programming language and paradigm that is

Re: [PHP] Will PHP ever "grow up" and have threading?

2010-03-24 Thread Robert Cummings
Rene Veerman wrote: On Wed, Mar 24, 2010 at 10:47 AM, Per Jessen wrote: Rene Veerman wrote: popular : facebook youtube etc Rene, I must be missing something here. That sort of size implies millions in advertising revenue, so why are we discussing how much performance we can squeeze out of

Re: [PHP] constants STDOUT, STDERR, STDIN not working in 5.2.x?

2010-03-24 Thread Daniel Egeberg
On Wed, Mar 24, 2010 at 14:12, Marten Lehmann wrote: > Hello, > >> dan...@daniel-laptop:~$ php test.php>  /dev/null >> Error 1 >> Error 2 >> dan...@daniel-laptop:~$ ./src/php-5.2.12/sapi/cli/php test.php>  /dev/null >> Error 1 >> Error 2 > > well, using php-cli instead of php-cgi, this finally wor

Re: [PHP] Will PHP ever "grow up" and have threading?

2010-03-24 Thread Robert Cummings
Rene Veerman wrote: exactly. the knock-on problems you mentioned are well solved and well documented. realtime programmers using threads have to get their heads around it on their first realtime project. i don't like doing my code in c(++), or worse; having to interface between c(++) and php. i

Re: [PHP] Will PHP ever "grow up" and have threading?

2010-03-24 Thread Robert Cummings
Per Jessen wrote: Rene Veerman wrote: again: a) you're determining the contents of my toolset, without it affecting you at all. the way you want it php will degrade into a toy language. Rene, it seems to me that you and I are advocating two opposite positions on the topic of threading in PHP,

Re: [PHP] Will PHP ever "grow up" and have threading?

2010-03-24 Thread Robert Cummings
Rene Veerman wrote: On Wed, Mar 24, 2010 at 11:13 AM, Per Jessen wrote: Rene Veerman wrote: again: a) you're determining the contents of my toolset, without it affecting you at all. the way you want it php will degrade into a toy language. Rene, it seems to me that you and I are advocating t

Re: [PHP] Will PHP ever "grow up" and have threading?

2010-03-24 Thread Robert Cummings
Rene Veerman wrote: php is not a hammer, its a programming language. It's hard to discuss anything with someone who doesn't comprehend a metaphor. one that i feel needs to stay ahead of the computing trend if it is to be considered a language for large scale applications. Personification

Re: [PHP] Will PHP ever "grow up" and have threading?

2010-03-24 Thread Robert Cummings
Rene Veerman wrote: unless the actual php development team would like to weigh in on this matter of course. Wrong list. Subscribe to internals. yes, i do consider it that important. these nay-sayers usually also lobby the dev-team to such extent that these features would actually not make

Re: [PHP] Will PHP ever "grow up" and have threading?

2010-03-24 Thread Robert Cummings
Arno Kuhl wrote: -Original Message- From: Rene Veerman [mailto:rene7...@gmail.com] Sent: 24 March 2010 11:31 AM Subject: Re: [PHP] Will PHP ever "grow up" and have threading? thanks for opening my eyes and telling to abandon ship in time. === Bye, enjoy th

Re: [PHP] Recommended Books on Object Oriented Programming

2010-03-24 Thread Yousif Masoud
On Wed, Mar 24, 2010 at 12:13 PM, Ben Stones wrote: > Hi, > > I want to properly learn object oriented programming as I've been coding in > procedural style since I started with PHP a few years ago, and want to give > OOP a shot. The web isn't really a good resource to learn OOP in PHP to be > hon

Re: [PHP] Will PHP ever "grow up" and have threading?

2010-03-24 Thread Robert Cummings
Tommy Pham wrote: What I find funny is that one of opponents of PHP threads earlier mentioned that how silly it would be to be using C in a web app. Now I hear people mentioning C when they need "productivity" or "speed"... PHP has excellent support for extensions. I've written several C exte

Re: [PHP] Will PHP ever "grow up" and have threading?

2010-03-24 Thread Jochem Maas
Op 3/24/10 10:40 AM, Rene Veerman schreef: > I subscribe to this list to share tips on software designs. > > Getting and keeping your respect i'm not even interested in. > > I'm interested in the quality of your tips on problems i post, as tips can > lead faster to products, leads to money, leads

Re: [PHP] Will PHP ever "grow up" and have threading?

2010-03-24 Thread Robert Cummings
Rene Veerman wrote: I subscribe to this list to share tips on software designs. Getting and keeping your respect i'm not even interested in. I'm interested in the quality of your tips on problems i post, as tips can lead faster to products, leads to money, leads to my personal freedom and optio

Re: [PHP] Will PHP ever "grow up" and have threading?

2010-03-24 Thread Robert Cummings
Per Jessen wrote: Tommy Pham wrote: On Wed, Mar 24, 2010 at 2:58 AM, Stuart Dallas wrote: Give us a real example of why you think it should be supported and I guarantee we can come up with a way to get you what you want without requiring massive changes to the core of your chosen tool. And if

Re: [PHP] Recommended Books on Object Oriented Programming

2010-03-24 Thread Yousif Masoud
On Wed, Mar 24, 2010 at 1:33 PM, Yousif Masoud wrote: > For PHP, a book I really liked was: > > > http://books.google.co.uk/books?id=LWkGyWErOq0C&printsec=frontcover&dq=Web+applications+PHP+And+MySQL&hl=en&ei=KROqS9jWAtCM_Ab5isC1AQ&sa=X&oi=book_result&ct=result&resnum=1&ved=0CDoQ6AEwAA#v=onepage&q

Re: [PHP] Will PHP ever "grow up" and have threading?

2010-03-24 Thread Robert Cummings
Tommy Pham wrote: On Wed, Mar 24, 2010 at 3:52 AM, Lester Caine wrote: Tommy Pham wrote: How exactly will threading in PHP help with the size of the database? That makes no sense to me, please help me understand how you think threading will help in this scenario. Looking at my example, not ju

Re: [PHP] Will PHP ever "grow up" and have threading?

2010-03-24 Thread Robert Cummings
Rene Veerman wrote: well i have this very strong gut feeling that at least some php apps stand to gain so much efficiency per box with threading and shared memory that they'll save not only their operators a lot of headaches, but also significant money and energy. that in turn benefits those outs

Re: [PHP] Will PHP ever "grow up" and have threading?

2010-03-24 Thread Robert Cummings
Rene Veerman wrote: popular : facebook youtube etc I doubt very much you're popular like facebook. Nothing is as popular as facebook. http://www.fastcompany.com/1584920/facebook-now-more-popular-than-google-let-the-ad-wars-begin Unless you're actually a facebook developer... which I doubt.

Re: [PHP] Properly handling multiple constructors.

2010-03-24 Thread Robert Cummings
Richard Quadling wrote: Hi. I have a scenario where I would _like_ to have multiple constructors for a class. Each constructor has a greater number of parameters than the previous one. e.g. Factory method is probably the cleanest and simplest solution. Just pass an ID as the first paramete

RE: [PHP] Will PHP ever "grow up" and have threading?

2010-03-24 Thread Bob McConnell
From: larry at garfieldtech dot com > On 3/23/10 6:04 PM, Tommy Pham wrote: >> If throwing hardware at it won't work because of the above mentioned, >> then you would change the design right? How long would that take? >> What if PHP has threads, how long would it take you implement threads >> wit

Re: [PHP] Properly handling multiple constructors.

2010-03-24 Thread Nilesh Govindarajan
On 03/24/2010 05:58 PM, Richard Quadling wrote: On 24 March 2010 12:08, Nilesh Govindarajan wrote: On 03/24/2010 05:31 PM, Richard Quadling wrote: Hi. I have a scenario where I would _like_ to have multiple constructors for a class. Each constructor has a greater number of parameters than t

Re: [PHP] Recommended Books on Object Oriented Programming

2010-03-24 Thread Hans Åhlin
To start Sitepoint - The PHP Anthology: Object Oriented PHP Solutions ISBN: Vol I: 0-9579218-5-3 Vol II: 0-9579218-4-5 http://www.sitepoint.com/books/phpant1/?forcehistoric=1&SID=ed59760460b1b2d8a0c777904fa76fde ** Apress - PHP 5 Objects, Pattern

Re: [PHP] Properly handling multiple constructors.

2010-03-24 Thread Robert Cummings
Robert Cummings wrote: Richard Quadling wrote: Hi. I have a scenario where I would _like_ to have multiple constructors for a class. Each constructor has a greater number of parameters than the previous one. e.g. Factory method is probably the cleanest and simplest solution. Just pass an

Re: [PHP] Properly handling multiple constructors.

2010-03-24 Thread Peter Lind
One of the main points of the OP was that you can document the code properly. Your example doesn't allow for nice docblocks in any way, as you'll either have to param points or a whole lot of noise. Quick note: __ prefixed functions are "reserved", you shouldn't use that prefix for any of your own

Re: [PHP] Properly handling multiple constructors.

2010-03-24 Thread Robert Cummings
Robert Cummings wrote: Robert Cummings wrote: Richard Quadling wrote: Hi. I have a scenario where I would _like_ to have multiple constructors for a class. Each constructor has a greater number of parameters than the previous one. e.g. Factory method is probably the cleanest and simplest so

Re: [PHP] Properly handling multiple constructors.

2010-03-24 Thread Robert Cummings
Peter Lind wrote: One of the main points of the OP was that you can document the code properly. Your example doesn't allow for nice docblocks in any way, as you'll either have to param points or a whole lot of noise. I dunno, seems highly documentable to me. Each route is handled by it's own m

[PHP]Zip and text files generated are corrupted

2010-03-24 Thread Bastien Helders
Hi list, I've got this web app, which from a list of selected folders (with content) want to create a zip containing them as well as creating a text file with information about the chosen folders and how to use them. To create the zip file I use exec('zip -gr ' .$zipname.' * >> mylog.log'); in th

Re: [PHP] Properly handling multiple constructors.

2010-03-24 Thread Peter Lind
On 24 March 2010 15:33, Robert Cummings wrote: > Peter Lind wrote: >> >> One of the main points of the OP was that you can document the code >> properly. Your example doesn't allow for nice docblocks in any way, as >> you'll either have to param points or a whole lot of noise. > > I dunno, seems h

Re: [PHP] constants STDOUT, STDERR, STDIN not working in 5.2.x?

2010-03-24 Thread Jan G.B.
2010/3/24 Marten Lehmann > Hello, > > > dan...@daniel-laptop:~$ php test.php> /dev/null >> Error 1 >> Error 2 >> dan...@daniel-laptop:~$ ./src/php-5.2.12/sapi/cli/php test.php> >> /dev/null >> Error 1 >> Error 2 >> > > well, using php-cli instead of php-cgi, this finally worked: > > fwrite(ST

Re: [PHP]Zip and text files generated are corrupted

2010-03-24 Thread Ashley Sheridan
On Wed, 2010-03-24 at 15:34 +0100, Bastien Helders wrote: > Hi list, > > I've got this web app, which from a list of selected folders (with content) > want to create a zip containing them as well as creating a text file with > information about the chosen folders and how to use them. > > To crea

Re: [PHP] Will PHP ever "grow up" and have threading?

2010-03-24 Thread Hans Åhlin
2010/3/24 Rene Veerman : > yea right.. > > i really want to keep my code base in 1 language, because that > simplifies everything later on imo. > you people, who are against the evolotion of php towards cloud > computing, would force me to do mixed-languages projects or even > rewrite large section

Re: [PHP] Properly handling multiple constructors.

2010-03-24 Thread Robert Cummings
Peter Lind wrote: On 24 March 2010 15:33, Robert Cummings wrote: Peter Lind wrote: One of the main points of the OP was that you can document the code properly. Your example doesn't allow for nice docblocks in any way, as you'll either have to param points or a whole lot of noise. I dunno,

Re: [PHP] Properly handling multiple constructors.

2010-03-24 Thread Richard Quadling
The following code (which cannot currently work as PHP does not allow for method overloading) would be perfect for me. __construct(registry::RetrieveViaKey(__CLASS__, $Key)); } /** * Constructor : Partial * * This constructor will construct the rules fro

Re: [PHP] Properly handling multiple constructors.

2010-03-24 Thread Peter Lind
On 24 March 2010 16:09, Robert Cummings wrote: > > > Peter Lind wrote: >> >> On 24 March 2010 15:33, Robert Cummings wrote: >>> >>> Peter Lind wrote: One of the main points of the OP was that you can document the code properly. Your example doesn't allow for nice docblocks in any w

Re: [PHP]Zip and text files generated are corrupted

2010-03-24 Thread Bastien Helders
Hi Ashley, No, I set the time limit high enough (set_time_limit(2*HOUR+8*MINUTE);), and the execution stops a long time before the time limit is reached. It might be relevent that the web application is hosted on a Windows Machine. I asked myself, would setting the parameter "memory_limit" of th

Re: [PHP] Properly handling multiple constructors.

2010-03-24 Thread Robert Cummings
Peter Lind wrote: On 24 March 2010 16:09, Robert Cummings wrote: Peter Lind wrote: On 24 March 2010 15:33, Robert Cummings wrote: Peter Lind wrote: One of the main points of the OP was that you can document the code properly. Your example doesn't allow for nice docblocks in any way, as you

Re: [PHP]Zip and text files generated are corrupted

2010-03-24 Thread Richard Quadling
On 24 March 2010 15:19, Bastien Helders wrote: > Hi Ashley, > > No, I set the time limit high enough (set_time_limit(2*HOUR+8*MINUTE);), and > the execution stops a long time before the time limit is reached. > > It might be relevent that the web application is hosted on a Windows > Machine. > > I

Re: [PHP] Properly handling multiple constructors.

2010-03-24 Thread Robert Cummings
Richard Quadling wrote: The following code (which cannot currently work as PHP does not allow for method overloading) would be perfect for me. __construct(registry::RetrieveViaKey(__CLASS__, $Key)); } /** * Constructor : Partial * * This constructor wi

Re: [PHP] Properly handling multiple constructors.

2010-03-24 Thread Peter Lind
On 24 March 2010 16:23, Robert Cummings wrote: > Peter Lind wrote: >> >> On 24 March 2010 16:09, Robert Cummings wrote: >>> >>> Peter Lind wrote: On 24 March 2010 15:33, Robert Cummings wrote: > > Peter Lind wrote: >> >> One of the main points of the OP was that you can

Re: [PHP] Will PHP ever "grow up" and have threading?

2010-03-24 Thread tedd
Hi gang: When I'm confronted with a large number of emails to read under one subject (like this one), I put on the "Robert, Stuart, Brown" Filter. As such, I only read their post and everything gets to the point quicker and makes more sense. Cheers, tedd -- --- http://sperling.com htt

RE: [PHP]Zip and text files generated are corrupted

2010-03-24 Thread Mike Roberts
Remove Sincerely, Michael Roberts Executive Recruiter Corporate Staffing Services 150 Monument Road, Suite 510 Bala Cynwyd, PA 19004 P 610-771-1084 F 610-771-0390 E mrobe...@jobscss.com Check out my recent feature article in Professional Surveyor 12/09 edition. http://www.profsurv.co

RE: [PHP]Zip and text files generated are corrupted

2010-03-24 Thread Mike Roberts
remove Sincerely, Michael Roberts Executive Recruiter Corporate Staffing Services 150 Monument Road, Suite 510 Bala Cynwyd, PA 19004 P 610-771-1084 F 610-771-0390 E mrobe...@jobscss.com Check out my recent feature article in Professional Surveyor 12/09 edition. http://www.profsurv.co

Re: [PHP] Properly handling multiple constructors.

2010-03-24 Thread Richard Quadling
On 24 March 2010 15:27, Robert Cummings wrote: > Are you asking a question? I'm not sure what you want here :) Does the > technique I sent provide you with a solution to this problem or not? I can certainly see how your suggestion works. And in my own code, I've often misused a method param list

Re: [PHP] Properly handling multiple constructors.

2010-03-24 Thread Robert Cummings
Peter Lind wrote: The ,... is a supported syntax. Then I'd add the appropriate docblock for the alternate constructors. It might be but in effect the documentation you're left with is vague and has double the amount of documentation lookups, to find out which parameters you can pass. Using a sep

Re: [PHP] Properly handling multiple constructors.

2010-03-24 Thread Robert Cummings
Richard Quadling wrote: On 24 March 2010 15:27, Robert Cummings wrote: Are you asking a question? I'm not sure what you want here :) Does the technique I sent provide you with a solution to this problem or not? I can certainly see how your suggestion works. And in my own code, I've often mis

Re: [PHP] Properly handling multiple constructors.

2010-03-24 Thread Peter Lind
On 24 March 2010 16:48, Robert Cummings wrote: > Peter Lind wrote: > > The ,... is a supported syntax. Then I'd add the appropriate docblock > for > the alternate constructors. It might be but in effect the documentation you're left with is vague and has double the a

Re: [PHP] Properly handling multiple constructors.

2010-03-24 Thread Richard Quadling
On 24 March 2010 15:51, Robert Cummings wrote: > Yes you can do that also, you seemed to want constructors though :) As for > misused... variable parameters with mixed types is common enough that I > wouldn't call it misuse. It's succinct and solves a problem. Look at the > printf() family of func

Re: [PHP] Properly handling multiple constructors.

2010-03-24 Thread Robert Cummings
Peter Lind wrote: On 24 March 2010 16:48, Robert Cummings wrote: But now Dalmation_construct1 isn't related Dog_construct1. This seems problematic from a design perspective unless I'm missing something in your proposal. As for abusing class semantics ... I don't see it. Using separate class

Re: [PHP] Will PHP ever "grow up" and have threading?

2010-03-24 Thread Adam Richardson
> > > Rene, I don't want you to jump ship. You've been helpful to many other posters, and I appreciate various points of view on all subjects, yours included. Please bottom post in the future now that you know of their preference, and please step back for a few and take some time to relax. No ha

Re: [PHP] Will PHP ever "grow up" and have threading?

2010-03-24 Thread Adam Richardson
On Wed, Mar 24, 2010 at 6:34 AM, Rene Veerman wrote: > On Wed, Mar 24, 2010 at 12:28 PM, Tommy Pham wrote: > > > > Funny you should mention all that. Let's say that you're longer with > > that company, either by direct employment or contract consultant. > > You've implemented C because you need

Re: [PHP] Properly handling multiple constructors.

2010-03-24 Thread la...@garfieldtech.com
On 3/24/10 11:06 AM, Richard Quadling wrote: On 24 March 2010 15:51, Robert Cummings wrote: Yes you can do that also, you seemed to want constructors though :) As for misused... variable parameters with mixed types is common enough that I wouldn't call it misuse. It's succinct and solves a prob

Re: [PHP] Will PHP ever "grow up" and have threading?

2010-03-24 Thread Sancar Saran
On Wednesday 24 March 2010 03:17:56 Tommy Pham wrote: > Let's go back to my 1st e-commerce example. The manufacturers list is > about 3,700. The categories is about about 2,400. The products list > is right now at 500,000 and expected to be around 750,000. The site > is only in English. The st

[PHP] Bitly-PHP - A PHP Bitly API to shorten URLs, expand and more.

2010-03-24 Thread Igor Escobar
Hi Guys! Can you help me to test my new library? It's about a PHP Library to use and enjoy the RESTful Bitly API to shorten URLs, expand and more http://github.com/igorescobar/Bitly-PHP Any doubts, fell free to ask.

Re: [PHP] how to do cloud computing with php

2010-03-24 Thread Rene Veerman
On Wed, Mar 24, 2010 at 3:13 PM, Yousif Masoud wrote: > On Wed, Mar 24, 2010 at 11:55 AM, Rene Veerman wrote: >> >> Hi.. >> >> As a way to take a few steps back from the kinda heated "when will php >> grow up and support threading" thread, i'm requesting you people list >> how you scale from 1 se

Re: [PHP] Will PHP ever "grow up" and have threading?

2010-03-24 Thread Michael A. Peters
Tommy Pham wrote: The response time, max 5 seconds, will be tested on local gigabit LAN to ensure the adequate response (optimized DB & code & proper hardware) without worrying about users' connection limit and site's upload bandwidth limit (which can easily rectify). Then thereafter will be d

Re: [PHP] Bitly-PHP - A PHP Bitly API to shorten URLs, expand and more.

2010-03-24 Thread Rene Veerman
nice code, but i'd like it better if the comments were in english ;) the only thing i see missing is some proper error reporting (in case bit.ly is down or has changed api specs) On Wed, Mar 24, 2010 at 7:39 PM, Igor Escobar wrote: > Hi Guys! > > Can you help me to test my new library? > It's ab

Re: [PHP] Will PHP ever "grow up" and have threading?

2010-03-24 Thread Rene Veerman
On Wed, Mar 24, 2010 at 3:13 PM, Robert Cummings wrote: > Rene Veerman wrote: >> >> talk to me about this some other time. >> >> atm i'm having an argument with per and his kind about their very very >> annoying behaviour of determining my toolset for me. >> keeping a thread on topic is also ettiq

Re: [PHP] Bitly-PHP - A PHP Bitly API to shorten URLs, expand and more.

2010-03-24 Thread Igor Escobar
Nice point. I will implement that ;) Thanks a lot! Regards, Igor Escobar Systems Analyst & Interface Designer + http://blog.igorescobar.com + http://www.igorescobar.com + @igorescobar (twitter) On Wed, Mar 24, 2010 at 4:08 PM, Rene Veerman wrote: > nice code, but i'd like it better if t

Re: [PHP] Will PHP ever "grow up" and have threading?

2010-03-24 Thread Robert Cummings
Rene Veerman wrote: On Wed, Mar 24, 2010 at 3:13 PM, Robert Cummings wrote: Rene Veerman wrote: talk to me about this some other time. atm i'm having an argument with per and his kind about their very very annoying behaviour of determining my toolset for me. keeping a thread on topic is als

Re: [PHP] Will PHP ever "grow up" and have threading?

2010-03-24 Thread Rene Veerman
On Wed, Mar 24, 2010 at 3:25 PM, Robert Cummings wrote: > Rene Veerman wrote: >> >> php is not a hammer, its a programming language. > > It's hard to discuss anything with someone who doesn't comprehend a > metaphor. haha. "comprehend". you mean "accept". that metaphor is stretched to breaking po

Re: [PHP] Will PHP ever "grow up" and have threading?

2010-03-24 Thread Rene Veerman
On Wed, Mar 24, 2010 at 3:22 PM, Robert Cummings wrote: > Rene Veerman wrote: >> >> On Wed, Mar 24, 2010 at 11:13 AM, Per Jessen wrote: >>> >>> Rene Veerman wrote: >>> again: a) you're determining the contents of my toolset, without it affecting you at all. the way you want it php

Re: [PHP] Will PHP ever "grow up" and have threading?

2010-03-24 Thread Robert Cummings
Rene Veerman wrote: On Wed, Mar 24, 2010 at 3:25 PM, Robert Cummings wrote: Rene Veerman wrote: php is not a hammer, its a programming language. It's hard to discuss anything with someone who doesn't comprehend a metaphor. haha. "comprehend". you mean "accept". that metaphor is stretched

Re: [PHP] Will PHP ever "grow up" and have threading?

2010-03-24 Thread Rene Veerman
On Wed, Mar 24, 2010 at 3:29 PM, Robert Cummings wrote: > Rene Veerman wrote: >> >> unless the actual php development team would like to weigh in on this >> matter of course. > > Wrong list. Subscribe to internals. > >> yes, i do consider it that important. > >> these nay-sayers usually also lobby

Re: [PHP] Will PHP ever "grow up" and have threading?

2010-03-24 Thread Rene Veerman
On Wed, Mar 24, 2010 at 9:30 PM, Robert Cummings wrote: > > > Rene Veerman wrote: >> >> On Wed, Mar 24, 2010 at 3:13 PM, Robert Cummings >> wrote: >>> >>> Rene Veerman wrote: talk to me about this some other time. atm i'm having an argument with per and his kind about their ve

Re: [PHP] Will PHP ever "grow up" and have threading?

2010-03-24 Thread Rene Veerman
On Wed, Mar 24, 2010 at 9:31 PM, Robert Cummings wrote: > > > Rene Veerman wrote: >> >> On Wed, Mar 24, 2010 at 3:25 PM, Robert Cummings >> wrote: >>> >>> Rene Veerman wrote: php is not a hammer, its a programming language. >>> >>> It's hard to discuss anything with someone who doesn't

RE: [PHP] Will PHP ever "grow up" and have threading?

2010-03-24 Thread Bob McConnell
From: Rene Veerman > i've spent quite a bit of time on this list writing replies of my own > to other people's software problems here. > in fact i think i've spent more time on other's problems for free than > i've received back in useful tips. and i'm not bitching about that. That describes a lo

Re: [PHP] Will PHP ever "grow up" and have threading?

2010-03-24 Thread Robert Cummings
Rene Veerman wrote: On Wed, Mar 24, 2010 at 3:29 PM, Robert Cummings wrote: Rene Veerman wrote: unless the actual php development team would like to weigh in on this matter of course. Wrong list. Subscribe to internals. yes, i do consider it that important. these nay-sayers usually also lob

Re: [PHP] Will PHP ever "grow up" and have threading?

2010-03-24 Thread Rene Veerman
On Wed, Mar 24, 2010 at 3:37 PM, Jochem Maas wrote: > > Someone who respects you will buy you a sandwich if you need it. i'd rather build products that are useful enough to be sold, than to wait for anti-starvation handouts gained from respect. > > But seemingly you're only interested in leverag

Re: [PHP] Will PHP ever "grow up" and have threading?

2010-03-24 Thread Robert Cummings
Rene Veerman wrote: On Wed, Mar 24, 2010 at 9:30 PM, Robert Cummings wrote: Rene Veerman wrote: On Wed, Mar 24, 2010 at 3:13 PM, Robert Cummings wrote: Rene Veerman wrote: talk to me about this some other time. atm i'm having an argument with per and his kind about their very very annoy

Re: [PHP] Will PHP ever "grow up" and have threading?

2010-03-24 Thread Tommy Pham
On Wed, Mar 24, 2010 at 10:18 AM, Sancar Saran wrote: > On Wednesday 24 March 2010 03:17:56 Tommy Pham wrote: >> Let's go back to my 1st e-commerce example.  The manufacturers list is >> about 3,700.  The categories is about about 2,400.  The products list >> is right now at 500,000 and expected t

Re: [PHP] Will PHP ever "grow up" and have threading?

2010-03-24 Thread Rene Veerman
On Wed, Mar 24, 2010 at 9:41 PM, Robert Cummings wrote: > > > Rene Veerman wrote: >> >> On Wed, Mar 24, 2010 at 9:30 PM, Robert Cummings >> wrote: >>> >>> Rene Veerman wrote: On Wed, Mar 24, 2010 at 3:13 PM, Robert Cummings wrote: > > Rene Veerman wrote: >> >> talk

Re: [PHP] Will PHP ever "grow up" and have threading?

2010-03-24 Thread la...@garfieldtech.com
On 3/24/10 2:33 PM, Rene Veerman wrote: It's a debate. The dev team consider proposals and weigh in on the merits. I was a proponent for goto support during the development of PHP 5. We now have it. If you arguments are valid and there's no technical issue preventing it, and there's someone with

Re: [PHP] Will PHP ever "grow up" and have threading?

2010-03-24 Thread Robert Cummings
Rene Veerman wrote: On Wed, Mar 24, 2010 at 9:31 PM, Robert Cummings wrote: Rene Veerman wrote: On Wed, Mar 24, 2010 at 3:25 PM, Robert Cummings wrote: Rene Veerman wrote: php is not a hammer, its a programming language. It's hard to discuss anything with someone who doesn't comprehend a

Re: [PHP] Will PHP ever "grow up" and have threading?

2010-03-24 Thread Robert Cummings
Rene Veerman wrote: On Wed, Mar 24, 2010 at 9:41 PM, Robert Cummings wrote: Rene Veerman wrote: On Wed, Mar 24, 2010 at 9:30 PM, Robert Cummings wrote: Rene Veerman wrote: On Wed, Mar 24, 2010 at 3:13 PM, Robert Cummings wrote: Rene Veerman wrote: talk to me about this some other time.

Re: [PHP] Will PHP ever "grow up" and have threading?

2010-03-24 Thread Rene Veerman
On Wed, Mar 24, 2010 at 9:45 PM, Robert Cummings wrote: > Rene Veerman wrote: >> >> On Wed, Mar 24, 2010 at 9:31 PM, Robert Cummings >> wrote: >>> >>> Rene Veerman wrote: On Wed, Mar 24, 2010 at 3:25 PM, Robert Cummings wrote: > > Rene Veerman wrote: >> >> php is n

Re: [PHP] Will PHP ever "grow up" and have threading?

2010-03-24 Thread Tommy Pham
On Wed, Mar 24, 2010 at 4:28 AM, Per Jessen wrote: > Tommy Pham wrote: > >> On Wed, Mar 24, 2010 at 3:44 AM, Per Jessen wrote: >>> Tommy Pham wrote: >>> On Wed, Mar 24, 2010 at 3:20 AM, Per Jessen wrote: > Tommy Pham wrote: > >> What I find funny is that one of opponents of

Re: [PHP] Will PHP ever "grow up" and have threading?

2010-03-24 Thread Rene Veerman
On Wed, Mar 24, 2010 at 9:45 PM, la...@garfieldtech.com wrote: > On 3/24/10 2:33 PM, Rene Veerman wrote: > >>> It's a debate. The dev team consider proposals and weigh in on the >>> merits. I >>> was a proponent for goto support during the development of PHP 5. We now >>> have it. If you arguments

Re: [PHP] Will PHP ever "grow up" and have threading?

2010-03-24 Thread Ashley Sheridan
On Wed, 2010-03-24 at 21:50 +0200, Rene Veerman wrote: > On Wed, Mar 24, 2010 at 9:45 PM, Robert Cummings wrote: > > Rene Veerman wrote: > >> > >> On Wed, Mar 24, 2010 at 9:31 PM, Robert Cummings > >> wrote: > >>> > >>> Rene Veerman wrote: > > On Wed, Mar 24, 2010 at 3:25 PM, Robert Cu

Re: [PHP] Will PHP ever "grow up" and have threading?

2010-03-24 Thread Rene Veerman
On Wed, Mar 24, 2010 at 9:54 PM, Ashley Sheridan wrote: > On Wed, 2010-03-24 at 21:50 +0200, Rene Veerman wrote: > > On Wed, Mar 24, 2010 at 9:45 PM, Robert Cummings wrote: > > Rene Veerman wrote: > >> > >> On Wed, Mar 24, 2010 at 9:31 PM, Robert Cummings > >> wrote: > >>> > >>> Rene Veerman w

Re: [PHP] Will PHP ever "grow up" and have threading?

2010-03-24 Thread Ashley Sheridan
On Wed, 2010-03-24 at 22:05 +0200, Rene Veerman wrote: > On Wed, Mar 24, 2010 at 9:54 PM, Ashley Sheridan > wrote: > > > On Wed, 2010-03-24 at 21:50 +0200, Rene Veerman wrote: > > > > On Wed, Mar 24, 2010 at 9:45 PM, Robert Cummings > > wrote: > > > Rene Veerman wrote: > > >> > > >> On Wed, M

Re: [PHP] Will PHP ever "grow up" and have threading?

2010-03-24 Thread Rene Veerman
On Wed, Mar 24, 2010 at 10:05 PM, Ashley Sheridan wrote: > > > So you're basically saying that you'd discount anyone who opposes you > purely because you think you know best? > > Nice attitude. > I ain't saying that at all, nor did i intend to imply it. In fact it's the anti-threading/shared-mem

Re: [PHP] Will PHP ever "grow up" and have threading?

2010-03-24 Thread Robert Cummings
Rene Veerman wrote: On Wed, Mar 24, 2010 at 9:45 PM, Robert Cummings wrote: Rene Veerman wrote: On Wed, Mar 24, 2010 at 9:31 PM, Robert Cummings wrote: Rene Veerman wrote: On Wed, Mar 24, 2010 at 3:25 PM, Robert Cummings wrote: Rene Veerman wrote: php is not a hammer, its a programming

Re: [PHP] Will PHP ever "grow up" and have threading?

2010-03-24 Thread Paul M Foster
On Wed, Mar 24, 2010 at 09:50:15PM +0200, Rene Veerman wrote: > On Wed, Mar 24, 2010 at 9:45 PM, Robert Cummings > wrote: > > > Your tools are up to date. Threading is in the future if at all... it's > > certainly not in the present. > > True, lets _keep_ 'm up-to-date, please. > > And you'

Re: [PHP] Will PHP ever "grow up" and have threading?

2010-03-24 Thread Robert Cummings
Rene Veerman wrote: On Wed, Mar 24, 2010 at 9:45 PM, la...@garfieldtech.com wrote: On 3/24/10 2:33 PM, Rene Veerman wrote: It's a debate. The dev team consider proposals and weigh in on the merits. I was a proponent for goto support during the development of PHP 5. We now have it. If you ar

Re: [PHP] Will PHP ever "grow up" and have threading?

2010-03-24 Thread Robert Cummings
Tommy Pham wrote: On Wed, Mar 24, 2010 at 4:28 AM, Per Jessen wrote: Tommy Pham wrote: On Wed, Mar 24, 2010 at 3:44 AM, Per Jessen wrote: Tommy Pham wrote: On Wed, Mar 24, 2010 at 3:20 AM, Per Jessen wrote: Tommy Pham wrote: What I find funny is that one of opponents of PHP threads

Re: [PHP] Will PHP ever "grow up" and have threading?

2010-03-24 Thread Ashley Sheridan
On Wed, 2010-03-24 at 22:15 +0200, Rene Veerman wrote: > On Wed, Mar 24, 2010 at 10:05 PM, Ashley Sheridan > wrote: > > > > > > > So you're basically saying that you'd discount anyone who opposes you > > purely because you think you know best? > > > > Nice attitude. > > > > I ain't saying that a

Re: [PHP] Will PHP ever "grow up" and have threading?

2010-03-24 Thread Rene Veerman
On Wed, Mar 24, 2010 at 10:21 PM, Robert Cummings wrote: > > > Rene Veerman wrote: >> >> On Wed, Mar 24, 2010 at 9:45 PM, Robert Cummings >> wrote: >>> >>> Rene Veerman wrote: On Wed, Mar 24, 2010 at 9:31 PM, Robert Cummings wrote: > > Rene Veerman wrote: >> >> On

Re: [PHP] Will PHP ever "grow up" and have threading?

2010-03-24 Thread Robert Cummings
Rene Veerman wrote: On Wed, Mar 24, 2010 at 10:21 PM, Robert Cummings wrote: Rene Veerman wrote: On Wed, Mar 24, 2010 at 9:45 PM, Robert Cummings wrote: Rene Veerman wrote: On Wed, Mar 24, 2010 at 9:31 PM, Robert Cummings wrote: Rene Veerman wrote: On Wed, Mar 24, 2010 at 3:25 PM, Rob

Re: [PHP] Will PHP ever "grow up" and have threading?

2010-03-24 Thread Sancar Saran
On Wednesday 24 March 2010 21:42:53 Tommy Pham wrote: > On Wed, Mar 24, 2010 at 10:18 AM, Sancar Saran wrote: > > On Wednesday 24 March 2010 03:17:56 Tommy Pham wrote: > >> Let's go back to my 1st e-commerce example. The manufacturers list is > >> about 3,700. The categories is about about 2,40

<    1   2   3   >