Jump to content

Recommended Posts

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.

Link to comment
https://forums.phpfreaks.com/topic/171599-php-or-php-framework/
Share on other sites

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

Link to comment
https://forums.phpfreaks.com/topic/171599-php-or-php-framework/#findComment-904895
Share on other sites

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.

Link to comment
https://forums.phpfreaks.com/topic/171599-php-or-php-framework/#findComment-904900
Share on other sites

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.

Link to comment
https://forums.phpfreaks.com/topic/171599-php-or-php-framework/#findComment-904972
Share on other sites

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.

Link to comment
https://forums.phpfreaks.com/topic/171599-php-or-php-framework/#findComment-905028
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.