Can someone provide me a default polymer template where i can see the structure of it.
I couldn't find a template which has all the features, which i could use for a static mobile app.
If you are looking for a basic scaffold (project structure) then there's a great video by Rob Dodson from polymer team.
PS: You need to know about YEOMAN
Related
I finished this review app tutorial where we used new theme app extensions to create app blocks for the dawn theme. The code for the extensions was built in liquid.
This may stem from a fundamental misunderstanding of how app blocks work, but could react be used to build the front end instead of liquid? For example, could this file which displays the average review rating be built with React? Thanks for any clarification!
The short answer is yes, of course you can inject your React into the theme using an App extension.
The problem is, you won't be offering any control of that to the merchant. Your React code does not play in the sandbox like Liquid does. So where some aspects of the Block are exposed to the merchant, which is a good thing, none of a React component would be.
If you want to play with React, Themes and Shopify, go with Hydrogen. If you want to stay inside the usual Shopify themes, like online store 2.0, you want to leverage the functionality of Liquid.
Anywho, I could wrong... have at er and see what happens.
I am just learning Umbraco and I have a basic template that has just one alias. What kind of controller should I code for it? Could you please give me an example to reach my alias from js frameworks?
Solution
I have used UmbracoCms.RestApi extension from NuGet and solved my problem.
You can use default endpoints to get properties that you have created in Umbraco Cms before with that extension. There is a video about that.
I want start using the framework foundation for sites but after reading the DOCS (http://foundation.zurb.com/sites/docs/installation.html) I got confused:
Why I should use a package manager to download a bunch of html, css and javascript file?
Or is there something else in the pile?
I'm working on windows and I know what are more or less html, css and javascript, but I'm new to frontend framework.
Thanks for your attention.
Download foundation first here complete-f6.zip. Then use foundation.min.css and foundation.min.js (of course include jquery.js) on your page and you're free to use whatever is in the foundation docs.
Since you're new, I would recommend using Yeti Launch. Yeti Launch allows you to create a Foundation 6 project with a Basic or Advanced template. The templates use a package manager with everything wired up for you.
With Yeti Launch you get the benefits of a build system (browser reloading, page templates, minification/concatenation, include only the components you use, autoprefixes, etc.) and you don't have to use the command line if you're not comfortable with it.
Is there any site or blog which has complete examples of polymer 1.0?? I am a starter. I need complete working examples of Layout out with navigation drawer.
Yes, there is a polymer starter kit available here :-
https://developers.google.com/web/tools/polymer-starter-kit/index?hl=en
This is a great reference project with examples of the drawer layout you are after as well as other useful things like theming, routing and offline capabilities.
The Official Site of the polymer catalog
https://elements.polymer-project.org/elements/paper-button?active=paper-button&view=demo:demo/index.html
Click on the right eye shape comes an example.
To view the source code, press the F12 key
https://elements.polymer-project.org/browse?package=paper-elements
Not sure what a "complete example" is, but here's one that uses polymer 1.0: http://element-party.xyz
There are two. Both are located on Github.
Polymer Starter Kit
Polymer Seed Element
Those are excellent starter examples and will get you up and running in no time.
I really appreciate Github's website look & feel and I would like to "clone" it on a admin tool I'm developing right now.
Does anyone knows if there's a Github Bootstrakp (just like Twitter bootstrap) or something similar? Perhaps a Github-like UI admin template ...
I found their Style Guide page (https://github.com/styleguide/) but wasn't able to get the css and javascript source codes.
Thanks a lot.
Github's ui is not open source as far as I know, however there is a FOSS clone called gitlabhq:
http://gitlabhq.com/
And the source is available on github:
https://github.com/gitlabhq/gitlabhq
There is https://github.com/primer/primer described as
CSS toolkit that powers GitHub's front-end design. It's purposefully limited to common components to provide our developers with the most flexibility, and to keep GitHub uniquely GitHubby. It's built with SCSS and available via NPM, so it's easy to include all or part of it within your own project.