Thy Kingdom Come Thy Will Be Done

The Musc of the year, thy kingdome come thy will be done, check it out and let me know what you'll think. 

test driven development

Test Driven Development has Revolutionized the Software Development Life Cycle Part II

The programming arena is plagued with many issues, which developers can solve, when they follow a software development methodology, which suites the project.

In today’s article we are going...

test driven development

Test Driven Development has Revolutionized the Software Development Life Cycle

In the programming arena, developers have to work in the dark, which is very similar to walking in a dark house from room, to room to understand what each room can do, and use that room for a...

lean software development

The Seven Principles of Lean Software Development

The computer world, is taking over the world, due to the software development processes, which have been changing on a daily basis.

In today’s article, we are going to talk about, the lean...

project management

Project Management is Essential for Projects to be Completed

A project must be managed well, in order for the project, to not go through certain problems and be able to face uncertainties.

Without project management, everything we see today, wouldn’t...

HTML5 Has Revolutionized the Internet World With All Its New Great and Cool Features.

HTML 5

The mobile world, is an amazing experience, which you can only experience, if you own a mobile device.

If you would like to develop an application, which makes a contribution to the mobile revolution that is happening today, there is something in the mobile world, which you must learn.

As a programmer you'd have to master the language that you want to use, to create that great application.

The application, should not be geared to help you in any kind of way, what so ever, but it should be developed to help your users and give them something of value.

Once your users are satisfied, then you can go ahead and expect to be helped in return, but during the development of your application and the marketing of your application, you should always, maintain your users in mind.

The purpose of your application, should be to help your fellow neighborhood.

Of course, it is easier said than done, because many of us don’t know how, can we stop thinking about, what our creation would do for us, and never, what we can do with the application we develop, for other people.

In today's article, we are going to talk about HTML5 and its interesting features, which help us today to create great web applications, and websites in general.

HTML5 is the innovation of HTML, which has been anticipated for years, to cover many of the mobile application and website application programming problems, which developers encountered, from time to time, before the creation of HTML5.

One of the main problems, found in HTML, which HTML5 solves, is the fact that, you won't have to worry about browser compatibility issues, which many developers had to face with HTML at some point or another, during their development of their application.

Today, all you have to do is, to master the programming language, so that you can begin to build great website applications and mobile apps.

Browser compatibility issues, were truly a great problem, for many of us developers, it was a nightmare, to have to deal with, changing your code around, so that your program could follow that browser’s compatibility requirements, which are set by the company that owns that certain browser.

The browser compatibility issues many developers face, are definitely a hateful thing to do, against the website programmers around the world.

HTML5 though, has allowed many developers to redeem their effort, by solving the browser compatibly problems, which have always plagued developer.

Another one of the main features of HTML5 is that, it helps you eliminate the many JavaScript code, you would use, to maintain your website more interactive, by using forms and many other interactive features.

The JavaScript code, which you would usually have to use, to perform certain events, such as triggers of documents of all sorts (such as, when documents are offline, documents are printed and when documents load), are all eliminated with HTML5 and its important features.

Other types of triggers found easily to be used, with HTML5, which are set by your JavaScript code are: when you click on something, or when a media starts to play, but has to stop due to buffering, when the mouse is clicked, when an error occurs, and when a media data is loaded.

JavaScript code is also used, when you use forms, in order to collect information; and want to validate, the information, you collect.

When you use HTML5, you almost always forget, about JavaScript trigger events, which can slow down your web or mobile application.

The trigger events of JavaScript, are available in HTML5, but they are not used, as they are used with JavaScript, where you would have to write certain amounts of code, to make that trigger even work.

I know I mentioned earlier that, the trigger events in HTML5 causes you to forget all about JavaScript or Vb-Script, well this is true to a certain extent, because when you call these events in HTML5, you are actually invoking the JavaScript of Vb-Script code for that event.

So you don't totally eliminate JavaScript, or Vb-Script with HTML5, oh nooo, what you are doing is, you call that piece of code, which you need and which is already available within your HTML5 code.

Alright, that’s it for events and triggers, now let’s talk about the input element of HTML5.

The input element in HTML5, introduces several new attributes, which are not found in HTML.

Some of these elements are: date time, which specifies the date and time, and verifies if the users’ input is in the right, date & time format.

You'll also find the attribute called number for an input tag, which specifies that only numbers, can be entered into that input.

The range attribute is also available for input tags, and it specifies, that the input receives, a value that should contain a range of numbers.

You'll also find the email attribute in the input field, and this attribute does all the checking for you, to verify that your users, enter a valid email address on your input form.

Another new attribute of the input tag, found in HTML5, is the URL attributes, which only allows, your users to enter an input, which contains an URL in it, if you try to enter a text, into this type of input area, you will receive an error and will be forced, to enter an actual URL.

When you have these attribute available for you, to use within your input code, then you don’t have to use, any JavaScript to check if your users are entering, the right input, into your forms, or whatever application, you have developed.

The output tag was also introduced in HTML5; the output tag was created, in order to print, what you intended to print in the screen.

HTML5 introduced new attributes to this tag, because the output tag, was already available in HTML.

HTML5 allows you to build, more powerful websites and applications, because it contains an array of new elements, attributes, and behaviors as well as functionalities, which give you access to a many solutions, which can help you accomplish the toughest application tasks.

The HTML5 programming language, allows you to describe more precisely, what your content is going to be and how your content is going to look, to a certain extend.

HTML5 also allows you to, communicate with the server, in new and innovative ways.

