Building The Next SoundCloud - SoundCloud Backstage SoundCloud Backstage This article is also available in Serbo-Croatian: Pravljenje novog SoundCloud. The front-end team at SoundCloud has been building upon our experiences with the HTML5 widget to make the recently-released Next SoundCloud beta as solid as possible. Part of any learning also includes sharing your experiences, so here we outline the front-end architecture of the new site. Building a single-page application One of the core features of Next SoundCloud is continuous playback, which allows users to start listening to a sound and continue exploring without ever breaking the experience. Since this really encourages lots of navigation around the site, we also wanted to make that as fast and smooth as possible. As a basis for this style of application, we have used the massively popular Backbone.js. For rendering the views on the front end, we use the Handlebars templating system. Modular code During local development, we convert to AMD modules on-the-fly and use RequireJS to load them individually.
medialize/jQuery-contextMenu 10 Social Networks for Developers Though the stereotipical developer might be a socially awkward geek, developers are among the most active users of social networks. They usually prefer sites that are community-driven and focus on quality content. Social networks are a great place for developers to learn from colleages, contact clients, find solution to problems and resources, and improve their own skills.In this post we compiled 10 of the most used and useful social networks for developers. There are other lots of other great ones out there, so feel free to share your favorites in the comment section. HTML5 Rocks HTML5 Rocks is an open source project from Google. Bettercodes is an open source community for developers to share their ideas and turn them into code that works.
How to Create a CSS3 Wheel Menu There's no better way to learn CSS3 than to get your hands dirty on an actual project and that's exactly what we're going to do. I'm going to teach you how to create an awesome, layered CSS3 wheel menu using a few beginner to advanced CSS techniques. So break out your favorite text editor or IDE and let's get started on some CSS3 magic! Today you'll be learning how to create the candy cane teardrop out of the many different styles and color variations available. Note: Support for IE is limited at the moment. The Video Tutorial We're offering this tutorial in two different formats today: A video as well as a full written tutorial below. The Written Tutorial The step by step written tutorial is below. Step 1: The Layers The first thing we want to do is create some layers that will overlap each other and stay in place while using as little code as possible. The Code: As you can see the code is pretty straight-forward. Now we'll want to add some styling to each layer one by one. #menu-wrap:
Hide your header on scroll - Headroom.js Downloads Note: the sizes shown are after gzipping. What's it all about? Headroom.js is a lightweight, high-performance JS widget (with no dependencies!) that allows you to react to the user's scroll. The header on this site is a living example, it slides out of view when scrolling down and slides back in when scrolling up. Why use it? Fixed headers are a popular approach for keeping the primary navigation in close proximity to the user. Large screens are usually landscape-oriented, meaning less vertical than horizontal space. Headroom.js allows you to bring elements into view when appropriate, and give focus to your content the rest of the time. How does it work? At it's most basic headroom.js simply adds and removes CSS classes from an element in response to a scroll event: Relying on CSS classes affords headroom.js incredible flexibility. Usage Using headroom.js is really simple. With plain JS Include the headroom.js script in your page, and then: With jQuery/Zepto $("#header").headroom();
sydcanem/bootstrap-contextmenu