Jump to content

Creating PHP Class


ZulfadlyAshBurn

Recommended Posts

Most people coming from another programming language like using the class format of php, predefined programming in php can also be fast.

 

Both can be written, to do the same thing, in a class format or predefined format.

 

Predefined programming for a absolute beginner, is easer to understand.

 

Saying that each individual are different at there ability to program php code.

 

example

I might be good at class never programmed in my life.

 

Try them both is the an saw.

 

Saying even that, Your have to learn all the php commands and there all predefined as examples any way.

 

 

Most programmers use the php.net manual daily,hourly, to learn examples  of php and unfortunately you get the examples in predefined examples from php.net.

 

i personally only use a class when selling a project , only for simplicity only ((not speed or tidiness)).

Link to comment
https://forums.phpfreaks.com/topic/228205-creating-php-class/#findComment-1177125
Share on other sites

I think the word you're looking for is procedural, not predefined.

 

To the OP, safer how?  Both OOP and procedural programming can be messy and unsafe if written badly.  Simply creating classes and objects 'just because' doesn't convey any real benefit.  OOP done right promotes reusability and modularity, but getting to that point requires more than learning syntax.

Link to comment
https://forums.phpfreaks.com/topic/228205-creating-php-class/#findComment-1177152
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.