Coder Social home page Coder Social logo

tiny-guide-to-non-fancy-node's Introduction

Yosh is …

Calm computing. Working on the Rust programming language at Microsoft. Focused on making async programming reliable and accessible. Also an enthusiast cook, cat dad, and prospective DIY guy. Previously: Berlin, Sydney, Amsterdam. Now in Copenhagen.

Also on: Website, Twitter, YouTube, and Twitch.

Async Rust

Rust web programming

  • http-types - Common types for HTTP operations for async Rust.
  • tide - Fast and friendly HTTP server framework for async Rust
  • surf - Fast and friendly HTTP client framework for async Rust.
  • localghost - Ergonomic Rust bindings to the Web platform.
  • async-h1 - HTTP/1.1 parser and encoder for async Rust.
  • async-sse - Server-Sent Events parser and encoder for async Rust.
  • async-session - Session support with plugabble backends for async Rust.

Support

If you like what I'm working on, please consider supporting my work via GitHub sponsors.

tiny-guide-to-non-fancy-node's People

Contributors

sdgluck avatar yoshuawuyts avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tiny-guide-to-non-fancy-node's Issues

How to test for the browser?

Hi, nice guide, thanks for sharing it.
Now, I was wondering, how do you do to test the browser? In the testing section you mention tape, for the unit testing, in node it is pretty straight forward, but I always have problems to test in the browser, so, I want to ask, how do you test the browser? Using some dom mimic library like jsdom or browser-env? or something more complex like a headless browser, e.g. phantomjs? What would be your recomendation?

Thanks again for the guide ;)

Does non fancy vs fancy

In this case let's say, fancy is node 7+ async await pattern.

Would you really prefer to stay inside the callback world instead of having the amazing clean async and await code style. Or would you just call non performant/thread blocking sync code?

It still doesn't need any pre compilation, runs like a beast and the code is clean and understandable.
The only drawback of this is to tell everyone to update to node 7.

I feel like staying in the es3 JavaScript is like saying: I'll style my website with tables, that way I'll be sure everyone can view it correctly instead of trying to learn how to use a flexbox.

This is the main issue i have with the readme. Everyone can have there own tools preference and that is fine. But why deliberately not use new language features?

Boring and stable libraries

I agree with most of this guide except this part sounds too idealistic.

How can libraries that are barely a year old and have gone through multiple major versions with presumably breaking changes already be "boring and stable"?

Not even Node.js itself is boring and stable, it's gone through lots of churn over the few years of its existence, so you're not safe by sticking with the core modules, just relatively safer.

The only way for something to actually be boring and stable is to never make breaking changes, i.e. never release a major version past 1.0. This means that the interface must be frozen and unversioned.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.