FRIHOSTFORUMSSEARCHFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

Best framework?

 


leontius
Let's say that I'm going to create a facebook clone (or any big site if you like). Which framework do you think is the easiest to use? The framework doesn't have to be in PHP. The topic is about choosing a framework, so not using a framework is not an option.

The framework should be able to scale up, efficient, stable, and easy to work with. Community, documentation and being free / open source are huge pluses.

I only know about drupal and it's too high in level (because it is a CMS and a framework as well) so it's not easy to work with. One of my friend uses kohana but I never heard of it before Sad

What's you say? CodeIgniter? CakePHP? RoR? Django? Pylons? Struts?
Diablosblizz
Oh jeez, a facebook clone eh? Well, best of luck! In reality, PHP is probably the best bet. Of course, you want to know how you can choose. Well, think about what languages you know and how could you use them in your advantage. Facebook is coded in PHP, while MySpace is coded in ColdFusion (Adobe). Basically the best thing you should consider is what do YOU think you can use to make this clone? What's the best at doing so?

Also, if you're planning to do that and you get big you'll defiantly have to move away from FriHost.
rvec
leontius wrote:

I only know about drupal and it's too high in level (because it is a CMS and a framework as well) so it's not easy to work with. One of my friend uses kohana but I never heard of it before Sad

If drupal is too hard, you should wait a while before you start anything like this. Drupal is one of the easiest to learn and best documented pieces of framework/cms you'll find.

Kohana is also good, and so are the other frameworks you mentioned, but if drupal is too hard for you I wouldn't recommend the others.

If you do want to put a lot of time and effort into this I'd recommend trying out the different languages and framework yourself. Choosing is really a personal thing. Kohana and RoR aren't really comparable.
Manofgames
I'd just like to start off by saying that you should not try and clone one of the big sites - they may look fairly simple on the surface but there's been a heck of a lot of work put in to get them to that stage.

Back on the subject of frameworks - I use Kohana a lot and I'd definitely recommend it; it's light-weight and easy to learn. The documentation isn't perfect, but if you invest a few hours in going through the core framework code you'll have a much deeper understanding of the system than any help guide could give you.

Codeigniter is good though it's not updated very often and is currently PHP4 bound. You'll also find that it's limitations (you can't extend the core classes transparently, there's no way to easily modularise code etc.) will drive you insane after a while, that said the documentation is very thorough and considered to be one of the best.

Cake & Symfony are both very big and prestigious frameworks - They've been around for a while and have got a lot of community backing. Cakephp has a lot of crazy functions though (e.g. e() as a shorthand for echo, even though loosing those extra characters doesn't actually make the code any more readable...). Whereas symfony seems big on the code generation front
leontius
rvec wrote:
leontius wrote:

I only know about drupal and it's too high in level (because it is a CMS and a framework as well) so it's not easy to work with. One of my friend uses kohana but I never heard of it before Sad

If drupal is too hard, you should wait a while before you start anything like this. Drupal is one of the easiest to learn and best documented pieces of framework/cms you'll find.


What I mean by "hard" is not on using & coding in drupal, but rather extending it in ways incompatible with core. Drupal is very much a rigid (and quite complex) system already, and modifying core is not a good idea (it will be difficult to keep up with development in drupal mainline). But the bigger downside is that major drupal versions are incompatible (a few API usually gets a "paradigm shift" and changes syntax radically) so I will need to upgrade code every new drupal version is out (which is more than headache).

As for cloning big sites, no I'm not doing that Wink I just want to stir the discussion to the right emphasis but I guess it failed its use Razz

It would be very helpful for me also if you can outline a bit about principal strengths/weaknesses of frameworks you know, like what Manofgames has just said. (thanks Manofgames! Will take a more thorough look at kohana after what you and rvec said)
albuferque
Just 3 magic words:

Ruby on Rails
windowlicker
I've got another 3 magic words for you:

Groovy and Grails

It use basicly groovy domain classes for holding data for the models. Grails support nicely and very clearly MVC architecture, it's dynamic and very efficient. Closers, which are the mian Groovy feature, are widely accepted by Java developers, and they will soon introduce it into Java following editions.

http://groovy.codehaus.org/
http://grails.org/
Hogwarts
albuferque wrote:
Just 3 magic words:

Ruby on Rails

Just 3 magic words:

Eww eww eww Mad


Django is what you really should be using.
Related topics
Reply to topic    Frihost Forum Index -> Scripting -> Website Software

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.