xinie—Work in Progress

architecture-blocks.webp

Wouldn't it be nice if it were as easy to put together a fully dynamic web application with authentication, security, services, SEO, reusable front-end components, and all the other Good Stuff we have nowadays without being tied to a complicated, sprawling tech stack which requires devOps skills to keep going?

Wouldn't it be nice if there were a solid stepping stone between mucking around with PHP and MySQL and deploying a modern web-scale product?

Wouldn't it be great if all your code could be written in one language rather than three or five? OK, you'll still need to know CSS, but your database security rules and queries are written in Typescript (until Javascript adds native types…)

It should be easier that working with the LAMP stack but more robust enough to scale to global size without suddenly blowing through your budget.

Ideally, the entire stack should be open source and hostable anywhere you like.

OK, I haven't managed the last one quite yet, but assuming AppWrite continues to improve, it should be fairly easy to insert an AppWrite adapter into this thing and just become self-hosted.

So, what is Xinie?

xinie is basically intended to be xinjs with "batteries included", where by batteries I mean all the functionality you get from the good old PHP / MySQL / Apache / Linux stack but coded in a single programming language in a single repo without thousands of transitive dependencies.

  1. deploy your front-end with a single command
  2. deploy your back-end with a single command
  3. setup and configuration is about as fussy as a typical LAMP project, but the goal is to improve well beyond that before I ship
  4. client-side rendering but SEO-friendly
  5. data prefetch (to allow above)
  6. authentication with RBAC out-of-the-box
  7. fine-grained (field-level) data security out-of-the-box
  8. server-side data validation out-of-the-box
  9. support for server-side computed fields on read out-of-the-box
  10. very low monthly costs until you have real revenue (think cheaper than the power bill for a linux box sitting in your bedroom closet)
  11. easy to build new services with RBAC and managed secrets
  12. be able to make changes to the site (given sufficient privileges) in the browser (e.g. allowing AB-testing)
  13. "headless" CMS out-of-the-box
  14. visual tools for building web-components
  15. ability to create simple services (e.g. processed XML feeds) on-the-fly
  16. documentation
  17. npx create-xinie-app

The check marks indicate stuff that's already implemented.

Once all this core stuff is done and documented I'll call that xinie 0.1 and publish it.

— Tonio Loewald,