Skip to content
This repository has been archived by the owner on Feb 8, 2023. It is now read-only.

Real-world problems & Seed #2

Closed
MartinKavik opened this issue May 10, 2020 · 1 comment
Closed

Real-world problems & Seed #2

MartinKavik opened this issue May 10, 2020 · 1 comment

Comments

@MartinKavik
Copy link

MartinKavik commented May 10, 2020

@fattenap
Hi, I was thinking about something similar for Seed some months ago - a combination of writing / recording layout constraints or expected behaviors for values (extra/inter)polation in GUI designer or text IDE.

What problems did you encounter while writing / using this lib?
I can imagine that JS was slow for more complex websites or it makes almost impossible to prerender website / use SSR because of not using CSS; or something else?

@fattenap
Copy link
Owner

This lib was just a wrapper around AutoLayout.js. You should check it out. It explains the Visual Format Language (VFL), which is the syntax that is used. And yes, you are right. The javascript was the major bottle neck, especially as the application/UI got more complex. I wasn't really thinking too much about SSR back then, but yes it wouldn't have been possible. There was also a reluctance, by web devs, to use something different. Which I can appreciate. The syntax (VFL) could get hard to maintain also.

But I think there is definitely a benefit in separating layout from styling.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants