>
> "Explicit is better than implicit."
-- Tim Peters
So the main way "data-centric" happens is by modeling behaviors implicitly
in the data. A common example is an item being active or not. I often model
this as a boolean property "isActive". The usual way to tweak this value is
to have th
https://github.com/fredcy/localstorage runs in Elm 0.17 and has storage
events. The provided examples show it handling some events.
That repo will never be published as an Elm package though.
I originally named it "Storage", thinking to do session storage next. But
it's a dead end and I gave up
Can anyone point to an editor done in Elm? I am particularly interested in
seeing how mouse interaction (highlight, selection, copy, paste etc) is
handled. I looked through DreamWriter. I don't think it implements the part
I mentioned in Elm, though to be honest I am not quite sure how it
accom
It's great to see that independent efforts have come to the same conclusion.
Check this out
http://package.elm-lang.org/packages/NoRedInk/elm-decode-pipeline/latest
I liked your approach of using overly descriptive names, but maybe only
necessary from a learning/beginner standpoint. It's impor
On Friday, October 28, 2016 at 4:58:34 PM UTC-5, Rupert Smith wrote:
>
> On Friday, October 28, 2016 at 6:26:46 PM UTC+1, Kasey Speakman wrote:
>>
>> As best I can, I try to look at the system as use cases and events.
>>
>> With legacy systems, we are tied to a normalized data model (which is
>>
On Mon, Oct 31, 2016 at 5:24 PM, Kasey Speakman
wrote:
> There is a danger in focusing on data over use cases. It's not a guarantee
> that you make this mistake (I have), but you know you've gone too far with
> it when most workflows are Load/Edit/Save (or Create/Save). And the user is
> left to
There is a danger in focusing on data over use cases. It's not a guarantee
that you make this mistake (I have), but you know you've gone too far with
it when most workflows are Load/Edit/Save (or Create/Save). And the user is
left to know what field to change to have a specific effect in the
sy
Because primitives rock. If we expose API primitives in a typesafe way, we
allow the community to use them to create useful libraries.
I actually see that the persistent cache package has a LocalStorage module
which exposes a subset of my proposed API. However, It does not implement
the storage
Yeah, this library is more about smart styling in elm rather than
interfacing with polymer. Since we can do mixins in elm, native mixins
probably won't be supported :/
I have thought that you could make a polymer or mdl type library in pure
elm using the style-elements library, though it would
Hello All
I am following the tutorial at
https://www.elm-tutorial.org/en/09-conclusion/01-improvements.html and
trying to implement the improvement to delete things from my app.
For reference my complete code so far is at
https://github.com/bencoveney/bencoveney.github.io - specifically
src/P
yeah, but to use polymer elements, native css mixins are required :(
Il giorno lun 31 ott 2016 alle ore 14:51 Matthew Griffith <
mdg.griff...@gmail.com> ha scritto:
> No, it won't render as a native css mixin, it just gives you the
> functionality of a mixin in your elm code.
>
>
>
> On Monday, O
No, it won't render as a native css mixin, it just gives you the
functionality of a mixin in your elm code.
On Monday, October 31, 2016 at 7:55:38 AM UTC-4, Ed Ilyin wrote:
>
> Will it render native CSS mixin?
>
> Actually I can't figure out how to create native CSS mixins even using
> elm-css
I think it ties in with the general theme of Elm trying to guide you into
making the right choices - if there's no real use case for LocalStorage
other than using it as a cache, why expose the low level bindings and allow
people to shoot themselves in the foot with them?
On Monday, October 31,
Will it render native CSS mixin?
Actually I can't figure out how to create native CSS mixins even using
elm-css module.
Il giorno lun 31 ott 2016 alle ore 13:49 Matthew Griffith <
mdg.griff...@gmail.com> ha scritto:
> You can create a mixin as a function.
>
>
>
> myMixin : Style.Model -> Style.M
You can create a mixin as a function.
myMixin : Style.Model -> Style.Model
myMixin style =
{ style
| visibility = hidden
}
myMixinColor : Style.Model -> Style.Model
myMixinColor style =
{ style
| colors = palette.blue
}
dropDown : List (Html.Attribute a) -> Lis
Sorry, wrong group.
On Monday, October 31, 2016 at 6:28:38 AM UTC, Magnus Rundberget wrote:
>
> I'm sure someone on here can answer your question, I'm just curious how
> this relates to Elm ? Isn't this an Elixir related question ?
>
> cheers
> -magnus
>
> On Monday, 31 October 2016 01:30:36 UTC+
I'm actively using Polymer Paper Elements. And they accept mixings like
this:
```css
paper-dropdown-menu {
--paper-input-container-input: {
color: white;
}
--paper-input-container-underline: {
display: none;
}
--paper-dropdown-menu-i
You may also want to read this later discussion:
https://groups.google.com/forum/#!topic/elm-discuss/Ud7WzAhRsqE
> Am 31.10.2016 um 07:25 schrieb David Andrews :
>
> I found a discussion from May that has many thoughts on this.
>
> https://groups.google.com/d/msg/elm-discuss/u-6aCwaJezo/fu-HMPy
Thanks for pointing me to that, and the Justification section therein
answers my next question. However, I don't see why it makes sense to
conflate the use of the web storage API with a cache pattern. It seems to
me that the best way to do this would be to make the low-level API
available and
19 matches
Mail list logo