TechHui

Hawaiʻi's Technology Community

All Blog Posts Tagged 'javascript' (7)

Sequencing computations in Javascript

Sequencing computations in Javascript

Given any sequence of simple assignment statements concluded by a return statement, we can view the whole sequence

as a function that executes the first statement,

and then executes and returns a function that contains the rest of the statements.

For example, this sequence of two statements, which results in 6,



x = 3;

2*x;

=>

6

can be re-written as:



(function(x){

return…
Continue

Added by Leo D on March 20, 2014 at 2:00am — 1 Comment

Knockout.js

The front-end framework of choice for MVC 4 web applications seems to be Knockout.js.  It's fairly robust and easy to add/remove from projects via NuGet and provides an MVVM feel much like Silverlight or WPF.

Think of a label control used in WPF.  Using data bindings, you tell the label to display certain text.  If the object representing the text displayed is updated, WPF kindly…

Continue

Added by Timothy Little on May 28, 2013 at 3:37pm — 1 Comment

Javascript Testing with Mocha and Chai

It has been more than 6 months since I launched RedeemHi5.com, which I wrote about in one of my first blog posts. The launch hasn't been perfect; the most major issue is that the connection to the database gets lost and it doesn't reconnect, thus leaving people with a loading screen. The first thing to do, of course, is to fix it. In addition, though, I wanted to add tests to document these issues and maintain some peace of mind as I…

Continue

Added by George Lee on April 10, 2013 at 3:13pm — 2 Comments

Multithreading is no longer cool

A long time ago, during the time of green screen computers, if a network server wanted to process a request from a client, it would have to wait for the I/O (Input/Output) process on the incoming data packets to complete and then process the data before accepting another request from a client.  What if it took 1 second to complete a single request and there were 60 clients simultaneously sending requests?  If I remember…

Continue

Added by Daniel Nishimura on March 31, 2011 at 1:00am — 9 Comments

Thinking outside of the Flash Embed: An Introduction to Javascript for Designers

It's a no brainer. To become a better web designer you must understand your medium and the tools people use to create content for it. Unfortunately in today's post-Flash web those tools are becoming increasingly more difficult for designers to embrace. No longer can designers fall back on Flash's pretty GUI to fly objects around the screen and create awesome two minute site intros. If you want to be today's next gen designer then you will need to learn to program with Javascript. There's…

Continue

Added by Gus Higuera on March 10, 2011 at 10:00am — 8 Comments

jsdo.it HTML5 Inspiration

Along with everyone else who's moved onto HTML5, I've spent significant time looking at the possibilities of the next generation of HTML. 

 

One frustration that I ran into was seeing the state of web storage being in transition with the W3C taking webSQL off its spec and moving to indexedDB.  That itself if fine but the problem is that indexDB isn't fully supported by any browser vendor at the…

Continue

Added by Scott Murphy on February 17, 2011 at 8:45am — 4 Comments

An Overview of Google Web Toolkit (GWT)

Aloha TechHuians! If you have been hearing about

GWT lately, but don't have the time to get into it, maybe this post sheds some light on more notable features that GWT offers, so you can make an educated decision about picking the right web technology for your next project. Google Web Toolkit is a Google product that aims to ease the pain of…
Continue

Added by Konstantin A Lukin on September 12, 2009 at 11:00am — 10 Comments

Monthly Archives

2024

2021

2020

2018

2017

2016

2015

2014

2013

2012

2011

2010

2009

2008

2007

1972

Sponsors

web design, web development, localization

© 2024   Created by Daniel Leuck.   Powered by

Badges  |  Report an Issue  |  Terms of Service