PHP frameworks?

Discussion in 'PHP' started by olddocks, Jan 4, 2008.

  1. #1
    why use php frameworks like zend or cakephp?
    iam not php pro, but just wanted to know more about this?

    and, which framework is best and easy to use?
     
    olddocks, Jan 4, 2008 IP
  2. ausgezeichnete

    ausgezeichnete Peon

    Messages:
    54
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    well am using dreamwaver
    it made by insert/update/delete records and make login systems and validation too without writing any codes try it
     
    ausgezeichnete, Jan 4, 2008 IP
  3. hogan_h

    hogan_h Peon

    Messages:
    199
    Likes Received:
    30
    Best Answers:
    0
    Trophy Points:
    0
    #3
    This was discussed numerous times, just read the threads at the bottom and the articles they are linking to, there is some nice info there.
     
    hogan_h, Jan 4, 2008 IP
  4. shallowink

    shallowink Well-Known Member

    Messages:
    1,218
    Likes Received:
    64
    Best Answers:
    2
    Trophy Points:
    150
    #4
    Why use a framework? It speeds up the development process. With cake php you can setup a simple system in a few minutes. Play around with it and see what your idea looks like with relative ease. It's more of a prototype at this point, but it helps to get a clear idea of what is possible and what isn't. Reason to use any framework is to shorten the time for development. As to which is best to use, ask somebody else. I checked Cake PHP and Seagull, but the overhead is too high for small sites. I liked Cake PHP it has a serious learning curve though and some folks can't even get it to install.
    Are you looking to use a framework?
     
    shallowink, Jan 4, 2008 IP
    olddocks likes this.
  5. EMcCracken

    EMcCracken Peon

    Messages:
    25
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I recently moved from Code Igniter to Zend Framework and I must say that both these frameworks are an effective way to get things done quickly. When the codebase is there you can put complex solutions in place very quickly. Of the two I would recommend Zend Framework with Smarty as presentation Engine.
     
    EMcCracken, Jan 5, 2008 IP
  6. olddocks

    olddocks Notable Member

    Messages:
    3,275
    Likes Received:
    165
    Best Answers:
    0
    Trophy Points:
    215
    #6
    thanks! but dont using the frameworks and smarty slow down the website loading drastically? There must be some sort of performance lag!! why i am curious is i love simple fast loading site.

    I have designed pages in php with just few mysql queries and voila! That is why i always very hesitatant to use them!
     
    olddocks, Jan 5, 2008 IP
  7. shallowink

    shallowink Well-Known Member

    Messages:
    1,218
    Likes Received:
    64
    Best Answers:
    2
    Trophy Points:
    150
    #7
    That is the exact reason I avoided them too. But I'm having to rethink the entire idea. Instead of having to hack together a solution for any given script, just use a framework.

    What I really dislike is the overhead of repeated calls to the db. And the fact that if a single call takes too long, the page won't show or the browser times outs. It's one thing for a forum to do such, but if an ecommerce site does it, they will just go somewhere else.
    What I like is the speed of seeing an idea fleshed out. I setup Cake PHP yesterday after posting. 30 minutes to set it up and 10 minutes to have a working example. Admittedly it was a simple example. The scaffolding idea is real good. Just have to take the time to learn more about cake. Interested in checking out code igniter too though.
     
    shallowink, Jan 5, 2008 IP