Artwork

Jesse Tomchak에서 제공하는 콘텐츠입니다. 에피소드, 그래픽, 팟캐스트 설명을 포함한 모든 팟캐스트 콘텐츠는 Jesse Tomchak 또는 해당 팟캐스트 플랫폼 파트너가 직접 업로드하고 제공합니다. 누군가가 귀하의 허락 없이 귀하의 저작물을 사용하고 있다고 생각되는 경우 여기에 설명된 절차를 따르실 수 있습니다 https://ko.player.fm/legal.
Player FM -팟 캐스트 앱
Player FM 앱으로 오프라인으로 전환하세요!

43: Finally in Production

33:56
 
공유
 

저장한 시리즈 ("피드 비활성화" status)

When? This feed was archived on October 04, 2020 13:08 (5y ago). Last successful fetch was on January 04, 2020 14:08 (5+ y ago)

Why? 피드 비활성화 status. 잠시 서버에 문제가 발생해 팟캐스트를 불러오지 못합니다.

What now? You might be able to find a more up-to-date version using the search function. This series will no longer be checked for updates. If you believe this to be in error, please check if the publisher's feed link below is valid and contact support to request the feed be restored or if you have any other concerns about this.

Manage episode 213629602 series 1531971
Jesse Tomchak에서 제공하는 콘텐츠입니다. 에피소드, 그래픽, 팟캐스트 설명을 포함한 모든 팟캐스트 콘텐츠는 Jesse Tomchak 또는 해당 팟캐스트 플랫폼 파트너가 직접 업로드하고 제공합니다. 누군가가 귀하의 허락 없이 귀하의 저작물을 사용하고 있다고 생각되는 경우 여기에 설명된 절차를 따르실 수 있습니다 https://ko.player.fm/legal.

Do it already?!?!? What's the hold up? I needed to make a list. So here it is, let's go through it.

Elm Conf

What's the hold up

Shut up, where's my diagram? You promised me a diagram twice, and have failed to deliver both time. And that's not what we want to do on this show. Truth be told, I was pretty sure it was inaccurate at best, or worst just flat out wrong. So I made a new version and it is posted BEFORE I recorded the show.

  1. Json Encode Maybe

  2. POST over Ports. The trifecta of learning Elm.

    1. PORTS. Even if you aren't super leveraging PORTS, you'll need to get along with PORTS

    2. Json Decoders

    3. Maybe Types

  3. Fix image preview size

  4. At this point I'm frustrated that I can't "peer" into the Elm code, the way I can in JS. This is a very difficult habit to break.

  • HAHAH, Ports kicking our but

  • Decoding Json, I like it. There I said it.

  • Encoding is a bit of a trip, but I think....I get it.

    • Encoding nested records into JS Object Values!!!!!!!

    noteEncoder : CreateNote -> Encode.ValuenoteEncoder newNote = let _ = Debug.log "newNote" newNote in case newNote.image of Nothing -> Encode.object [ ( "noteContent", Encode.string newNote.content ) ]​ Just image -> Encode.object [ ( "noteContent", Encode.string newNote.content ) , ( "image", imageEncoder image ) ]​ imageEncoder : Image -> Encode.ValueimageEncoder image = Encode.object [ ( "content", Encode.string image.content ) , ( "name", Encode.string image.name ) , ( "type", Encode.string image.fileType ) , ( "size", Encode.int image.size ) ]​

Picks

Resources Follow

  continue reading

91 에피소드

Artwork

43: Finally in Production

Javascript to Elm

55 subscribers

published

icon공유
 

저장한 시리즈 ("피드 비활성화" status)

When? This feed was archived on October 04, 2020 13:08 (5y ago). Last successful fetch was on January 04, 2020 14:08 (5+ y ago)

Why? 피드 비활성화 status. 잠시 서버에 문제가 발생해 팟캐스트를 불러오지 못합니다.

What now? You might be able to find a more up-to-date version using the search function. This series will no longer be checked for updates. If you believe this to be in error, please check if the publisher's feed link below is valid and contact support to request the feed be restored or if you have any other concerns about this.

Manage episode 213629602 series 1531971
Jesse Tomchak에서 제공하는 콘텐츠입니다. 에피소드, 그래픽, 팟캐스트 설명을 포함한 모든 팟캐스트 콘텐츠는 Jesse Tomchak 또는 해당 팟캐스트 플랫폼 파트너가 직접 업로드하고 제공합니다. 누군가가 귀하의 허락 없이 귀하의 저작물을 사용하고 있다고 생각되는 경우 여기에 설명된 절차를 따르실 수 있습니다 https://ko.player.fm/legal.

Do it already?!?!? What's the hold up? I needed to make a list. So here it is, let's go through it.

Elm Conf

What's the hold up

Shut up, where's my diagram? You promised me a diagram twice, and have failed to deliver both time. And that's not what we want to do on this show. Truth be told, I was pretty sure it was inaccurate at best, or worst just flat out wrong. So I made a new version and it is posted BEFORE I recorded the show.

  1. Json Encode Maybe

  2. POST over Ports. The trifecta of learning Elm.

    1. PORTS. Even if you aren't super leveraging PORTS, you'll need to get along with PORTS

    2. Json Decoders

    3. Maybe Types

  3. Fix image preview size

  4. At this point I'm frustrated that I can't "peer" into the Elm code, the way I can in JS. This is a very difficult habit to break.

  • HAHAH, Ports kicking our but

  • Decoding Json, I like it. There I said it.

  • Encoding is a bit of a trip, but I think....I get it.

    • Encoding nested records into JS Object Values!!!!!!!

    noteEncoder : CreateNote -> Encode.ValuenoteEncoder newNote = let _ = Debug.log "newNote" newNote in case newNote.image of Nothing -> Encode.object [ ( "noteContent", Encode.string newNote.content ) ]​ Just image -> Encode.object [ ( "noteContent", Encode.string newNote.content ) , ( "image", imageEncoder image ) ]​ imageEncoder : Image -> Encode.ValueimageEncoder image = Encode.object [ ( "content", Encode.string image.content ) , ( "name", Encode.string image.name ) , ( "type", Encode.string image.fileType ) , ( "size", Encode.int image.size ) ]​

Picks

Resources Follow

  continue reading

91 에피소드

모든 에피소드

×
 
Loading …

플레이어 FM에 오신것을 환영합니다!

플레이어 FM은 웹에서 고품질 팟캐스트를 검색하여 지금 바로 즐길 수 있도록 합니다. 최고의 팟캐스트 앱이며 Android, iPhone 및 웹에서도 작동합니다. 장치 간 구독 동기화를 위해 가입하세요.

 

빠른 참조 가이드

탐색하는 동안 이 프로그램을 들어보세요.
재생