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, <[email protected]> wrote: > Send Ur mailing list submissions to > [email protected] > > 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 > [email protected] > > You can reach the person managing the list at > [email protected] > > 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 <[email protected]> > To: The Ur programming language <[email protected]> > Subject: [Ur] Using Ur/Web for static site generation > Message-ID: > <CAKO6=qhj4Y+_H74w3Qyrx30tfLPmfP9fz3yJgvhFBq > [email protected]> > 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 <[email protected]> > To: The Ur programming language <[email protected]> > Subject: Re: [Ur] Database migrations > Message-ID: > <CAKO6=qhrPTb26BNF91YCHJ5bNyWr5dnEddy6OmE+B= > [email protected]> > Content-Type: text/plain; charset="utf-8" > > Hello Saulo, > > 2017-02-08 16:15 GMT+06:00 Saulo Araujo <[email protected]>: > > > 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 < > > [email protected]> 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 > >> [email protected] > >> http://www.impredicative.com/cgi-bin/mailman/listinfo/ur > >> > >> > > > > _______________________________________________ > > Ur mailing list > > [email protected] > > 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 > [email protected] > http://www.impredicative.com/cgi-bin/mailman/listinfo/ur > > > ------------------------------ > > End of Ur Digest, Vol 96, Issue 6 > ********************************* >
_______________________________________________ Ur mailing list [email protected] http://www.impredicative.com/cgi-bin/mailman/listinfo/ur
