I recently talked about (JavaScript) MVC (not JavaScriptMVC framework itself) in detail at work. If some of you are really interested about the Architectural Design Pattern then MVC is the way to go to separate the web application into multiple parts. In the past MVC has been heavily used for structuring desktop and server-side applications, [...]
READ MORE »Facebook Like, YouTube Video Feed and AJAX using jQuery
Initially thought of just to write a small article on Facebook XFBML Like Widget but when I started writing with the demo part then realize that other things also needs explanation so now divided into 3 parts and would try to explain them individually. This article is going to cover following topics with the final [...]
READ MORE »iPhone 4 will be available in India soon!
The first iPhone was launched in June of 2007. The second iPhone 3G, launched in July 2008. And now Apple iPhone 4G is available in the market from June 24th 2010 in Europe and US.
iPhone 4 is going to be launched in India in coming September. The gadget has been very successful in western markets and is selling like a hot cake. Indian gadget freaks are desperately waiting for the gadget to arrive in the country.
Though there were several issues reported to Apple but there is no confirmation from Apple site yet.
The Apple iPhone 4 features FaceTime, which supports video calling, and Apple’s new Retina 960×640 pixels display, the highest resolution display ever built into a phone, according to the company, multitasking. In addition, HD video recording, Apple’s A4 processor, a 3-axis gyro and up to 40% longer talk time – in an all-new design of glass and stainless steel. Apple added that the new iPhone is the thinnest smartphone in the world, at 9.3 millimeters. The iPhone 4 features the new LG LCD Display technology called In-Plane Switching technology (IPS) for enhanced viewing experience.
iPhone 4 operates its functionality on iOS4, the latest software developed by Apple for its mobiles. The software enables the device to run more than one program simultaneously.
The cost of this new device in western markets is set at $199 and $299 for 16GB and 32GB respectively. For Indian users, the 16GB version of the device is expected to cost around Rs. 35,500 while the 32GB version will be priced at around Rs. 40,000.
Vodafone already announced that it is all set to bring the iPhone 4 to the Indian market in the coming months.
READ MORE »Just updated to WordPress 2.8.4 from 2.6
Just updated to WordPress 2.8.4 from 2.6
READ MORE »Build your first jQuery plugin
First and far most, we should say thanks to John Resig and his team to make our life so easier then before by making jQuery, most demanding and powerful JavaScript framework and it’s expanding phenomenally that gives the proof of dominancy of jQuery framework.
So why do I need to extend jQuery?
Here we go; no library is full filling all the requirements so does jQuery, so there should be some mechanism to add sets of useful methods called as plugins for your specific requirement, which we can say in the basic terminology calling your external methods into your structure but it doesn’t give you the power of leverage existing code base.
Let’s say, by creating a new jQuery commands, we automatically inherit the use of powerful selector mechanism and can use all the jQuery methods and indeed it’s a good practice to make reusable code.
There is a pretty good documentation and guidelines available on jQuery Plugins/Authoring page.
Let’s start making our first jQuery plugin; we call our plugin as “disable”, we make our plugin to disable the form elements and then we will extend our default options using $.extend utility method to enable the required once.
We will follow the guidelines as provided on jQuery.com so we will save our plugin as jquery.disable.js
[sourcecode language='js']
// plugin definition
$.fn.disable = function() {
// plugin implementation code goes here.
};
[/sourcecode]
FLOCK – Another browser in the market!
Flock is a social networking browser based on Mozilla Firefox; flock was founded in 2005 based in Redwood City, CA. Flock is an open source company. Flock is available for Windows, Linux, and Mac OSX in 12 languages, looks impressive on the first instance. Flock 2.0 beta has been released on June 16, 2008, based [...]
READ MORE »Who is better TypePad or WordPress?
After investigating for 15 days, need to get the better blogging platform for our client who wins lastly? Guess guys! Professionally TypePad, due to the client demand because they are not willing to spend money creating new infrastructure like setting up Apache/MySQL for WordPress on their environment. TypePad doesn’t need all that, they host on [...]
READ MORE »Google Chrome: the Google Browser
Google Chrome: the Google Browser Google announced today that they will release their own browser tomorrow, code named Google Chrome. Beta version will be launched tomorrow morning only, initially available only for Windows. Google Chrome is open source and based on WebKit, which is the same engine used by Safari and Adobe AIR. This is [...]
READ MORE »JavaScript outside the browser
http://javascript.weblogsinc.com/2006/08/06/javascript-outside-of-the-browser/ After reading the above article, questions comes in mind, why JavaScript outside the browser? So let’s go through on some points which strongly recommend the future of “the world’s most misunderstood programming language”. 1. JavaScript will be treated as a significant programming language in the upcoming days 2. JavaScript speed and performance, of course [...]
READ MORE »Show Love to the Object Literal | Core JavaScript 1.5 Guide:Literals
Defining an object is via literal notation. Supported in JavaScript1.2 and above, it’s a more robust form of creating an object on the fly. Neat and clean approach to write reusable, readable and maintainable JavaScript code. Show Love to the Object Literal: http://ajaxian.com/archives/show-love-to-the-object-literal Object literals beauty lies in Namespaces, which reduces the number of global [...]
READ MORE »