RxJS – Daum영화에 적용하다

2017-01-09 KENNETH 0

RxJS – Daum영화에 적용하다 2016년 개편된 Daum영화 프론트엔드 개발에는 ReactiveX의 JavaScript 라이브러리 RxJS 4를 사용했습니다. ReactiveX는 ReactiveX Introduction에서 callback의 문제점에 도움을 주는 것으로 소개가 되어 있습니다. 웹에서는 Angular 2에 RxJS 5가 쓰이며 관심을 받았고, Android app개발에서도 RxJava가 여러 곳에 쓰이며 관심을 받고 있습니다. 적용 당시 IE 브라우저 버전 대응 문제와 RxJS 5가 Beta 였던 이유로 RxJS 4를 적용했습니다. RxJS는 프론트엔드의 여러 이벤트들에 대한 비동기 처리에 도움을 주지만, 수많은 operator들과 함수형 프로그래밍 패러다임에 대한 이해를 해야 해서 어려움이 있었는데요. 예를 들어 함수형 프로그래밍 패러다임에 맞게 외부 변수를 참조하지 않고 적절한 함수의 합성을 생각해야 하는 점이었습니다. 그렇다면 ReactiveX가 무엇인지 간략히 먼저 소개하고, RxJS를 Daum영화에는 어떻게 적용했는지 각 기능별 코드를 중심으로 소개하겠습니다. 이해를 돕기 위해 코드를 간소화 한 점이 있으며, 실제 적용 코드와 큰 흐름에서는 같도록 했음을 알려드립니다. ReactiveX http://reactivex.io/intro.html ReactiveX의 Introduction을 보면 여러 item들을 비동기로 받기 위한 방식이고 Observer pattern을 사용한다고 나와 [ more… ]

ICYMI – What happened over vacation?

2017-01-07 KENNETH 0

ICYMI – What happened over vacation? We hope everyone had a great vacation and a very happy New Year! We’re excited to be back and while we have a few exciting updates on the way, here are a few things that you might have missed. Patterns & Controls Tutorials Fly out menus. Dialogue boxes. Buttons. Check, check and check. Learn how to add all of these controls and patterns to your UWP apps, and spruce up your UI for 2017. Create UI for apps by using controls like buttons, text boxes, & combo boxes to display data & get user input. https://t.co/dk8uDmFu42 — Windows Developer (@windowsdev) December 27, 2016 Tell us what you want to see on our blog! Our blog team wants to create the content that you want to read. Sounds simple, right? Do you want more tutorials? [ more… ]

Building Your API for Longevity, Part 1: Spec-Driven Development

2017-01-07 KENNETH 0

Building Your API for Longevity, Part 1: Spec-Driven Development td { padding-right: 10px; } This post explains how to build an effective API. Once it’s ready, you need to make it accessible to your users. NGINX and NGINX Plus are frequently used as an API gateway. For more information, check out these resources: The announcement for NGINX Plus R10, which includes support for the use of JSON Web Tokens (JWTs, or “jots”) for authentication A description of how to implement API authentication with JWTs from our own Liam Crilly A video describing how Adobe powers its API gateway with NGINX This post is adapted from a presentation delivered at nginx.conf 2016 by Mike Stowe of MuleSoft. This first part focuses on spec‑driven API development. The second part, focused on best practices, is coming soon. You can view a recording of the complete presentation [ more… ]

This Week on Windows: CES, Forza Horizon 3, Cortana tips and more

2017-01-07 KENNETH 0

This Week on Windows: CES, Forza Horizon 3, Cortana tips and more This Week on Windows, we’re bringing you new releases including The Girl on the Train and Sherlock, Season 4, talking all about CES 2017 and we’re showing you how to get the most out of our favorite digital assistant, Cortana. Here’s a recap of what happened at CES 2017: Whether you’re looking for a new gaming PC, interested in 2-in-1 convertibles or thinking about a ThinkPad, we’ve got the latest Windows 10 tech ready to rock – check these out. HP First off was the HP Sprout Pro – the second-generation all-in-one PC with its unique HD resolution projector, touch mat and 2d/3d cameras that make it easier than ever to capture a 3D image. Lenovo Lenovo ThinkPad X1 Yoga From laptops to tablets, Lenovo’s new ThinkPad devices [ more… ]

New Windows 10 devices unveiled at CES 2017 unlock the creator in each of us

2017-01-07 KENNETH 0

New Windows 10 devices unveiled at CES 2017 unlock the creator in each of us Happy New Year! And thank you for making 2016 an amazing year for Windows 10 across PCs, tablets, all-in-1’s, 2-in-1’s, mixed reality, and Xbox One. As we move toward the release of the Windows 10 Creators Update, I’ve spent the week at the annual Consumer Electronics Show (CES) in Las Vegas, seeing all kinds of innovation firsthand. It’s incredible to see the creativity of our partners and so many teams around the world who are building devices for each of us. Empowering you to create and play continues to be at the core of how we build Windows, whether you’re a student, educator, gamer, creative or mobile professional. This week our partners announced some fantastic new devices at CES. Acer, Dell, HP, Lenovo, LG, MSI, [ more… ]