[Ur] Ur Digest, Vol 96, Issue 6

Yves Cloutier yves.cloutier at gmail.com
Tue Feb 14 14:05:28 EST 2017


Hi Artyom, thanks for posting this. It great to be able to look at and
study others' code.

On Tue, Feb 14, 2017 at 12:00 PM, <ur-request at impredicative.com> wrote:

> Send Ur mailing list submissions to
>         ur at impredicative.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://www.impredicative.com/cgi-bin/mailman/listinfo/ur
> or, via email, send a message with subject or body 'help' to
>         ur-request at impredicative.com
>
> You can reach the person managing the list at
>         ur-owner at impredicative.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Ur digest..."
>
>
> Today's Topics:
>
>    1. Using Ur/Web for static site generation (Artyom Shalkhakov)
>    2. Re: Database migrations (Artyom Shalkhakov)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 14 Feb 2017 21:51:15 +0600
> From: Artyom Shalkhakov <artyom.shalkhakov at gmail.com>
> To: The Ur programming language <ur at impredicative.com>
> Subject: [Ur] Using Ur/Web for static site generation
> Message-ID:
>         <CAKO6=qhj4Y+_H74w3Qyrx30tfLPmfP9fz3yJgvhFBq
> FpxPurvQ at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hello all,
>
> It seems that static site generators are trendy these days.
>
> I built a static website in Ur/Web [1] and the source code is available
> [2]. Please don't hesitate to leave feedback (negative as well as positive,
> of course).
>
> And by the way, I used styles from Skeleton, [3] myself being pretty bad at
> CSS.
>
> --
> Cheers,
> Artyom Shalkhakov
>
> [1] https://ashalkhakov.github.io
> [2] https://github.com/ashalkhakov/ashalkhakov.github.com
> [3] http://getskeleton.com/
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://www.impredicative.com/pipermail/ur/attachments/
> 20170214/1a528b75/attachment-0001.html>
>
> ------------------------------
>
> Message: 2
> Date: Tue, 14 Feb 2017 21:51:52 +0600
> From: Artyom Shalkhakov <artyom.shalkhakov at gmail.com>
> To: The Ur programming language <ur at impredicative.com>
> Subject: Re: [Ur] Database migrations
> Message-ID:
>         <CAKO6=qhrPTb26BNF91YCHJ5bNyWr5dnEddy6OmE+B=
> URg_KXZQ at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hello Saulo,
>
> 2017-02-08 16:15 GMT+06:00 Saulo Araujo <saulo2 at gmail.com>:
>
> > Hi Artyon,
> >
> > I believe that Liquibase satisfies, at least partially, your
> requirements.
> > In particular, it is able diff databases (http://www.liquibase.org/
> > documentation/diff.html).
> >
> >
> Thank you, I will take a look.
>
>
> > Regards,
> > Saulo
> >
> > On Wed, Feb 8, 2017 at 4:52 AM, Artyom Shalkhakov <
> > artyom.shalkhakov at gmail.com> wrote:
> >
> >> Hello all,
> >>
> >> I'd like to see Ur/Web helping with database migrations. Currently, the
> >> compiler will output an SQL script containing DDL statements to create
> the
> >> schema from scratch.
> >>
> >> Ur/Web largely follows a "code-first" approach: the program's code is
> >> authoritative source of the database schema (or, put it differently,
> >> program's code is enough to infer the definition of the database
> schema).
> >>
> >> My idea is to have Ur/Web generate the database schema in a
> >> database-independent format (e.g. as some simple JSON), and then use a
> tool
> >> to find the diff/patch between two such schemas.
> >>
> >> Having searched for off-the-shelf tools to help with generating DDL
> >> statements given two schemas expressed in a database-independent
> format, I
> >> came up with basically nothing that can be easily reused.[2]
> >>
> >> I'm looking for help with the format definition (preferably something
> >> that comes with tools: e.g. convert schema definition to DDL of target
> >> database). Seems like the simplest/best way forward is to go with an
> >> Ur/Web-specific tool.
> >>
> >> --
> >> Cheers,
> >> Artyom Shalkhakov
> >>
> >> [1] https://github.com/urweb/urweb/issues/65
> >> [2] https://github.com/urweb/urweb/issues/65#issuecomment-277904189
> >>
> >> _______________________________________________
> >> Ur mailing list
> >> Ur at impredicative.com
> >> http://www.impredicative.com/cgi-bin/mailman/listinfo/ur
> >>
> >>
> >
> > _______________________________________________
> > Ur mailing list
> > Ur at impredicative.com
> > http://www.impredicative.com/cgi-bin/mailman/listinfo/ur
> >
> >
>
>
> --
> Cheers,
> Artyom Shalkhakov
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://www.impredicative.com/pipermail/ur/attachments/
> 20170214/62c43f0b/attachment-0001.html>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> Ur mailing list
> Ur at impredicative.com
> http://www.impredicative.com/cgi-bin/mailman/listinfo/ur
>
>
> ------------------------------
>
> End of Ur Digest, Vol 96, Issue 6
> *********************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.impredicative.com/pipermail/ur/attachments/20170214/b81e72ed/attachment.html>


More information about the Ur mailing list