|
|
#1 |
|
Swine Buddy
Join Date: Apr 02
Location: Langley, Berks, UK Mode: Restructuring
Posts: 4,835
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Discussion: PHP 5 OOP
This thread is for dicussion of the PHP 5 OOP tutorial:
http://www.vbforums.com/showthread.php?t=378700
__________________
PHP || MySql || Apache || Get Firefox || OpenOffice.org || Click || Slap ILMV || 1337 c0d || GotoMyPc For FREE! Part 1, Part 2 | PHP Session --> Database Handler * Custom Error Handler * Installing PHP * HTML Form Handler * PHP 5 OOP * Using XML * Ajax * Xslt | VB6 Winsock - HTTP POST / GET * Winsock - HTTP File Upload Latest quote: crptcblade - VB6 executables can't be decompiled, only disassembled. And the disassembled code is even less useful than I am. Random VisualAd: Spread happiness and joy. Rate good posts.
|
|
|
|
|
|
#2 |
|
Kitten
Join Date: Aug 01
Location: In a microchip!
Posts: 11,594
![]() ![]() ![]() ![]() ![]() ![]() |
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. |
|
|
|
|
|
#3 |
|
Swine Buddy
Join Date: Apr 02
Location: Langley, Berks, UK Mode: Restructuring
Posts: 4,835
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Re: Discussion: PHP 5 OOP
I have changed it to "more in line with Java and C#"
__________________
PHP || MySql || Apache || Get Firefox || OpenOffice.org || Click || Slap ILMV || 1337 c0d || GotoMyPc For FREE! Part 1, Part 2 | PHP Session --> Database Handler * Custom Error Handler * Installing PHP * HTML Form Handler * PHP 5 OOP * Using XML * Ajax * Xslt | VB6 Winsock - HTTP POST / GET * Winsock - HTTP File Upload Latest quote: crptcblade - VB6 executables can't be decompiled, only disassembled. And the disassembled code is even less useful than I am. Random VisualAd: Spread happiness and joy. Rate good posts.
|
|
|
|
|
|
#4 |
|
Member
Join Date: Jul 05
Posts: 35
![]() |
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)
|
|
|
|
|
|
#5 |
|
Super Moderator
Join Date: Jan 05
Location: Sunny Adelaide
Posts: 12,738
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
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. |
|
|
|
|
|
#6 |
|
Frenzied Member
Join Date: Jun 05
Posts: 1,045
![]() |
Re: Discussion: PHP 5 OOP
I like it. I like to learn new things.
|
|
|
|
|
|
#7 |
|
New Member
Join Date: Apr 08
Posts: 3
![]() |
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 |
|
|
|
|
|
#8 |
|
Swine Buddy
Join Date: Apr 02
Location: Langley, Berks, UK Mode: Restructuring
Posts: 4,835
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Re: Discussion: PHP 5 OOP
Hi Max,
I will check the web server a bit later and reply back when the issue is fixed.
__________________
PHP || MySql || Apache || Get Firefox || OpenOffice.org || Click || Slap ILMV || 1337 c0d || GotoMyPc For FREE! Part 1, Part 2 | PHP Session --> Database Handler * Custom Error Handler * Installing PHP * HTML Form Handler * PHP 5 OOP * Using XML * Ajax * Xslt | VB6 Winsock - HTTP POST / GET * Winsock - HTTP File Upload Latest quote: crptcblade - VB6 executables can't be decompiled, only disassembled. And the disassembled code is even less useful than I am. Random VisualAd: Spread happiness and joy. Rate good posts.
|
|
|
|
|
|
#9 |
|
New Member
Join Date: Apr 08
Posts: 3
![]() |
Re: Discussion: PHP 5 OOP
ok...Thanks
|
|
|
|
|
|
#10 |
|
Swine Buddy
Join Date: Apr 02
Location: Langley, Berks, UK Mode: Restructuring
Posts: 4,835
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
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?
__________________
PHP || MySql || Apache || Get Firefox || OpenOffice.org || Click || Slap ILMV || 1337 c0d || GotoMyPc For FREE! Part 1, Part 2 | PHP Session --> Database Handler * Custom Error Handler * Installing PHP * HTML Form Handler * PHP 5 OOP * Using XML * Ajax * Xslt | VB6 Winsock - HTTP POST / GET * Winsock - HTTP File Upload Latest quote: crptcblade - VB6 executables can't be decompiled, only disassembled. And the disassembled code is even less useful than I am. Random VisualAd: Spread happiness and joy. Rate good posts.
|
|
|
|
|
|
#11 |
|
New Member
Join Date: Apr 08
Posts: 3
![]() |
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 |
|
|
|
|
|
#12 |
|
Swine Buddy
Join Date: Apr 02
Location: Langley, Berks, UK Mode: Restructuring
Posts: 4,835
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
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
__________________
PHP || MySql || Apache || Get Firefox || OpenOffice.org || Click || Slap ILMV || 1337 c0d || GotoMyPc For FREE! Part 1, Part 2 | PHP Session --> Database Handler * Custom Error Handler * Installing PHP * HTML Form Handler * PHP 5 OOP * Using XML * Ajax * Xslt | VB6 Winsock - HTTP POST / GET * Winsock - HTTP File Upload Latest quote: crptcblade - VB6 executables can't be decompiled, only disassembled. And the disassembled code is even less useful than I am. Random VisualAd: Spread happiness and joy. Rate good posts.
|
|
|
|
|
|
#13 | |
|
Administrator
Join Date: Nov 02
Location: Indianapolis
Posts: 4,592
![]() |
Re: Discussion: PHP 5 OOP
Quote:
I've notified the editor on Developer.com so hopefully this will be fixed quickly. Brad!
__________________
Have you given out your reputation points today? Select the Rate This Post link to give points for good posts! ------------------------------------------------------------- Brad Jones, VBForums Site Manager Internet.com Director / EiC: Software Development Microsoft MVP Overseeing VBForums, Developer.com, DatabaseJournal.com, CodeGuru, DevX, and more. (My recent articles) (My newest book: Web 2.0 Heroes!) (My Blog) (Follow me on Twitter) --------------------------------------------------------------
|
|
|
|
|
|
|
#14 |
|
Addicted Member
Join Date: Feb 06
Location: Hyderabad, India
Posts: 233
![]() |
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.
|
|
|
|
|
|
#15 |
|
New Member
Join Date: Apr 10
Posts: 1
![]() |
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. |
|
|
|
|
|
#16 |
|
Banned
Join Date: May 09
Posts: 16
![]() |
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. |
|
|
|
|
|
#17 |
|
Lively Member
Join Date: Jun 05
Posts: 120
![]() |
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
|
|
|
|
![]() |
|
||||||
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|