Web frameworks that work with amber?

55 views
Skip to first unread message

Zenchess

unread,
Mar 14, 2020, 8:06:52 AM3/14/20
to amber-lang
  Hi.  I was wondering what people use or do to use amber with some kind of dynamic webpage.  Like say I had a chess webpage, and for every game played on the server there would be a unique url with an amber page at that url.  

Herby Vojčík

unread,
Mar 14, 2020, 8:31:02 AM3/14/20
to amber...@googlegroups.com, Zenchess
The development server `amber serve` actually allows you to test this in
development as it has an option to fallback to serving specific page
instead of 404 when the path does not exist, exactly for this reason
(SPAs with HTML5 routes).

If you load the.js etc. from absolute paths, it should simply work. Then
you can use any routing library out there afaict (there are minimalistic
one, like leviroutes).

And of course, set up your actual deployment configuration to also serve
the proper .html file from nonexistent paths.

Herby

Siemen Baader

unread,
Mar 14, 2020, 8:58:51 AM3/14/20
to amber...@googlegroups.com
Hi,

There onc le was a framework named Tide for that. You could look around the web and the Pharo users email list.

Cheers

Sent from my iPhone
> --
> You received this message because you are subscribed to the Google Groups "amber-lang" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to amber-lang+...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/amber-lang/2c951832-882c-f105-e289-9625ade42286%40mailbox.sk.
Reply all
Reply to author
Forward
0 new messages