New Toronto Group

JavaScript

Meteor: The Angular Way - New Toronto Group

Introduction to Spacebars Template Tags Meteor JS

| February 13th, 2015 by Ronak Nagda

Spacebars templates include HTML tags mixed with template tags- which are written within double curly braces {{ }}. Let’s look at a quick example below to see what a Spacebars Template looks like and to understand the different types of Spacebars template tags.   The above example illustrates a basic HTML page in Meteor. It typically consists of a Head section, a Body section and a Template section.…

Read more »

Posted in Spacebars, Meteor, JavaScript Framework | 0 Comments

Angular 2.0 Preview - New Toronto Group

Angular 2.0 Preview

| February 13th, 2015 by Alain Thibodeau

Check out the video. 

Read more »

Posted in AngularJS, Angular 2.0, JavaScript Framework | 0 Comments

NTG Seminar: Responsive Design for Developers - New Toronto Group

NTG Seminar: Responsive Design for Developers

| August 21th, 2014 by Ed Van Beilen

The above quote was written in 2012 by Jeffrey Veen, VP Products, Adobe, Co-Founder Typekit.  Even more so in 2014, we are seeing the trend towards mobile continue to accelerate. We are also seeing the number of browsers and devices we need to support continue to grow. Our clients are asking for HTML5 applications to run cross platform and cross device. How do we efficiently build web sites and web…

Read more »

Posted in Responsive Design, HTML5, JavaScript, CSS, mobile apps | 0 Comments

NTG Seminar: Responsive Design for Developers - New Toronto Group

Node.js Training From New Toronto Group

| August 08th, 2014 by Ed Van Beilen

In this course, students will quickly be guided through the initial installation process and will create a functioning HTTP server in a matter of minutes. After creating their first Node.js application, students will be introduced to the following topics: installing the Express framework using NPM, routing, events, socket.io, persistent data using SQL and no-SQL data stores, and much, much more. This…

Read more »

Posted in Node.js, JavaScript | 0 Comments

Building Your App: What You Need To Know Before You Start - New Toronto Group

Playing Sounds in All Browsers on All Platforms

| May 28th, 2014 by Default Admin User

That said, it's fairly straight forward to give the user a way to play a song, but to trigger a sound from JavaScript on all desktop and mobile browsers is not simple -- until now. Different browsers support different ways to play audio, each browser also supports different audio encoding formats. This is the most concise way I've discovered to play a sound on all popular browsers and platforms. The…

Read more »

Posted in audio, HTML5, JavaScript | 0 Comments

Building Your App: What You Need To Know Before You Start - New Toronto Group

Are You Ready for the Next Gold Rush?

| April 11th, 2014 by Default Admin User

Well I guess the IoT has been around for a while, but THE POINT IS: It’s come-of-age, is prime-time, the real-deal.  Nine billion devices out there! 100 billion by 2020! Software companies,  IBM, Microsoft, Blackberry, et al;  and hardware companies Intel, ARM, et al;  and the open source world have all announced they’re in the game.  And one billion dollars of venture capitalist investment last year…

Read more »

Posted in ioT, javascript, Node.js, .NET | 0 Comments

Meteor: The Angular Way - New Toronto Group

Safari Browser Crash while using WebSocket

| March 26th, 2014 by Ronak Nagda

Recently, I was pulling out my hair facing a dilemma wherein the WebSocket connection was lost on an inactive Safari tab while using an iPad. First impression was a bug caused by Socket.IO. Upon investigation, I found that this was not the case, as every web socket connection was crashing and there was no way to detect this. Issue: Upon deeper analysis, I gathered the following information: The…

Read more »

Posted in apple, javascript, Safari, Socket.io, Loading... | 0 Comments

Angular 2.0 Preview - New Toronto Group

AnguarJS and the console

| December 17th, 2013 by Alain Thibodeau

Here are some examples that you can directly type in the console. Using any variation of query selectors CSS classes:var elem = angular.element(document.querySelector('.my-class'));elem.scope().myProperty = true;elem.scope().$apply();Finding first ng-controller:var elem = angular.element(document.querySelector('[ng-controller]'));elem.scope().myProperty = true;elem.scope().$apply();Templates: If…

Read more »

Posted in AngularJS, javascript | 0 Comments

AngularJS Custom orderBy Function - New Toronto Group

AngularJS Custom orderBy Function

| November 13th, 2013 by Chad Upton

AngularJS makes it very easy to sort and filter basic data, but the AngularJS documentation is a bit light when it comes to creating a custom orderBy function for sorting.Lets say you're building the next great fantasy football league and you want to display a list of players and sort those players by their win percentage. The database contains the wins and losses, but you want to sort by the percentage.…

Read more »

Posted in AngularJS, Chad Upton, custom, filter, function, javascript, orderBy, sort | 0 Comments

Angular 2.0 Preview - New Toronto Group

AngularJS - $route.reload()

| September 20th, 2013 by Alain Thibodeau

By Alain Thibodeau - ConsultantRoutes are an integral part of AngularJS. Taking a look at the $route's documentation we will notice that route has a reload method. Taking a closer look at this method reveals that the current route and therefore its controller will be refreshed.This feature can be very useful. Let's say the route's controller has services that are called when the controller is instantiated…

Read more »

Posted in AngularJS, HTML5, javascript | 0 Comments