PHP vs Frameworks

zScorpio

New member
I've recently came back to web development only to find everyone going crazy with all these "Frameworks"... In my opinion they just add loads of unneeded files & complicated setup process... I still don't see why should I refrain from using PHP and go for a Framework instead... ideas?
 

CHT

New member
The only reason I can think of is you don't have to type in native language all the time, and instead type something that is usually easier to remember.

Out of that, I really don't see a use for those "Frameworks". All they do is take up space which could be used elsewhere.
 

dufflamf

New member
I worked on a project with the Zend framework, the thing was just a mess, it was hard to create even a simple form.

I didn't like it.
 

furukawa

New member
I also think that Zend Framework is complicated and big.
At first I was using a simple form.
As I increased the function, I understood the intention that the framework was prepared.
I had the advantage of shortening the development process.
Still, I think there are unnecessary things in the framework.
I decide not to use unnecessary things.
 

initpwn

New member
dufflamf said:
I worked on a project with the Zend framework, the thing was just a mess, it was hard to create even a simple form.

I didn't like it.

I can understand your situation...
IMO, most of what Zend offer, can be done without Zend framework.
They are very popular because, they have one of the most complete framework for php.
Its good to note that, the Zend's founders are also major contributors to PHP.
Just use Zend framework for your projects & eventually, you'll get used to it... :)
 

initpwn

New member
Frameworks are nice if you want to force your team or yourself to follow a programming standard. And also they fasten your development process. Developing your own Framework which fits your needs is a good idea, if you have time. Try free ones, like CI, Laravel, etc! :")
 

yusha

New member
It actually depends on your needs. But I would say you should always use Framework. If you start building your application in pure php you'll end-up building your own framework before you know it, to manage your workflow. And now if you ask me which framework should I use I will say go for Codeigniter and Bootstrap.
 

yusha

New member
I think using your own code on something that is very much important to you is good rather that using someone else's code. But if you are working on a corporate project you can use frameworks to save time and effort.
 

RDCH106

New member
@"zScorpio" the decision depends on your desing and coding level... I explain you.

In general, it is bad idea to code directly without a framework. The reason is very easy, a framework usalluy include and implicit desing and avoid bad practices, avoiding security risks, bad performance in production environmnets... The programm languages are not perfects and they are very flexible and you can use incorrectly. The frameworks include a lot of knowledge, wich it is packaging for you with an easy to use methods and usally with scripting that do the hardwork for you. It do that you can center in the most important part, your application logic development.

I have worked with a lot of frameworks and I recommend you Symfony.

Obviously if the development it is a proof of concept or it is very small, could be not necessary use a framework.
 

gratislive

New member
PHP framework like Symfony, prepare the basis of the work for you, example it prepares the models, controllers and the views with a simple command, why rewrite the basic functions?
 

Sinn3r

New member
If you are beginner it's the best to just don't bother about frameworks. By coding in clear PHP you are learning much faster. Frameworks are ment to speed up developing process, due to that some of code is skipped. I like to understand something before using it. But if you are already familiar with PHP it's good to use frameworks. As I said, they speed up a process of developing an application. Also they are good if you want to work in particular model like MVC.