# Building a ror store

**URL:** <https://www.ruby-forum.com/t/building-a-ror-store/80385>\
**Category:** Rails\
**Created:** [December 25, 2006, 3:31pm UTC](https://www.ruby-forum.com/t/building-a-ror-store/80385 "2006-12-25T15:31:31Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![shai\_rosenfeld](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/d26b3c/32.png) [@shai\_rosenfeld](https://www.ruby-forum.com/u/shai_rosenfeld)\
**Post date:** [December 25, 2006, 3:31pm UTC](https://www.ruby-forum.com/t/building-a-ror-store/80385/1 "2006-12-25T15:31:31Z")

</div>

Hi, i’m starting to build a new store - app this week, and i was  
wondering if someone knew of the best way to store cart sessions, and  
all of the store-data i need to save up until a purchase… does anyone  
know of some good way of implementing this? ( a link, or some resource  
on the net )  
i know the pragmatic programmers book has an example of building a  
store, but i was wondering if there were some more well - known examples  
of doing this?

any help or insights on building a store, will be kindly appreciated…  
thanks in advance …  
🙂

s

---

<div class="post-metadata">

**Author:** ![shai\_rosenfeld](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/d26b3c/32.png) [@shai\_rosenfeld](https://www.ruby-forum.com/u/shai_rosenfeld)\
**Post date:** [December 25, 2006, 4:55pm UTC](https://www.ruby-forum.com/t/building-a-ror-store/80385/2 "2006-12-25T16:55:52Z")

</div>

You might want to look at substruct, an RoR open source ecommerce  
application. See how they handle the shopping cart, or just use their  
app  
as a base for yours.

[http://www.substruct.com](http://www.substruct.com)

-Larry  
On 12/25/06, shai rosenfeld [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> 

–  
Best Regards,  
-Larry  
“Work, work, work…there is no satisfactory alternative.”  
— E.Taft Benson

---

<div class="post-metadata">

**Author:** ![shai\_rosenfeld](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/d26b3c/32.png) [@shai\_rosenfeld](https://www.ruby-forum.com/u/shai_rosenfeld)\
**Post date:** [December 26, 2006, 12:02am UTC](https://www.ruby-forum.com/t/building-a-ror-store/80385/3 "2006-12-26T00:02:40Z")

</div>

Check out Ben’s e-commerce book. Not expensive, and has good  
information on how to build a regular online store.

[http://agilewebdevelopment.com/rails-ecommerce](http://agilewebdevelopment.com/rails-ecommerce)

---

<div class="post-metadata">

**Author:** ![shai\_rosenfeld](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/d26b3c/32.png) [@shai\_rosenfeld](https://www.ruby-forum.com/u/shai_rosenfeld)\
**Post date:** [December 26, 2006, 12:10am UTC](https://www.ruby-forum.com/t/building-a-ror-store/80385/4 "2006-12-26T00:10:42Z")

</div>

Thanks for the plug, but that’s not the URL…that actually goes to  
some  
ASP site throwing an error. 🙂

[http://dev.subimage.com/projects/substruct](http://dev.subimage.com/projects/substruct) - for project information,  
download, install instructions.

and the demo site…

[http://substruct.subimage.com](http://substruct.subimage.com)  
[http://substruct.subimage.com/admin](http://substruct.subimage.com/admin) (admin / admin is the login)

On 12/25/06, Larry K. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> > thanks in advance …
> 
> –  
> Best Regards,  
> -Larry  
> “Work, work, work…there is no satisfactory alternative.”  
> — E.Taft Benson
> 
> >

## –

## seth at subimage interactive

## [http://www.subimage.com](http://www.subimage.com) [http://sublog.subimage.com](http://sublog.subimage.com)

> **[Freelance Time Tracking Software — Online Invoice Software](https://cashboardapp.com/)**
>
> Freelance time tracking software, online invoice software & project management.
> Used by thousands worldwide since 2007. FREE trial.

[http://dev.subimage.com/projects/substruct](http://dev.subimage.com/projects/substruct)

---

<div class="post-metadata">

**Author:** ![shai\_rosenfeld](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/d26b3c/32.png) [@shai\_rosenfeld](https://www.ruby-forum.com/u/shai_rosenfeld)\
**Post date:** [December 26, 2006, 9:39am UTC](https://www.ruby-forum.com/t/building-a-ror-store/80385/5 "2006-12-26T09:39:47Z")

</div>

thanks all;

i actually posted this message yesterday, kept on searching the web, and  
actually found substruct a short while after this post; downloaded and  
installed it, before catching any replies on this thread 🙂 . anyway, i  
caught the core of the store-app (all the relavant code i need to get my  
own niche started) in railsapp/vendor/plugins/substruct/app. i’ll start  
from there. interestingly enough, this substruct store is based on the  
store that is designed in the Pragmatic Programmer’s book (Dave T.’)  
– i recognize some of that code in the substruct application. it makes  
it somewhat funner. 🙂

anyway, thanks for all the help.  
much appreciated…

s

---

<div class="post-metadata">

**Author:** ![shai\_rosenfeld](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/d26b3c/32.png) [@shai\_rosenfeld](https://www.ruby-forum.com/u/shai_rosenfeld)\
**Post date:** [December 26, 2006, 5:41am UTC](https://www.ruby-forum.com/t/building-a-ror-store/80385/6 "2006-12-26T05:41:03Z")

</div>

Wow, that is a cool find. Looks like a great start on a basic  
e-commerce site.

The Blog would be better if it had commenting capabilities and  
syndication. And paypal for the checkout…but those both seem like  
very straightforward things to add on.

Joe

---

<div class="post-metadata">

**Author:** ![shai\_rosenfeld](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/d26b3c/32.png) [@shai\_rosenfeld](https://www.ruby-forum.com/u/shai_rosenfeld)\
**Post date:** [December 26, 2006, 11:19am UTC](https://www.ruby-forum.com/t/building-a-ror-store/80385/7 "2006-12-26T11:19:19Z")

</div>

Actually it’s not based on the code in the book…(was designed before  
the  
book), but there are some similarities. Glad you’re enjoying it.

On 12/26/06, shai rosenfeld [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> store that is designed in the Pragmatic Programmer’s book (Dave T.')
> 
> >

## –

## seth at subimage interactive

## [http://www.subimage.com](http://www.subimage.com) [http://sublog.subimage.com](http://sublog.subimage.com)

> **[Freelance Time Tracking Software — Online Invoice Software](https://cashboardapp.com/)**
>
> Freelance time tracking software, online invoice software & project management.
> Used by thousands worldwide since 2007. FREE trial.

[http://dev.subimage.com/projects/substruct](http://dev.subimage.com/projects/substruct)

---

<div class="post-metadata">

**Author:** ![shai\_rosenfeld](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/d26b3c/32.png) [@shai\_rosenfeld](https://www.ruby-forum.com/u/shai_rosenfeld)\
**Post date:** [December 26, 2006, 11:37am UTC](https://www.ruby-forum.com/t/building-a-ror-store/80385/8 "2006-12-26T11:37:19Z")

</div>

Subimage Interactive wrote:

> ## Actually it’s not based on the code in the book…(was designed before the book), but there are some similarities. Glad you’re enjoying it. seth at subimage interactive

thanks 'a seth.  
warm regards.

s
