RSS

Category Archives: html

Packt’s $5 eBonanza returns

Packt

Following the success of last year’s festive offer, Packt Publishing will be celebrating the holiday

season with an even bigger $5 offer.

From Thursday 18th December, every eBook and video will be available on the publisher’s

website for just $5. Customers are invited to purchase as many as they like before the offer ends

on Tuesday January 6th, making it the perfect opportunity to try something new or to take your

skills to the next level as 2015 begins.

With all $5 products available in a range of formats and DRM-free, customers will find great

value content delivered exactly how they want it across Packt’s website this Xmas and New

Year.

Find out more at – http://bit.ly/1wlsbea

Advertisements
 
Leave a comment

Posted by on December 29, 2014 in ebook, html, personal, review

 

Tags: , , , ,

Three.js Essentials Book Review

Three.js Essentials Book Review

Have you ever wanted to create 3D animations on the web, here is the book for you.

Threejs Essentials

Threejs Essentials

The first few chapters explain the overview of setting up your environment and working on a Scene. Three.js is very powerful and can render output in WebGL, Canvas, or SVG format. Three.js is JavaScript powered you can be up and running in no time once you have included the Three.js library you can get from Github.com

Three.js Essentials Screen

For those not familiar with 3D a Scene, this is where all the objects you setup will be rendered to and a Camera Object will be used to represent where the viewer is in 3D space. The book goes over many 3D rendering concepts such as lighting,materials,and particle effects. Anyone familiar with these concepts from game development in 3D such as Unreal or Unity should have no trouble picking the concepts outlined in this book.

Three.js Screen 3

This eBook is a excellent reference on the Three.js library for anyone wanting to move from flash to html animation or work on browser enabled games.

You can check out this book here:

https://www.packtpub.com/web-development/threejs-essentials

Three.js Essentials

 
1 Comment

Posted by on August 8, 2014 in ebook, html, javascript, personal, review, web

 

jQuery 2.0 Development Cookbook

Though I have reviewed many software and hardware tools in the past this will be my first book review:

jQuery 2.0 Development Cookbook

jQuery 2.0 Development Cookbook

jQuery 2.0 Development Cookbook

First I must say really liked the examples that are used throughout the book. They are well documented and intended with an easy to follow style for learning jQuery.

The first few chapters provide a great introduction to jQuery. Concepts such as traversing the Document Object Model and handling basic DOM events such as click and hover are expertly explained. The later chapters of the book cover sections on jQuery UI, jQuery Mobile and making jQuery Plugins by extending the platform.

Chapter 8 is a great guide to on extending jQuery to create plugins. One of which I have started on my own site as a jQuery plugin toolkit for small effects.

For my job I use a lot of dialog overlays and progress bars that utilize jQuery UI and found the sections describing this (Ch 9) to be very useful.

All in all I have to say this is one the best books I have read for jQuery development and recommend this to new users and those who may have come from other JavaScript libraries (YUI, Sencha, Dojo, Prototype) to ramp up their jQuery skills.

You can check out this book here: http://www.packtpub.com/jquery-2-development-cookbook/book

jQuery 2.0 Development Cookbook 

Author: Leon Revill

Leon Revill  has over five years’ commercial web development experience with PHP5 and MySQL technologies on large and small projects. His development skillset extends over many JavaScript technologies, such as jQuery, AngularJS, and NodeJS. Being an all-round tech enthusiast, some of Leon’s spare time is spent working on personal projects to allow him get to grips with new technologies quickly. Leon runs a web development blog ( http://www.revillweb.com/), where he shares his knowledge in the form of articles and tutorials.

 

 

 
Leave a comment

Posted by on March 19, 2014 in html, javascript, personal, Uncategorized, web

 

Tags: , , , , , , , , , ,

Version 1.9 of Facebook Quick Share Released

Version 1.9 of Facebook Quick Share is now available on the Chrome Web Store : https://chrome.google.com/webstore/detail/facebook-quick-share/gccankbfoldbmopamiokjlnnafnoiadd

Facebook Quick Share will allow you to quickly share/like any site to your Facebook wall. Great for sites without Facebook integration. This release corrects the sharing issues with the Chrome Web Store V2 Manifest as well as context menu (right click menu) sharing. Please report any issues.
Facebook Quick Share Chrome Web Plugin

Facebook Quick Share Chrome Web Plugin

 
 

Why JavaScript is the future of programming

This explains it all 🙂

 
2 Comments

Posted by on January 26, 2013 in html, javascript, personal, web

 

Tags: , , ,

Moving from Amazon Cloud Player to Google Music

Today I thought I would try transfering the songs I have on Amazon over to Google Music. The main reason I am doing this is I ordered the new Google Nexus 7 Tablet and want to give the Google Music player a good try on its home platform.

To get all your music from Amazon, log into the Amazon Cloud Player, select the songs you want and then click Download.

amazon cloud player download

amazon cloud player download

The Amazon MP3 Downloader (install from here) will start up and begin to download your music. If your on Windows, the music will automatically get added to Windows Media Player.

Then head over to Google Music which will give you the option of uploading file by file or installing their Google Music Manager (also available for Mac and Linux), which can be setup to automatically move files from a folder or Windows Media Player to the Cloud.

Google Music Manager

Google Music Manager

Note the song being transfered above is from a game called Bastion. It is available on the Google Chrome Web Store, PC, Xbox 360 and the Mac App Store.

Well there you have it, if you have any issues transferring your music or links to moving music from another cloud service post in the comment. NOTE: Moving music to Google Cloud will take longer to upload because the music will have to be matched and categorized similar to iTunes match.


YouTube Video for Bastion: If you have not played this game try it out.

 
Leave a comment

Posted by on July 7, 2012 in amazon, android, html, music, web

 

Tags: , , , ,

Reading a CSV File line by line

Ever needed to read a CSV file? Typically you can accomplish this in Java(and similar languages) by creating a instance of CSVStreamReader and using the readAll() method to read in the file.Though this may read the full file it causes a heavier IO load on the file system.

Here is a method to read a CSV file line by line that is less IO intensive.

function readCsvLine( reader : CSVStreamReader ) {
     var line : Array = reader.readNext();
     if ( line != null ) {
        for ( var i : Number = 0; i < line.length; i++ )  {
            if ( line[ i ].search( /^”\d+”$/ ) == 0 ) {
                line[ i ] = line[ i ].substr( 1, line[ i ].length-2 );
            }
     }
  }
  return line;
}
Now you can test your reader Implementation by using the follow below. NOTE: this is a hybrid Java and the syntax may be a little different if your using standard J2SE/J2EE etc..
while ( ( fieldValues = readCsvLine(reader)) != null) {
     //process line data here
}
Since we are using the readNext() method to read each line rather than using the read() the IO reads are processed in short bursts during each iteration rather than one lone continuous IO stream waiting for all the data to read. In situation where you are dealing with large amount of data this is a very safe way to ensure IO does not bottleneck.
 
Leave a comment

Posted by on June 9, 2012 in html, javascript, web