alchaplinsky / polymer-rails

Polymer and web components for Ruby on Rails
MIT License
286 stars 80 forks source link

Add an example of a "Hello world" Rails app with some basic layout and components #1

Closed donv closed 10 years ago

donv commented 10 years ago

Hi!

I have completed the tasks in the README, but I have no idea where to go from here.

Adding a basic example to the README, or add a link to an example would be great.

Perhaps create a GitHub repository with an example app?

alchaplinsky commented 10 years ago

Nice idea. Will create demo on heroku and push source to github.

alchaplinsky commented 10 years ago

Take a look at https://github.com/alchapone/polymer-rails-example

donv commented 10 years ago

Hi @alchapone !

I checked out the example app and tried it and it looks good. :) Thanks!

Could you add a section to the README.md on how you went about to generate the component?

I have just started looking at polymer, and I come from frameworks like Bootstrap which contain lots of out-of-the-box components like panels and tabs. Does polymer have similar built-in components? If so, could you add an example of how to use them with polymer-rails?

I can open a new issue for this if required.

alchaplinsky commented 10 years ago

Polymer is just a library that allows you to create Web Components, and provides polyfils for browser that don't yet support web components technologies. And polymer-rails gem includes only this library. However Polymer team is working on set of core element which you can learn more about here http://www.polymer-project.org/docs/elements/core-elements.html Also you can check out http://customelements.io/ or http://component.kitchen/ to see what components are already built by community.

donv commented 10 years ago

@alchapone thanks!

I think this is useful information that could be included in the README.