SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    Grüße aus'm Pott gold trophysilver trophybronze trophy
    Pullo's Avatar
    Join Date
    Jun 2007
    Location
    Germany
    Posts
    5,997
    Mentioned
    219 Post(s)
    Tagged
    12 Thread(s)

    This Week in JavaScript - 30 December 2013

    Your weekly update of interesting happenings in the world of JavaScript - feel free to discuss, and help to bring some new ideas to light.

    Are you ready for the New Year? Well, here's some reading for between the parties

    Learn something

    An Introduction To DOM Events - click, touch, load, drag, change, input, error, resize — to name a few.
    JavaScript Closure Uses - I - written by @myty ;
    Create A Simple HTML5 Video Playlist - courtesy of Dudley Storey
    Animating Vectors with SVG - Thanks @DaveMaxwell ;

    Libraries

    zepto.js - a minimalist JavaScript library for modern browsers with a (mostly) jQuery-compatible API
    Generate your own custom build of Zepto - because sometimes minimal just isn't enough
    jQuery Deconstructed - Navigate the physical jQuery code to see what, where, and how the magic happens
    The missing cdn for javascript and css - I ran across this this week. Very useful!

    Dev Tools

    Using watches in my devtools workflow - a bite-sized screencast
    Chrome DevTools for Mobile: Screencast and Emulation - how cool?
    jQuery Audit - a Chrome Developer Tools extension for debugging auditing jQuery
    An Introduction to Source Maps - map code within a compressed file back to it’s original position in a source file

    Fun stuff and Plugins

    Test your maths - Not strictly JavaScript, but fun nonetheless.
    Just a simple christmas tree, based on redit story - Happy Holidays!
    Headroom.js - Give your pages some headroom. Hide your header until you need it.
    Adaptive Backgrounds - A jQuery plugin for extracting dominant colors from images and applying it to its parent



    So, what you think about these recent happenings in JavaScript?

    What have you learned the most about from this weeks articles?

    Please PM us if you have anything of interest for the next issue, and happy reading! - Paul & Pullo

  2. #2
    Non-Member
    Join Date
    Feb 2012
    Posts
    892
    Mentioned
    10 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Pullo View Post
    jQuery Deconstructed - Navigate the physical jQuery code to see what, where, and how the magic happens
    Nice one. In the same category, underscore.js Annotated Source: http://underscorejs.org/docs/underscore.html

    Über-cool stuff in Dev Tools.

  3. #3
    Grüße aus'm Pott gold trophysilver trophybronze trophy
    Pullo's Avatar
    Join Date
    Jun 2007
    Location
    Germany
    Posts
    5,997
    Mentioned
    219 Post(s)
    Tagged
    12 Thread(s)
    Quote Originally Posted by myty View Post
    In the same category, underscore.js Annotated Source: http://underscorejs.org/docs/underscore.html
    I keep meaning to try out underscore.js, but haven't yet had the occasion.
    Do you use this in any of your projects?
    Is there anything it's particularly recommended for?

    Quote Originally Posted by myty View Post
    Über-cool stuff in Dev Tools.
    Man, I am constantly being amazed at what the Dev Tools can do.

    I found a real gem the other day in console.table.
    I'm sure you knew about it already, but for anyone else who doesn't here's how it works: https://developers.google.com/chrome...#console-table

    Also, for anyone wanting to get to grips with the Dev Tools, I recommend this as a very good starting point: http://discover-devtools.codeschool.com/

  4. #4
    Non-Member
    Join Date
    Feb 2012
    Posts
    892
    Mentioned
    10 Post(s)
    Tagged
    0 Thread(s)
    Yes I did. But now I've moved over to lodash, it offers AMD, underscorejs still doesn't (while jQuery does). But underscorejs was a breath of fresh air, the first time I saw it, it just clicked.

    What I recommend lodash is for AMD support and functional approach to tedious tasks. I'm thrilled to be able to express myself in a functional manner, and to only include the parts I'm using in a library, and to not have to reinvent the wheel over and over. Take memoization, for example: http://devdocs.io/lodash/index#memoize. Or take for example array operations: http://devdocs.io/lodash/index#union.

  5. #5
    Grüße aus'm Pott gold trophysilver trophybronze trophy
    Pullo's Avatar
    Join Date
    Jun 2007
    Location
    Germany
    Posts
    5,997
    Mentioned
    219 Post(s)
    Tagged
    12 Thread(s)
    Ok, thanks.
    While I don't have so much call to use memoization, array operations are more of a day to day task so I'll bear it in mind for that.
    That could prove a useful starting point.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •