Re: Django for a large social networking or photo sharing site?

2011-11-23 Thread Mario Gudelj
I'd suggest you to learn 2.x, since django doesn't run on 3. I would just
get into it. Make sure you learn pure basics of programming and Python and
then just start with that first django Polls tutorial and make sure you
understand every line of code as you go along. Finish few tuts, first 7
chapters of the book and you're good to go my friend! Just start coding.

On 24 November 2011 05:34, badlearner  wrote:

> @Simon: Thanks for the suggestion and reply. I have a question...
>
> I am an absolute beginner in programming, so the code I write (whilst
> using Django) may not be very very mature. So, do you think it would
> be okay (easy?) to optimize it as time passes by?
>
> This is probably related to Python, but I want to ask anyway - - if
> someone's starting to learn Python what would you suggest he learn?
> Python 2.x or 3.x? The problem is, not many APIs support Python 3.x,
> do they?
>
> Thanks.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Django for a large social networking or photo sharing site?

2011-11-23 Thread badlearner
@Simon: Thanks for the suggestion and reply. I have a question...

I am an absolute beginner in programming, so the code I write (whilst
using Django) may not be very very mature. So, do you think it would
be okay (easy?) to optimize it as time passes by?

This is probably related to Python, but I want to ask anyway - - if
someone's starting to learn Python what would you suggest he learn?
Python 2.x or 3.x? The problem is, not many APIs support Python 3.x,
do they?

Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Django for a large social networking or photo sharing site?

2011-11-22 Thread Simon Schmid | FEINHEIT
Hi Badlearner

Basically, i totally agree with Russ. But i think, one question is not
answered yet:
There are many tools for django, that you can use and start to build
up a social network style site.
have a look at:
http://pinaxproject.com/

My suggestion is: just start your project and do not care about
scalability etc.
If you reach the limit of your infrastructure/application/tools, then
your project is probably so sucessfull,
that you'll have the possibility to start optimize it, so it can
really take off.

Hope that helps also a bit

S


On Nov 22, 9:43 am, Russell Keith-Magee 
wrote:
> On Tue, Nov 22, 2011 at 9:02 AM, badlearner  wrote:
> > Hello,
>
> > [This is the first time I am using Google Groups and/or mailing lists,
> > so please bear with me if I do something wrong initially.]
>
> > Is Django web framework apt for a large social networking or photo
> > sharing site? (Think one that has to easily and seamlessly scale to
> > the size of Facebook or Flickr. Yes, I know I want too much, but
> > that's for an estimate.)
>
> Hi,
>
> Your question is a bit like asking "Is it possible to build a
> skyscraper using a hammer".
>
> Yes, you can use Django to build sites that scale to very large
> traffic loads. There are several examples of high profile, high
> traffic sites that use Django under the hood. For example, Mozilla
> runs a lot of it's web infrastrcture on Django. Disqus is another high
> profile example. These companies both serve millions of pages a day
> off a software stack based on Django.
>
> However, building something in Django doesn't automagically guarantee
> that your site will scale. Scaling doesn't ever have a a "one size
> fits all" solution -- you need to tailor your code to match the
> specific needs of your site. And code that works fine when you have 10
> users won't necessarily be the best solution when you've got 1000
> users, or 1 million users.
>
> So - yes: you can build a social networking/photo sharing site in
> Django. Yes, it can be built so that it will scale. However, it's also
> possible to build a site in Django that won't scale at all. The
> results you see are only ever going to be as good as the carpenter
> wielding the hammer.
>
> Yours,
> Russ Magee %-)

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Django for a large social networking or photo sharing site?

2011-11-22 Thread Steven Elliott Jr
Yes

> Hello,
> 
> [This is the first time I am using Google Groups and/or mailing lists,
> so please bear with me if I do something wrong initially.]
> 
> Is Django web framework apt for a large social networking or photo
> sharing site? (Think one that has to easily and seamlessly scale to
> the size of Facebook or Flickr. Yes, I know I want too much, but
> that's for an estimate.)
> 
> thanks.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to 
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/django-users?hl=en.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Django for a large social networking or photo sharing site?

2011-11-22 Thread badlearner
Thank you Russ, for all the clarification.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Django for a large social networking or photo sharing site?

2011-11-22 Thread Russell Keith-Magee
On Tue, Nov 22, 2011 at 9:02 AM, badlearner  wrote:
> Hello,
>
> [This is the first time I am using Google Groups and/or mailing lists,
> so please bear with me if I do something wrong initially.]
>
> Is Django web framework apt for a large social networking or photo
> sharing site? (Think one that has to easily and seamlessly scale to
> the size of Facebook or Flickr. Yes, I know I want too much, but
> that's for an estimate.)

Hi,

Your question is a bit like asking "Is it possible to build a
skyscraper using a hammer".

Yes, you can use Django to build sites that scale to very large
traffic loads. There are several examples of high profile, high
traffic sites that use Django under the hood. For example, Mozilla
runs a lot of it's web infrastrcture on Django. Disqus is another high
profile example. These companies both serve millions of pages a day
off a software stack based on Django.

However, building something in Django doesn't automagically guarantee
that your site will scale. Scaling doesn't ever have a a "one size
fits all" solution -- you need to tailor your code to match the
specific needs of your site. And code that works fine when you have 10
users won't necessarily be the best solution when you've got 1000
users, or 1 million users.

So - yes: you can build a social networking/photo sharing site in
Django. Yes, it can be built so that it will scale. However, it's also
possible to build a site in Django that won't scale at all. The
results you see are only ever going to be as good as the carpenter
wielding the hammer.

Yours,
Russ Magee %-)

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Django for a large social networking or photo sharing site?

2011-11-21 Thread badlearner
Hello,

[This is the first time I am using Google Groups and/or mailing lists,
so please bear with me if I do something wrong initially.]

Is Django web framework apt for a large social networking or photo
sharing site? (Think one that has to easily and seamlessly scale to
the size of Facebook or Flickr. Yes, I know I want too much, but
that's for an estimate.)

thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.