Jump to content

Archived

This topic is now archived and is closed to further replies.

santosh22

Please Suggest a Framework

Recommended Posts

I am working on a custom application design which is going to be used for tracking the document (by physical location) & some short of billing. 

 

I have gone through CakePHP & CodeIgniter but I am not sure if those are helpful to build up custom applications like this. Can anyone suggest a simple framework for me. I am looking forward to the below

 

1. simple functions to manage common activities like interacting with database, managing session etc.

2. Good security module with Hashing and other security features

3. In-build functionalities like data grid, pagination etc. 

 

Any help is highly appreciated. 

Share this post


Link to post
Share on other sites

Hello,

As an framework I'd like to suggest symfony2, due to its modern standard and great possibilities. It features a build in authentication system. As for the pagination there are modules for that which can easily be installed in your application. I thought the name was KnpPaginatorBundle.

As for the database symfony2 comes with doctrine 2 with is an powerful orm/dbal. You can abstract your database work into php classes wich is rather nice. The documentation can get you started on the framework, it is not complete. But it does explain things pretty well (in my opinion)

Share this post


Link to post
Share on other sites

How can a framework give you a tuff time to install? It's a php library.

Share this post


Link to post
Share on other sites

well, i followed instructions given in the symfony website to set it up in my local server. but i could not do it. I would appreciate if you can help me with some online documentation which would help me in setting up the library.

Share this post


Link to post
Share on other sites

Have you got a specific issue?

Share this post


Link to post
Share on other sites

Symfony and Zend Framework are always the top frameworks to use, they just aint that easy for beginners but this should not be an issue for you if you are an advanced programmer. If you just want to learn more about how other frameworks design their own MVC framework so that someday you will make your own, Id suggest codeigniter.

Share this post


Link to post
Share on other sites

Symfony and Zend Framework are always the top frameworks to use

In your opinion of course.

 

Frameworks are a very subjective matter.

If you just want to learn more about how other frameworks design their own MVC framework so that someday you will make your own, Id suggest codeigniter.

But codeignitor is probably the worst designed framework out there. Why teach yourself bad code?

Share this post


Link to post
Share on other sites

thanks to all of your response. 

 

I have decided to go with YII. I am a beginner and would need to understand why framework first rather than choosing a framework at the first place. ::)

Share this post


Link to post
Share on other sites

Congratulations on finding a desired framework for yourself. For beginners really, Symfony and Zend aint the appropriate choices for them due to the learning curve issue. CakePHP, Codeigniter and Yii are much easier to get used to, well Symfony and Zend are for advanced and professional programmers.

Share this post


Link to post
Share on other sites

Yii is definitely a good choice, and if you add Bootstrap to it, and then a few modules, you have a working app ready with very little effort

Share this post


Link to post
Share on other sites

Just because it's popular doesn't mean it's well designed.

 

Codeignitor is easy to use, and therefore has a pretty good following of people who are new to frameworks and don't know any better.

 

From a design perspective, CI is absolute rubish. I know people who were at one point in time making all of there cash through building web sites on top of this platform. Even these guys (who were being flown around the world for work) have moved to other, more modern, better designed frameworks and are once again, making a killing.

Share this post


Link to post
Share on other sites

Yes using CI here first time so far so good fast too only main issue having is setting the right .htaccess and encrypt decrypt issues other then that give laravel a try too looks promising, as been said you need to experiment what it s best for you.
Still CI has lots of community help behind it, fast and reliable with many tutorials to learn from...

Share this post


Link to post
Share on other sites

cakephp is the most popular framework

Says you. Where exactly is your proof?

Share this post


Link to post
Share on other sites

It's definitely not the most popular

Share this post


Link to post
Share on other sites

I would suggest you to use Yii Framework. It is a well-rounded and efficient PHP framework that follows some of the design principles of Ruby-on-rails and other such web frameworks. The learning curve might be a bit high though.

Share this post


Link to post
Share on other sites

How can a framework give you a tuff time to install? It's a php library.

Symfony2 can be a pain to install for not so experienced programmers. Specifically due to file permission issues. They even highlight this in their own documentation. I wouldn't really call it 'just a library', when it requires advanced command line usage.

 

 

Just because it's popular doesn't mean it's well designed.

 

Codeignitor is easy to use, and therefore has a pretty good following of people who are new to frameworks and don't know any better.

 

From a design perspective, CI is absolute rubish. I know people who were at one point in time making all of there cash through building web sites on top of this platform. Even these guys (who were being flown around the world for work) have moved to other, more modern, better designed frameworks and are once again, making a killing.

 You still haven't backed up your claim that CI is poorly designed and 'absolute rubbish' with any examples of why? I don't think you can judge a framework on how much money people make from developing using that framework. Just because something is (or more importantly, is not) trendy, doesn't mean it is the best / worst.

 

Codeigniter is a great framework for projects where you may have no choice but to use shared hosting, with perhaps a not so up-to-date version of PHP. In that situation, choosing CI could save you a lot of time and stress.

 

Sometimes I think it is just considered 'cool' to shun simple and effective for overly complex and superflous.

Share this post


Link to post
Share on other sites

advanced command line usage

Advanced command line usage? I wouldn't say so.

 

You still haven't backed up your claim that CI is poorly designed and 'absolute rubbish' with any examples of why?

CI:

1) Is untested.

2) Is tightly coupled and therefore can never be well tested

3) Is very tightly coupled.

4) Is has very poor implementations of common patterns.

5) Has some of the ugliest code around.

 

The only good thing CI has going for it is its documentation, and even that, is nothing extraordinary IMO.

Share this post


Link to post
Share on other sites

Trq,

 

I have some projects on CI. I don't have any recent experience with any other php frameworks. I only have a small development team and don't have a lot of extra resource to spend on investigation.

 

I am interested if you, or anyone else, have any meaningful suggestions on a better framework or two that we should investigate.

 

Thanks for your thoughts.

Share this post


Link to post
Share on other sites

I've attempted to use CI, and I've successfully used CakePHP, Symfony and Yii. If you need a framework, pick Symfony or Yii. NOT CI.

Share this post


Link to post
Share on other sites

Trq,

 

OK maybe I was a bit dramatic saying Symfony requires advanced command line usage ;) But it is definitely more troublesome to configure than CI.

 

I have used both CI and Symfony2, and I feel they both have advantages/dissadvantages. Symfony2 can sometimes feel ridiculously over complex at times and make me want to bang my head against the wall. 

 

To be honest, I don't know that much about design patterns, but if CI is so poorly designed, why would someone like Phil Sturgeon, who seems to be well respected in the PHP world, work on it for so long?

 

 

Jessica,

 

I'm thinking about using Yii for next project. Would you recommend it over Symfony2? I want a framework that is fun, and Symfony isn't (IMO).

 

Cheers All,

Jon

Share this post


Link to post
Share on other sites

×
×
  • 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.