lostprophetpunk Posted August 24, 2009 Share Posted August 24, 2009 I have just heard about the possibilities of CodeIgniter and CakePHP. But the one thing I was wondering, is it better to use just straight PHP or a PHP framework such as CakePHP, CodeIgniter etc.? I am wondering this as I want to re-code my blog system which you can view here. I want to save myself some coding, but not if it stops me from doing what I want to do and of course, and if it isn't one of those things where you yourself only write a few lines of code and setup the rest through the framework...I don't want that at all. I am looking to enhance my PHP skills...would a framework help me do this....or should I carry on with just PHP? I want your own opinions if possible. Quote Link to comment https://forums.phpfreaks.com/topic/171599-php-or-php-framework/ Share on other sites More sharing options...
obay Posted August 24, 2009 Share Posted August 24, 2009 http://www.joshsharp.com.au/blog/view/why_you_should_be_using_a_framework Quote Link to comment https://forums.phpfreaks.com/topic/171599-php-or-php-framework/#findComment-904892 Share on other sites More sharing options...
TeNDoLLA Posted August 24, 2009 Share Posted August 24, 2009 If you know already php somewhat good it might be also good to learn through frameworks, they usually include much more advanced code structures. On the other hand all things in frameworks can be done manually also. I list here some reasons that I read from another finnish php forum that might be reasons why NOT to use framework: - might not include support for utf8 - system requirements (php 5.2.x) - support for needed database (e.g support only for mysql and postresql) - a lot of foreign code at once from foreign source - includes a lot of stuff that might never be used - how does the framework meet your needs? Do you still need to code a lot of things on your own Quote Link to comment https://forums.phpfreaks.com/topic/171599-php-or-php-framework/#findComment-904895 Share on other sites More sharing options...
ignace Posted August 24, 2009 Share Posted August 24, 2009 No matter how you play it out: straight PHP or a PHP framework. You will - in the end - always be using some sort of framework wether it's third-party or your collection of library files created throughout the development of the application. Quote Link to comment https://forums.phpfreaks.com/topic/171599-php-or-php-framework/#findComment-904900 Share on other sites More sharing options...
lostprophetpunk Posted August 24, 2009 Author Share Posted August 24, 2009 But through personal experience, what do you think is better? Quote Link to comment https://forums.phpfreaks.com/topic/171599-php-or-php-framework/#findComment-904945 Share on other sites More sharing options...
trq Posted August 24, 2009 Share Posted August 24, 2009 But through personal experience, what do you think is better? The answer isn't simply that black / white. Quote Link to comment https://forums.phpfreaks.com/topic/171599-php-or-php-framework/#findComment-904956 Share on other sites More sharing options...
zohab Posted August 24, 2009 Share Posted August 24, 2009 Framework provide more security than plane php code Quote Link to comment https://forums.phpfreaks.com/topic/171599-php-or-php-framework/#findComment-904963 Share on other sites More sharing options...
TeNDoLLA Posted August 24, 2009 Share Posted August 24, 2009 Why couldn't plain own made php code be done as secure as framework? Quote Link to comment https://forums.phpfreaks.com/topic/171599-php-or-php-framework/#findComment-904966 Share on other sites More sharing options...
ignace Posted August 24, 2009 Share Posted August 24, 2009 Why couldn't plain own made php code be done as secure as framework? Who says a framework is secure? Plain PHP can be written as secure as a PHP framework can. The only difference is the implementation and the (recurring) work involved. Quote Link to comment https://forums.phpfreaks.com/topic/171599-php-or-php-framework/#findComment-904972 Share on other sites More sharing options...
zohab Posted August 24, 2009 Share Posted August 24, 2009 Hi, The people who develop php framework take care of security so we don't have to spend more time implementing security it is build in. Quote Link to comment https://forums.phpfreaks.com/topic/171599-php-or-php-framework/#findComment-905020 Share on other sites More sharing options...
trq Posted August 24, 2009 Share Posted August 24, 2009 Hi, The people who develop php framework take care of security so we don't have to spend more time implementing security it is build in. You are dreaming. Security is always up to how a program is designed by the programmer. A framework simply provides tools, they are not the be all and end all. Quote Link to comment https://forums.phpfreaks.com/topic/171599-php-or-php-framework/#findComment-905028 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.