Behaviors — Polycasts #21

Behaviors — Polycasts #21


Comments

  1. Post
    Author
    Vincent Guillou

    Hi Rob. Is there any consolidated roadmap for Polymer and PolymerElements? It would be great for the community to know what's coming next and exchange ideas!

    Thanks, and great to see you tackling Behaviors (sooo much more awesome than the previous implementation in 0.5!).

  2. Post
    Author
    Rokesh Jankie

    And again blown away about the simplicity of something really AWESOME in Web Components (Java like interfaces now in Web Components as behaviors).

    Thanks @Rob Dodson  : It's almost declarative programming! Seriously impressed.

    p.s. Like the "Coool" on your desk!

  3. Post
    Author
  4. Post
    Author
  5. Post
    Author
  6. Post
    Author
    ObsidianX

    @Rob Dodson How does Polymer handle multiple behaviours that import functions or properties with the same name?  Does order matter when adding behaviours?

  7. Post
    Author
  8. Post
    Author
  9. Post
    Author
    Benjamin Potzmann

    Awesome! I love this video series!
    I almost wish you would release new videos about Polymer more often!

  10. Post
    Author
    robrez

    Very cool. I think this is probably the preferred approach for "global filters" from 0.5. Eg: {{MyFilters.fromBase64(myb64prop)}}

  11. Post
    Author
    Adam Beckett

    Web programming is hilarious. Give it new names and do the same OOP things like 30 years ago. You all are so hip.

  12. Post
    Author
  13. Post
    Author
    Steven Mattera

    Any easy way to give some awesome Polymer swag? (I'd pay for it if I had to) I've been using Polymer 1.0 for a project at work and have submitted a few pull requests to the iron-ajax element.

  14. Post
    Author
    Thiago Martins

    Hey guys, would be a lazy-page-loader kind of anti polymer pattern? (as vulcanizing concats the pages)

    I mean… Concatenating and minifying apps is good, but some times I feel like I should deliver pages to my users on demand

  15. Post
    Author
    Henry Lim

    @Rob Dodson why there is no something like "paper-collapse" in the paper-element? anyway, i know there is a "iron-collapse", but iron-element is not material design right? it will be awesome if there is a "paper-collapse"…
    #materialdesign   #everywhere

  16. Post
    Author
  17. Post
    Author
  18. Post
    Author
  19. Post
    Author
    Shunsuke

    This is great to make things much simpler.

    It looks like "inheritance" is an obsolete way to do abstraction both in Go and Polymer.

    As always I can't wait the next episode.

  20. Post
    Author
    HTTP Café

    if you make an webapp using Polymer, can you make it send push-notifications in Android/iOS to the user?

  21. Post
    Author
    HTTP Café

    Firebase rocks!! Firebase rocks very hard!! But my clients don't want their data on the servers of Google…. Is the technology Firebase uses available as (opensource) download? Or will that ever come available?

  22. Post
    Author
    Ümit Seren

    What is the best practice regarding private vs public functions for behaviors ?
    Should abstract functions be public (without the "_") so that they appear in the public API when viewing the element's docs ?

  23. Post
    Author
    HTTP Café

    I created my own app, using the Starterkit… Everythings works perfectly, but after the gulp-thing (where everything is being put in dist-folder) the thing doesn't work anymore. I get a blank screen and this error in the console: 

    Uncaught NotSupportedError: Failed to execute 'registerElement' on 'Document': Registration failed for type 'dom-module'. A type with that name is already registered.

    The problem is created by polymer-micro.html line 195:
    -> document.registerElement('dom-module', DomModule);

    Any Idea what to do now?

  24. Post
    Author
  25. Post
    Author
    Jesudas Lobo

    @Rob Dodson How can we make communication possible within polymer elements. Like call some method on a polymer element/s when some event occurs at other polymer element.

  26. Post
    Author
    HTTP Café

    How do you bind data between different elements?

    I created my on firebase-login-element but I don't know how this data is accessible outside of this element.

  27. Post
    Author
  28. Post
    Author
    Yves Kurz

    @Rob Dodson Is there somewhere a description on how to send events to children and children's children of custom elements?

  29. Post
    Author
  30. Post
    Author
    slamlospaul

    Behaviors feature looks great. Is there a way to receive scroll threshold events in Polymer 1.0 like <core-scroll-threshold>-Element from 0.5?

  31. Post
    Author
  32. Post
    Author
  33. Post
    Author
  34. Post
    Author
    Joseph Khan

    @Rob Dodson That was a great video. Thanks for the Polycast. I always found Behaviours a little difficult to understand when I started…

  35. Post
    Author
    Nicolas Jacob

    Hello Rob, thanks for this great (as always) Polycast.
    I have a small question not related to behavior:
    In the demo,  It seems that you are using livereload, but the Polymer starter kit use browser-sync. Any reason for that ? What would you recommand to use.
    Thanks.
    Nicolas

  36. Post
    Author
    Ryan Nigro

    Great video; behaviors are hugely useful.

    Do you guys have any plans to create a first-party autocomplete control? I've experimented with different solutions for one, but browser support for datalist is piecemeal at best, and I haven't found any great solutions in the open source community…

    Thanks!

  37. Post
    Author
    Tianxiang Zhang

    Hi Rob Is it possible to make some optimization in Google's search about Polymer? Cause for now, when I search "polymer …." , the top few results is highly possible still articles or official docs about Polymer 0.5, not Polymer 1.0.

  38. Post
    Author
    Pepe Blasco

    Hey rob, how can I set the Text in the paper-toolbar to be the same as the section I'm in? Thank you very much 🙂

  39. Post
    Author
  40. Post
    Author
    Mason Louchart

    Thank for this video, I'm waiting for the next on neon-animation. I hope there will explanations of the auto start of element's child animation. My question is, do you think make an episode on Lazy Loading ? For example, my app has two pages and I don't want to load the elements of the second page until I clicked the associated menu button.

  41. Post
    Author
    Eli Rubén Jaimes Ramos

    Hello Rob, thanks for this videos. I was wondering why is not a paper-select or paper-dropdown, I think select is one of the most used controls in html, actually I´m trying 1.0.6 and I it was the first control that I want to try.

    Regards, and thank you all the Polymer team

  42. Post
    Author
    Donald Swany

    I'm really liking Polymer and this series of videos about using it.

    I have a question about the local and light dom. I may not be thinking about this in the proper manner, but I'm curious if there are ways to modify specific elements as they are brought over from the light dom to the local dom, such as adding classes or attributes, or would it rather make sense to modify them in the light dom and have them reflect into the local dom?

  43. Post
    Author
  44. Post
    Author
    Iván Rodríguez

    I think behaviors are very useful to add extra capabilities to a web component. It seems a good replacement for primer web component inheritance using 'extends', however behaviors don't allow to redefine the HTML part of the component. ¿Will this be added to behaviors or we will have to wait until web component inheritance is ported to 1.0?

  45. Post
    Author
    Maria Le

    You are doing great work @Rob Dodson !
    Please do a Polycast on USER AUTHENTICATION!
    Especially using <firebase-auth> pleeeeeease!
    https://github.com/GoogleWebComponents/firebase-element/blob/master/demo/x-login.html

  46. Post
    Author
    Shunsuke

    @Rob Dodson  Quick question, you put script tags outside dom-module tags but on Polymer docs they're inside them. What's the difference?

  47. Post
    Author
  48. Post
    Author
  49. Post
    Author
  50. Post
    Author
    Viktor Futó

    Guys you're doing great job, I really like where you're leading web development and I believe in the future of Polymer as well as Material design.

    When I found out that inheritance is not longer supported, I was a bit disappointed by the fact, yet more curious I appeared to be, when I read that it will be supported again in the future release (https://www.polymer-project.org/1.0/docs/migration.html#inheritance).

    I would like to ask what would be major conceptual differences between Behaviours and Inheritance? As I'm thinking about it, it seems for me that concept of behaviours can solve anything that I can come up with right now. What are the cases where inheritance would be actually needed besides behaviours? Is the inheritance going to be just a tool of 'semantic organization' of elements or a second way of making element functionality modular?

    Cheers! Viktor

  51. Post
    Author
  52. Post
    Author
  53. Post
    Author
    Adriano Rodrigues

    Love the Q&A section, but can I suggest something? Rob you're awesome, but we just watched a big great lecture from you, the videos could be much more engaging if it didn't make it feel like there's very few people interested in this: me, you and the 16 people in the first comment page. It would be amazing to have more people on the videos, like sometimes one of the other people in the Polymer team to answer some Q&A, someone who developed this amazing thing using Polymer, or your grandma trying to use an application build with webcomponents.

  54. Post
    Author
    Subrata Sarkar

    I cannot make paper-radio-button to select one at a time. What I am doing wrong? I posted my question at Stack Overflow:
    http://stackoverflow.com/questions/33546195/polymer-1-paper-radio-group-isue.

  55. Post
    Author
    Tirthadeep Roy

    +Rob Dodson I have a behaivor which has a life-cycle callback "created" but it is called before the "created" method of the element using the behaivor. Could you please tell me where I am doing wrong

  56. Post
    Author
    Kristian Mandrup

    This is all well and good, but how do you extend/customise the UI of an element (create a new element, extending or slightly changing UI of existing element).
    I haven't seen any (or only very limited) solutions for that so far… (copy paste entire DOM!!)

  57. Post
    Author
    Kristian Mandrup

    For creating a new UI (customised) component leveraging/inheriting DOM of existing component/element, I'd suggest a pattern similar to https://github.com/ckirkendall/enfocus which includes an API to select and transform DOM nodes of a template to create a new template (DOM)

  58. Post
    Author
    John Lim

    so in Polymer 2.0, behaviors are gone and mixins are really inheritance behind the scenes. +Rob Dodson What are your thoughts on this or did I misunderstand how mixins work in Polymer 2.0?

  59. Post
    Author
    supriya kale

    Hi Rob, that was an awesome video. Being new to Polymer, wanted to know more about multiple inheritance, composition and idea of Mixin. Do you also have any video on it? please share if it is there.

  60. Post
    Author

Leave a Reply

Your email address will not be published. Required fields are marked *