background preloader

DailyJS: A JavaScript Blog

DailyJS: A JavaScript Blog
Related:  Node JSWeb, Programming and Techandresvillalobos2dpitt

impress Impressive totalitarian style Multipurpose Application Server for node.js. All decisions are made. Solutions are scaled. Tools are provided and optimized for high load. The main difference from others that Impress core is monolithic and its approach is to make all in one solution with high code coupling for obligatory things and leave not obligatory to be integrated by applied developers optionally. Installation $ npm install impress Features Configuration Install module using "npm install impress" in new directory. Handler examples and file system url mapping Example Following "server.js" is stating file. require('impress'); impress.server.on("start", function() { }); impress.server.start(); File "access.js" is something line ".htaccess", you can easily define access restrictions for each folder, placing "access.js" in it. File "request.js": place such file in folder to be executed on each request (GET, POST, PUT, etc.). <! Contributors Timur Shemsedinov (marcusaurelius)See github License

Storm Documentation This page lists the main concepts of Storm and links to resources where you can find more information. The concepts discussed are: Topologies Streams Spouts Bolts Stream groupings Reliability Tasks Workers Topologies The logic for a realtime application is packaged into a Storm topology. A Storm topology is analogous to a MapReduce job. Resources: TopologyBuilder: use this class to construct topologies in Java Running topologies on a production cluster Local mode: Read this to learn how to develop and test topologies in local mode. Streams The stream is the core abstraction in Storm. Every stream is given an id when declared. Tuple: streams are composed of tuples OutputFieldsDeclarer: used to declare streams and their schemas Serialization: Information about Storm’s dynamic typing of tuples and declaring custom serializations ISerialization: custom serializers must implement this interface CONFIG.TOPOLOGY_SERIALIZATIONS: custom serializers can be registered using this configuration Spouts

google/nogotofail howler.js - Modern Web Audio Javascript Library - GoldFire Studios Browsers have come a long way over the years, and we are now able to achieve amazing results using all of the great new technologies often referred to as HTML5. However, generally speaking, audio still sucks. Thankfully, Google decided to create Web Audio API and make all our lives easier. We were presented with this very question while developing our new HTML5 game and set out to find a library that provided the functionality we needed, without all of the bloat, while still supporting the majority of browsers. Features Defaults to Web Audio API Falls back to HTML5 Audio Supports multiple file formats to support all browsers Automatic caching for Web Audio API Implements cache pool for HTML5 Audio Per-sound and global mute/unmute and volume control Playback of multiple sounds at the same time Easy sound sprite definition and playback Fade in/out sounds Methods can be chained Uses no outside libraries, just pure Javascript Lightweight, 9kb filesize (3kb gzipped) Documentation Examples

Face detection using HTML5, javascript, webrtc, websockets, Jetty and OpenCV Through HTML5 and the corresponding standards, modern browsers get more standarized features with every release. Most people have heard of websockets that allows you to easily setup a two way communication channel with a server, but one of the specifications that hasn't been getting much coverage is the webrtc specificiation. With the webrtc specification it will become easier to create pure HTML/Javascript real-time video/audio related applications where you can access a user's microphone or webcam and share this data with other peers on the internet. For instance you can create video conferencing software that doesn't require a plugin, create a baby monitor using your mobile phone or more easily facilitate webcasts. Update: in the newest versions of the webrtc spec we can also access the microphone! As with a lot of HTML5 related specification, the webrtc one isn't quite finished yet, and support amongst browsers is minimal. For this we need to take the following steps:

Modules · joyent/node Wiki This page is deprecated. Feel free to add to it, but be advised that it is, at best, a faded relic of Node modules that were written before npm was a dominant force in the Node.js ecosystem. It is not all that useful any more. If you are a newcomer, it can be handy to at least get a starting point. However, note that there are many tens of thousands of modules in the npm registry, and only just under 2,000 modules here. So, this list is long enough to be intimidating, but still only captures a tiny sliver of the Node.js modules you can use with your program. Search for modules with, node-modules, node-toolbox and nipster. The archaic contents of this once-useful page now follow. Adding to this page When you add a framework to this page, have a look at how others have done so, it should be a single item, with a link to the project's source code, and a short description (one line after formatting has been applied). Table of contents Modules Web frameworks Routers Static file servers

