Lateral Code
A Web Development Blog Focused on Code and Technology
Currently Browsing: Home » Posts tagged 'javascript' (Page 2)
Posts Tagged ‘javascript’
Easily Combine JavaScript Files With JMerge
By Karthik Viswanathan on Sunday, December 27th, 2009 | Tags: javascript, php | 15 Comments »
Looking back at the 2009 year, it is evident that JavaScript has played a big role in web design. Using libraries such as jQuery and MooTools, one can easily apply advanced effects with ease. Indeed, JavaScript is now present on almost every website.

With the rise of this new beast comes a few issues. The biggest libraries out there aren’t too small in terms of code size. Each one can add significantly to load time even when minified. Another problem resides with extra HTTP requests; each new file is accompanied by an extra request. Ultimately, this once again leads directly to a larger wait for users.
Screencast: Discover Search Suggest with the jQuery Autocomplete Plugin
By Karthik Viswanathan on Saturday, October 10th, 2009 | Tags: javascript | 2 Comments »
Have you ever wondered how to implement a search suggest feature on your website? Contrary to popular belief, this is actually a very simple task.
In the following 5 minute (yes, it only takes 5 minutes) screencast, we present a way to discover search suggest with the jQuery Autocomplete Plugin.
Object Oriented Programming in Javascript
By Patrick Lin on Saturday, September 5th, 2009 | Tags: javascript | 7 Comments »
Object-Oriented Programming is currently one of the most prominent aspects of programming. Many programming courses teach OOP, and PHP5 supports proper OOP. While Javascript as a language is not inherently well-suited for full fledged OOP, it is possible to make it work.
Here is a basic primer in using OOP in Javascript.

Methods vs Objects
In Javascript, both general methods and objects are defined using the function keyword. For example, the method and the object definitions below are both denoted by function.
Learning jQuery 1.3 Review
By Karthik Viswanathan on Tuesday, August 18th, 2009 | Tags: javascript | 3 Comments »
A few weeks ago, the Packt Publishing team generously sent me a copy of Learning jQuery 1.3, one of their premiere tutorial books, to review here on Lateral Code.
While reading this jQuery publication, I was very surprised by the comprehensiveness provided by the authors. Many books regarding systematic subjects often require a baseline knowledge to convey their information appropriately. Learning jQuery 1.3 presents a solution for both complete beginners and experienced users. It covers simple jQuery topics – including the DOM, selectors, and basic functions – while still giving advanced users the viable alternative to move to later chapters. In fact, the book’s sections are based completely on a building process: Rather than covering topics that have little to no relevance in each chapter, Learning jQuery 1.3 smoothly transitions into new subjects, giving the reader an efficient way to learn and develop.
Effects with jQuery 1.3
By Karthik Viswanathan on Sunday, July 12th, 2009 | Tags: javascript | No Comments »
This Chapter has been extracted from Packt’s latest book “Learning jQuery 1.3”:
With jQuery, we can easily add impact to our actions through a set of simple visual effects, and even craft our own, more sophisticated animations. jQuery effects certainly add flair, as is evident when we see elements gradually slide into view instead of appearing all at once. However, they can also provide important usability enhancements that help orient the user when there is some change on a page (especially common in AJAX applications). In this chapter, readers will explore a number of these effects and combine them in interesting ways.
To read more kindly visit http://www.packtpub.com/files/learning-jquery-1-3-sample-chapter-4-effects.pdf.
