TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 03-25-2009, 07:18 PM   #1 (permalink)
The Acquainted
Inquisitive 
 
Join Date: Jul 2005
Location: UK
Posts: 121
Thanks: 41
Brook is on a distinguished road
Default Best Framework/CMS/Platform for large community websites?

What do you think?

Drupal?
Silverstripe?
symfony?
CAKE?
Zend?
ROR or Python even?

To power websites like flickr (profiles, friends lists, groups, forums, uploads, comments etc), but with an added 'editorial' side for news, articles etc. With lots of logged in users serving millions of pages per month.

Interested in what you guys think!
__________________
PS3 Forums on GameSlurp - the site for gaming fans!
Brook is offline  
Reply With Quote
Old 03-25-2009, 07:41 PM   #2 (permalink)
The Contributor
 
hello-world's Avatar
 
Join Date: Feb 2009
Posts: 73
Thanks: 30
hello-world is on a distinguished road
Default

where is joomla ?
hello-world is offline  
Reply With Quote
Old 03-25-2009, 07:43 PM   #3 (permalink)
how quixotic are you?
 
ETbyrne's Avatar
 
Join Date: Dec 2007
Location: Lapeer, MI
Posts: 445
Thanks: 37
ETbyrne is on a distinguished road
Default

I personally use my PHP framework, Dingo. I can't say I know how it would hold up to millions of users, but I would assume it would do just fine.
__________________
Dingo Web Systems > http://www.dingocode.com
My Website > http://www.evanbot.com
ETbyrne is offline  
Reply With Quote
Old 03-25-2009, 07:48 PM   #4 (permalink)
Wizard
Top Contributor 
 
Village Idiot's Avatar
 
Join Date: Sep 2007
Posts: 1,299
Thanks: 17
Village Idiot is on a distinguished road
Default

If you are looking for the traffic of sites like flickr, free tools probably aren't the best option. PHP in and of itself isn't a great tool for really high traffic sites. If you insist on using PHP for something like that, get familiar with C and start writing components for your heavier functions.

Quote:
Originally Posted by ETbyrne View Post
I personally use my PHP framework, Dingo. I can't say I know how it would hold up to millions of users, but I would assume it would do just fine.
The fact that you do not know probably means it won't.
__________________

Village Idiot is offline  
Reply With Quote
Old 03-25-2009, 07:52 PM   #5 (permalink)
The Contributor
 
hello-world's Avatar
 
Join Date: Feb 2009
Posts: 73
Thanks: 30
hello-world is on a distinguished road
Default

Quote:
Originally Posted by Village Idiot View Post
If you are looking for the traffic of sites like flickr, free tools probably aren't the best option. PHP in and of itself isn't a great tool for really high traffic sites.



The fact that you do not know probably means it won't.
Then what is that great tool ?

By the way why can't I see the rest of your post ???
hello-world is offline  
Reply With Quote
Old 03-25-2009, 07:57 PM   #6 (permalink)
Wizard
Top Contributor 
 
Village Idiot's Avatar
 
Join Date: Sep 2007
Posts: 1,299
Thanks: 17
Village Idiot is on a distinguished road
Default

A "great" tool would be something that is not a scripting language. PHP is a slow messy scripting language that is hacked together by amateurs. High traffic sites need the fastest processes possible, the most noticeable way to do this is to run pre-compiled programs because they are already in machine code. C or C++ are great (if not the best when programmed well) tools for really high traffic sites, but ASP.NET is also a very capable tool that is easier to learn.

What you have quoted was my entire post at the time you quoted it (I edited it soon after posting)
__________________

Village Idiot is offline  
Reply With Quote
Old 03-25-2009, 08:12 PM   #7 (permalink)
The Contributor
 
dschreck's Avatar
 
Join Date: Nov 2007
Location: California
Posts: 82
Thanks: 0
dschreck is on a distinguished road
Default

Wheever I'm working on a large community site I look for the following:

1. Does it have the ability to draw a DB from a pool?
2. Does it have the ability to use Memcache?
3. Will the code scale?

If you're looking to use something out of the box, you may have the wrong idea. No matter what framework you want to go with, you're going to need certain tools.

PHP sites are capable of handling millions of users a day. It's an extremely fast scripting language. You just have to use it correctly.

So, if you're looking for a great framework to get started with, find the one you like. After that, prepare to mod it out.

As for me, i prefer home grown frameworks.
__________________
Where I Ramble: http://www.iwilldomybest.com/
What I do: Zynga Game Network
Senior Software Engineer at CityVille
dschreck is offline  
Reply With Quote
Old 03-25-2009, 08:18 PM   #8 (permalink)
Wizard
Top Contributor 
 
Village Idiot's Avatar
 
Join Date: Sep 2007
Posts: 1,299
Thanks: 17
Village Idiot is on a distinguished road
Default

