V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
SQLite
shellc
V2EX  ›  SQLite

回复“什么场景下用 SQLite”的主题并分享一个年收入 60 万刀的技术栈

  •  
  •   shellc · Mar 3, 2022 · 2649 views
    This topic created in 1517 days ago, the information mentioned may be changed or developed.

    这位兄弟在问“大家有用 Sqlite 的吗,都是什么场景下要用这个,能说一两点非要用它的理由最好啦”

    我觉得有必要分享一个人的故事(How Pieter Levels learned to code),这个叫 Pieter Levels 的哥们自学编程写了两个网站,目前已经做到每年收入 60 万刀。看看他的技术栈:

    • HTML (hand coded so no template to make life easier)
    • CSS (He has used pre-processors like LESS and SASS in the past)
    • Javascript (No frameworks - this is sometimes referred to jokingly as Vanilla Javascript. There is no such thing as Vanilla JS though. It's just plain-old Javascript without a framework such as React, Vue or Angular)
    • jQuery (An unfashionable choice nowadays but it does the job)
    • PHP (He doesn't use any frameworks like Laravel)
    • sqLite - This is described as being unsuitable for production by it's makers. Still, Pieter says it's super quick and swears by it. SQLite is a database written in a single file so Pieter doesn't need to set up a server for it.

    我之前接触过很多独立开发者和小团队,很多选择了非常重的架构,比如微服务、K8S 。其实,绝大部分创业项目最后都死掉了,创业团队把大量的时间浪费在了解决永远不可能发生的规模和复杂性问题上。他们臆想了一个甜蜜的烦恼,并花了大量的时间和钱来试图解决它。

    也有一些开发者很务实的选择了 serverless 、django ,快速 rush 出一个 MVP ,发现商业不可行就快速扔掉。

    我多年前看《黑客与画家》,Paul Graham 说 Lisp 和 Python 才是创业公司该用的语言,其实我并不理解,我那时候还在 C++性能更好的认知里。最近两年大热的 No-Code 和 Low-Code ,我也没有太深的体会。

    直到最近半年,我自己用 Go 和 Python 写了两个失败的项目,我才明白了。对于以商业成功为目标的项目,快速试错,降低写代码的成本是多么重要。

    1 replies    2022-03-18 16:28:27 +08:00
    coolair
        1
    coolair  
       Mar 18, 2022
    兄弟说的太对了!
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3545 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 41ms · UTC 10:54 · PVG 18:54 · LAX 03:54 · JFK 06:54
    ♥ Do have faith in what you're doing.