Warrior Forum - The #1 Digital Marketing Forum & Marketplace

Warrior Forum - The #1 Digital Marketing Forum & Marketplace (https://www.warriorforum.com/)
-   Programming (https://www.warriorforum.com/programming/)
-   -   PHP framework - which one. (https://www.warriorforum.com/programming/909715-php-framework-one.html)

profitsforall 3rd March 2014 01:03 PM

PHP framework - which one.
 
I'm looking to choose a php framework to speed up development time, and to improve the security of applications from the start.

But - at the end of the day I want to sell the applications I create and have them be easy for a user to install.

Can any php coders out there recommend a framework that allows this.

Thanks In advance.

Amirol 3rd March 2014 02:32 PM

Re: PHP framework - which one.
 
I vote for Laravel or CakePHP

wayfarer 3rd March 2014 02:34 PM

Re: PHP framework - which one.
 
As much as I hate it, and generally dislike PHP frameworks in general, you're probably best going with a popular framework such as Codeigniter, if for no other reason than it has a large community.

I believe, however that you should reconsider that this will make things easier to install. It won't! Having a framework adds a level of installation complexity, unless it is a platform that is widely used by non-technical users, like Wordpress (which is not a framework technically).

Standalone applications are definitely easier to install for most folks.

azhar 3rd March 2014 11:51 PM

Re: PHP framework - which one.
 
I am using Php codeigniter framework and very comfortable

Money Coach 8th March 2014 05:16 PM

Re: PHP framework - which one.
 
Yes, I agree. I'm also using PHP Codeigniter framework and I'm very comfortable with it.

huzoorbux 9th March 2014 11:28 AM

Re: PHP framework - which one.
 
People suggest good frameworks but in my opinion the best PHP framework for me is Yii I must say try it once you really enjoy.

shahriyar 15th March 2014 09:08 PM

Re: PHP framework - which one.
 
Here is a few I like, Codeigniter, Zend Framework and for Template engine I prefer Smarty.

sautaja 16th March 2014 10:36 AM

Re: PHP framework - which one.
 
I switched from codeigniter to kohana a few years back because of it's lightweight. Just a matter of preferences though.

kdavies 24th March 2014 03:36 PM

Re: PHP framework - which one.
 
I can't stand php frameworks. Even php template engines like smarty and tcl I think are a waste of time. Even wordpress's $wpdb class bugs the hell out of me. Programming is complex enough as it is. Why people would want to add additional levels of complexity is something I can't figure out.

As for ease of installation 99% of the installation problems I find are server-related and have nothing to do the content of the actual script itself.

SteveSRS 24th March 2014 05:26 PM

Re: PHP framework - which one.
 
just remember a framework needs to help you save time.. if it doesn't you're using the wrong one.. and the answer might be use none at all...

I find that using the most lightweight frameworks are best, for me a framework should force me to do proper OOP programming and provide some shortcuts on much used code like accounts, registration and such things..

On smaller projects I don't use a framework because OOP isn't always best / fastest choice it all depends on project specs..

kdavies 24th March 2014 11:04 PM

Re: PHP framework - which one.
 
I've only found OOP useful for multi-programmer projects. Sure, it hides complexity, but then adds a whole layer of it's own. Proof - java's functor class.

RuiGomes 27th March 2014 03:47 AM

Re: PHP framework - which one.
 
Laravel is surely the way to go. The community is getting bigger by the day, it's the top voted PHP framework at Github.

There is loads of material available for free and loads of paid material too.

The IoC container that Laravel has is really powerful and versatile.

burton247 27th March 2014 01:52 PM

Re: PHP framework - which one.
 
I've never used it but my vote goes to Laravel. I would stay away from CakePHP and CI. I don't really do PHP dev anymore so things may have changed (hopefully they have) but Cake and CI are fairly old. This is usually a good thing but they were built when PHP wasn't all that great, at least compared to now, i.e. PHP 4. Don't get me wrong, I'm not knocking PHP, it's advancing nicely still. Therefore, I'd stay away from the older engines due to the legacy code issue.

As I have said, I've never used Laravel myself but I've heard some good things about it.

wpbasit 30th April 2014 04:15 AM

Re: PHP framework - which one.
 
I have developed many websites using Codigniter and found it very easy and comfortable.

x11joex11 6th May 2014 07:10 AM

Re: PHP framework - which one.
 
I use the SLIM php framework together with PHPActiveRecord for database control.

hamiltonmascioli 6th May 2014 07:32 AM

Re: PHP framework - which one.
 
A lot of good frameworks mentioned above. This is more like "if the shoe fits, wear it". Finding a framework you are comfortable with will reap great rewards.

heroecitadel 6th May 2014 09:13 AM

Re: PHP framework - which one.
 
Best i have on framework thrash.

onsmith 6th May 2014 08:31 PM

Re: PHP framework - which one.
 
I recommend Laravel. CakePHP and CodeIgniter are popular too, but I expect Laravel to dominate the PHP framework market in the coming years.

See Best PHP Frameworks for 2014 for some interesting survey data about this.

jeffatrackaid 7th May 2014 07:49 AM

Re: PHP framework - which one.
 
When picking frameworks, I recommend you first look at commonly used tasks in your applications.

For example, if you are developing for a high traffic site, built-in caching mechanisms for both the page level and database may be useful.

What database will you be using and what range of database drivers does the framework support?

Do you need to use templates, authentications etc?

Create a list of must-have functional requirements as well as some nice-to-have requirements. Use this to guide your decision making.

Lastly, don't forget to see if your IDE tool of choice works with the framework.

Joe721 11th May 2014 09:39 AM

Re: PHP framework - which one.
 
Quote:

Originally Posted by huzoorbux (Post 9016152)
People suggest good frameworks but in my opinion the best PHP framework for me is Yii I must say try it once you really enjoy.

I have also been using YII recently after years of raw coding and find it fast, secure and not too much of a learning curve. Generally I prefer to work outside frameworks but this was a client requirement and I have to admit I am really enjoying it.

I cannot however make comparisons with other frameworks, never having used one before.

wpspamhammer 11th May 2014 08:56 PM

Re: PHP framework - which one.
 
Lithium framework. So simple, efficient, and not bloated.

zannix 13th May 2014 04:29 AM

Re: PHP framework - which one.
 
My vote goes to Laravel and Yii (although you may want to wait until Yii2 comes out if you're going down that road)

Taraka 13th May 2014 05:28 AM

Re: PHP framework - which one.
 
I hate Codeigniter, and I have a guy who has created his own framework based on Zend for work automatization. In his solution he has worked out the way that even a novices php coder can put up a complicated web-shop in one day. And no many-day mess up with tables. If interested, PM me, I can find you his contacts

eddieone 13th May 2014 12:55 PM

Re: PHP framework - which one.
 
I have a PHP5 framework that is open source. You can check it out, it's called Deepwater.

tantykimi 14th May 2014 01:05 AM

Re: PHP framework - which one.
 
I've used Codeigniter in the past and that worked well. There are many others, but Codeigniter did the job for me.

shekarsiri 14th May 2014 03:15 AM

Re: PHP framework - which one.
 
My vote goes to LARAVEL

RDB85 14th May 2014 05:49 AM

Re: PHP framework - which one.
 
Codeigniter is dead in the water apparently they are no longer supporting it. Laravel seems to be very popular.

Sam Zachuth 14th May 2014 03:35 PM

Re: PHP framework - which one.
 
I started with CakePHP then moved to Laravel, which I like a lot. However, I still use them both.

somanyemails 1st June 2014 02:38 PM

Re: PHP framework - which one.
 
Hi,

I'de go with zend framework. Yes it is hard to get a grip on, but it's also comprehensive, full stack and backed by the php company Zend. That give you some reassurance that it won't go away soon, so learning it is a good investment. I'm loving v2, much better than v1 and I write big and small websites with it.

Regards,

Luis

wondercoder 1st June 2014 06:27 PM

Re: PHP framework - which one.
 
I am using smarty framework and quite happy with its performance. I think its one of the good frameworks available for the php development sometimes I use symphony

Daisyonta 3rd June 2014 01:26 AM

Re: PHP framework - which one.
 
Zend Framework 2 is an open source framework for developing web applications and services using PHP 5.3+. Zend Framework 2 uses 100% object-oriented code and utilises most of the new features of PHP 5.3, namely namespaces, late static binding, lambda functions and closures.
Zend Framework 2 evolved from Zend Framework 1, a successful PHP framework with over 15 million downloads.

evilclown 6th June 2014 07:38 PM

Re: PHP framework - which one.
 
Laravel 4 is your most advanced and updated php framework using all the new toys php 5.3+ has to offer. DB::table(), Eloquent and the query builder is amazing.

CakePHP, wait for the final new release; don't bother learning the 2.0. The new one Is a whole awesome cake!!!

jason2009 11th June 2014 05:44 AM

Re: PHP framework - which one.
 
Quote:

Originally Posted by evilclown (Post 9255375)
Laravel 4 is your most advanced and updated php framework using all the new toys php 5.3+ has to offer. DB::table(), Eloquent and the query builder is amazing.

Just got with Laravel. Its really very good framework and easy to learn :)

szaboomikierno 11th June 2014 04:13 PM

Re: PHP framework - which one.
 
Check out fat free PHP framework.

mikea12 14th June 2014 05:49 AM

Re: PHP framework - which one.
 
I vote for laravel built an api for my app in one day, I am mostly writing javascript so using laravel made PHP easy and clean IMO. Either way good idea to use a framework, don't be naive.

sudo rank 14th June 2014 08:15 AM

Re: PHP framework - which one.
 
Laravel, it's what we are moving onto in work and it's very good with decent documentation.

Quote:

Originally Posted by profitsforall (Post 9000786)
I'm looking to choose a php framework to speed up development time, and to improve the security of applications from the start.

But - at the end of the day I want to sell the applications I create and have them be easy for a user to install.

Can any php coders out there recommend a framework that allows this.

Thanks In advance.


zenichanin 14th June 2014 08:50 AM

Re: PHP framework - which one.
 
Probably Laravel

nik2014 16th June 2014 10:42 PM

Re: PHP framework - which one.
 
i'm new for php.could anybody have good tutorials for beginners please post links..

themesplice 17th June 2014 12:45 AM

Re: PHP framework - which one.
 
I would also suggest you to use Php codeigniter

dad2four 17th June 2014 03:41 PM

Re: PHP framework - which one.
 
I'm on your team. I see a ton of unnecessary complexity adding to all different methods of coding and like you I say no thanks.

KISS Principal for me all the way.

Quote:

Originally Posted by kdavies (Post 9053077)
I can't stand php frameworks. Even php template engines like smarty and tcl I think are a waste of time. Even wordpress's class bugs the hell out of me. Programming is complex enough as it is. Why people would want to add additional levels of complexity is something I can't figure out.

As for ease of installation 99% of the installation problems I find are server-related and have nothing to do the content of the actual script itself.


TheCrazyCoder 17th June 2014 05:13 PM

Re: PHP framework - which one.
 
It is "ideology" war question!

By my opinion best framework
- is one which fit to your task
- you have experience with
- well documented
- have free or paid support

But at the of the day your personal preference are most valuable for this decision.
A lot good people suggested you few - try them, get some experience. Then decide

PS: you choose shouldn't be life time. Everything can be changed ;)

WebStatsO 26th June 2014 02:03 PM

Re: PHP framework - which one.
 
I love to use smarty cause its pretty useful for me but thats just me. Just use whatever your comfortable with be it lavarel, phalcon, symfony2, etc.

kpmedia 26th June 2014 02:53 PM

Re: PHP framework - which one.
 
Quote:

Originally Posted by kdavies (Post 9053077)
I can't stand php frameworks. E
.... Why people would want to add additional levels of complexity is something I can't figure out.

^ This is my opinion as well.

Same for WordPress "theme frameworks". It's more headache than anything else, adding needless complexity. StudioPress, for example, is a nightmare to customize.

Indeed, KISS! (Keep it simple, stupid!)

atlet 27th June 2014 03:30 PM

Re: PHP framework - which one.
 
Another vote for CakePHP!

pdhana 3rd July 2014 11:12 PM

Re: PHP framework - which one.
 
Hi,

My sites are running using CODEIGNITER framework. LARAVEL and CAKEPHP also can be considered.

Cheers
Dhana

JohnBrower 9th July 2014 01:55 AM

Re: PHP framework - which one.
 
Use following PHP framework:
CodeIgniter.
CakePHP.
Symfony.
Zend Framework 2.

HelgeSverre 11th July 2014 02:01 AM

Re: PHP framework - which one.
 
I am a fan of Code Igniter, it's currently the most popular framework although Laravel is really getting popular as well( according to this Google trend), The documentation for CodeIgniter is extremely well made and easy to follow, although the table of contents is a little weird to get used to imo.

I find myself being able to create websites way faster than if I were to use spaghetti-php or even something like Slim.

In my opinion, CodeIgniter is where it's at, but take a look at Laravel as well and choose the one you like the most.

rakhee123 11th July 2014 05:33 AM

Re: PHP framework - which one.
 
I work on different frameworks. But my count is for ZEND framework. It is easy to use and provide many features, which makes things easy for you.

newtechnoworld 11th July 2014 11:13 PM

Re: PHP framework - which one.
 
I am personally using smarty frame work and quite happy with its performance but sometimes as per client requirement i use symphony but I think smarty is the best one in framework

minirich 12th July 2014 02:47 AM

Re: PHP framework - which one.
 
Quote:

Originally Posted by RDB85 (Post 9188830)
Codeigniter is dead in the water apparently they are no longer supporting it. Laravel seems to be very popular.

Funny thing though, they released a security update to 2.x. Version 2.2.0 was released on 6th May 2014.
And in parallel they are developing version 3 on github.
What is true is, that they are searching a new owner for the project.

cheers
Mike


All times are GMT -6. The time now is 04:55 PM.