You have problems with MongoDB when it comes to the point when you want to 
transfer data from one document to an other, cause there is now atomic way 
in MongoDB. The solution is to use a 2 phase commit strategy which is very 
error prone. The most common example is when a customer orders some 
products and you want to transfer the products from the storage document to 
your order document, so the product can not be ordered from several 
customers. In an RDBMS no problem. Simply start an transaction and commit 
at the end. In MongoDB the problem starts... cause you need to be fault 
tolorent and more important always consistent! These cases are rare but 
when you come to these use cases they are hard to solve. For me in an 
eCommerce system consistency is the most important part. So the next time I 
would choose e.g. Postgres over MongoDB.

Am Sonntag, 22. Juli 2012 14:42:12 UTC+2 schrieb Alan Hoffmeister:
>
> You guys are just killing me, I was planning to write with coffee script, 
> but pure JS seems to be a better idea, I was planning async on the 
> templates, but async is evil in there, now I was suggested to don't use 
> MongoDB, and guess what db I was planning to use? hahaha
>
> @mlegenhausen, what was your trouble with NoSQL?
>
> This is a real awesome discussion, I could really process a lot of useful 
> information, thanks for everyone that can/could spend their 1 cent here.
>
> Em 22/07/2012, às 09:32, mlegenhausen <[email protected]> escreveu:
>
> Can not say much to the templating problem, cause we do not allow the user 
> to edit the templates.
>
> We used pure JavaScript, cause this was our first bigger javascript system 
> we wrote and it is better to understand whats going instead of hiding 
> everything behind another language (thats why I am not programming in GWT 
> anymore ;)). Even without CS it was fun to code! Use helper libraries like 
> underscore.js, async and you are ready to go.
>
> And one more advice use a RDBMS and no NoSQL system for the e-Commerce 
> stuff even when the variaty of ORMs is not the best.
>
> Am Freitag, 20. Juli 2012 16:27:54 UTC+2 schrieb Alan Hoffmeister:
>>
>> Hello, 
>>
>> Two concerns: code maintainability and templating. 
>>
>> How was your experience with the code itself? It was fun to code? :) 
>> Coffeescript or pure JS? 
>>
>> About the template, we are planning to allow to user to edit the HTML 
>> files, so the functions must be easy to understand, for example: 
>>
>> {#sub-categories('mainCategoryID')} 
>>     <a href="#">{name}</a> 
>> {/sub-categories} 
>>
>> But we all know that async helpers are a pain in the a**, and load all 
>> categories, all itens, all everything on a page that only need an item 
>> description is ridiculous. 
>>
>> How was your approach to the template? 
>>
>> Thanks! 
>>
>> -- 
>> Att, 
>> Alan Hoffmeister 
>>
>>
>> 2012/7/20 mlegenhausen <[email protected]>: 
>> > We wrote for one of our customers a whole custom shopping system based 
>> on 
>> > node.js. Which information is relevant for you? 
>> > 
>> > Am Donnerstag, 19. Juli 2012 20:24:40 UTC+2 schrieb Alan Hoffmeister: 
>> >> 
>> >> Hello fellows, 
>> >> 
>> >> I'm starting a new project that will compete with Shopify in a near 
>> >> future. 
>> >> What I need now is e-Commerce related with Node.js material. 
>> >> 
>> >> Anyone here got some link, study case or something else? 
>> >> Thank's! 
>> >> 
>> >> -- 
>> >> Att, 
>> >> Alan Hoffmeister 
>> > 
>> > -- 
>> > Job Board: http://jobs.nodejs.org/ 
>> > Posting guidelines: 
>> > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines 
>> > You received this message because you are subscribed to the Google 
>> > Groups "nodejs" 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/nodejs?hl=en?hl=en 
>>
>  -- 
> Job Board: http://jobs.nodejs.org/
> Posting guidelines: 
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> You received this message because you are subscribed to the Google
> Groups "nodejs" 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/nodejs?hl=en?hl=en
>
>

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" 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/nodejs?hl=en?hl=en

Reply via email to