Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Should I Use OOP

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #32345
    ChrisBull
    Member

    So im creating a login script – and while i used to just use lots of if statements on the login form page i am now using oop but i have already got about 5 different php scripts and over 200 lines of code – It seems MUCH longer and more complicated than using the old method…

    #51454
    mshort1985
    Member

    I’ve been facing this same situation, and I think there are a lot of advantages to writing in OOP but if you already have scripts written that work well then i don’t see any reason to convert them

    #50519
    Astra
    Participant

    Did you try phpforms builder? may be it will help you

    #50113
    shazdeh
    Member

    There is no should. If making your code OOP will make it easier to understand and write, why not. Otherwise don’t. I find OOP easier to read, but harder to write.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘Back End’ is closed to new topics and replies.