JSFoo 2014

JavaScript as the centerpiece of a complex web stack

In 2011, Node.js put JavaScript firmly in the backend, making JavaScript developers productive at both ends of the stack, and making it possible for business logic to finally be moved into JavaScript.

In 2012, AngularJS made us think about moving business logic completely into the client-side as an actually sensible idea. Meteor give that idea two thumbs up.

In 2013, we went wild thinking of all the possibilities. JavaScript phones! Robots!

In 2014, it’s time for some sobering up. The backends we built over a decade in Ruby and Python aren’t going away. New languages like Go and Hack are tantalising us with new possibilities. Our applications are increasingly distributed, often involving third party APIs. In such a scenario, where does your business logic reside?

In 2014, JavaScript is no longer a toothless child or a rebellious teenager that wants to do everything itself. JSFoo 2014 is about working with JavaScript as the centerpiece of a complex web stack.


This year’s edition spans four days, with two days of workshops and two days of conference. All days feature a single track. We invite proposals for:

  • Full-length 40 minute talks
  • A crisp 15-minute presentation
  • Sponsored sessions, 40 minute duration
  • Flash talks of 5 minutes duration. Submissions for flash talks will be accepted during the event
  • Three hour workshops where everybody gets their laptop out and follows along

Criteria to submit

You must be a practising web developer or designer, and must be able to show how your own work has advanced the state of the web in the past year. You are expected to present original work that your peers — this event’s audience — recognise as being notable enough to deserve a stage.

If you are excited about someone’s work and believe it deserves wider recognition, we recommend you contact them and ask them to submit a proposal.

Selection Process

Voting is open to attendees who have purchased event tickets. If there is a proposal you find notable, please vote for it and leave a comment to initiate discussions. Your vote will be reflected immediately, but will be counted towards selections only if you purchase a ticket.

Proposers must submit presentation drafts as part of the selection process to ensure that the talk is in line with the original proposal, and to help the editorial panel build a strong line-up for the event.

There is only one speaker per session. Entry is free for selected speakers. HasGeek will cover your travel to and accommodation in Bangalore from anywhere in the world for speakers delivering full sessions (30 minutes or longer). As our budget is limited, we will prefer speakers from locations closer home, but will do our best to cover for anyone exceptional. If you are able to raise support for your trip, we will count that as speaker travel sponsorship.

If your proposal is not accepted, you can buy a ticket at the same rate as was available on the day you proposed. We’ll send you a code.

Commitment to Open Source

HasGeek believes in open source as the binding force of our community. If you are describing a codebase for developers to work with, we’d like it to be available under a permissive open source license. If your software is commercially licensed or available under a combination of commercial and restrictive open source licenses (such as the various forms of the GPL), please consider picking up a sponsorship. We recognize that there are valid reasons for commercial licensing, but ask that you support us in return for giving you an audience. Your session will be marked on the schedule as a sponsored session.

Hosted by

JSFoo is a forum for discussing UI engineering; fullstack development; web applications engineering, performance, security and design; accessibility; and latest developments in #JavaScript. Follow JSFoo on Twitter more


Using javascript to access Camera functions

Submitted Jun 13, 2014

Using javascript to access Camera functions

This topic shows you the simplest way to capture a photo or video from your embedded or attached camera, by using the JS. This project will launche a full-screen dialog that presents a camera UI, and enables you to capture a photo or video with as little as one method call.

Objective: Capture a photo or video from a webcam.


simple description

  1. Open Visual Studio

Open an instance of Visual Studio.
2. Create a new project

In the New Project dialog box, choose a blank application from the JavaScript project types.
3. Insert the app JavaScript and HTML

Open your file Default.html and copy the following HTML into this file (replacing its original contents).

courtesy : msdn
but this is the best description i can give

<!DOCTYPE html>
<!-- WinJS references -->
<link rel=“stylesheet” href=“/winjs/css/ui-dark.css” />
<script src=“/winjs/js/base.js”></script>
<script src=“/winjs/js/wwaapp.js”></script>
<!-- WinWebApp1 references -->
<link rel=“stylesheet” href=“/css/default.css” />

<script type = “text/javascript” >

// Takes a photo using the default JPEG format.
function takepicture() {
var captureUI = new Windows.Media.Capture.CameraCaptureUI();
captureUI.captureFileAsync(Windows.Media.Capture.CameraCaptureUIMode.photo).then(function (capturedItem) {
if (capturedItem) {
document.getElementById(“message”).innerHTML = “User captured a photo.”
else {
document.getElementById(“message”).innerHTML = “User didn’t capture a photo.”
<input type=“button” onclick=“takepicture()” value=“Take a Picture” /><br />
<span id=“message”></span>

Speaker bio

I am Vigneshwer Dhinakaran presently studying 3rd year in ECE at rajagiri college, ernakulam and also a founder of a startup company altroid. To be short and sweet I am an Innovative Engineer with an artistic perception of technology. I hold sun certified certificates on core java and J2EE .Have developed around 6 apps in various platforms ,and created around 10 websites. I have been as speaker and participant in various paper presentation competitons ,IEEE conferences ,pitching session at startup village and have taken workshops in web and app development for Rset ieee club .I am a active mozillian from mozilla kerala and have been involved in various mozilla activities & project contributions.

detailed session presentation will be drafted if selected.


{{ gettext('Login to leave a comment') }}

{{ gettext('Post a comment…') }}
{{ gettext('New comment') }}
{{ formTitle }}

{{ errorMsg }}

{{ gettext('No comments posted yet') }}

Hosted by

JSFoo is a forum for discussing UI engineering; fullstack development; web applications engineering, performance, security and design; accessibility; and latest developments in #JavaScript. Follow JSFoo on Twitter more