Saturday, May 26, 2018

Find Github repos using Stylish-Elephants in their elm-lang code projects (search results are visible to authenticated Github users only). Another Github search utility is topics.

Friday, March 23, 2018

Other Elm Stylish Elephants experiments

Stylish Elephants is catching on with more and more github projects leveraging the new layout ideas. You may see those projects using the library by requesting this code search on github.

Sunday, March 4, 2018

Elm stylish-elephants package upgrade experience

I have been using an experimental Elm language package called stylish-elephants in side projects.

The package author is moving closer to a release that will be the next version of Style-Elements, so I upgraded to the latest version in my side projects in no time at all and with little effort.

I changed the dependency, ran the compiler which identified all of the areas where the upgrade affected my project code. Then, it was a simple as looking at the change log and the searching the new package docs for the new features and deleting and replacing code.

The updated projects are:

  1. jbrgfx.github.io
  2. elm-filtered-list
  3. github-stylish-elephants-search
  4. responsive-filtered-list
  5. responsive-stylish-elephants

All my stylish-elephants experiments are indexed on a Github project homepage

The combination of a developer friendly compiler and documentation of each type signature that a package provides, makes Elm refactoring so easy it is almost fun.

Friday, February 23, 2018

Adaptation of the Elm Tutorial to use postgREST

I have used postgRest to enable data requests from an Elm SPA application to a postgreSQL backend.

PostgRest is a warp web server application written in Haskell that exposes an API to postgreSQL. Elm fetches postgreSQL data via an endpoint using the HTTP module and, as long as postgRest has been configured to recognize the application and the postgRest application has been granted the necessary postgreSQL privileges, the data is retrieved from postgreSQL by postgRest and served to Elm.

This simple model might be all one needs in some use cases.