Re: Sinatra Commerce

75 views
Skip to first unread message

Francisco Cabrita

unread,
Oct 24, 2012, 5:29:38 AM10/24/12
to sina...@googlegroups.com
Hi Hamza,

I'm willing to try it.
Maybe I'm not the best person to say this but your option to build three distinct modules sounds great. One can hack/extend as must as he wants each module without break the store :), or even one can attach stocks admin to another Rack app.
The RESTful thing is awesome :)
Finally, an e-commerce store in Sinatra is, I believe, what many of us were waiting for so long ;)

What ORM are you using?

Cheers and keep the good work,
Francisco
 

On Sat, Oct 20, 2012 at 9:27 PM, hamzakc <ham...@gmail.com> wrote:
Hi

I am working on an open source e-commerce platform called Sinatra Commerce.  It is written (surprise, surprise) in Sinatra.  The reason I am sending this mail out is just to get some feedback on my thinking and to get some reassurance on the modular architecture I am using.  I have not seen this done on any other e-commerce sites (well the way I am currently implementing it). 

A summary of the thinking is
  • Built for developers to extend anyway they see fit
  • Three distinct modules; Stock / Admin / Shop
  • The Stock module has a RESTful API to enable any other modules to get access to stock details.
  • No class_eval in sight :)
  • Fully tested using minitest
  • Sample Shop module is based on Twitter bootstrap css and JS
  • Fully scalable solution for companies with multiple e-commerce shops.
  • Pluggable payment gateways

I have written my thoughts and reasoning in a blog post here:

http://hamza.khan-cheema.com/show/sinatracommerce

It is not out yet, but version 0.0.1 should be out in the next 3-4 weeks.  Any feedback is much appreciated.

Thanks.

Kind Regards
Hamza Khan-Cheema

--
You received this message because you are subscribed to the Google Groups "sinatrarb" group.
To view this discussion on the web visit https://groups.google.com/d/msg/sinatrarb/-/bECaWnS6DBAJ.
To post to this group, send email to sina...@googlegroups.com.
To unsubscribe from this group, send email to sinatrarb+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/sinatrarb?hl=en.



--
Change is the essential process of all existence.
-- Spock, "Let That Be Your Last Battlefield", stardate 5730.2

Carlos Eduardo L Lopes

unread,
Oct 24, 2012, 9:06:57 AM10/24/12
to sina...@googlegroups.com
Nice idea.

@hamzakc Do you will open the source code on github?

Francisco Cabrita wrote:

Hi Hamza,

I'm willing to try it.
Maybe I'm not the best person to say this but your option to build
three distinct modules sounds great. One can hack/extend as must as he
wants each module without break the store :), or even one can attach
stocks admin to another Rack app.
The RESTful thing is awesome :)
Finally, an e-commerce store in Sinatra is, I believe, what many of us
were waiting for so long ;)

What ORM are you using?

Cheers and keep the good work,
Francisco

On Sat, Oct 20, 2012 at 9:27 PM, hamzakc <ham...@gmail.com
<mailto:ham...@gmail.com>> wrote:

    Hi

    I am working on an open source e-commerce platform called Sinatra
    Commerce <http://www.sinatracommerce.com/>.  It is written

    (surprise, surprise) in Sinatra.  The reason I am sending this
    mail out is just to get some feedback on my thinking and to get
    some reassurance on the modular architecture I am using.  I have
    not seen this done on any other e-commerce sites (well the way I
    am currently implementing it).

    A summary of the thinking is

      * Built for developers to extend anyway they see fit
      * Three distinct modules; Stock / Admin / Shop
      * The Stock module has a RESTful API to enable any other modules

        to get access to stock details.
      * No class_eval in sight :)
      * Fully tested using minitest <http://github.com/seattlerb/minitest>
      * Sample Shop module is based on Twitter bootstrap css and JS
      * Fully scalable solution for companies with multiple e-commerce
        shops.
      * Pluggable payment gateways


    I have written my thoughts and reasoning in a blog post here:

    http://hamza.khan-cheema.com/show/sinatracommerce

    It is not out yet, but version 0.0.1 should be out in the next 3-4
    weeks.  Any feedback is much appreciated.

    Thanks.

    Kind Regards
    Hamza Khan-Cheema

    --
    You received this message because you are subscribed to the Google
    Groups "sinatrarb" group.
    To view this discussion on the web visit
    https://groups.google.com/d/msg/sinatrarb/-/bECaWnS6DBAJ.
    To post to this group, send email to sina...@googlegroups.com
    <mailto:sina...@googlegroups.com>.

    To unsubscribe from this group, send email to
    sinatrarb+...@googlegroups.com

    For more options, visit this group at
    http://groups.google.com/group/sinatrarb?hl=en.




--
Change is the essential process of all existence.

    -- Spock, "Let That Be Your Last Battlefield", stardate 5730.2


--
You received this message because you are subscribed to the Google
Groups "sinatrarb" group.

hamzakc

unread,
Oct 24, 2012, 1:23:32 PM10/24/12
to sina...@googlegroups.com
Hi.

Thanks for the kind words :)

The stock module is using datamapper with mysql.  As I found this the best fit for Sinatra. 

I was tempted to try mongodb or couchdb for the shop module, but I have stuck with datamapper initially. I (or someone else :) can make a mongodb or other nosql shop module later.

I am planning on open sourcing it on github in about three weeks.  Version 0.0.1 will not have payment gateway support.  But the next version will have support for paypal payments using their sandbox environment. 

Thanks.
Kind Regards
Hamza Khan-Cheema

Francisco Cabrita

unread,
Dec 21, 2012, 6:50:33 PM12/21/12
to sina...@googlegroups.com
Hello,

How is going your project Hamza?

Cheers,



To view this discussion on the web visit https://groups.google.com/d/msg/sinatrarb/-/x-FWxsSiSnsJ.

To post to this group, send email to sina...@googlegroups.com.
To unsubscribe from this group, send email to sinatrarb+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/sinatrarb?hl=en.

Hamza Khan-Cheema

unread,
Dec 27, 2012, 2:06:09 AM12/27/12
to sina...@googlegroups.com

Hello

Unfortunately I have had a really busy spell at work so all my personal projects have been put on hold. Sinatra commerce is part of a e commerce site I am developing as a side project. 

However the project at work has been delivered so I will have more free time to work on Sinatra Commerce.

Watch this space :-)

Kind regards
Hamza

Francisco Cabrita

unread,
Dec 27, 2012, 8:43:55 AM12/27/12
to sina...@googlegroups.com
Hello,

Good news :)
thanks for the reply and have a nice work.

Francisco
Reply all
Reply to author
Forward
0 new messages