background preloader

Grunt: a task-based command line build tool for JavaScript projects

https://gruntjs.com/

minimatch A minimal matching utility. This is the matching library used internally by npm. Eventually, it will replace the C binding in node-glob. It works by converting glob expressions into JavaScript RegExp objects. WebGL Lesson 1 – A triangle and a square << Lesson 0Lesson 2 >> Welcome to my first WebGL tutorial! This first lesson is based on number 2 in the NeHe OpenGL tutorials, which are a popular way of learning 3D graphics for game development. It shows you how to draw a triangle and a square in a web page.

Speed Up Your Web Development Workflow with Grunt In a series of tutorials, I’m going to help you get started with Grunt, an open source JavaScript task runner that will automate some of your web development tasks. This nifty JavaScript library will notably speed up and improve your web development processes, and also help you sidestep common human errors. My intention with this Grunt tutorial series is to get you to experience the same productivity and efficiency improvements I’ve gained through this useful, but little-known open source JavaScript tool. Here’s the outline of this three-part Grunt tutorial series: Speed Up Your Web Development Workflow with Grunt: We’ll cover basic information about Grunt; what Grunt is, how to install Grunt, how to use Grunt in your web projects, and a brief overview of gruntplugins.Create a test project using modern front-end development techniques (will be posted on a later date)Using Grunt and Jasmine to automate testing and enforce code quality (will be posted on a later date)

Crossfilter Fast Multidimensional Filtering for Coordinated Views Crossfilter is a JavaScript library for exploring large multivariate datasets in the browser. Crossfilter supports extremely fast (<30ms) interaction with coordinated views, even with datasets containing a million or more records; we built it to power analytics for Square Register, allowing merchants to slice and dice their payment history fluidly. JavaScript Code Smells In the past I've given presentations, recorded videos, and written blog posts about fixing common JavaScript and jQuery bugs. This is a good skill to have, but what about working code? Fixing broken code is important, but have you ever gotten into the situation where your code works, but it doesn't feel quite right... maybe even smells? "A code smell is a surface indication that usually corresponds to a deeper problem in the system" --CodeSmell by Martin Fowler As we grow as developers we strive to write more maintainable code, but on our journey we often times don't know what that looks like yet. Your JavaScript may pass stardard JSHint rules, but that doesn't mean it's legit.

Jeroen Reijn: Real-time visitor analysis with Couchbase, Elasticsearch and Kibana At Hippo we recently started using Couchbase as the storage solution for our targeting/relevance module. Couchbase is a really high performant NoSQL database, which since version 2.0 can be used as a (JSON) document database. Couchbase is really fast when it comes to simple CRUD operations, but does lack some search capabilities like Geo-spatial search (still 'experimental' mode) and free text search, which you might find in other document oriented NoSQL databases like MongoDB. However the lack of these search capabilities can be overcome quite easily by combining Couchbase with Elasticsearch by using the Couchbase-Elasticsearch transport plugin. The plugin uses the Couchbase built-in cross data center replication mechanism (XDCR), which can be used for replicating data between Couchbase clusters. It sort of makes Elasticsearch act just like another Couchbase cluster.

Algorithm and Blues In recent months there have been a proliferation of frontend tools that aid in transforming the raw, well organized source that developers prefer to work with into the highly optimized packages of code and assets that actually get delivered to users' browsers. Of these tools, there are a few that have risen above the rest. At Rdio, we've used one-off, hand-spun scripts to build our frontend for years. I decided we needed to fix this recently and dove into finding some build tool that could make our builds consistent and fast. I wanted something blessed by the frontend community as there is a bit of code we're looking to open source in the coming months, but after several failed attempts I became convinced that all the frontend specific build tools are less mature and less flexible than tools that have existed for decades. I reached for trusty old make, and now I don't know why I started with anything else.

declare Declare is a library designed to allow writing object oriented code the same way in both the browser and node.js. Installation npm install declare.js Or download the source (minified) Requirejs

Related:  Technos