wasm-demo quality of life improvements #81
chuanqisun
started this conversation in
Ideas
Replies: 3 comments 5 replies
-
That's a lot of good ideas. I'm not a very proficient front-end developer, so if you can make a PR, I am more than happy to merge it. |
Beta Was this translation helpful? Give feedback.
2 replies
-
The relational model is about generating code that efficiently performs First Order Logic inference over large amounts of data.
Most business logic can and should be expressed in First Order Logic and hence in the database.
ALSO much of UI generation logic can be represented in FOL.
The Cozo UI should be mostly written in Cozo.
I can discuss how to do this in more detail, but just imagine a query that returned a high-level description of what the UI should look like: a menu bar with these menu items, a tool pane with these items, a list pane and a detail or code pane. Imagine a query that starts from some assertions about what the user is engaged in, and returns a structure describing that UI. Totally doable in Cozo.
… On May 4, 2023, at 23:02, Ziyang Hu ***@***.***> wrote:
In the long term, some sort of web-based IDE is definitely needed. It could then either use the included WASM module or connect to a standalone server.
For database IDEs, I personally like DataGrip <https://www.jetbrains.com/datagrip/> the best and use it to manage all my postgres instances. The UI of DataGrip is orders of magnitude more complicated than the current demo, though, and I wonder if it's a better idea to start with something simpler.
Some other thoughts about a potential IDE:
Support table views (what we currently have) and graph views
Integration of LLMs, support "array programming" of running prompts on filtered data and store results into the same rows (basically one of the motivation for including the JSON type)
—
Reply to this email directly, view it on GitHub <#81 (reply in thread)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAAG7XZIS4NHJTX5GP3AKITXESJY3ANCNFSM6AAAAAAXQOWE3U>.
You are receiving this because you are subscribed to this thread.
|
Beta Was this translation helpful? Give feedback.
3 replies
-
A new version of the WASM demo is now up, please check it out at https://www.cozodb.org/wasm-demo/ A notable addition is the ability to connect to a standalone server in addition to working with WASM. The source code is now separate from the main repo: https://github.com/cozodb/cozo-playground |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Small improvements to the wasm-demo that can lead to better developer satisfaction:
These changes can be implemented in parallel with #65.
I should be able to bucket these improvements into a relatively small PR. let me know if you need a hand.
Beta Was this translation helpful? Give feedback.
All reactions