To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here
VBForums  

VB Wire News
MSDN Subscribers: Download the VS 2010 Release Candidate
MSDN Subscribers: Download the VS 2010 Release Candidate
Sell Your Code and Make Money?
Creating your own Tetris game using VB.NET
Article :: Improving Software Economics, Part 4 of 7: Top 10 Principles of Iterative Software Management



Go Back   VBForums > Other Languages > PHP

Reply Post New Thread
 
Thread Tools Search this Thread Display Modes
Old Dec 29th, 2005, 08:09 AM   #1
visualAd
Swine Buddy
 
visualAd's Avatar
 
Join Date: Apr 02
Location: Langley, Berks, UK Mode: Restructuring
Posts: 4,784
visualAd is a splendid one to behold (700+)visualAd is a splendid one to behold (700+)visualAd is a splendid one to behold (700+)visualAd is a splendid one to behold (700+)visualAd is a splendid one to behold (700+)visualAd is a splendid one to behold (700+)visualAd is a splendid one to behold (700+)
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: Blog - Latest Post: When the Internet becomes Electricity!!


Spread happiness and joy. Rate good posts.
visualAd is offline   Reply With Quote
Old Dec 29th, 2005, 01:32 PM   #2
CornedBee
Kitten
 
CornedBee's Avatar
 
Join Date: Aug 01
Location: In a microchip!
Posts: 11,594
CornedBee is a glorious beacon of light (400+)CornedBee is a glorious beacon of light (400+)CornedBee is a glorious beacon of light (400+)CornedBee is a glorious beacon of light (400+)CornedBee is a glorious beacon of light (400+)CornedBee is a glorious beacon of light (400+)
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.
CornedBee is offline   Reply With Quote
Old Dec 29th, 2005, 01:47 PM   #3
visualAd
Swine Buddy
 
visualAd's Avatar
 
Join Date: Apr 02
Location: Langley, Berks, UK Mode: Restructuring
Posts: 4,784
visualAd is a splendid one to behold (700+)visualAd is a splendid one to behold (700+)visualAd is a splendid one to behold (700+)visualAd is a splendid one to behold (700+)visualAd is a splendid one to behold (700+)visualAd is a splendid one to behold (700+)visualAd is a splendid one to behold (700+)
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: Blog - Latest Post: When the Internet becomes Electricity!!


Spread happiness and joy. Rate good posts.
visualAd is offline   Reply With Quote
Old May 16th, 2007, 09:40 PM   #4
vbcooler
Member
 
Join Date: Jul 05
Posts: 35
vbcooler is an unknown quantity at this point (<10)
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)
vbcooler is offline   Reply With Quote
Old May 17th, 2007, 12:34 AM   #5
penagate
Super Moderator
 
Join Date: Jan 05
Location: Sunny Adelaide
Posts: 12,532
penagate has much to be proud of (1500+)penagate has much to be proud of (1500+)penagate has much to be proud of (1500+)penagate has much to be proud of (1500+)penagate has much to be proud of (1500+)penagate has much to be proud of (1500+)penagate has much to be proud of (1500+)penagate has much to be proud of (1500+)penagate has much to be proud of (1500+)penagate has much to be proud of (1500+)penagate has much to be proud of (1500+)
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.
penagate is offline   Reply With Quote
Old May 17th, 2007, 01:55 AM   #6
vbbit
Fanatic Member
 
Join Date: Jun 05
Posts: 940
vbbit is on a distinguished road (20+)
Re: Discussion: PHP 5 OOP

I like it. I like to learn new things.
vbbit is offline   Reply With Quote
Old Apr 28th, 2008, 08:16 AM   #7
ubuMax
New Member
 
Join Date: Apr 08
Posts: 3
ubuMax is an unknown quantity at this point (<10)
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
ubuMax is offline   Reply With Quote
Old Apr 28th, 2008, 10:48 AM   #8
visualAd
Swine Buddy
 
visualAd's Avatar
 
Join Date: Apr 02
Location: Langley, Berks, UK Mode: Restructuring
Posts: 4,784
visualAd is a splendid one to behold (700+)visualAd is a splendid one to behold (700+)visualAd is a splendid one to behold (700+)visualAd is a splendid one to behold (700+)visualAd is a splendid one to behold (700+)visualAd is a splendid one to behold (700+)visualAd is a splendid one to behold (700+)
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: Blog - Latest Post: When the Internet becomes Electricity!!


Spread happiness and joy. Rate good posts.
visualAd is offline   Reply With Quote
Old Apr 29th, 2008, 10:33 AM   #9
ubuMax
New Member
 
Join Date: Apr 08
Posts: 3
ubuMax is an unknown quantity at this point (<10)
Re: Discussion: PHP 5 OOP

ok...Thanks
ubuMax is offline   Reply With Quote
Old Apr 29th, 2008, 10:55 AM   #10
visualAd
Swine Buddy
 
visualAd's Avatar
 
Join Date: Apr 02
Location: Langley, Berks, UK Mode: Restructuring
Posts: 4,784
visualAd is a splendid one to behold (700+)visualAd is a splendid one to behold (700+)visualAd is a splendid one to behold (700+)visualAd is a splendid one to behold (700+)visualAd is a splendid one to behold (700+)visualAd is a splendid one to behold (700+)visualAd is a splendid one to behold (700+)
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: Blog - Latest Post: When the Internet becomes Electricity!!


Spread happiness and joy. Rate good posts.
visualAd is offline   Reply With Quote
Old Apr 29th, 2008, 11:23 AM   #11
ubuMax
New Member
 
Join Date: Apr 08
Posts: 3
ubuMax is an unknown quantity at this point (<10)
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
ubuMax is offline   Reply With Quote
Old Apr 29th, 2008, 11:56 AM   #12
visualAd
Swine Buddy
 
visualAd's Avatar
 
Join Date: Apr 02
Location: Langley, Berks, UK Mode: Restructuring
Posts: 4,784
visualAd is a splendid one to behold (700+)visualAd is a splendid one to behold (700+)visualAd is a splendid one to behold (700+)visualAd is a splendid one to behold (700+)visualAd is a splendid one to behold (700+)visualAd is a splendid one to behold (700+)visualAd is a splendid one to behold (700+)
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: Blog - Latest Post: When the Internet becomes Electricity!!


Spread happiness and joy. Rate good posts.
visualAd is offline   Reply With Quote
Old Apr 29th, 2008, 12:18 PM   #13
brad jones
Administrator
 
brad jones's Avatar
 
Join Date: Nov 02
Location: Indianapolis
Posts: 4,377
brad jones is a jewel in the rough (200+)brad jones is a jewel in the rough (200+)brad jones is a jewel in the rough (200+)
Re: Discussion: PHP 5 OOP

Quote:
Originally Posted by ubuMax
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

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 Senior Executive Editor: 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)

--------------------------------------------------------------
brad jones is offline   Reply With Quote
Old Jul 28th, 2008, 01:22 AM   #14
srisa
Addicted Member
 
Join Date: Feb 06
Location: Hyderabad, India
Posts: 233
srisa  is on a distinguished road (30+)
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.
srisa is offline   Reply With Quote
Reply

Go Back   VBForums > Other Languages > PHP


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 10:41 AM.




To view more projects, click here

Acceptable Use Policy


The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.