Quote:
Originally Posted by dschreck View Post
PHP sites are capable of handling millions of users a day. It's an extremely fast scripting language. You just have to use it correctly.
If by correctly, you mean making the intensive functions in C and adding them on, I would agree. But PHP is in and of itself slow because it is a interpreted scripting language. Even when cached, it is less efficient than hand written compiled code. The reason for this is that PHP code commands the PHP engine, not the machine.
__________________

Village Idiot is offline  
Reply With Quote
Old 03-25-2009, 08:19 PM   #9 (permalink)
how quixotic are you?
 
ETbyrne's Avatar
 
Join Date: Dec 2007
Location: Lapeer, MI
Posts: 445
Thanks: 37
ETbyrne is on a distinguished road
Default

Quote:
The fact that you do not know probably means it won't.
I simply say I don't know because I've never tested it on a website with millions of visitors. I'm pretty sure it would do just fine, I just don't know, 100%, that it will. Likewise you wouldn't know if one of your apps worked on a site with millions of visitors until you tried it. I'm just using the word 'know' in the correct context.
__________________
Dingo Web Systems > http://www.dingocode.com
My Website > http://www.evanbot.com
ETbyrne is offline  
Reply With Quote
Old 03-25-2009, 08:20 PM   #10 (permalink)
Wizard
Top Contributor 
 
Village Idiot's Avatar
 
Join Date: Sep 2007
Posts: 1,299
Thanks: 17
Village Idiot is on a distinguished road
Default

Quote:
Originally Posted by ETbyrne View Post
I simply say I don't know because I've never tested it on a website with millions of visitors. I'm pretty sure it would do just fine, I just don't know, 100%, that it will. Likewise you wouldn't know if one of your apps worked on a site with millions of visitors until you tried it. I'm just using the work 'know' in the correct context.
Most apps I write would not because they are not specifically designed to do so. Are you saying that your framework was designed to run on extremely high traffic servers?
__________________

Village Idiot is offline  
Reply With Quote
Old 03-25-2009, 08:23 PM   #11 (permalink)
how quixotic are you?
 
ETbyrne's Avatar
 
Join Date: Dec 2007
Location: Lapeer, MI
Posts: 445
Thanks: 37
ETbyrne is on a distinguished road
Default

While dingo wasn't specifically designed to run on high-end servers, it is certainly capable of doing so. I don't see any reason why it wouldn't be able to.
__________________
Dingo Web Systems > http://www.dingocode.com
My Website > http://www.evanbot.com
ETbyrne is offline  
Reply With Quote
Old 03-25-2009, 08:25 PM   #12 (permalink)
Wizard
Top Contributor 
 
Village Idiot's Avatar
 
Join Date: Sep 2007
Posts: 1,299
Thanks: 17
Village Idiot is on a distinguished road
Default

How much do you know of development of high traffic sites? If it is a pure PHP solution it probably means that it can't handle a very intense load.
__________________

Village Idiot is offline  
Reply With Quote
Old 03-25-2009, 08:29 PM   #13 (permalink)
how quixotic are you?
 
ETbyrne's Avatar
 
Join Date: Dec 2007
Location: Lapeer, MI
Posts: 445
Thanks: 37
ETbyrne is on a distinguished road
Default

Listen, I don't really want to get in a debate with an ASP.NET developer about how PHP isn't good enough for high traffic sites... But if you insist...

My one argument is going to be this: Wordpress. End of story.
__________________
Dingo Web Systems > http://www.dingocode.com
My Website > http://www.evanbot.com
ETbyrne is offline  
Reply With Quote
Old 03-25-2009, 08:40 PM   #14 (permalink)
Wizard
Top Contributor 
 
Village Idiot's Avatar
 
Join Date: Sep 2007
Posts: 1,299
Thanks: 17
Village Idiot is on a distinguished road
Default

I was not starting a debate with you on this, I was asking you a direct question about your experience. How much do you know of high traffic site development?

And before you label me as a ".NET developer", I know well more PHP than I do .net, I started web development with PHP and moved to .net on account of a good job. I am also experienced with C/++
__________________

Village Idiot is offline  
Reply With Quote
Old 03-25-2009, 08:48 PM   #15 (permalink)
how quixotic are you?
 
ETbyrne's Avatar
 
Join Date: Dec 2007
Location: Lapeer, MI
Posts: 445
Thanks: 37
ETbyrne is on a distinguished road
Default

Quote:
I was not starting a debate with you on this, I was asking you a direct question about your experience. How much do you know of high traffic site development?
I know plenty. Happy?

@Brook: Just a note, whatever you decide to do, DON'T use Cake PHP. It's extremely bloated and slow compared to other PHP frameworks.
__________________
Dingo Web Systems > http://www.dingocode.com
My Website > http://www.evanbot.com
ETbyrne is offline  
Reply With Quote
Old 03-25-2009, 08:57 PM   #16 (permalink)
Wizard
Top Contributor 
 
