-
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
-
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.
-
Re: Php
PHP is server side scripting lang
i don;t like it, I like ASP.nut
-
Re: Php
-
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.
-
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