clsource

Solidwire Language

Recommended Posts

Hello friends,

I participated in a project that needed lots of relationships between fields and pages.

and I struggled on how to arquitech such complex scenario. So I figure out and documented this little idea.

A CSS like language for data relationships.

https://github.com/joyofpw/solidwire

Hope you find it useful and all ideas and contributions are welcome 😄

 

Thanks.

  • Like 5

Share this post


Link to post
Share on other sites

This looks really interesting!

But I don't quite understand. The intro says:

Quote

Inspiration was taken from different tools and languages like C, UML, Markdown, Javascript, Python and PHP.

Solid Wire means to be like cascading style language. CSS for data relationships.

So does this language convert to some other format (like Markdown > HTML)? Does the language translate to some visual form like CSS does? Or is it executable like Javascript, PHP, etc? Putting it another way, is the end result something other than the document itself?

Sorry if these are dumb questions - just struggling to get my head around it.

Share this post


Link to post
Share on other sites

Hello Robin,

Is not meant to be a programming language. Is more like a prototyping language.

maybe in the future tools can be written to generate files or similar.

 

The objective is to create a document that can show pages, templates and fields relationships
in a eagle view fashion.

Before you start creating the templates in PW you can prototype in this document
like a scratch pad to clear ideas and see different options before investing time in programming.

  • Like 3

Share this post


Link to post
Share on other sites
30 minutes ago, clsource said:

maybe in the future tools can be written to generate files or similar.

It would be great to have a tool that takes the document as input and spits out an HTML flow diagram as output, where explanatory details could be shown in tooltips, modals, etc. Because to make sense of the language you'd have to spend a fair bit of time memorising the syntax and I can see that being a problem for non-devs (i.e. clients).

  • Like 3

Share this post


Link to post
Share on other sites

Well is true that non technical clients could have some trouble understanding this language. But I believe they often have a technical counter part that could understand this.

Though tools that generate documentation pages and maybe even migrations scripts?. would be cool to have 😛

  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.