How to keep up with the Javascript Landscape Trends | Orizen Designs – Oren Farhi – Javascript Blog, Backbone Blog, HTML5, CSS3 Often, friends ask me how I keep up with all the news and trends in the javascript world. They wonder about the extensive knowledge, answers and information I have about web development today, and specifically – front end web development. Well, It’s not a secret – there is a certain path you can follow along and be point of reference by yourself. Resources The first step is to get the news and trends from reliable, external resources. Social Networks Besides, I use social networks to follow such websites or syndications from various interesting sources. Practicals Althought it’s a lot of information to grasp, it’s not enough just to be aware of it. Timing I know it’s a lot. The main point is for one to realize is to keep up with follow the flow – be familiar with the trending various solutions out there, how to find it and how to get it.

The Best Plugins for Sublime Text Good day, everyone! I tried to collect the best ST plugins, which really allows to improve your workflow. I searched many sites and here's what I did. WebInspector Amazing tool for debagging JavaScript, the full-fledged inspector of a code for Sublime. Emmet One of the most popular plugins for editors. Video with the best techniques from the author of the project: Git The essence of this plugin is clear from the name - the opportunity to work with Git directly in your favorite editor. If from Git you only need a opportunity of take content from remote repositories, then I recomend a Nettuts+ Fetch. There is Glue, that displays at the bottom the small window, where you can write on the Shell. GitGutter & Modific These plugins highlights the rows changed by the last commit, in other words diff tools in real-time. EditorConfig helps developers define and maintain consistent coding styles between different editors and IDEs. Sublimall AllAutocomplete SublimeREPL DocBlockr Floobits AutoFileName PlainTasks

D3.js - Data-Driven Documents Q&A: Why io.js decided to fork Node.js Node.js devotees who are dissatisfied with Joyent's control over the project are now backing their own fork of the server-side JavaScript variant, called io.js or iojs. To get the lowdown on what and who was behind this move, InfoWorld Editor at Large Paul Krill on Wednesday asked Mikeal Rogers, who has been involved with the fork and is director of evangelism at cloud hosting service vendor DigitalOcean, about the effort. InfoWorld: Are you the person in charge of the fork? Rogers: Not even close. Indutny (listed as a Node.js code team member)Trevor Norris (also a Node.js core team member)Isaac Schlueter (cited as a Node.js core team alumni)Ben Noordhuis (also an alumni)Bert Belder (another alumni and a Node.js maintainer) Rod Vagg (Node.js supporter) also participates in the calls as he is creating and managing the build system. InfoWorld: Why did this fork happen? InfoWorld: What goals do you have for io.js? Rogers: Well, the first and most obvious goal is to get a release out.

Полезные инструменты, туториалы и ресурсы Созданый Райаном Далем в 2009 году, Node.js — относительно новая технология, завоевавшая в последнее время большую популярность среди веб-разработчиков. Однако, до сих пор не каждый знает, что на самом деле Node.js это серверная JavaScript среда, использующая асинхронную событийную модель. Что это означает? Все просто: это среда, которая предназначена для написания масштабируемых, высокопроизводительных приложений. И это еще не все: то, что действительно круто в Node.js — это тысячи модулей, доступных для любых целей, а также активниешее сообщество этого молодого проекта. Полезные инструменты Node.js Node Express Boilerplate Node Express Boilerplate позволяет начать проект с чистого листа, но при этом сразу же обеспечивает решение всех тех рутинных задач, которые зачастую могут сорвать проект еще до того, как он начат. Socket.IO Mastering Node Ваша инфраструктура имеет сотни логов, распределенных по десяткам машин? Formaline LDAPjs Node Supervisor Stylus: Расширеный CSS для Node.js Jade

5 Ways that CSS and JavaScript Interact That You May Not Know About CSS and JavaScript: the lines seemingly get blurred by each browser release. They have always done a very different job but in the end they are both front-end technologies so they need do need to work closely. We have our .js files and our .css, but that doesn't mean that CSS and JS can't interact more closely than the basic JavaScript frameworks will allow. Here are five ways that JavaScript and CSS work together that you may not know about! Get Pseudo-Element Properties with JavaScript We know that we can get basic CSS style values for an element with the style property, but what about pseudo-element properties? var color = window.getComputedStyle( document.querySelector('.element'), ':before').getPropertyValue('color'); var content = window.getComputedStyle( document.querySelector('.element'), ':before').getPropertyValue('content'); You can see how I access the content property value in my blog post about Device State Detection. classList API Add and Remove Rules Directly to Stylesheets

Related:  front endlpitteloudnicolaschenet