bcoffin Posted November 9, 2009 Share Posted November 9, 2009 Hi All, I'm a self-taught PHP coder. I never really saw the purpose of a framework since writing OO PHP makes sense without one. Can somebody please provide the simplest argument in support of frameworks as well as which individual framework they believe has the highest potential for longevity and popularity? Thanks Quote Link to comment https://forums.phpfreaks.com/topic/180891-which/ Share on other sites More sharing options...
Mchl Posted November 9, 2009 Share Posted November 9, 2009 Simplest argument: do not reinvent the wheel. Someone already has done it. Quote Link to comment https://forums.phpfreaks.com/topic/180891-which/#findComment-954294 Share on other sites More sharing options...
bcoffin Posted November 9, 2009 Author Share Posted November 9, 2009 That's like saying "no sense learning HTML if you have dreamweaver".. Not sure i can get behind that argument, Mchl. I'm not saying i'm disputing it, but please provide a bit more compelling and supported response if you're going to register an opinion. Quote Link to comment https://forums.phpfreaks.com/topic/180891-which/#findComment-954302 Share on other sites More sharing options...
Mchl Posted November 9, 2009 Share Posted November 9, 2009 I didn't say you don't need to know/learn PHP if you use a framework. It's quite to contrary. And you're comparing two different things actually. Let me give you an example of what I do everyday. I use ExtJS which is basically a JavaScript framework for creating web GUIs. Why should I struggle each time I want to create a combobox, copy and paste same code to implement Ajax loading, deal with positioning on page etc... when I can simply type new Ext.form.comboBox({/*a few config options here*/}) ? I would waste my time on menial tasks instead of being productive. Same goes for PHP frameworks. Someone has build tools to do common tasks, so that you can focus on developing functionality of your application. Quote Link to comment https://forums.phpfreaks.com/topic/180891-which/#findComment-954312 Share on other sites More sharing options...
bcoffin Posted November 9, 2009 Author Share Posted November 9, 2009 woo that extjs looks like a huge timesaver. which is your preferred php framework? thanks. Quote Link to comment https://forums.phpfreaks.com/topic/180891-which/#findComment-954401 Share on other sites More sharing options...
Mchl Posted November 9, 2009 Share Posted November 9, 2009 I am still trying to wrap my head around Zend Framework As for the ExtJS, yes it saves a lot of time and is really powerful. It has some disadvantages though: the script is quite large so it impacts loading times and the licensing model is a bit confusing. Quote Link to comment https://forums.phpfreaks.com/topic/180891-which/#findComment-954415 Share on other sites More sharing options...
Zyx Posted November 10, 2009 Share Posted November 10, 2009 bcoffin, there are so many forum topics, so many blog posts, so many comparisons of frameworks. Just enter this question in any search engine and you will know everything. Quote Link to comment https://forums.phpfreaks.com/topic/180891-which/#findComment-954638 Share on other sites More sharing options...
bcoffin Posted November 10, 2009 Author Share Posted November 10, 2009 I could also buy and read every book to compare frameworks. Quote Link to comment https://forums.phpfreaks.com/topic/180891-which/#findComment-955123 Share on other sites More sharing options...
Alex Posted November 21, 2009 Share Posted November 21, 2009 Frameworks have their purpose, but personally I don't like them so much. They include a lot of stuff that you'll never use, and I don't like how you need to use a framework for at least a few months to actually be proficient in it. I've tried several frameworks, but I like using and developing my own minimalistic framework. You might argue that I'm reinventing the wheel, but I highly prefer spending the small amount of time reinventing to my specifications and understanding all the ins and outs of it instantaneously rather than having to study something unfamiliar for months. With frameworks you'll always have complaints, which is really why I decided to create my own. Quote Link to comment https://forums.phpfreaks.com/topic/180891-which/#findComment-962825 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.