V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
SQLite
shellc
V2EX  ›  SQLite

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

  •  
  •   shellc · 2022-03-03 15:43:06 +08:00 · 1440 次点击
    这是一个创建于 777 天前的主题,其中的信息可能已经有所发展或是发生改变。

    这位兄弟在问“大家有用 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 条回复    2022-03-18 16:28:27 +08:00
    coolair
        1
    coolair  
       2022-03-18 16:28:27 +08:00
    兄弟说的太对了!
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1076 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 22:49 · PVG 06:49 · LAX 15:49 · JFK 18:49
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.