Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 7 of 7
  1. #1
    Regular Coder
    Join Date
    Jul 2005
    Posts
    216
    Thanks
    0
    Thanked 0 Times in 0 Posts

    common optimization

    What are some common optimization practices? for mysql i use indexes and limit my numbr of queries, but whats common for php? ive cut down on how much coding there is, spliut the coding into different files (only call what i need)

  • #2
    Senior Coder
    Join Date
    Sep 2005
    Posts
    1,791
    Thanks
    5
    Thanked 36 Times in 35 Posts
    Rasmus Lerdorf has given talks in the past about benchmarking and optimising web apps, the slides are here: http://talks.php.net/show/yul/24
    It's quite interesting.
    My thoughts on some things: http://codemeetsmusic.com
    And my scrapbook of cool things: http://gjones.tumblr.com

  • #3
    Regular Coder the-dream's Avatar
    Join Date
    Mar 2007
    Location
    Northamptonshire, UK
    Posts
    477
    Thanks
    8
    Thanked 4 Times in 4 Posts

  • #4
    Senior Coder
    Join Date
    Jan 2007
    Posts
    1,648
    Thanks
    1
    Thanked 58 Times in 54 Posts
    Quote Originally Posted by the-dream View Post
    I'm usually weary of the information presented on about.com. Most of the time there are much better sources of information.

  • #5
    Senior Coder
    Join Date
    Jan 2007
    Posts
    1,648
    Thanks
    1
    Thanked 58 Times in 54 Posts
    Quote Originally Posted by GJay View Post
    Rasmus Lerdorf has given talks in the past about benchmarking and optimising web apps, the slides are here: http://talks.php.net/show/yul/24
    It's quite interesting.
    Although it is an interesting slideshow, these are low level optimizations. I think the questioner means things like function X vs. function Y, etc.

  • #6
    Regular Coder the-dream's Avatar
    Join Date
    Mar 2007
    Location
    Northamptonshire, UK
    Posts
    477
    Thanks
    8
    Thanked 4 Times in 4 Posts
    Quote Originally Posted by aedrin View Post
    I'm usually weary of the information presented on about.com. Most of the time there are much better sources of information.
    but there is some good little bits on optimization!

  • #7
    Regular Coder
    Join Date
    Jul 2005
    Posts
    216
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by the-dream View Post
    but there is some good little bits on optimization!
    thanks, ill be checking out both links, i currently use many forms that ive found along google, just trying to improve as much as possible


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •