Monday, April 30, 2012

Web 2.0


What is web 2.0? No, it is not a new version of the internet, but more so, the evolution of what the internet has become. The way the web has evolved is not by means of technical software update, but advancement in the way software engineers and users use the web.  This new revolution of the web allows for a better world for information sharing, collaboration, user-centered design, and interoperability. In web 1.0, users were limited to only viewing of the content and not much more, but with web 2.0, the internet has become more of an interactive experience and a social media in and of itself.


Some differences in Web 1.0 vs. Web 2.0

Characteristic of Web 2.0

The whole point of web 2.0 is to make the web a more collaborative experience for both the creators of websites and the users of those websites. This is the shift towards the web as a platform, and allowing more features through the browser. Instead of the creator providing all the data, the users are able to provide some of the data and be a part of what has been created. The openness is one of the more essential features of web 2.0. However, the freedom made available by web 2.0 allows for “useless” users to contribute as well, for example, trollers and spammers. But the contribution of rational users seem to outweigh the negatives produced by the “useless” users, and provide such an innovative world for people to be a part of.

Breakdown of Web 2.0

Web 2.0 is easily explained as 3 separate parts: 1) Rich Internet Application 2) Web-Oriented Architecture 3) Social Web.

A rich internet application is essentially a web application that is comparable to a desktop application. Often times, rich internet applications use other features, such as extensive use of JavaScript or Adobe Flash, to bring about a better experience.

Web-Oriented Architecture is a way how applications expose their functionality, so other applications may use the same functionality to provide much better applications.

The social web represents the interaction between the application and the user itself, and the idea of social web is to try and integrate the user more so as an integral part of web 2.0.


There are many other features that make up Web 2.0. They are made into an acronym SLATES (Search, Links, Authoring, Tags, Extensions, Signals). Each of these provides an important aspect to Web 2.0, and forms the basic framework of it.


Web 2.0 in the Web

There are certain features that allow the user to also become a contributor.  Some of these features are podcasting, blogging, social networking, and tagging. Through these tools, the emergence of Web 2.0 took place. There are many applications which took on the “2.0” term (Library 2.0, Publishing 2.0, Telco 2.0, etc.).  The use of Web 2.0 in general allows for a better experience for all involved, and allows for better marketability to the users. The chat feature on GMAIL and Facebook allows users to communicate with other users, and that allows for easier marketability and more users are willing to use their services.





Movement into Web 3.0?

There have been arguments about what Web 3.0 really is? Some have said that it will focus more about the computer itself. It will not be the user generating the content, but the computer generating it for you. In theory, Web 3.0 will generate search engines that will be geared towards the users and instead of the users typing.

The future of computing is a very vast and unknown field and who knows what will truly come of it. It seems as though computers will become more advanced, and may become able to think on their own. If that is the case, lets hope a terminator situation doesn’t happen and the world is taken over by robots.



Changes in web Development on the Programmer's End

            With the rapidly changing trends and expectations of the web pages and applications, web programmers are also expected to change their practices and tool kits accordingly. Here, I would like to examine some of the many transitions that web has went through and consequent changes that web programmers are facing.

Going mobile

The biggest difference in web-related development from few years ago and now is the emergence of mobile devices with the Internet access and the demand for the mobile-exclusive applications.
Taking a look at the dynamics of the mobile market, smartphone with a mobile computing platform was first born as a mixture of PDA and existing mobile phone. The first lineup of the phones with web browsing functionality includes Symbian, Palm, Windows phone, and Blackberry from the late 1990s and the early 2000s. The rapid expansion of application market occurred when iPhone from iPhone and Android backed by Google in 2007 and 2008, respectively. The first application store was Apple’s App Store, which was launched in July 2008, and its success resulted in subsequent emergence of application markets from each of the Operating System (OS) manufacturers. 

Sales Figures of smartphones – from Wikipedia(Smartphone)


            As can be seen in the table above, the total number of smartphones in the market is increasing. Half of the American mobile users are now on smartphones, and it is expected that more than 70% of the population will own smartphones by the next year (Smartphone). There are also lighter laptops, netbooks, and tablets that enable mobile networking, which adds to the importance in developing light and fast but fully-functional webpages and web applications.
            With this shift in web browsing, programmers are now expected to design such webpages, or create a different view or exclusive application for the mobile devices. Specifically, objective C is used for iOS devices, and Android library in JAVA and XML is used for Android devices. This led to the two different venues of web programming – solely web-based and mobile-based.
Also, this trend allowed programmers to work on their own projects instead of client work. For example, Android is open source, meaning that all the code constituting the system is open to the public, and it allows a huge degree of freedom to the developers to roll out application. For iOS, Developer Program can be purchased for $99 per year, which is not so expensive for the impact that one application can have on the users. There are several success stories of small application companies or even one-man start-ups that developed famous mobile applications on the mobile market.

Interactive and dynamic contents

            These days, one of the keys of the successful website and web application is the interactive and dynamic layouts. Especially with the mobile application discussed above and Apple’s success in the market, consumers’ expectation of graphical representation has gone up. Even the regular webpages are now expected to have so-called “mobile-look” – simple, light, and with swift animations. Also, with the prevailing social networking over the web, interactive content that can be modified by several people at the same time became important.
            Such changes demanded web programmers to learn several new technologies that enable interactive and dynamic pages. One of the most mentioned language for dynamically animated pages is jQuery, which is a JavaScript library that simplifies the client-side web programming. It includes interactive UI libraries such as draggable, droppable, sortable, selectable, resizable objects. It also allows the programmers to easily create accordion, date picker, progress bar, slider, and many more without having to invent the wheel (jQuery Documentation). One of the many examples of using jQuery is shown below, which enables the zoom functionality that can be seen in many of the online shopping mall.

 Zoom function made with jQuery – from Mind-Projects

            AJAX is another technology that is mentioned in interactive pages. It is an acronym for “Asynchronous JavaScript and XML,” and just as its name, it is a combination of JavaScript and XML technology that enables asynchronous interactions. Ajax is not a whole new technology but a term coined for the group of all the technologies that allowed such interactive materials. This includes not only HTML/XHTML and CSS but also Document Object Model (DOM) and XMLHttpRequest objects. Especially XMLHttpRequest object allows the asynchronous interaction on the webpages. AJAX is used in virtually all the social networking websites and applications, including Facebook. In other words, the Facebook status that seems to be updated at the same time no matter how many people try to comment on it is in fact refreshed with the new data in order, just in a very fast speed.

            Summing up, the changes in web dynamics and technologies are only accelerating. As the general population is becoming more tech-savvy, the expectation to the web pages and applications is also increasing. Consequently, web programmers are now expected to promptly learn the new trends and technologies that will lead to the appealing products.



Resources
jQuery Documentation (http://docs.jquery.com/Main_Page)
SmartPhone (Wikipedia) (http://en.wikipedia.org/wiki/Smartphone)
Technology Advancement Brought a Big Change in Web Development (http://ezinearticles.com/?Technology-Advancement-Brought-a-Big-Change-in-Web-Development&id=4881260)

The Mobile Internet



Overview

From dialing a number to surfing the web, communication through a mobile device has grown tremendously in the last decade. Along with the growth of mobile devices comes the rise of the mobile web. Communication in society today depends upon the use of smart phones. Anyone has the ability to have instant access to the Internet through a hand-held device that fits right in your pocket, regardless of location.

Where It First Began

The Internet used on mobile devices is the same Internet that computers used since its first development the 1990s. Between 1989 and 1995, the fundamental components of the Internet were developed and by 1997, the Internet became widely popular and used, which ultimately starts the Internet phone hype.

In that same year, AT&T Wireless put the first mobile Internet phone, called PocketNet, out onto the market. Although it didn’t look special or different from a standard mobile phone, it actually included 19.2 Kbps modem running on the Cellular Digital Packet Data (CDPD) network. Two other phones followed the release of this phone: the Mitsubishi Mobile Access (MA120) and the Samsung Duett.

AT&T’s phones were not received well and only sold 20,000 PocketNet phones. This was due to its limited features as well as its poor design. With only a small screen, it was not compatible with most web sites developed during that time, which is the goal of an Internet phone. It used the analog AMPS network for voice calling instead of the highly demanded digital voice feature. It also didn’t allow users receive calls when the user was in data mode. There were many factors that lead to the unsuccessful release of these phones, but it was the start to the development of Internet phones, providing both voice and data capabilities. The mobile Internet pushed teams to think and develop accordingly.

In 1999, AT&T launched two new digital PocketNet phones, but the CDPD data network was abandoned shortly after and thus the PocketNet market came died. These phones were powered by the Unwired Planet technology, known today as Openwave. This technology used a protocol called Handheld Device Transport Protocol (HDTP) and a markup language called Handheld Device Markup Language (HDML). HDTP and HDML differed from Internet used on a computer, which uses HTTP and HTML. The different markup languages and protocols used caused viewing sites on a mobile device incompatible. HDTP/HDML was later abandoned and a new standard was adopted: Wireless Application Protocol (WAP) and Wireless Markup Language (WML).

Development


Overseas

In 1999, NTT DOCOMO, the largest wireless carrier in Japan, launched i-mode, Japan’s first mobile Internet service. It was so successful that it reached 10 million users by 2000, and 40 million users by 2003. A complete opposite of PocketNet’s launch, Americans directed their success due to Japanese culture - that Japanese people adapt technology early on, commute often through public means and are more willing to use data services, and landline costs were much higher in Japan than US so more Japanese people used mobile phones.

However, the underlining reason was the developers understanding of what users wanted and could benefit from, while creating an ecosystem in which the content provider and the company can also benefit. I-mode had content that users wanted at great prices. Many wireless carriers were incapable of creating this balanced system at the time.

Content providers agreed to work with DOCOMO because their model gave 91% of the content sale to the provider. The company also wanted to focus on cutting costs – not hiring developers to create an application environment but to base their markup language, iHTML, on exisiting computer Internet standards of HTTP and HTML. I-mode was the leader for mobile Internet for many years.


United States
WAP, the Wireless Application Protocol, was trying to create protocol and markup language specifications that would bridge the differences between mobile and pc internet. However, there was very little interest in WAP or WML (Wireless Markup Language) in the development community. This sparked the xHTML Mobile Profile 1.0 in 2001, which was a lot closer to HTML than WML, but still caused confusion in developers to support the two different markup languages. Thus, mobile Internet in the U.S was growing slowly, but surely.

The Apple Phenomenon

Finally in June 2007, Apple came out with the iPhone, collaborating with AT&T as its first carrier. Apple proved critics wrong by launching the iPhone with AT&T’s EDGE network, which was only a 2.5G network, along with a $30 per month unlimited data plan. This phone had a slower network with a more expensive data plan than other phones. However, the problem with the adaptation of the mobile Internet was not the network or cost. It was the fact that past launches did not have a satisfactory design that users enjoyed using while surfing the web. 

Competitors were different from Apple because Apple focused on the user experience, and was powered with a strong developer base due to its operating system with desktops. Apple then changed its model to also focus on developers, thus leading to HTML.

Mobile Internet Today

Technology in this day and age is always changing and advancing. So many languages were developed to solve the problem of the mobile web. This chart shows which languages are still used today, and which ones didn't pick up. HTML5 is the latest language being used today. It combines changes to CSS and Javascript that makes it really desirable in development. It is now supported on most devices, thus making HTML5 the “best solution for creating and deploying content in the browser across multiple platforms”, as stated by Danny Winokur, the VP and General Manager of Adobe.

The Future Ahead

The world can stop with HTML 5 or it can continue with an HTML 6, 7, and 8! Technology is growing so fast these days that it is hard to predict the outcome in the next decade. However, by knowing the past and the present, we can definitely see that the mobile Internet technology will be improving and changing everyday. Now with open source technology, anyone can create applications for phones. The future for mobile devices is likely to deal with the browser, cameras, and GPS. Augmented realties are already being developed and used in some way. It is also predicted that mobile internet usage will surpass desktop internet usage by 2014.

Although the mobile web is growing, it still can’t handle flash sites, or cloud computing. Mobile websites should be grow towards connecting with others through sharing information. The mobile web should utilize what’s they know of pc internet and how to go from there. Mobile internet will also not be limited to just phone devices, but will be used in all sorts of ubiquitous computing. It should soon be accessed anywhere and everywhere. The future for the mobile web is definitely bright and exciting.

Angela Mao


Sources:


Facebook: It's a Lifestyle



By the end of 2011, Facebook had over 845 million active users.  Let me write that out for you: 845,000,000 active users.  The entire U.S. population is only 311,591,917 people.  I think that puts it into perspective.  Like it or not, Facebook is significant, powerful, and a vital player in the ever-evolving World Wide Web.


Unless you live under a brick, you’ve probably seen the brilliant Oscar-winning film The Social Network, which does a fairly good job at accurately representing the creation of Facebook while still allowing for substantial cinematic drama.  So I’ll be brief with the drama of its history:        
  • January 2004 – Cameron and Tyler Winklevoss approached a young and bitter troublemaker named Mark Zuckerberg, asking for his help in creating The Harvard Connection, a proposed social network exclusively for Harvard students.
  • While meeting with the Winklevosses, Zuckerberg developed his own Harvard social network, The Facebook.
  • March 2005 – The Facebook had spread to Ivy league schools and major universities.
  • Summer 2005 – Zuckerberg (now having an entire team and a sponsor from PayPal) dropped the “The” and bought facebook.com for $200,000.
  • September 2005 – Facebook expands to high schools.  Is invitation only at first, but then expands to any high schooler.
  • September 2006 – Facebook open to any user 13 years and older.
  •  November 2010 – Value estimated at $41 billion and is the third largest web company (under Google and Amazon, just above eBay).
      And important technology updates:
  • April 2008 – Facebook introduces Chat, allowing users to instant message with other online users.
  •  June 2009 – Facebook introduces Usernames, which allows users to customize the URL of their profile (example: facebook.com/cooldude).
  • August 2010 – Places, allowing users to “check in” or add a location to any post.  Similar to foursquare – added Deals in November, which let businesses offer coupons or deals to recurring customers who check in – axed in August 2011.
  • April 2011 – Voice calls through T-Mobile.
  • July 2011 – Video Chat with Skype – one on one video chat.
  •  December 2011 – Ticker, which allows for live constant updates on your screen, and the introduction of Timeline, which replaced the profile and organizes information by when the content was posted or occurred in real life.
  • March 2012 – Facebook launches Messenger for Windows, allowing users with Windows 7 to chat, send messages, and view updates without being “logged in.”
  • April 2012 – Facebook buys Instagram for $1 billion.      

Facebook is ever evolving, but here’s what Facebook currently looks like as of May 2012.  The Timeline, which replaced the Wall in late 2011, is the main profile of each user, topped by both a profile picture and a cover photo, with various activities and conversations listed below.  The timeline also links to the “About” page, an extension of the Timeline, that contains detailed information about the user.  Each user also has a homepage beyond their Timeline where the News Feed resides, informing the user of the activity of their friends and people they follow.



FACEBOOK STEALS YOUR SUCCESS

Part of the reason that Facebook has been so successful is that it has become a “one-stop shop” place to socialize on the Internet.  Rather than requiring users to use multiple websites and social media platforms with different purposes, Facebook attempts to place it all in one place.
  • Twitter – A status on Facebook is similar to a tweet on Twitter.  A short posting of text with the potential for added videos, images, etc.  Twitter allows a maximum of 140 characters, while Facebook lets you include 63,206.
  • Foursquare – Foursquare made “checking in” cool by letting you alert your followers to your location.  Shortly thereafter, Facebook launched “Places,” an almost identical service.  Places died in 2011, but Facebook still allows for check-ins and the addition of a location through Maps.
  • Flickr (and others) – Need a place to upload albums of photos?  Who needs Flickr?  Let Facebook store your photos.  Plus, you can tag people in them.  And the location.  And streamline exactly who sees them.
  • Evite – In middle school, I was informed of birthday parties and special events through an emailed Evite.  Now, Facebook’s Events has taken over, allowing for guests lists, images, time and location, and a short description.
  • Any and all blogging websites – Although the Notes function on Facebook is essentially dead now, using Notes allowed you to basically post blog entries on Facebook and tag your friends.
  • Google+ – The addition of the “Subscribe” button in 2011 nearly sealed Google+’s fate by stealing the only good thing Google+ had to offer: the ability to follow a celebrity’s postings and social activity without having to become their friend.  Instead of becoming their friend, you can merely subscribe to their postings.
  • YouTube – You can post your videos on the Internet!  And receive comments.  And share with other people.
  • Gaming websites – With games from Farmville to Words with Friends, Facebook allows you to play games with your friends and strangers.
  • AIM, etc. – Chatting.  Nuff said.
  • Craigslist – Marketplace is now a downloadable App run by Oodle, but a couple of years ago, Marketplace was an essential part of Facebook where you could post classified ads grouped by location.   

And the list goes on and on.  I don’t say this to hate on Facebook, but to congratulate them on their successful branding.  They revolutionized social media by making Facebook more than just a website—it’s almost a “mini-WWW” within the actual World Wide Web.  By allowing most of the Internet’s social functions to exist within one website, avid users can and do spend hours of time purely within Facebook.  And that’s where its success comes from.

CORPORATE FACEBOOK

As Facebook tries to become more and more all-inclusive (leading to its success), businesses and corporate companies have invaded as well.  Facebook has had advertisements on the right-hand side for a while now, but through Pages, Groups, Apps, and Interests, everyone from 30 Rock to Pepsi to Barack Obama is able to communicate their messages to their target audiences in new and innovative ways.  Advertisements, obviously, cost money, but creating a page and attracting Likes is a free way to stay active and in the forefront of peoples’ minds.


 The poll asked by the official 30 Rock page shown above is both an advertisement and market research disguised as social interaction.  Over 2 million people like 30 Rock on Facebook, and those 2 million people saw the above poll in their newsfeed.  Not only am I reminded how much I love 30 Rock, but I’m thrilled to be socially engaging with one of my favorite TV shows and am more willing to offer them viewer input and tune in next week too.

Mirroring the emergence of viral presences of corporate organizations is the emergence of Social Media Managers, Viral Marketing Managers, and other similarly titled jobs.  Next year, I’ll be working as a Social Media Ambassador for the Office of Admissions, blogging and tweeting and communicating via Facebook—a job that would have been unheard of ten years ago.  The Internet persona of these businesses needs to be managed just as tightly as a “real world” marketing and public relations strategy.  The Social Media Manager is the Public Spokesperson of the Internet.

PRIVACY ON FACEBOOK

Despite the ability to customize your individual privacy settings, Facebook has constantly been criticized for its lack of privacy.  Controversy originally rose in August 2007 when a computing error caused the PHP code to be displayed instead of the actual page.  Many users expressed concern over how private their information was, and whether or not it could also be accidentally leaked.  In November of the same year, Facebook launched Beacon, which allowed external websites to post the activity of Facebook users on their Facebook profile.  These postings could be turned off, but the default allowed for postings to occur, even without the user’s knowledge.

Concerns also arose over the News Feed, which alerts users of the their friends’ activity.  In May 2010, Facebook introduced individual privacy settings for each post.  The Students Against Facebook News Feed group peaked at 740,000 members in late 2006.  Initial privacy features were introduced in 2006 giving users some control, but then removed in late 2009.  Now, since May 2010, users can choose whether they want to share their post with Everyone, Friends of Friends, or Friends Only.
                                                                                                                               
A new trend is also emerging in the business world: bosses are asking potential employees for their Facebook login and password during job interviews.  Although it is technically not illegal to ask for a password, employees often feel pressured to give their password, believing that saying “no” will guarantee them not getting the job.  Experts say it blurs the line between personal and private life.  Businesses say it’s just another way to gather information about prospective employees.

THE FUTURE OF FACEBOOK

Facebook’s future looks promising, but so did Myspace’s in the early twenty-first century.  As “vital” and “necessary” for survival Facebook may seem to us now, technology is changing at increasingly rapid rates and has the great potential to surpass whatever Facebook can achieve.  On the other hand, Facebook is no stranger to evolving and changing, even when users find it unnecessary.  With over $3.71 billion in revenue last year, Facebook has the potential to do almost whatever it wants.  It just depends on whether or not it has the insight to keep up and push out competition.

The Future of Music


By Esther Michaels


Much has changed in the music industry with the emergence and development of the world wide web. Gone are the days of the compact disc, not to mention vinyl and cassettes. Digital audio, or sound that is recorded or converted and stored in a digitized format, is nothing new, however recent developments within this market are revolutionizing the modes of music reception and point toward the future of music digital audio.



A little history…



Late in the 1990s, the emergence of the MP3 allowed music to be compressed through a predictive synthesis technique, meaning small files and more space for storage. As the popularity of high-quality compressed music rose, and the availability of internet access grew, the masses gained widespread entrance to the world of file-sharing. Beginning with Napster, launched in 1999, and continuing through the use of other file-sharing services, issues of electronic media piracy exposed not only the issues the music and entertainment industries would face but also the revolution of consumer preferences. As MP3 files can be as much as 90% smaller than the original file, people could send and download them with increasing speed and ease, an obvious advantage to the consumer market. One way the market responded to growing trends was to clamp down on security, to develop some protections against piracy and copyright infringement. Apple’s iTunes, using Advanced Audio Coding (AAC) a semi-proprietary format which is copyrighted can be played only by the iTunes music system, was able to restore the power to business and the artists by providing music for legal download. But recent shifts have marked a move to work with, rather than against, the preferences of the ever-demanding consumer. Tom Silverman, founder of Tommy Boy Records, explains that 
"there's a lot of fear because the old models aren't working the way they did before and the big businesses were based on those models… those models were based on control, and control was based on limiting supply. You can't limit supply in the digital world — it's an unlimited thing." 
These changes are redefining the music industry as a whole, through not only the distribution of music, but also through its creation and marketing.




Over the last few years, the Internet-based consumers have developed two strong habits for information goods—one is to download them from the Internet and the second is to get them free. Total industry sales were about $10 billion in 2008, down from $14 billion in 2000, according to the Recording Industry Association of America. In contrast, worldwide online music revenue from end-user spending is on pace to total $6.3 billion in 2011, up from $5.9 billion in 2010, according to Gartner, Inc. Online music revenue is forecast to reach $6.8 billion in 2012, and grow to $7.7 billion in 2015. Online music sites are being used by a growing number of listeners as a substitute for purchasing, and even downloading, music. The different varieties of sites are detailed below.



P2P or peer-to-peer includes models having a node-like, decentralized structure. The basic architectural aspects of P2P systems include a high degree of decentralization, self-organization and multiple administrative domains. P2P networks, such as Napster, BitTorrent, and Limewire facilitate data copying by enabling those connected to the network to download files from others on the network, hence peer-to-peer. The second group, Central downloads, are centralized. Users are required to seek out and exchange information with a specific contact—usually an Internet download shop—in order to download a specific piece of digital music.


Streaming may involve saving a file to a peripheral device however, unlike downloading, streaming does not have the permanent storage of the transferred data as its central purpose. Interactive streaming, as the name suggests, includes systems which allow the user to control the listening experience. Interactive streaming essentially means listening to whatever you want whenever you want; the only limiting factor being the necessity of maintaining an active Internet connection. Models such as Grooveshark, Spotify, and Soundcloud are examples and come to define the largest sector of online music distribution development. A few are detailed below.

BitTorrent



By Pralav Bhansali


INTRODUCTION


BitTorrent is a protocol that enables fast downloading of large files using minimum Internet bandwidth. It costs nothing to use and includes no spyware or pop-up advertising.

Programmer Bram Cohen designed the protocol in April 2001 and released the first available version on July 2, 2001. It is now maintained by Cohen's company, BitTorrent, Inc. Currently, numerous BitTorrent clients are available for a variety of computing platforms. As of January 2012, BitTorrent has 150 million active users according to BitTorrent, Inc. Based on this the total number of monthly BitTorrent users can be estimated at more than a quarter billion. At any given instant of time BitTorrent has, on average, more active users than YouTube and Facebook combined. (This refers to the number of active users at any instant and not to the total number of unique users.)

Unlike other download methods, BitTorrent maximizes transfer speed by gathering pieces of the file you want and downloading these pieces simultaneously from people who already have them. This process makes popular and very large files, such as videos and television programs, download much faster than is possible with other protocols.


A BRIEF HISTORY ON FILE SHARING


To understand how BitTorrent works and why it is different from other file-serving methods, let's examine what happens when you download a file from a Web site (Traditional Client Server Downloading).




It works something like this:
  • You open a Web page and click a link to download a file to your computer.
  • The Web browser software on your computer (the client) tells the server (a central computer that holds the Web page and the file you want to download) to transfer a copy of the file to your computer. 
  • The transfer is handled by a protocol (a set of rules), such as FTP (File Transfer Protocol) or HTTP (HyperText Transfer Protocol).

The transfer speed is affected by a number of variables, including the type of protocol, the amount of traffic on the server and the number of other computers that are downloading the file. If the file is both large and popular, the demands on the server are great, and the download will be slow.



On the other hand, Peer-to-peer file sharing is different from traditional file downloading. In peer-to-peer sharing, you use a software program (rather than your Web browser) to locate computers that have the file you want. Because these are ordinary computers like yours, as opposed to servers, they are called peers.




The process works like this:
  • You run peer-to-peer file-sharing software on your computer and send out a request for the file you want to download.
  • To locate the file, the software queries other computers that are connected to the Internet and running the file-sharing software.
  • When the software finds a computer that has the file you want on its hard drive, the download begins.
  • Others using the file-sharing software can obtain files they want from your computer's hard drive.


The file-transfer load is distributed between the computers exchanging files, but file searches and transfers from your computer to others can cause bottlenecks. Some people download files and immediately disconnect without allowing others to obtain files from their system, which is called leeching. This limits the number of computers the software can search for the requested file.


WHAT BitTorrent DOES?


Unlike some other peer-to-peer downloading methods, BitTorrent is a protocol that offloads some of the file tracking work to a central server (called a tracker). Another difference is that it uses a principal called tit-for-tat. This means that in order to receive files, you have to give them. This solves the problem of leeching -- one of developer Bram Cohen's primary goals. With BitTorrent, the more files you share with others, the faster your downloads are. Finally, to make better use of available Internet bandwidth (the pipeline for data transmission), BitTorrent downloads different pieces of the file you want simultaneously from multiple computers.


    Here's how it works:

  • You open a Web page and click on a link for the file you want.
  • BitTorrent client software communicates with a tracker to find other computers running BitTorrent that have the complete file (seed computers) and those with a portion of the file (peers that are usually in the process of downloading the file).
  • The tracker identifies the swarm, which is the connected computers that have all of or a portion of the file and are in the process of sending or receiving it.
  • The tracker helps the client software trade pieces of the file you want with other computers in the swarm. Your computer receives multiple pieces of the file simultaneously.
  • If you continue to run the BitTorrent client software after your download is complete, others can receive .torrent files from your computer; your future download rates improve because you are ranked higher in the "tit-for-tat" system.

Downloading pieces of the file at the same time helps solve a common problem with other peer-to-peer download methods: Peers upload at a much slower rate than they download. By downloading multiple pieces at the same time, the overall speed is greatly improved. The more computers involved in the swarm, the faster the file transfer occurs because there are more sources of each piece of the file. For this reason, BitTorrent is especially useful for large, popular files.


IS IT LEGAL?


BitTorrent is perfectly legal to use. However, it is illegal to download copyrighted materials in most countries. So if the file you're downloading is copyrighted, then what you're doing is not legal.

Similar to other peer-to-peer software, BitTorrent can be used to download copyrighted material. Because BitTorrent handles large files remarkably well, it is especially popular for downloading video files. The Motion Picture Association of America has filed countless lawsuits, causing at least many high-traffic .torrent download sites to shut down.

BitTorrent itself is perfectly legal to use. When you select a file to download, however, it is your responsibility to make sure the file not copyrighted. BitTorrent downloads are not anonymous information about your computer's IP address and the files you download can be traced back to you.

Despite its improper use by distributors of copyrighted material, the BitTorrent program itself both legal and innovative. With additions such as tit-for-tat and an open-source philosophy, BitTorrent will likely build a legacy of its own while serving as a bridge to the next generation of file-serving software.


BitTorrent SPEAK


Like most Internet phenomena, BitTorrent has its own jargon. Some of the more common terms related to BitTorrent include:

  • Leeches - People who download files but do not share files on their own computer with others
  • Seed or seeder - A computer with a complete copy of a BitTorrent file (At least one seed computer is necessary for a BitTorrent download to operate.)
  • Swarm - A group of computers simultaneously sending (uploading) or receiving (downloading) the same file
  • .torrent - A pointer file that directs your computer to the file you want to download
  • Tracker - A server that manages the BitTorrent file-transfer process

EXPENSIVE UPLOADS


Does your ISP charge for uploads? It's rare, but it's possible. Before leaving the BitTorrent client software open overnight, be sure your ISP doesn't charge for uploads -- otherwise, moving up in the tit-for-tat hierarchy could end up costing you an arm and a leg.


SOURCES


HTML 5

by: Cliff Tan

Introduction


Notwithstanding the fact that the topic of HTML 5 has been discussed as part of the course, I hope this blog post will introduce some new features of the improved markup language, offer new perspectives on future developments, and educate everyone on the security issues involved.

The official completion date for HTML5 specification set by W3C is July 2014. But as web developers (or publishers of the web), the completion date does not really matter much since many browser vendors have already begun implementing parts of it. Users of the various browsers tend to update frequently. Plus, even after July 2014, there will still be a need for code that caters to browser incompatibility issues (such as those by Internet Explorer). Since the HTML standard constantly evolves, the best advice for developers is to get in the game early on.

New Features


The new markup language has gotten smarter in terms of syntax. Developers will enjoy these following conveniences.

No longer required to use self-closing tags:
<img src=”sample.jpeg”/>
<img src=”sample.jpeg”>
No longer required to use quotation marks for attributes:
<img src=”sample.jpeg”>
<img src=sample.jpeg>
Markup is now case insensitive:
<img src=sample.jpeg>
<ImG SrC=sample.jpeg>

There are also new changes for semantic elements as shown in the following images. Sections and parts of a web page layout will more easily and clearly defined.

 

The Google supported html5rocks.com website features multiple demos and example codes for the features of HTML 5. Here is a list of demos which I personally feel will be most impactful and garner most popularity amongst developers.


How HTML5 might influence future developments



Flash versus HTML5


Since its early 2010 iterations of phone and tablet devices, Apple has begun omitting support for Adobe Flash for its mobile devices and opted to use HTML 5, CSS and Javascript instead.The late Steve Jobs published a page on Apple's website stating his reasons for doing so. Although Adobe initially maintained its support for flash, it eventually ceased development of its Flash player for mobile devices and instead became focused on creating developer tools for HTML 5.

Although video playback on Youtube requires the Adobe Flash Player plugin to be installed on the user’s browsers, Youtube has begun supporting HTML5 video playback as an experimental feature since 2010. Users can opt-in to join the trial and videos can then be viewed without requirement of the Adobe Flash Player or other plug-in to be installed.


Although it might take many years for Flash to be gradually phased out and for HTML5 developer tools to mature, it is fair to say that HTML5 will be the next standard for developing and delivering interactive and multimedia content.

Native Mobile Applications versus HTML5


My thoughts are that as web developers get familiarised with HTML 5 based technologies, they will shift away from native mobile application development platforms towards building HTML 5 based interactive mobile web applications. Let me explain why is this so.

In August 2011, the Financial Times(FT) withdrew their IOS applications for IPhones and IPads from the IOS App Store after disputes with Apple over ownership of customer data and revenue sharing. Apple insisted that sales (such as subscription fees collected from users from FT) must occur over its App Store - an arrangement that would give Apple ownership of the customer data and a 30% cut of the revenues. For FT, the withdrawal meant a loss of 10% of its digital subscriptions which was generated by its IPad application. In place of IOS applications, FT launched a HTML5 based web application in June 2011 to serve content to their subscribers using IOS devices.

Within ten months of its release, the new web application had attracted more than two million users. This traffic is significantly greater than what the previous native IOS apps had. Managing Director of FT, Rob Grimshaw commented that the key strength of the web app is that it can be rapidly tweaked and launched for new devices when they are brought to market. Through the success of FT’s HTML 5 based web application working as a substitute to its IOS app, it can be seen that HTML5 will continue to significantly have an impact on the future of mobile applications by being an attractive alternative platform.

However at its current level of browser support, HTML 5 is not a bed of roses. Take Facebook for example, one industry analyst from BusinessInsider.com have commented that Facebook’s one billion dollar purchase of Instagram was to undo its bet on HTML 5 - a bet that saw Facebook lose millions of users to the popular photo sharing application due to the poor performance of HTML 5 on which Facebook’s mobile web app was coded with.

Facebook has called for improvements to be made on HTML 5 support on mobile browsers and formed the W3C Community Group. But Apple and Google have refused to join. The reason is simple, if mobile browser support for HTML 5 on the IOS and Android platform lags, end users would have a better consumer experience through native applications available on the respective app stores - which are channels that both vendors use to monetize payments and earn revenue.

Despite Apple and Google’s open commitment to HTML 5, they have a vested interest in seeing HTML 5 lag behind. It still remains to be seen on how the mobile application space will play out in the future.


Windows 8 and HTML5


The next major release of the popular Windows operating system will be Windows 8 which is set to be released by the end of 2012. With the Consumer Preview already released on Feb 29 2012 and another Release Preview slated for early June 2012, early adopters and application developers are already experimenting with the new Metro User Interface - a finger friendly, full screen tablet like operating system.


This all ties back to our topic because Microsoft has built a new development platform based on HTML 5 and Javascript. Developers can now leverage their experience of building for the web to develop new Windows 8 Metro applications. The code for a native Windows 8 Metro "hello world" application is simply:


Over the years, Microsoft developers have invested time, effort and money into the platform. There is a myriad of developer tools and frameworks available. Some of these include Win32 (Windows API), COM (Component Object Model), MFC (Microsoft Foundation Class), ATL (Active Template Library), Visual Basic 6, .NET, WinForms, WPF (Windows Presentation Foundation) and Silverlight. With the new support for HTML 5 in Windows 8, it will be interesting to see whether Microsoft will still support some of these developer tools and framework.

Take Silverlight for example, with all the HTML 5 evangelism that Microsoft is doing, it is likely that they are trying to wean developers off Silverlight and get more HTML 5 based applications into its Metro app store. The most likely outcome would be for Microsoft to continue supporting Silverlight through new versions of Visual Studios; at least until developer tools for HTML 5 has reached sufficient maturity.


Security Aspects of HTML 5



HTML 5 is powerful as it provides for new functions to web designers that were previously possible only with Adobe Flash or complicated JavaScripts. As it allows web designers to better exercise their creativity in developing interactive content, it will similarly allow malicious users to get creative with their attacks. Proponents of HTML 5 have highlights how it could potentially boost web security. Since if it is known that the number of plugins installation required is zero, users will be less likely duped into downloading malicious ones. However, other analysts say more needs to be done.


Robert McArdle, a senior threat researcher at Trend Micro, outlined various new attacks made possible by features in HTML 5. With the new markup language, browser-based botnets and other attacks could be performed by malicious users. When an attack is browser based, multiple platforms ranging from a Windows OS machine to an Apple IOS smartphone will be susceptible to the platform neutral code. Hence, we can expect malware to be much more devastating than it is today.

With web notifications being fully customisable using HTML code in the new standard, new interaction possibilities can give way to enhanced social engineering techniques and attacks. Phishing attacks can also get more sophisticated. Below is an example of how such an attack may be carried out.


Of the many new features associated with HTML 5, a new set of Geolocation APIs are also released. With mobile device technologies underpinning smartphones and tablets being continuously updated, there are no signs of mobile penetration rates slowing. With more people surfing the web from their mobile devices, Geolocation allows web designers to better personalise content which users can match to their surroundings. However this new feature also presents new opportunities for malicious hackers. Since it is browser based, traditional checks and approval mechanisms applied in mobile application stores such as IOS Appstore and Android Marketplace will be futile. Security settings will need to be user based and this rarely works out well. Once permission is granted, a malicious site will not only be able to locate the victim, but also perform real time tracking as the victim moves about throughout the day.

The growing market share of the Apple Mac computer has translated into more malware on the platform. The recent 2012 Flashback malware has infected hundreds of thousands of Macs and has led Eugene Kaspersky - CEO of the Kaspersky security firm, to comment that Apple is ten years behind Microsoft in terms of security. Drawing a parallel to HTML 5, the security challenges will only increase in the future. With HTML 5 being platform agnostic, a security issue might require the joint efforts of different browser vendors to resolve. The scenario of each browser vendor promoting security features as they try to grow their respective user base/market share in the future is also not a far fetched one.



Sources



FT pulls app over customer data dispute with Apple

Retrieved on April 26 2012 from http://www.bbc.co.uk/news/business-14734911


The FT web app for iPad and iPhone
Retrieved on April 26 2012 from http://apps.ft.com/ftwebapp/

Financial Times iOS web app tops 350k users since launch


Financial Times passes 2m users for its HTML5 web app

Financial Times app pulled from iOS after compliance dispute


Betting $1 Billion On Instagram, Facebook Backs Away From HTML5


Facebook Says “Yo Google and Apple, HTML5 Apps Will Suck Until Your Mobile Browsers Improve” Retrieved on April 29 2012 from http://techcrunch.com/2012/04/20/facebook-google-apple-html5/


Introducing the Mobile W3C Community Group


The Web is Reborn


Microsoft slates Windows 8 'release preview' for early June


Programming Windows 8: The Sublime To The Strange


Windows 8 HTML5/JS Comment Causes Panic Among Developers


Why Microsoft has made developers horrified about coding for Windows 8


Ghost of HTML5 future: Web browser botnets
Retrieved on April 19 2012 from http://www.theregister.co.uk/2012/04/27/html5/


HTML5 - The Bad
Retrieved on April 19 2012 from http://blog.trendmicro.com/html5-the-bad