-
December 22nd, 2009, 01:11 AM
#1
Php
Hey,
Do webpages developed with PHP usually use the object-oriented approach, or the procedural approach? What is the main focus of PHP?...code with classes or without classes?
Most people who use C++, use it for object oriented development. What about PHP? What is it used mostly for?
Jack
-
December 22nd, 2009, 06:32 AM
#2
Re: Php
I think whatever others use (which I believe is a procedural approach), we should encourage people to go for OOPS, that's the most reasonable way to go for.
Regards,
Ramkrishna Pawar
-
December 22nd, 2009, 08:11 AM
#3
Re: Php
PHP is server side scripting lang
i don;t like it, I like ASP.nut
-
December 22nd, 2009, 09:15 AM
#4
Re: Php
If the post was helpful...Rate it! Remember to use [code] or [php] tags.
-
December 22nd, 2009, 09:19 AM
#5
Re: Php
Development methods depend on a lot of things. Two main points determine which approach will be used: expertise level of the developer and size/intensity of the project. Beginner tend to use procedural methods because they cannot understand object-oriented methods as clearly as the experienced developer.
Personally, I use OOP as often as possible. But, if the project is a simple script, sometimes it's a waste to bother with object-oriented methodology.
If the post was helpful...Rate it! Remember to use [code] or [php] tags.
-
December 27th, 2009, 10:25 PM
#6
Re: Php
I use OOP in PHP when I'm working with DOM especially with XML because I'm already interacting with object it easier to keep that mode.
but small things as Peej said it a waste to both with
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
|