Three messages in, and I still don't know what "CDN" stands for, other than "Canadian", which doesn't seem to fit.
On Tue, Jan 26, 2010 at 4:03 PM, Dj Gilcrease <digitalx...@gmail.com> wrote: > libcdn api brainstorm, my intent is not to support all the features of > each cdn but only to support those that would be used by django-cdn > for now. This will be a separate project so if other people want to > make it more feature rich thats fine by me, I'll add you to the > project. > > class Connection(object): > def create_container(self, name): > def get_all_public_containers(self): > def get_container(self, name): > def finalize(self): > """ This will be used to do any finalization required for this > CDN, specifically the Amazon CloudFront requires you send an update > command after uploading the new files to the S3 storage""" > > class Container(object): > """ This is called a Bucket in S3, Container in most others so I > settled with the container name""" > def make_public(self): > def create_asset(self name): > def get_all_public_assets(self): > def get_asset(self, name): > def uri(self): > > class Asset(object): > """ This is called a Key in S3, and an Object in most others, I > personally prefer asset as it fits better with what I am doing in > django-cdn > def save(self, data): > def set_headers(self, **kwargs): > """Method to set the headers for this asset, such as Expires, > E-Tag, etc """ > def make_public(self): > def uri(self): > > -- > 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. > > -- 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.