Ecommerce delivery module

40 views
Skip to first unread message

Josua

unread,
Sep 1, 2013, 8:00:33 AM9/1/13
to silverstrip...@googlegroups.com
Hi Nicolaas!

The ecommerce-delivery approach is interesting.
But it should not create temporary files or folders for files to download.
Somehow should be based on a protected directory.
In this way could be used for digital products that can be updated periodically .
If a user buys one year of updates should be able to download all updates or new files are released during this period.

The user could access a download page containing all the files that they are entitled to download.

It could even send notifications to the user when that period is over.

What do you think?

Thanks,
Regards,
Jose A.

Steven Mohr

unread,
Sep 1, 2013, 4:23:57 PM9/1/13
to silverstrip...@googlegroups.com
We have a "Restricted" folder functionally that we created which
  • Allows a folder, or folders, to be specified as restricted in the Files section.
  • Once set as Restricted, only Administrators can view that folder and its children.
  • The restricted flag is set recursively on all children.
  • An extended or replacement (can't remember which) version SiteTreeDropdown enforces this view in TinyMCE and other interfaces that use the TreeDropdown to view files.
We've always thought that the hardcoded /assets folder is annoying, so this feature allows us to put files into the /assets folder whcih are managed by ModelAdmins or other interfaces without "cluttering up" the files DO need to be managed in the Files section such as files uploaded for use in Content.

This is definitely not a module quality implementation, but if you are interested I could pass along the code so you could use it as a potential starting point.  Since I don't understand the full context of your need here, it may or may not turn out to be useful.

On a separate note:
We also have a method for creation of files in a folder outside assets and delivery of those files via php action rather than direct download in order to obfuscate the actual location, but that stuff is more trivial than the restricted folder stuff inside assets.  In our case we generate the file in /temp folder, deliver it via an action (direct download not allowed via htaccess) and then delete it after 30 minutes via a cron. 
However, this is not a paid content delivery system and we have other requirements which is why it works the way it does, but it seems similar to what Josue described as being the current state of things.

Josua

unread,
Sep 2, 2013, 4:37:02 AM9/2/13
to silverstrip...@googlegroups.com
Hi Steven!

Yes , please send me the code so that they can study both mechanisms.
I appreciate your help. :)
My email: support at sendasoft point com

Thanks.
Regards,
Jose A.

Nicolaas Thiemen Francken - Sunny Side Up

unread,
Sep 2, 2013, 4:50:18 AM9/2/13
to Silverstripe Ecommerce
Hi Jose

What you are proposing are significant functionality changes.  I will not focus on this right now as I want the core of e-commerce to be perfect soon. Electronic Delivery was meant for once off downloads in the first place. I guess your requirements are different from that.

I am interested in the security / where to download system.  I agree the concept of the "temporary folder" might not be ideal.

Nicolaas


--
You received this message because you are subscribed to the Google Groups "Silverstripe Ecommerce" group.
To unsubscribe from this group and stop receiving emails from it, send an email to silverstripe-ecom...@googlegroups.com.
To post to this group, send email to silverstrip...@googlegroups.com.
Visit this group at http://groups.google.com/group/silverstripe-ecommerce.
For more options, visit https://groups.google.com/groups/opt_out.



--
Nicolaas Thiemen Francken  
Sunny Side Up Ltd  {
  Skype: atyourservicehour
  Phone: +64 4 889 2773 
  Emergencies: 0221697577
  n...@sunnysideup.co.nz
  http://www.sunnysideup.co.nz
}







Josua

unread,
Sep 2, 2013, 12:20:08 PM9/2/13
to silverstrip...@googlegroups.com, n...@sunnysideup.co.nz, ma...@sunnysideup.co.nz
Hi Nicolaas!

Basically it is the same functionality that currently has this module, but without a temporary folder and showing the files that the user can download in a download page.

Thanks,
Regards,
Jose A.



El lunes, 2 de septiembre de 2013 10:50:18 UTC+2, Nicolaas Thiemen Francken - Sunny Side Up escribió:
Hi Jose

What you are proposing are significant functionality changes.  I will not focus on this right now as I want the core of e-commerce to be perfect soon. Electronic Delivery was meant for once off downloads in the first place. I guess your requirements are different from that.

I am interested in the security / where to download system.  I agree the concept of the "temporary folder" might not be ideal.

Nicolaas
On 2 September 2013 00:00, Josua <sup...@sendasoft.com> wrote:
Hi Nicolaas!

The ecommerce-delivery approach is interesting.
But it should not create temporary files or folders for files to download.
Somehow should be based on a protected directory.
In this way could be used for digital products that can be updated periodically .
If a user buys one year of updates should be able to download all updates or new files are released during this period.

The user could access a download page containing all the files that they are entitled to download.

It could even send notifications to the user when that period is over.

What do you think?

Thanks,
Regards,
Jose A.

--
You received this message because you are subscribed to the Google Groups "Silverstripe Ecommerce" group.
To unsubscribe from this group and stop receiving emails from it, send an email to silverstripe-ecommerce+unsub...@googlegroups.com.

To post to this group, send email to silverstrip...@googlegroups.com.
Visit this group at http://groups.google.com/group/silverstripe-ecommerce.
For more options, visit https://groups.google.com/groups/opt_out.
Reply all
Reply to author
Forward
0 new messages