1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Looking for a PHP Framework

Discussion in 'PHP' started by ggggqqqqihc, Nov 19, 2008.

  1. #1
    I want to build a website and want to find an MVC framework. The most important thing is that the framework should support the third-party library well. And the efficiency is also important, too. Which framework do you think is the best? Thanks.
     
    ggggqqqqihc, Nov 19, 2008 IP
  2. EricBruggema

    EricBruggema Well-Known Member

    Messages:
    1,740
    Likes Received:
    28
    Best Answers:
    13
    Trophy Points:
    175
    #2
    Zend is one of the best, check out zend!
     
    EricBruggema, Nov 19, 2008 IP
  3. wing

    wing Active Member

    Messages:
    210
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    58
    #3
    Yup, go for Zend!
     
    wing, Nov 20, 2008 IP
  4. seokochin

    seokochin Banned

    Messages:
    298
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Yeah I use Zend.But some of my friends recommend Symphony.
     
    seokochin, Nov 20, 2008 IP
  5. atlantaazfinest

    atlantaazfinest Peon

    Messages:
    389
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #5
    CAKEPHP or CODEIGNITOR
     
    atlantaazfinest, Nov 20, 2008 IP
  6. mahendras

    mahendras Peon

    Messages:
    597
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #6
    mahendras, Nov 20, 2008 IP
  7. jestep

    jestep Prominent Member

    Messages:
    3,659
    Likes Received:
    215
    Best Answers:
    19
    Trophy Points:
    330
    #7
    I can only recommend symfony. I've tried Zend, Cake and Symfony. After messing with them all, I wouldn't even consider the other 2.
     
    jestep, Nov 20, 2008 IP
  8. AdultProfiles

    AdultProfiles Peon

    Messages:
    54
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    But what's the best framework if I have in mind to create a social network website? Zend is the answer for this too?
     
    AdultProfiles, Nov 20, 2008 IP
  9. atlantaazfinest

    atlantaazfinest Peon

    Messages:
    389
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Ill be checking out symfony tonight then
     
    atlantaazfinest, Nov 20, 2008 IP
  10. jestep

    jestep Prominent Member

    Messages:
    3,659
    Likes Received:
    215
    Best Answers:
    19
    Trophy Points:
    330
    #10
    One thing I will say is that it has a steeper learning curve than Cake. If you've used a lot of MVC before, it shouldn't be too difficult, but just starting it's a pain to learn and understand.
     
    jestep, Nov 20, 2008 IP
  11. SEOAnalytic.com

    SEOAnalytic.com Member

    Messages:
    106
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    26
    #11
    Is it best to work with such frameworks?
    Will it boost the productivity in programming...
     
    SEOAnalytic.com, Nov 20, 2008 IP
  12. jestep

    jestep Prominent Member

    Messages:
    3,659
    Likes Received:
    215
    Best Answers:
    19
    Trophy Points:
    330
    #12
    I really depends on what you are needing to do.

    If you need a more portable application or need distinct separation between your logic and your layout components, MVC or a MVC framework may be appropriate. It really helps keep different types of code apart, which in the long run makes managing an application much easier. If something goes wrong, you know exactly where to fix it. Also, once you get proficient, you can develop features and new applications extremely quickly. Debugging, caching, and ajax are built into most frameworks, which really helps compared to using separate php coding, self created error control, and javascript frameworks. lastly, if you have more than one developer working on a project a framework helps to standardize the coding, because once you understand how MVC works, there's only a single place to put certain elements of code.

    There are drawbacks with a framework. They are big and clunky and significantly slower than procedural, or formula / procedural coding, or light OOP coding. They are also a complete pain to learn if you've never used them before. I jumped into frameworks about 5 years after I started with php, and for about 2 weeks it was like square 1. Throw in a database ORM, and you might have well just switched to c++.

    Really frustrating to get into, but well worth the effort once you get them figured out.

    Just to expound on my previous post, I don't think Zend, or Cake, or Codeignitor or any other widely used framework is bad. Just after reviewing them all, Symfony was my choice based on support, features, and development. From my understanding it's the hardest to learn overall, but is the most widely used and works for almost any purpose.
     
    jestep, Nov 20, 2008 IP
  13. scubita

    scubita Peon

    Messages:
    5,550
    Likes Received:
    318
    Best Answers:
    0
    Trophy Points:
    0
    #13
    Quite interesting guys. So let's say i want to get hands dirty and start a "social community" for my family with login page, user page, and be able to upload pics, write stuff, and be able to show new stuff on index, i can do it with one framework?

    I'm not saying it's simple, but is it possible?
     
    scubita, Nov 20, 2008 IP
  14. jestep

    jestep Prominent Member

    Messages:
    3,659
    Likes Received:
    215
    Best Answers:
    19
    Trophy Points:
    330
    #14
    definitely.

    We built our entire CRM system on Symfony. Access for 50 - 100 internal and 1000 external users. Has blog, articles, directory, online document storage, reporting, trouble ticketing, UPS integration, VOIP reporting integration, 10 user access levels, bug tracking, as well as a full back-end administration. We add modules and features on a weekly basis. We did this with a framework in about 1/20 of the time that it would have taken to program it normally.
     
    jestep, Nov 20, 2008 IP
  15. scubita

    scubita Peon

    Messages:
    5,550
    Likes Received:
    318
    Best Answers:
    0
    Trophy Points:
    0
    #15
    Ouch, that is powerful! So let's say, if a complete php noob like me want to develop a small community, he can do it? Or do i have to go nuts before i can even do a user login?
     
    scubita, Nov 20, 2008 IP
  16. jestep

    jestep Prominent Member

    Messages:
    3,659
    Likes Received:
    215
    Best Answers:
    19
    Trophy Points:
    330
    #16
    Its sometimes easier to start with a framework before you know a ton about programming with that language. Something that experienced programmers run into is that they have to un-learn a lot of things before they can move in a different direction. Most of the frameworks have good documentation, and setting up things like basic authentication usually isn't difficult. As long as you have basic skills / understanding, it shouldn't be a problem to jump in right now.

    Here's a good example of how to get going with symfony at least:
    http://www.symfony-project.org/tutorial/1_0/my-first-project

    This explains how to create an entire blogging platform, and shouldn't take more than a few hours.

    There's also a book: http://www.symfony-project.org/book/1_0/

    And lastly, here's their guide on how to make a full project: http://www.symfony-project.org/askeet/1_0/en/

    These are all for version 1.0 which is the most stable and will be supported for the longest amount of time. 1.1 is stable as well, but won't be supported as long.
     
    jestep, Nov 20, 2008 IP
    scubita likes this.
  17. scubita

    scubita Peon

    Messages:
    5,550
    Likes Received:
    318
    Best Answers:
    0
    Trophy Points:
    0
    #17
    Thanks jestep, i'll take a closer look later on. From a quick read it's way more difficult than i expected. I guess i was expecting something similar to WP widgets... *scubita gets ashamed*

    Rep added mate. ;)
     
    scubita, Nov 20, 2008 IP
  18. jestep

    jestep Prominent Member

    Messages:
    3,659
    Likes Received:
    215
    Best Answers:
    19
    Trophy Points:
    330
    #18
    It's intimidating, but it's really not as hard as it seems upon first impression. Symfonay may not be the best choice for you either. Definitely take a look at the other ones as well.
     
    jestep, Nov 20, 2008 IP
  19. eric90

    eric90 Peon

    Messages:
    14
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #19
    ehh... some people might argue that Zend is not really a framework in the sense that it's not really like cakephp and symfony.

    i've tried learning both cakephp and symfony, and i found cake to be the easier of the two. The structure of symfony is just too confusing.
     
    eric90, Nov 21, 2008 IP