Oop Pro And Contra

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Oop Pro And Contra

    Im working on a new commynity script which should replace the world.2wap.org, well i just wan to ask what are the advantages between OOP and simple coding? I can as easy create a simple file with many many function to use this in my script without any classes. I see wizard has classes in his new script, why that does it make sense?
    Advertise your mobile site for FREE with AdTwirl


    #2
    its basically separating logics from view, the logics is the functions and commands and the view is the page that the broswer actually see and thats why i think oop makes sense
    wapZan Mobile site builder - Yours is here



    http://wapzan.com?ref=2wap

    Comment


      #3
      how did u know i use OOP now gums lol. mind enuh!. anyways oop is effective when ur coding a large scale script. of course u can get the same result using a bunch of functions, but like andre said, the main purpose is to separate logic from display. use oop only if ur script is relatively large.

      Comment

      Working...
      X