Village Idiot's Avatar
 
Join Date: Sep 2007
Posts: 1,299
Thanks: 17
Village Idiot is on a distinguished road
Default

Quote:
Originally Posted by ETbyrne View Post
I know plenty. Happy?.
Not really, but I don't want this to go any farther off topic and you clearly don't like my questioning, so I digress.
__________________

Village Idiot is offline  
Reply With Quote
Old 03-25-2009, 09:24 PM   #17 (permalink)
The Contributor
 
dschreck's Avatar
 
Join Date: Nov 2007
Location: California
Posts: 82
Thanks: 0
dschreck is on a distinguished road
Default

Quote:
Originally Posted by Village Idiot View Post
If by correctly, you mean making the intensive functions in C and adding them on, I would agree. But PHP is in and of itself slow because it is a interpreted scripting language. Even when cached, it is less efficient than hand written compiled code. The reason for this is that PHP code commands the PHP engine, not the machine.
No, I mean straight out PHP.

I've worked with PHP to serve millions of users a day. If by "slow" you mean in comparison C, then you're wrong again. If you're going for straight out speed, then just write it in ASM.

The reason for this is because the linux kernal will cache the data being served. You even have the ability to save the compiled PHP - so you don't need to continously recompile your scripts.

If you believe PHP is a "slow" language, maybe you're in the wrong business. PHP is extremely fast and flexible.

Now, don't get me wrong. In order to serve MILLIONS of users a day, you need several web servers, a couple memcache servers, and a few database servers.

You'll usually set up your Master / Slave DB's, and use them correctly (balancing the selects, using a bucket list)

Then you'll need a couple memcache servers, where you handle which users use which memecache server. (Aka: hashing)

Your web servers will need to all share the same code base, and have a load balancer pool them.

You can impliment things like caching, but I'm able to serve hundreds of thousands of requests without any caching (Daily).
__________________
Where I Ramble: http://www.iwilldomybest.com/
What I do: Zynga Game Network
Senior Software Engineer at CityVille
dschreck is offline  
Reply With Quote
Old 03-25-2009, 09:54 PM   #18 (permalink)
The Acquainted
Inquisitive 
 
Join Date: Jul 2005
Location: UK
Posts: 121
Thanks: 41
Brook is on a distinguished road
Default

Dailymotion
Yahoo! Answers
Delicious

Are all using symfony as their framework - so I don't see why php is not a viable platform tbh..
__________________
PS3 Forums on GameSlurp - the site for gaming fans!
Brook is offline  
Reply With Quote
Old 03-25-2009, 10:46 PM   #19 (permalink)
The Contributor
 
hello-world's Avatar
 
Join Date: Feb 2009
Posts: 73
Thanks: 30
hello-world is on a distinguished road
Default

Quote:
Originally Posted by Village Idiot View Post
A "great" tool would be something that is not a scripting language. PHP is a slow messy scripting language that is hacked together by amateurs. High traffic sites need the fastest processes possible, the most noticeable way to do this is to run pre-compiled programs because they are already in machine code. C or C++ are great (if not the best when programmed well) tools for really high traffic sites, but ASP.NET is also a very capable tool that is easier to learn.

What you have quoted was my entire post at the time you quoted it (I edited it soon after posting)
I started learning php some months ago.After reading you post I think I wasted my precious time. So ASP.net better than php ?
hello-world is offline  
Reply With Quote
Old 03-25-2009, 11:40 PM   #20 (permalink)
The Prestige
Upcoming Programmer Inquisitive 
 
Tanax's Avatar
 
Join Date: Sep 2007
Location: Sweden, Stockholm
Posts: 1,080
Thanks: 115
Tanax is on a distinguished road
Default

Quote:
Originally Posted by hello-world View Post
I started learning php some months ago.After reading you post I think I wasted my precious time. So ASP.net better than php ?
You didn't waste your time.
PHP is a great language, and is used by many applications.

Not alot of sites has 1million hits per day, and none of the sites that anyone here on this forum will produce won't have half that.

But as an example, take vBulletin forum application. There are people who own forums using vBulletin that has over 10 million users. Sure they're not logged on at the same time, but they would probably recieve at least 100.000 logins per day, not to mention all the guests viewing the site.

It depends alot on the webhotel/server you're using.
Sure maybe C allocates memory better or more efficient, but PHP is definitely NOT a waste of time to learn.

Another reference is the many wordpress blogs that you see out there.
__________________
Tanax is offline  
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
ICanFreelance.com - Community for freelance programmers, designers & writers! ICanFreelance Show Off 9 08-09-2008 05:26 AM


All times are GMT. The time now is 09:39 PM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design