Web Apps
54.2K views | +0 today
Web Apps
...JavaScript is awesome !
Your new post is loading...
Your new post is loading...
Scooped by Srdjan Strbanovic
February 20, 2014 7:01 PM
Scoop.it!

Ridiculously Responsive Social Sharing Buttons

Ridiculously Responsive Social Sharing Buttons | Web Apps | Scoop.it
It seemed like we were constantly making custom social sharing buttons for every single project, so we decided to create a super flexible system that would work in any container. SASS-powered, retina ready, and auto-magical resizing. A KNI Labs freebie.
No comment yet.
Scooped by Srdjan Strbanovic
February 19, 2014 3:44 PM
Scoop.it!

Web Animation at Work

Web Animation at Work | Web Apps | Scoop.it
We use HTML to tell stories and communicate vast amounts of information—and animation helps us do both better. Just as hierarchy guides users through content, animation guides them through interactions by helping them understand relationships, structure, cause, and effect. Rachel Nabors explains her fascination with CSS3 animations, Canvas, SVG, the web audio API, webGL, and all the rest, and explains why we need web animation—and web animators.
No comment yet.
Scooped by Srdjan Strbanovic
February 18, 2014 10:01 AM
Scoop.it!

Dug.js — A JSONP to HTML Script

Dug.js — A JSONP to HTML Script | Web Apps | Scoop.it
So you want to display your Dribbble shots, recent pins on Pinterest, 500px
or Instagram photos, Github commits, or recently listened to music on your
blog or site? Then this chunk of javascript is for you. It was designed to
be a lightweight, simple, library-independent script to pull in feeds of
content available on the web as JSONP (there's lots of em!) to display on
your site.

I wrote this script because I wanted a dead-simple way to show my dribbble
shots on my site. I wanted to be able to customize the markup with a custom
template and have the content client side cache. I wanted to do the same
with Pinterest inspiration that I was finding for illustrations that I
love. Instead of having dedicated scripts for every service, why not just
have one very small raw script (~200 lines) to do it all?

Dug.js Setup

Enough windbaggery, let me show you how to use it. Because Dug.js is on my
site, I can run the code in this blog post. Let's talk about that Dribbble
implementation first. So, I want to pull in my latest Dribbble shots.
Scanning the Dribbble api, I see that they do support JSONP and that you
can pull in all player shots with the following url:
http://api.dribbble.com/players/:id/shots

Rad! With Dug.js, we're nearly there. In it's simplest form, you really
only need two things.

1. An api endpoint (jsonp callbacks supported)
2. An HTML template to display the data

With that in mind, let's setup dug.js to pull dribbble shots from an
awesome illustrator's account:


dug({
endpoint: 'http://api.dribbble.com/players/justinmezzell/shots',
template: '{{#shots}}{{/shots}}'
});


If you're familiar with mustache or similar templating, the
{{#shots}}...{{/shots}} section apply the html within it over every shot,
in this case, emitting an image for each shot. Hint: you can also supply a
CSS selector to target a template script, and Dug.js will pull the content
from it.

That's a pretty simple example, but what if you want each shot linking to
it's detail page? Here ya go:


dug({
endpoint: 'http://api.dribbble.com/players/justinmezzell/shots',
template: '\
{{#shots}}\
\
\
\
\
\
{{/shots}}\
'
});


Here's an actual demo of the above code, running:

That's it! Pretty simple huh? Yeah, thats why I dig it too!

Dug.js Parameters

For those that are curious, here's a few parameters (as json name-value
pairs) that you can pass into dug to do some additional schnazzy things:

* target — the id of an existing DOM element to put the html results
in.
* cacheExpire — # of milliseconds to cache data on the client side
(using localstorage). 0 for no caching.
* callbackParam — the name of the query variable a JSONP service will
use for a callback function. Most services just use
'callback=functionName', but sometimes a service will use a different
query variable name.
* success — a function to call when JSONP data is successfully
retrieved.
* error — a function to call when JSONP data is not successfully
retrieved.
* beforeRender @param data — a function called before Dug.js renders
the template. Helpful for trimming/changing the data before it
renders.
* afterRender @param data — a function called after Dug.js renders the
template.
Download Dug.js

Dug.js is completely free! Although, if you're diggin' this script hard and
want to help fund my graphic tablet purchase (for art like Dug the dog
above. Yay!), feel free to donate.

Dug.js is for everyone!

Name your price! Any donations go toward funding my graphic tablet purchase
(for making more art like Dug). It also allows me to drink coffee or
microbrews so I can have the sanity to support Dug.js, but, if you're low
on the dough, enter a zero and off you go!

Download

Download Dug.js

License

Dug.js is 100% free under the WTFPL — no link backs or anything needed.
No comment yet.
Scooped by Srdjan Strbanovic
February 15, 2014 6:48 PM
Scoop.it!

Micro Libraries - YouTube

"Micro Libraries", a playlist created by Joe Maddalone
No comment yet.
Scooped by Srdjan Strbanovic
February 14, 2014 3:24 PM
Scoop.it!

localForage: Offline Storage, Improved

localForage: Offline Storage, Improved | Web Apps | Scoop.it
Web apps have had offline capabilities like saving large data sets and binary files for some time. You can even do things like cache MP3 ...
No comment yet.
Scooped by Srdjan Strbanovic
February 13, 2014 6:34 PM
Scoop.it!

Website Testing & Automation | Helium

Website Testing & Automation | Helium | Web Apps | Scoop.it
No comment yet.
Scooped by Srdjan Strbanovic
February 13, 2014 1:12 PM
Scoop.it!

sahat/hackathon-starter

sahat/hackathon-starter | Web Apps | Scoop.it
hackathon-starter - A boilerplate for Node.js web applications
No comment yet.
Scooped by Srdjan Strbanovic
February 13, 2014 9:47 AM
Scoop.it!

Create a super-duper-happy SPA web app using Durandal, Nancy, and Bootstrap

Create a super-duper-happy SPA web app using Durandal, Nancy, and Bootstrap | Web Apps | Scoop.it
I start looking at Durandal after attending Jason Clark’s DurandalJS and Twitter Bootstrap at Nashville .NET User Group. Durandal is a SPA framework that incorporated several popular JavaScript lib...
No comment yet.
Rescooped by Srdjan Strbanovic from JavaScript for Line of Business Applications
February 12, 2014 8:42 AM
Scoop.it!

JavaScript Promises ... In Wicked Detail

JavaScript Promises ... In Wicked Detail | Web Apps | Scoop.it

I’ve been using Promises in my JavaScript code for a while now. They can be a little brain bending at first. I now use them pretty effectively, but when it came down to it, I didn’t fully understand how they work. This article is my resolution to that. If you stick around until the end, you should understand Promises well too.


We will be incrementally creating a Promise implementation that by the end will mostly meet the Promise/A+ spec, and understand how promises meet the needs of asynchronous programming along the way. This article assumes you already have some familiarity with Promises. If you don’t, promisejs.org is a good site to checkout.


Why bother to understand Promises to this level of detail? Really understanding how something works can increase your ability to take advantage of it, and debug it more successfully when things go wrong. I was inspired to write this article when a coworker and I got stumped on a tricky Promise scenario. Had I known then what I know now, we wouldn’t have gotten stumped.


Via Jan Hesse
No comment yet.
Scooped by Srdjan Strbanovic
February 11, 2014 11:50 AM
Scoop.it!

InstantClick – JS lib to make your website instant

InstantClick makes following links in your website instant.
No comment yet.
Scooped by Srdjan Strbanovic
February 10, 2014 4:01 PM
Scoop.it!

How Browsers Work: Behind the scenes of modern web browsers - HTML5 Rocks

How Browsers Work: Behind the scenes of modern web browsers - HTML5 Rocks | Web Apps | Scoop.it
In this comprehensive primer, you will learn what happens in the browser between when you type google.com in the address bar until you see the Google page on the browser screen.
No comment yet.
Scooped by Srdjan Strbanovic
February 9, 2014 1:59 PM
Scoop.it!

Getting Started | Onsen UI

Onsen UI, HTML5 UI framework for modern mobile application.
No comment yet.
Scooped by Srdjan Strbanovic
February 20, 2014 5:53 PM
Scoop.it!

Bootstrap Tour

Bootstrap Tour | Web Apps | Scoop.it
Quick and easy way to build your product tours with Twitter Bootstrap Popovers.
No comment yet.
Scooped by Srdjan Strbanovic
February 20, 2014 9:35 AM
Scoop.it!

Random User Generator

Like Lorem Ipsum, but for people. RandomUser is an API that provides you with a randomly generated user. These users can be used as placeholders in web mockups, and will save you time from creating your own placeholder information.
No comment yet.
Scooped by Srdjan Strbanovic
February 19, 2014 9:29 AM
Scoop.it!

Tech Notes: React, JSX, and CoffeeScript

No comment yet.
Scooped by Srdjan Strbanovic
February 16, 2014 11:29 AM
Scoop.it!

michaelficarra/commonjs-everywhere

michaelficarra/commonjs-everywhere | Web Apps | Scoop.it
commonjs-everywhere - minimal CommonJS browser bundler with aliasing, extensibility, and source maps
No comment yet.
Scooped by Srdjan Strbanovic
February 14, 2014 9:56 AM
Scoop.it!

Introduction | Semantic UI

Semantic empowers designers and developers by creating a shared vocabulary for UI.
No comment yet.
Scooped by Srdjan Strbanovic
February 13, 2014 6:26 PM
Scoop.it!

Nightwatch.js

Nightwatch.js | Web Apps | Scoop.it
Browser automated testing done easy. Write efficient and straightforward End-to-End tests in Node.js which run against a Selenium server.
No comment yet.
Scooped by Srdjan Strbanovic
February 13, 2014 10:28 AM
Scoop.it!

Flight Mode - Introduction - LINQ to Fail

No comment yet.
Scooped by Srdjan Strbanovic
February 12, 2014 12:06 PM
Scoop.it!

Placeholdem // Placeholder Caret Animation

Placeholdem is a JavaScript plugin that animates placeholder carets on inputs and textareas. The placeholder value will incrementally delete on focus, and restore on blur.
No comment yet.
Scooped by Srdjan Strbanovic
February 11, 2014 4:46 PM
Scoop.it!

Torstein Bjørnstad: Building Third-party Widgets and APIs using JavaScript on Vimeo

When building a web page composed of different parts, the different parts can be combined at different stages of page rendering. Everything can either be loaded…
No comment yet.
Scooped by Srdjan Strbanovic
February 10, 2014 4:01 PM
Scoop.it!

Chrome Dev Tools: JavaScript and Performance - Tuts+ Code Tutorial

Chrome Dev Tools: JavaScript and Performance - Tuts+ Code Tutorial | Web Apps | Scoop.it
In this third part of our Chrome Developer Tools series, we'll review how to modify and debug JavaScript. Optimization is an important part of the development process, especially for performance-critical applications. We'll also discuss techniques for identifying potential bottlenecks in our code. | Difficulty: Beginner; Length: Medium; Tags: Tools & Tips, Web Dev, Chrome Dev-Tools
No comment yet.
Scooped by Srdjan Strbanovic
February 10, 2014 1:40 PM
Scoop.it!

basics of responsive design

basics of responsive design | Web Apps | Scoop.it
A simple responsive framework.
No comment yet.