On 9/18/07, Michael Scott <[EMAIL PROTECTED]> wrote:
> Is that not violating DRY in itself there? I mean we're gonna end up with
> alot of people writing the documentation with it, just as much as writing
> the FTP module itself. I think this is something where we're always going to
> have the "recommended" option and the "unsafe" but it just needs to be
> stated explicitly in the documentation, anyway if its written correctly, the
> documentation should only need something to say "FTP support is available,
> but it is highly recommended developers use SFTP instead, as it is a much
> secure, safe option."

I still don't see how this is a violation of DRY. It'd be
distributable like any other Python package, which could contain full
code and documentation. As long as people know where to find it, they
won't need to write their own. And with the possibility of a Django
application repository, allowing people to find it should be fairly
simple.

It doesn't violate DRY any more than django-tagging. And besides,
remember that DRY means "Don't Repeat Yourself". It has nothing to do
with duplicating work other people have done. I think you're confusing
"violating DRY" with "NIH syndrome"[1]. Duplication is best avoided
all around, but DRY isn't about making sure everybody has everything
they could ever want, all the time.

> There's going to be alot of people using shared hosting environments where
> SFTP isn't going to be an option for them.

I actually think the need for FTP as a storage backend is being great
exaggerated. Sure, FTP is used for file storage, and it's an easy
thing to say "Wow! I could store my files on an FTP server!" But I
don't think it's going to be a very common need in the Real World.
After all, the site itself will be served on a server, not your home
machine. And most server environments have much more efficient (and
probably secure) means of moving files around.

You may use an FTP client to move files into your web directory, but
your web server can probably use the filesystem directly, either
locally or through NFS or something similar. Of course, this will be
different for different hosts, but I expect the number of hosts
capable of serving a Django application, yet rely on FTP for the web
server to store files, will be rather slim.

I'll probably be proven wrong, but I just don't see it beng a common need.

-Gul

[1] http://en.wikipedia.org/wiki/Not_Invented_Here

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to