Giter Site home page Giter Site logo

Comments (2)

thomaswilburn avatar thomaswilburn commented on August 29, 2024

The blog post for Pym lays out the basic case for it: http://blog.apps.npr.org/pym.js/

I don't think Pym particularly works around many gotchas. The appeal for many people is that it's a well-tested solution that's been used by news organizations around the world for years. But it's a pretty simple library.

If you want something smaller and more modern, I recommend Sidechain, which is our rewrite of Pym for future applications and AMP compatibility: https://github.com/nprapps/sidechain There are also a number of other responsive frame libraries out there, like Frames (https://github.com/rdmurphy/frames/).

I understand the desire to stay away from third-party code, and it's not hard to reinvent what Pym does using messages. I've written two of them myself in the last five years (Sidechain and the Seattle Times responsive-frame element). I really think it's a question of how much time you want to spend on duplicating efforts, vs. just plugging in one of these libraries for what's pretty basic functionality.

from pym.js.

mreinstein avatar mreinstein commented on August 29, 2024

I really think it's a question of how much time you want to spend on duplicating efforts,
vs. just plugging in one of these libraries for what's pretty basic functionality.

zero time, ideally. :-) I want to re-use a well-tested library.

If you want something smaller and more modern, I recommend Sidechain

Thanks for the links! I'll check 'em out.

from pym.js.

Related Issues (20)

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.