02.22.08

What would Developers do without Advertisers?

Posted in AJAX at 1:17 pm by admin

Software development and website designers would be a very dying breed it wasn’t for the professionals that develop marketing strategies for the Internet. With the many uses of Ajax, developers are coming up with so many new possibilities for different areas such as advertising scripts and many others. The advertising aspect of the Internet for one, keeps the software developers and website designers continuously fueled for their next adventure. It used to be that when you want to advertise something in the Internet you would simply go to a local classified website and place your ad but that is not true at all anymore. Advertising has risen to a new level as marketing companies are escalating the opportunities to a brand-new era of advertising. I spoke to the owner of ReadersChallenge.com which is a press release and website reviews blog site, and he tells me that the amount of new website review requests coming through their site are getting greater and greater and they are to the point of limiting the amount of submissions that they actually put into their website.

Blogs are certainly taking a good position in the fast line to market these websites and to also do what they were designed to do which is provide limitless information from different niche type blogs all over the Internet. I think that websites such as ReadersChallenge.com is a prime example of what marketing an average pricing has risen to.

I personally have taken a look at several other advertising concepts that are out there, and I’ve seen many different types of web directories that have grown in multiples but I actually seen a new concept that I thought might be a horse to put a bet on. I took a look at CustomG.com which is a bid for position type directory. I thought it was pretty impressive myself with the way that it allows a person to pick which spot they would like to advertise in simply by placing a bid for that spot. But again, this is just another avenue of the many different streets available to go down when it comes to advertising a website and I think that software developers and website designers worldwide should appreciate the marketing strategies and techniques that are being seen today.

11.10.07

A Specific Example of What You Can do with AJAX

Posted in AJAX at 1:43 am by admin

AJAX (Asynchronous JavaScript and XML) is a programming language that was developed to do a number of really cool things. While this example does not contain any AJAX code, at the same time it will show you a real life situation where you can apply the use of the AJAX programming that you are going to learn.

In order to understand this situation in which AJAX can be used, it is important to first understand the code below:

<html>
<body>

<form name=”myForm”>
Name: <input type=”text” name=”username” />
Time: <input type=”text” name=”time” />
</form>

</body>
</html>

Now, this is pretty simplistic code. It is HTML code that creates a standard form with two fields; one for the name and one for the time. However, what is deceptively simple about looking at this code is the fact that you can use AJAX to fill in one of these two fields. The key way to do this is through the use of the XMLHttpRequest object, a JavaScript object that is basically the reason for AJAX’s existence. Through the use of this particular object, you can actually get the server to find out the current time and display that time in the time field using the AJAX XMLHttpRequest.

The one exception to this rule would be Internet Explorer, since Microsoft always has to be different from everyone else! Microsoft, instead of using the XMLHttpRequest, actually uses an ActiveXObject, which basically means that when you are programming in AJAX you need to account for both Internet Explorer possibilities as well as possibilities for other browsers like Firefox, Opera, Safari and many others as well. Internet Explorer, however, is the only browser that does not use XMLHttpRequest, so as long as you have accounted for Explorer you are not going to have to worry about any of the other browsers.

The way to create these contingencies is through the use of what is known as a try and catch statement. You will first set up the XMLHttpRequest and then the ActiveXObject in case the catch is not successful in the first case. Every now and then, it is possible that you will encounter someone with a browser that is years and years out of date. If this is something that you think is likely to happen on your website, you might want to program another catch into the AJAX code that displays something on the blank screen letting the user know that their browser is not compatible with AJAX; however, that is entirely your choice.

Scriptycan is a great software repository featuring both free and commercial Ajax Scripts  and applications for developers and programmers.

11.04.07

The AJAX XMLHttpRequest Object

Posted in AJAX at 9:21 am by admin

Before you start programming any actual AJAX code, you need to be aware of the fact that AJAX stands for asynchronous JavaScript and XML. This means that rather than being a new coding method for you to use, AJAX is instead a new way of using old coding commands. This means that if you know JavaScript or XML commands, then chances are that you are going to know exactly what to do in terms of commands to use with your AJAX Scripting.

The main problem with JavaScript and XML commands was that for the most part when they were initially unveiled to the world, they had extraordinary redundancies within them. For example, when you filled out a form online five years ago, you were probably amazed at how fast the computer was able to send that information to the person that managed the website. Now, however, you are probably sickened at how slow the process is. This is because the technology has advanced, but the JavaScript functions such as the ones governing forms are stuck firmly in the old world of scripting. They send a single request each time a button is clicked, causing a lower amount of user-friendliness as well as a slowdown in speed that is usually frustrating to the user.

When you are using AJAX, you have a way around it. It is known as the XMLHttpRequest object. This is an object that allows your JavaScript functions to communicate directly with the server your website is hosted on and therefore eliminates all of the problematic redundancies discussed in the previous paragraph.

Before the use of this script, what would happen when you clicked on a form button was that the form request would get sent with a POST data and the page would reload, usually with a thank you message for submitting your request. While that is certainly fine if you don’t mind waiting the extra few seconds, a faster way to do it would be through the use of the XMLHttpRequest. You can easily work this object into your code and instead of reloading the page, the object communicates directly with the server and therefore is able to return you a result without needing to reload the page.

If you want an everyday example of an XMLHttpRequest, then by all means have a look at Google Suggest. When you type into the search box, suggestions are returned to you through Google Suggest. This is, amazingly, done through a JavaScript code that is implanted through AJAX scripting syntax.

Scriptycan is a great software repository featuring both free and commercial Ajax Scripts and applications for both developers and programmers.