microcosm

Go based API and core business logic for the Microcosm community CMS. (by microcosm-cc)

Microcosm Alternatives

Similar projects and alternatives to microcosm

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better microcosm alternative or higher similarity.

microcosm reviews and mentions

Posts with mentions or reviews of microcosm. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-08-25.
  • Ask HN: Companies of one, what is your tech stack (2021)?
    27 projects | news.ycombinator.com | 25 Aug 2021
    Manual via https://pkg.go.dev/database/sql with handwritten SQL in the majority of places... but with a wrapper to handle the more complex search scenarios.

    For example these from a multi-tenant SaaS forum platform...

    This helper to get connections: https://github.com/microcosm-cc/microcosm/blob/master/helper... used like this for inserts: https://github.com/microcosm-cc/microcosm/blob/master/models... and this for reads https://github.com/microcosm-cc/microcosm/blob/master/models... .

    But searches... i.e. highly consistent SELECT queries with different WHERE statements (and potentially FROM statements), then in each project I tend to have an idea of a search struct ( https://github.com/microcosm-cc/microcosm/blob/master/models... ) that will validate the inputs and represent the search query, and then something that will consume that and build the SQL for it ( https://github.com/microcosm-cc/microcosm/blob/master/models... ). This isn't pretty... but it's easy for me to tune, debug, and keeps the rest of the code base very maintainable... all the complexity is here in the search.

    The vast majority of SQL is very very simple and needs no ORM, and the complexity is just in the search scenario where I want to be able to tune the performance more than an ORM would allow me to do so.

Stats

Basic microcosm repo stats
1
67
4.4
over 2 years ago

microcosm-cc/microcosm is an open source project licensed under GNU General Public License v3.0 only which is an OSI approved license.

The primary programming language of microcosm is Go.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com