TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

PHP, Laravel, e-commerce: Vanilo framework

6 pointsby emmaszover 7 years ago

2 comments

cwt137over 7 years ago
I can't see where they handle prices of stuff correctly. As far as I can tell, they are treating prices as floats. You shouldn't treat prices as floats, or you get weird rounding errors sometimes. This is unacceptable when dealing with money.
评论 #15913015 未加载
lkjalsdfasdover 7 years ago
PHP is terrible for e-commerce where it halts on large business transactions, and terrible money handling and its lack of typing and other ecommerce APIs. PHP lacks fine-tuned IO service control, even node-v8 lacks this. Also that facade pattern is disgusting, another reason to avoid PHP.<p>Use CLR or JVM where you can control IO services and long-running tasks much better.
评论 #15921224 未加载