Copyright © 2005-2008 Andrea Tincani

AndreaPHP | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (Seperating each line of a textbox)Next Topic (Problem with ImageCreateFromJPEG) New Topic New Poll Post Reply
AndreaPHP Forum : PHP General : Class v.s. Procedural
Poster Message
neutrall
Level: Scholar


Registered: 28-03-2004
Posts: 43

icon Class v.s. Procedural

       It's a well known fact that using class into your project is a efficient way of programming, letting you modified you code easilly without the need of major modification. Also really pratical for reusable code.

    But Is it slowing down the web application. Let's say you run your aplpication on a site with over 200 000 visitor per day. Will using procedural technique make your code faster and your page load fastre (Even thought your code will be a nightmare to read after!)

  (This is not a statement, it's actually a question!!!)

____________________________
A Stick give a wise man something to think about... and a fool, something to put in is mouth.

04-05-2005 at 05:12 AM
View Profile Send Email to User Show All Posts Visit Homepage ICQ | Quote Reply
~Bean~
Level: Big Cheese


Registered: 07-04-2003
Posts: 22

icon Re: Class v.s. Procedural

hhhmmmm...not sure...it might depend some things to think about:

-PHP has its own garbage clean up
-if your code is tight, it might make all the difference
-code can still be reusable and procedural

....there is one way to find out though...time it!



____________________________
Eggheads unite! You have nothing to lose but your yolks.

04-05-2005 at 03:42 PM
View Profile Send Email to User Show All Posts Visit Homepage | Quote Reply
AndreaPHP Forum : PHP General : Class v.s. Procedural
Previous Topic (Seperating each line of a textbox)Next Topic (Problem with ImageCreateFromJPEG) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: AndreaVB

Copyright © 2005-2008 Andrea Tincani

Powered by: tForum tForum Edition b0.92p1
Originally created by Toan Huynh (Copyright © 2000)
Enhanced by the tForumHacks team.