-
Dec 29th, 2005, 08:09 AM
#1
Discussion: PHP 5 OOP
This thread is for dicussion of the PHP 5 OOP tutorial:
http://www.vbforums.com/showthread.php?t=378700
-
Dec 29th, 2005, 01:32 PM
#2
Re: Discussion: PHP 5 OOP
Just one thing: I disagree that PHP5 was brought in line with Java and C#. Its OO features are a great improvement, yet it's still missing quite a few things, mostly code organization: the lack of packages/namespaces can be extremely irritating. The other big missing thing is a complete rewrite of the standard library in an object-oriented style. (In particular, making string literals be of a proper string type with member operations would be pleasant. Of course, that in turn would require operator overloading.)
All the buzzt
CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Dec 29th, 2005, 01:47 PM
#3
Re: Discussion: PHP 5 OOP
I have changed it to "more in line with Java and C#"
-
May 16th, 2007, 08:40 PM
#4
Member
Re: Discussion: PHP 5 OOP
If its not too much work, It would be great if you would add a downloadable Adobe Acrobat or Word Version of it. (Hard to read from a long time off a forum)
-
May 16th, 2007, 11:34 PM
#5
Re: Discussion: PHP 5 OOP
We tend to lean towards keeping content on this forum, rather than making it downloadable.
If you prefer, you could always copy and paste it into Word.
-
May 17th, 2007, 12:55 AM
#6
Frenzied Member
Re: Discussion: PHP 5 OOP
I like it. I like to learn new things.
-
Apr 28th, 2008, 07:16 AM
#7
New Member
Re: Discussion: PHP 5 OOP
Hi,
first of all I would like to say "ciao" (which means Hi in italian) to everybody on this forum, this is my first message.
In addition I'm very sorry for my bad English.
I've read a couple of articles related to the PHP5 OOP.
In order to test it I would like to download the tutorial attached file but the link seems to be broken
How or where can I downloade mentioned files?
Thanks in advance,
Max
-
Apr 28th, 2008, 09:48 AM
#8
Re: Discussion: PHP 5 OOP
Hi Max,
I will check the web server a bit later and reply back when the issue is fixed.
-
Apr 29th, 2008, 09:33 AM
#9
New Member
Re: Discussion: PHP 5 OOP
-
Apr 29th, 2008, 09:55 AM
#10
Re: Discussion: PHP 5 OOP
I have checked all the links in that tutorial and none of them are broken. What is it that you are referring to?
-
Apr 29th, 2008, 10:23 AM
#11
New Member
Re: Discussion: PHP 5 OOP
Hi,
I'm referring to the "phpcodefiles.zip" that you can find at http://www.developer.com/lang/php/ar...0941_3604111_2
and the "query.zip" that you can find using this URL: http://www.developer.com/lang/php/ar...0941_3605221_2
Max
-
Apr 29th, 2008, 10:56 AM
#12
Re: Discussion: PHP 5 OOP
Okay, I forgot the articles had been put on developer.com too. I'll give Brad a heads up on those broken links and see if he can find out what happened. In the mean time all the source code is available on this forum, as the article was first published here:
http://www.vbforums.com/showthread.php?t=378700
-
Apr 29th, 2008, 11:18 AM
#13
Re: Discussion: PHP 5 OOP
Originally Posted by ubuMax
I've notified the editor on Developer.com so hopefully this will be fixed quickly.
Brad!
-
Jul 28th, 2008, 12:22 AM
#14
Addicted Member
Re: Discussion: PHP 5 OOP
One thing with regard to the escape_string function. Before using mysql_real_escape_string on the variable, it is necessary to check if magic_quotes_gpc is enabled. Otherwise we will be escaping the string twice.
-
Apr 7th, 2010, 11:18 PM
#15
New Member
Re: Discussion: PHP 5 OOP
What IDE are you using for the PHP OOP example? Thank You signed RichLynn
Last edited by RichLynn; Apr 8th, 2010 at 07:43 AM.
-
Apr 15th, 2010, 08:00 AM
#16
Banned
Re: Discussion: PHP 5 OOP
Hi Guys,should
i am very new for PHP,I am currently learning PHP. So where should I go for learning PHP.
-
Aug 11th, 2010, 06:10 AM
#17
Lively Member
Re: Discussion: PHP 5 OOP
Wow... great tutorial..
I always afraid the word "Interface" ... But this tut help me to understand... and its not that much techie to learn.... thanx
-
Feb 9th, 2012, 06:46 AM
#18
New Member
Re: Discussion: PHP 5 OOP
I realise this is old news, but I only just joined, and saw that nobody had commented on this before..
There's a typo that occurs in both code samples and text:
"class SatgeMySqlB extends MySqlDB",
"return new StageMySqlDB('example');",
"The SatgeMySqlB, creates an instance of a Log file object .."
The tutorial is very useful I've only tried a little PHP, and expect to do more..
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|