Server communication, can only be done with server side scripting languages, however, HTML5 has given, website developers, to limit their use of server side languages, and focus more, on the look and feel as well as the experience of the website.

Communicating with the server, is very important to website developers, because we have to go to the server, to ask for any of the services we use, to make a website very interacting and interesting for the users.

HTML5 also allows you to store information, on your client’s computer, to allow offline applications to work better.

Multimedia, such as videos and audio, are easily integrated online, when you use HTML5, in order to build your website or mobile application.

Your presentation, is also going to be the best when you use HTML5, because it allows you to have, more diverse presentation options.

By presentation we mean the design of your web application or the design of your mobile application.

Computer hardware, is also better used and managed, when you use HTML5, thus giving your application or website a better performance and user experience, when you use HTML5.

The design of applications and websites are also improved, when you use HTML5, to develop that mobile application or website.

Alright, now let's talk about HTML5 APIs, which are also new editions to the HTML language.

The HTML5 geo-location, is an API, which is used when an application, allows a user to provide their location, so that they may have a better, user experience with your application, or your website.

The geo-location API of HTML5 asks the user permission, before the data is provided, for privacy reasons.

You would use the navigator.

geo-location object, for you to be able to use the geo-location API.

The Navigator.

geolocation read-only property returns a Geolocation object, which gives Web content, access to the location of the device.

The GetCurrentPosition() method, would allow you to get the user's current location.

This allows a Web site or app to offer customized results based on the user's location.

When the GetCurrentPosition() method is used, queries are used to get up to date information, from the user's hardware; an asynchronous request is also initiated, to get the user's position.

Finally a callback function is executed, once the position of the user, is detected.

In cases, where errors occur, you can also define, another call back function to handle errors, produced, by your application, within your HTML5 functions.

If you want, high accuracy for the position, of your user, you can also set other call back functions, which would determine other parameters, to get the correct accurate location of your user’s device.

In computer programming, a callback is a reference to executable code, or a piece of executable code, that is passed as an argument to other code.

When your user's position changes, you can set up a call back function, which will update the position information, with the watchPosition() function.

Another HTML5 API is the Media API, which includes HTML5's video and audio elements, because this API forms part of the media element.

The Media API have JavaScript, within the API, these JavaScript methods, are play(), pause(), load(), and canPlayType().

The elements of the Media API, are simple to implement, and many of the methods, of the media API are shared, between media types and subset of additional properties.

The media API allows you, to create custom controls, because the media API, has additional events and attributes, which would allow you to perform, these and many other actions.

The media API also allows you to do playbacks with your media, once you have embedded the media, into your HTML5 document.

You can use the new elements found within the media API, to pro-grammatically control the media playback, from the JavaScript code.

This piece of code,
var v = document.getElementsByTagName ("video") [0];

v.play();
would start or restart the media playback.

The video is fetched during the beginning of the piece of the code, right after the declaration of the variable v.

The code that is after the semi colon, would call the element's play() method, which is defined in the nsIDOMHTMLMediaElement.

The nsIDOMHTMLMediaElement is an interface, which is used to implement media elements.

In HTML5, it is a straightforward process, to control the audio player's play, pause, volume (increase or decrease) and other features of the medial element, you would implement, when you use HTML5 to develop your web applications and mobile applications’ video features.

HTML5 makes things, more possible and easier to deal with, unlike HTML, which you had to use JavaScript, or other programming languages, if you wanted to accomplish, complex things with your web document.

Another HTML5 API that is useful, is the Text Tract API, which helps you interact, with text track, such as subtitles, or captions.

If you wanted to return the number of text tract, and the length, which is associated with media elements, such as caption, subtitles, descriptions, chapters, and Meta data, you can use the text track API to accomplish this.

When browsers, begin to support native subtitling, using WebVTT for example, the API will have more support.

The text track element is specifically there, to provide subtitles, screen reader descriptions, and chapters to videos and audio, within your HTML5 code.

Other kinds of Meta data can also take advantage of this and many other features, of the support that text track provide them, to be described.

The text track API is very powerful, because it enables deep linking, and media navigation, using text search, which is not available in plain HTML.

Audio and video can enjoy, being found easier online, because the text track API, makes it more powerful and precise for people to find audio and video, based on their subtitles, and description, because the text track API provides videos and audios, with subtitles and descriptions.

HTML5 also provides an API that allows you to take your applications, or web apps offline, with the application Cache API.

Using the application cache API, you can take your web applications offline, by creating a simple manifest file, which lists the files that are required by your application to be able to work offline.

You just have to give, the users the ability, to download the files, that you want them to have on their computer, so that they can start to use your web application, offline.

The application, which uses the application cache API, is able to work offline, because the manifest file, causes your web browser, to store a list of files on the user’s computer, which would be used, by your application, when it is offline, to start and service the user, who wishes to use your application offline.

The whole process happens, automatically too, so that the user doesn't have to download any type of files themselves, for your application to be able to work.

Instead the downloads happens as soon at the user, clicks on the Get App now link.

When the user goes offline, the browser automatically uses, the files stored in the user’s computer, when they use the application.

HTML5 has come to the world, to make things much easier, for web developers, who are looking to develop web applications and websites fast the right way.

If you however, want to be able to use this great programming language, you would have to do your research, and continue to learn this great programming language, because it changes every day and you want to be able to stay, ahead of the game.

No matter what the obstacles are, or how difficult things get, don't ever quit.

HTML5 Example:
!DOCTYPE html>

html>

head>

meta charset="UTF-8">

title>Title of the document/title>

/head>

body>

Content of the document......

/body>

/html>

Thank you for reading this article post!!!