Re: Django Newbie seeking for advice

2010-04-13 Thread Matt Schinckel
On Apr 13, 11:12 pm, Mister Yu  wrote:
> Hi Ian,
>
> Thanks for replying. The information is really useful.
>
> however, when i checked out the openid link you gave me, the project
> seems still on a testing stage, and on the website, it says: "A modern
> library for integrating OpenID with Django - incomplete, but really
> nearly there (promise)"
>
> are you sure that it's working and wont break after some time?

I don't think anyone can be truly sure: if it is working now, and the
OpenID specs are stable (I assume they are), then it should work for
the forseeable future. Django may (but is unlikely to) change making
it not work, but if it is written "properly", then such a change is
likely to break innumerable third-party apps.

At the very least, you will have access to the source code, and be
able to make it work again.  Which, frankly, you will need to do if
you write your own OpenID library.

Matt.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@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 Newbie seeking for advice

2010-04-13 Thread Mister Yu
Hi Ian,

Thanks for replying. The information is really useful.

however, when i checked out the openid link you gave me, the project
seems still on a testing stage, and on the website, it says: "A modern
library for integrating OpenID with Django - incomplete, but really
nearly there (promise)"

are you sure that it's working and wont break after some time?

thanks.
Yu

On Apr 13, 9:08 am, Ian Lewis  wrote:
> Mr. Yu,
>
> On Tue, Apr 13, 2010 at 9:56 AM, Mister Yu  wrote:
>
> > 1. can you suggest an up-to-date(django 1.1) book which can guide a
> > newbie to a higher level? ebook is ok, free is more than ok  :)
>
> I think the semi-official Django book is where most people start. It's
> available online and currently covers 1.1 (at least according to chapter 1).
>
> http://www.djangobook.com/en/2.0/
>
> > best practice for the following things under django 1.1, (i tried
> > google, but some of the material might not fit for 1.1 anymore), you
> > can just name a library or which built-in module is best, as these are
> > the features in my mind for my little project
> > 2. tags
> > 3. open-id
> > 4. user avatar
> > 5. ajax form
> > 6. twitter api
>
> The best practices for Django would be to break functionality for these
> features into seperate "applications" in Django speak. See: Writing your
> first Django app:http://docs.djangoproject.com/en/dev/intro/tutorial01/
>
> The part where you start creating models is where you actually create a
> Django "application" using the "startapp" 
> command..http://docs.djangoproject.com/en/dev/intro/tutorial01/#id3
>
> That said, there are a number of applications that are written by others
> that you should be able to use right out of the box for most of your
> functionality.
>
> tags:http://code.google.com/p/django-tagging/
> open-id:http://github.com/simonw/django-openid
> avatar:http://github.com/ericflo/django-avatar
> ajax-form:http://github.com/alex/django-ajax-validation
> twitter api:http://code.google.com/p/oauth-python-twitter/(or you can use
> my fork with some bug 
> fixes:http://bitbucket.org/IanLewis/oauth-python-twitter/)
>
> --
> ===
> 株式会社ビープラウド  イアン・ルイス
> 〒150-0021
> 東京都渋谷区恵比寿西2-3-2 NSビル6階
> email: ianmle...@beproud.jp
> TEL:03-6416-9836
> FAX:03-6416-9837http://www.beproud.jp/
> ===

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@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 Newbie seeking for advice

2010-04-12 Thread Ian Lewis
Mr. Yu,

On Tue, Apr 13, 2010 at 9:56 AM, Mister Yu  wrote:

>
> 1. can you suggest an up-to-date(django 1.1) book which can guide a
> newbie to a higher level? ebook is ok, free is more than ok  :)
>

I think the semi-official Django book is where most people start. It's
available online and currently covers 1.1 (at least according to chapter 1).

http://www.djangobook.com/en/2.0/



> best practice for the following things under django 1.1, (i tried
> google, but some of the material might not fit for 1.1 anymore), you
> can just name a library or which built-in module is best, as these are
> the features in my mind for my little project
> 2. tags
> 3. open-id
> 4. user avatar
> 5. ajax form
> 6. twitter api
>

The best practices for Django would be to break functionality for these
features into seperate "applications" in Django speak. See: Writing your
first Django app: http://docs.djangoproject.com/en/dev/intro/tutorial01/

The part where you start creating models is where you actually create a
Django "application" using the "startapp" command..
http://docs.djangoproject.com/en/dev/intro/tutorial01/#id3

That said, there are a number of applications that are written by others
that you should be able to use right out of the box for most of your
functionality.

tags: http://code.google.com/p/django-tagging/
open-id: http://github.com/simonw/django-openid
avatar: http://github.com/ericflo/django-avatar
ajax-form: http://github.com/alex/django-ajax-validation
twitter api: http://code.google.com/p/oauth-python-twitter/ (or you can use
my fork with some bug fixes:
http://bitbucket.org/IanLewis/oauth-python-twitter/)

-- 
===
株式会社ビープラウド  イアン・ルイス
〒150-0021
東京都渋谷区恵比寿西2-3-2 NSビル6階
email: ianmle...@beproud.jp
TEL:03-6416-9836
FAX:03-6416-9837
http://www.beproud.jp/
===

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@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 Newbie seeking for advice

2010-04-12 Thread Mister Yu
Hi experts,

i m a newbie and i m self learning django and writing an web app as i
go along. i learn django by following this great screencast tutorial
from here: http://showmedo.com/videotutorials/series?name=PPN7NA155
called Django From the Ground-up.

it's a really great serious of tutorial. however it doesn't cover what
i/everybody else' need. so i come here for some advice from you
experts:

1. can you suggest an up-to-date(django 1.1) book which can guide a
newbie to a higher level? ebook is ok, free is more than ok  :)

best practice for the following things under django 1.1, (i tried
google, but some of the material might not fit for 1.1 anymore), you
can just name a library or which built-in module is best, as these are
the features in my mind for my little project
2. tags
3. open-id
4. user avatar
5. ajax form
6. twitter api

thanks very much in advance for any kind of advice.

Cheers!

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@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.