Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate Chrome interface requirements #5

Closed
nejdaw opened this issue Oct 16, 2015 · 7 comments
Closed

Investigate Chrome interface requirements #5

nejdaw opened this issue Oct 16, 2015 · 7 comments
Assignees
Milestone

Comments

@nejdaw
Copy link
Contributor

nejdaw commented Oct 16, 2015

We need to understand:

  • what are the requirements for the Chrome plugins in terms of language / libraries used
  • how should the plugin be build and delivered
@nejdaw nejdaw added this to the 1.0 milestone Oct 16, 2015
@nejdaw nejdaw added ready and removed ready labels Oct 16, 2015
@balawama balawama self-assigned this Oct 19, 2015
@balawama
Copy link
Contributor

Supported languages / libraries

JavaScript and everything based on it.
I've found scala.js based extension (http://github.com/lucidd/scala-js-chrome) but there seem to be no usages of it

@balawama
Copy link
Contributor

Plugin delivery (dev)

@nejdaw
Copy link
Contributor Author

nejdaw commented Oct 20, 2015

@balawama the scala.js extension looks nice, although I imagine we wouldn't need mappings for every function call in API, so we could implement the bindings ourselves instead of using this extension. One important thing that was noted in known issues is that scala.js compiles everything to one JS file, whereas usually you need several small JS files for separate functions. I don't know if that would be an issue for us.

Supported languages / libraries
I have heard that some people are using Babel - which compiles ECMAScript6 (2015) to ECMAScript 5 (2009). So we could write in the newest JS version without worrying for browser support.

@balawama
Copy link
Contributor

What technologies are used to write extensions for Chrome?

Extensions are written using the same standard web technologies that developers use to create websites. HTML is used as a content markup language, CSS is used for styling, and JavaScript for scripting. Because Chrome supports HTML5 and CSS3, developers can use the latest open web technologies such as canvas and CSS animations in their extensions. Extensions also have access to several JavaScript APIs that help perform functions like JSON encoding and interacting with the browser.

@balawama
Copy link
Contributor

So it looks like that we can use any js-based library.
Do we need to learn anything more in context of this task?

@balawama
Copy link
Contributor

btw nice faq available here:
https://developer.chrome.com/apps/faq

@nejdaw
Copy link
Contributor Author

nejdaw commented Oct 21, 2015

I think that you can close this task. We know all we need. Now we can work on #6 and everyone can make their proposals regarding technology stack.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants