JavaScript

The New Face of JQuery {5}

by Monica G
With the world of technology constantly changing around us, it has become somewhat of a norm for updates to occur regularly. So it is only suitable that almost a year ago, JQuery made a new addition to its family tree, JQuery version 1.6. This new version was created to speed up the “JavaScript- rendered websites.” Some of these revisions are the way JQuery handles HTML attributes, creating a clear distinction between the attributes on HTML tags and the properties document object model (DOM). Instead of mixing the two together inside a method, two new methods were made to help directly manipulate properties, “.prop (), and .removeProp ().” Another method that was re-touched was the .data () method, in order to be able to handle events like when the user clicks on a link. Also JQuery would now be able to have one single timing schedule for multiple animations at the same time. These are just some of the changes that the development team did, so we now can enjoy better overall performance. read more...

DART: JavaScript Killer? {2}

by Shahravi
For this week’s blog, I decided to talk about the article which talks about new object oriented programming language called, “DART”. Google release this new programming language last October. Google hopes this new programming language would replace JavaScript as main web programming language. They talk about why Google felt need to develop new web programming language. According to Google, JavaScript has some scalability and organizational issues. According to Google engineers, JavaScript has “fundamental flaws that cannot be fixed by merely evolving.” Google engineers developed DART, which is object oriented language, “designed to be used for both quickly cobbling together small projects, as well as for developing larger-scale Web applications.” read more...

Into The World of JavaScript {Comments Off on Into The World of JavaScript}

by Cole O’C
This week I found a very helpful article on CNN Tech that helped introduce new JavaScript users to the programming language. The article described the very basic aspects of JavaScript, such as its dot syntax, properties, method calling, and so on. The author adds in some extra details for those that are unfamiliar with HTML, which is rather nice for your aspiring, but unfortunately unknowledgeable person. The example does not show the reader how to do anything more than the simple, typical, “Hello world” program that is taught first for virtually every programming language. Still, it introduces some good concepts, and could be a good foundation for someone seeking knowledge. read more...

A new Update for FireFox and suddenly Javascript is running faster. {3}

by Salvador A
The latest release of Firefox’s web browser Firefox 9, has come and is making big improvements. Most notably is the increased speed of JavaScript execution. From the article they estimated it had gone up by about 16 to 36%, from previous Firefox 8. This increase in speed might not seem like a lot but when you are dealing with milliseconds to keep the users attention, it makes all the difference. Other not so noticeable changes where critical bugs. The major ones cause memory leaks, that according to the Firefox team could have been used to compromise the browser and run bad code. Aside from this major bug clean up they also upgraded security to Firefox 2010’s browser. On the Mac side of things they implemented  a new feature that allows Mac users to use to fingers  and motion left or right to tab between websites that have been previously visited. And in an overall change they also wrote another contract that allowed Firefox to use Google as its default web browser, after paying  a fee that is. read more...

The Rise Of JavaScript {5}

by Yeimy F
 The journal I read this week is about how Javascript was not considered an important scripting language and how it has become crucial for Web developers and Web applications after the emergence of Web 2.0 which has brought sophisticated user interfaces and client-side browser functionality. Scripting languages like Shell, Tcl/Tk and JavaScript share common characteristics that provide users with the benefit of “flexible syntax, loose type systems, powerful reflexion mechanisms, and shorter build cycles”; however, they are used for different tasks. For instance, Unix uses Shell scripting for complex tasks, Tcl/Tk is a popular scripting to develop GUI-based applications, and JavaScript is used for implementing client-side functionality on Web apps. “In a survey on the most popular programming languages, JavaScript made it to the top 10 ” and now browser are developing technology to speed up the process of scripting execution because Web apps are replacing the computers’ desktop applications and users tend to have many Web apps running at the same time on different tabs. “The major browser vendors are working on new JavaScript engines – for example, Google’s V8 and Mozilla’s TraceMonkey – designed for fast execution using techniques such as just-in-time (JIT) compilation” read more...

Javascript injection {4}

by Caezar M
Summary:

This Journal is about ways to detect malicious code in javascript. as of the time of the writing of this article there had been little success in determining if maicious code had been injected into your server. it is very difficult to differentiate between good and bad code. the authors of this journal have come up with a method that is successful in detecting malicious code. this is achieved by inserting comment statements at the beginning and end of legitimate blocks of code accompanied by identical random tokens. by testing response pages for blocks of un commented code they are able to remove attacker code. also if response pages do have comments they are scanned for the random tokens and any tokens present that are not valid are id’d as attacker code and removed. the drawback the authors ran into was that this approach made it very difficult to inject legitimate code because of the filtering system. the authors had good results and plan to make automated tools to handle the tasks. read more...

Advantages of ASP.NET MVC {Comments Off on Advantages of ASP.NET MVC}

by Tuyen H

In the article “Which ASP.NET is Better,” Dino Esposito introduces many advantages of new ASP.NET was created by Microsoft in 2007-2008 called ASP.NET Model View Control (MVC). ASP.NET MVC allows web developers build their web system separate data, business, logic, and presentation layer to the users. Therefore, using this ASP.NET framework, the developers can keep business logic out of the presentation layer. Moreover, the framework has a lot of new features such as total control over HTML and offers cleaner interaction with inline JavaScript. According to the author, “By offering control over HTML and interaction with inline JavaScript, ASP.NET MVC overcomes one of the best selling points of ASP.NET Web Forms when it was introduced a decade ago: Web Forms shielded developers from the nitty-gritty details of HTML.” Furthermore, ASP.NET MVC uses interface based contracts which allow developers easily test on the components by using isolation components. As a result, ASP.NET MVC produces cleaner and more testable code. In this article Dino Esposito also compare between two options of ASP.NET, “the old faithful ASP.NET Web Forms and the young gun, ASP.NET MVC framework.” Finally, the author recommends companies to adapt the ASP.NET MVC as soon as Web Forms is no longer serving. read more...

Google’s Easter Egg Unleashed! {Comments Off on Google’s Easter Egg Unleashed!}

by ChihWei H

This article is a collection of secret “function”’ within Google’s search engine and services. “Do a barrel roll”, one of the latest Google’s stunt became one of the leading technology new during the weekend. If you type in the phase in a Google search, the whole page will actually rotates (Only in Firefox and Chrome I believe). The phrase came from popular Nintendo game, “StarFox”, which refer to a 360 degree rotation of fighter jet. Search for “z or r twice” will result in the same thing. There are quite a few other trick to try out in the article too, including Google gravity, Google map jet ski advice and more. read more...

It’s About Time to Take JavaScript (More) Seriously {Comments Off on It’s About Time to Take JavaScript (More) Seriously}

by Marco M
“JavaScript”

The rise of Web 2.0 has brought with it ever more sophisticated user interfaces and client-side browser functionality. As a result, JavaScript has become a crucial tool for both browser vendors and Web app developers. Although, JavaScript is usually done by programmers, there is an increase of very sophisticated tools that are generating client-site JavaScript, such as Google Web Toolkit. As an added bonus, GWT tries to mitigate browser incompatibilities, this being a major issue for web apps; other applications supporting JavaScript include Adobe products, read more...

Beyond Bond and Holmes {1}

by James C
Summary:

Working in partnership with the FBI, Scotland Yard had arrested two men charged with cybercrime. The two were thought to be members of Anonymous and LulzSec, hacktivist groups. The cybercrime arrests included charges of performing and/or engaging in denial-of-service attacks and computer intrusion. The arrests came about from a trace of packets that led authorities to the source of the sender. The flaw of the intruder’s tool Low Orbit Ion Cannon, LOIC, has led the hacktivist group to create a new tool for intrusion called RefRef. This new tool is built on the JavaScript scripting language. It is designed to utilize the resources of the target destination by first penetrating its system and exploiting a known vulnerability through SQL injection. This type of intrusion has already been used as a personal vendetta towards the popular Wikileaks website. read more...