Page 1 of 1

Is It necessary to add PHP-Framework to PHP ?

Posted: Wed Jun 24, 2009 1:06 am
by nileshpatel
FrameWork ?
Is It necessary to add PHP-Framework to PHP ?

I’ve seen PHPINFO it’ll not show any information related to php-framework.

It’ll show Zend Engine is it FrameWork?

Which one is Best ZEnd Or CakePHP..

Please guide me :banghead:

Thank in Advance :drunk:

Re: Is It necessary to add PHP-Framework to PHP ?

Posted: Wed Jun 24, 2009 7:37 am
by alex.barylski
Neither, hand code eveything, you actually become more efficient, because there is no learning curve. :|

Re: Is It necessary to add PHP-Framework to PHP ?

Posted: Wed Jun 24, 2009 10:23 am
by Christopher
PCSpectra wrote:Neither, hand code eveything, you actually become more efficient, because there is no learning curve. :|
In reality there is a HUGE learning curve to code everything that you would use in a framework. And unless you are the best programmer in the universe, the code in a framework will be better than your own -- much better during your "learning curve." :|

Re: Is It necessary to add PHP-Framework to PHP ?

Posted: Wed Jun 24, 2009 10:34 am
by Benjamin
arborint wrote:And unless you are the best programmer in the universe
I am soooo the best programmer in the universe.

Re: Is It necessary to add PHP-Framework to PHP ?

Posted: Wed Jun 24, 2009 12:46 pm
by alex.barylski
In reality there is a HUGE learning curve to code everything that you would use in a framework. And unless you are the best programmer in the universe, the code in a framework will be better than your own -- much better during your "learning curve."
I was being sarcastic... :)

Re: Is It necessary to add PHP-Framework to PHP ?

Posted: Wed Jun 24, 2009 2:10 pm
by Christopher
astions wrote:I am soooo the best programmer in the universe.
OOOOOOOOOOOK .... everybody except astions!

Re: Is It necessary to add PHP-Framework to PHP ?

Posted: Wed Jun 24, 2009 2:10 pm
by Christopher
PCSpectra wrote:I was being sarcastic... :)
To a possible newbie who may not speak English as a first language...

Re: Is It necessary to add PHP-Framework to PHP ?

Posted: Wed Jun 24, 2009 3:49 pm
by alex.barylski
To a possible newbie who may not speak English as a first language...
Yup...I'm that cruel... :P

Re: Is It necessary to add PHP-Framework to PHP ?

Posted: Wed Jun 24, 2009 6:38 pm
by Christopher
nileshpatel wrote:FrameWork ?
Is It necessary to add PHP-Framework to PHP ?

I’ve seen PHPINFO it’ll not show any information related to php-framework.
The framework used will not show in PHPINFO. It is not necessary to use a framework to build a website using PHP.
nileshpatel wrote:It’ll show Zend Engine is it FrameWork?

Which one is Best ZEnd Or CakePHP..
They are different. They are also free. You can download and try them to see which you like best.

Re: Is It necessary to add PHP-Framework to PHP ?

Posted: Wed Jun 24, 2009 6:58 pm
by alex.barylski
They are different. They are also free. You can download and try them to see which you like best.
To a potential newbie who may not even speak English your going to recommend downloading those complicated frameworks without first learning the basics?

Someone is shooting for the 'most helpful award' albeit for the third or forth time, but still. :P :lol:

Just teasing of course, nothing wrong with being helpful. However I don't see being sarcastic as being a 'bad thing' either. :P

Re: Is It necessary to add PHP-Framework to PHP ?

Posted: Wed Jun 24, 2009 7:36 pm
by Christopher
PCSpectra wrote:To a potential newbie who may not even speak English your going to recommend downloading those complicated frameworks without first learning the basics?
It depends on what "the basics" are? I certainly don't consider building your own framework to be "the basics." I don't even consider building site the wrong way several times "the basics." I don't subscribe to the idea that you need to be able to build a thing to use it. I think a beginner might be better served learning PHP from inside a framework than starting with "<?php".

Re: Is It necessary to add PHP-Framework to PHP ?

Posted: Wed Jun 24, 2009 11:23 pm
by califdon
arborint wrote:It depends on what "the basics" are? I certainly don't consider building your own framework to be "the basics." I don't even consider building site the wrong way several times "the basics." I don't subscribe to the idea that you need to be able to build a thing to use it. I think a beginner might be better served learning PHP from inside a framework than starting with "<?php".
It depends on what the objective is. If it is to start producing advanced scripts with minimum training investment, no doubt there is a big advantage to frameworks. If it is to gain pleasure from understanding the way PHP works, and for hobby purposes, I think you get a different answer. My own situation is somewhere between those extremities. I don't use a framework, but would probably be a lot more productive if I did.

Re: Is It necessary to add PHP-Framework to PHP ?

Posted: Thu Jun 25, 2009 4:00 pm
by JAB Creations
Frameworks?! IT BURNS! IT BURNS!

*runs screaming off a cliff completely engulfed in flames*

Joking aside I have to choose all of the above. Sometimes you have to do something that simply can't be done without an existing complex module that you simply can't humanly write yourself within X amount of given time (such as jQuery's animations). However it is insanely common for people to ask how to use a complex framework to do something simple (such as changing a CSS class with JavaScript) that screams massive overhead.

So learning both is certainly the way to go and learning to balance them (when to do it straight or when to use a framework) is critical if you want to execute your approach soundly. As far as serverside frameworks are concerned it's best to ask others as I'm talking entirely from clientside experience though can see a lot of parallel problems between client and server approaches.