Category: Javascript Page 1 of 2

Javascript browser detection and page redirection

A recent project was … using Internet Explorer 5.5 as … of choice. Aware of browser … viewing theweb page using three other commonly used … … 4

A recent project was developed using Internet Explorer 5.5 as the
browser of choice. Aware of browser incompatibilities, viewing the
web page using three other commonly used browsers, Internet
Explorer 4.0, Netscape Navigator 6.1, and Netscape Navigator 4.7
revealed some ‘distortions’. This was mainly due to whether or not
a particular browser could interpret style sheets, and if so how the
style sheets were interpreted.

It was apparent that the page code either needed to be downgraded
to the ‘lowest common denominator’ or alternative versions of the
web page were needed for Netscape 6.1, Netscape 4.7, and
Internet Explorer 4.0. Therefore, a version optimized for Netscape
6.1 was created, as well as another version compatible for both
Netscape 4.7 and Internet Explorer 4.0. (This was before Internet
Explorer 6.0 and Netscape 6.2 were available.)

Review of several current web sites and textbooks on Javascript
presented different approaches to writing script to first detect a
user’s browser, and then depending on the browser and version,
to redirect the user to a specific page. In this particular case, none
of the recommendations or solutions were what was needed. After
a good deal of testing and re-testing, the following script examples
were assembled.

Below are five different examples / variations of some Javascript
that is to be placed on a page that is optimized for Internet Explorer
5.5. These scripts will then automatically detect the visitor’s browser
and version, and then automatically direct the particular browser in
one of three directions. They are;

If a visitor is using Internet Explorer 5.5, to remain on the current page.

If a visitor is using Netscape 6.1, to be redirected to a page that has
been optimized for Netscape 6.1.

If a visitor is using Internet Explorer 4.0 or Netscape 4.7, to be
redirected to a third page that has been written specifically for
either of these browser versions.

Explanatory discussion follows the script examples.

#1

—————————————————————-
#2

—————————————————————
#3

—————————————————————
#4

—————————————————————
#5

—————————————————————

Any of these five different scripts can be utilized. These have
been compiled after many attempts at using other suggested
scripts that either were too limited, were not applicable to
identifying version 5 and higher browsers, or just did not seem to
work as anticipated.

All these scripts are a series of conditional statements, which are
read by the visitor’s browser when the web page ‘ie55.htm’ is
loaded.

1. The browser reads the first statement and if it is Netscape 6.1,
it is redirected to the page written specifically for Netscape 6.1.
If not,

2. The browser reads the next statement and if it is Netscape 4.7,
it is redirected to the page written for the ‘number 4’ version of
either Internet Explorer or Netscape Navigator. If not,

3. The browser reads the next statement and if it is Internet Explorer
4.0, it too is redirected to the page written for the ‘number 4’
version of either Internet Explorer or Netscape Navigator.
And lastly,

4. If none of the statements apply, the browser will remain on the
same page that contains the script and proceed to read the
remainder of the page.

Next are several observations made after consulting several resources
(online and in print) and conducting many ‘trial and error’ sessions.

Peculiarities encountered that caused difficulties include;

1. Regarding the line that identifies a browser’s version number

(navigator.appVersion.indexOf(” “) != -1)
Internet Explorer; you must use “MSIE 4”, not “MSIE 4.0”, “4”, or
“4.0”. The same is true whether or not this additional ‘if’ statement,
(navigator.appName.indexOf(“Internet Explorer”) != -1), is included
as in #1. Use “MSIE 5” to identify Internet Explorer 5.5. **See
below for more about Internet Explorer and version numbers.
Version 5.5 does not fall under the category of version 5 or higher.

Netscape Navigator; in this statement either “5.0” or “5” will work
with Netscape 6.1 resulting in directing the browser to the page
optimized for Netscape 6.1.

if (navigator.appName.indexOf(“Netscape”) != -1) {
if (navigator.appVersion.indexOf(“5.0”) != -1)
window.location=”nn61.htm”;
}
But in this statement, “5.0” must be used. “5” results in Netscape 4.7
being directed to the page optimized for Netscape 6.1 instead of the
page optimized for Netscape 4.7. The reason is unknown. This
peculiarity was discovered through ‘trial and error’.

if (navigator.appName.indexOf(“Netscape”) != -1) {
if (navigator.appVersion.indexOf(“5.0”) == -1)
window.location=”ienn4.htm”;
}
** NOTE: Attempting to separate browsers based upon their version
number is not as straight forward as it might seem. The reason is that
both Internet Explorer 4.0 and Internet Explorer 5.5 have the same
version number of 4! Also Netscape 6.1 has a version number of 5!
So trying to detect and then select browsers based on version numbers
results in confusion. In particular

The version number of ‘5 and higher’ will exclude Internet Explorer 5.5
The version number of ‘4 and lower’ will include Internet Explorer 5.5
The version number of ‘6 and higher’ will exclude Netscape 6.1

2. Regarding the line that identifies a browser’s name

(navigator.app.Name.indexOf(” “) != -1)

Internet Explorer; you must use “Internet Explorer”, “Microsoft”, or
“Microsoft Internet Explorer”. “MSIE” is not recognized.

3. All of these browsers, Netscape 4.7 and 6.1, and Internet
Explorer 4.0 and 5.5, have the same code name of Mozilla.

Therefore these browsers can not differentiated based on their
code name.

Conclusions;

Remember that these scripts are to be placed on the page that has
been optimized for viewing using the Internet Explorer 5.5 browser.

If a Netscape 6.1 browser is being used, the visitor is automatically
redirected to the page that has been optimized for Netscape 6.1.

If a Netscape 4.7 browser is being used, the visitor is automatically
redirected to the page that has been optimized for either Netscape
4.7 or Internet Explorer 4.0.

If an Internet Explorer 4.0 browser is being used, the visitor is
automatically redirected to the page that has been optimized for
either Netscape 4.7 or Internet Explorer 4.0.

If none of these three ‘if’ conditional statements are true, the browser
will remain on the present page and will continue on with interpreting
that page, in this case the page that has been optimized for Internet
Explorer 5.5.

To use these scripts, remember to replace the fictitious pages
“nn61.htm”, “ienn4.htm”, and “ie55.htm” with your actual pages.
Also if using one of these scripts on a page that is created for
viewing using a browser other than IE 5.5, further adjustments will
be necessary, as well as, then re-testing the script(s).

Remember that some of the other browser types that are in use
include, i.e. AOL, Netscape Navigator 3.0 or lower, Internet
Explorer 3.0 or lower, Opera (various versions), Web TV, Lynx,
Konqueror. All of these are used in small numbers and whether one
wants to address each one of these browsers is an individual decision.

There are different web sites that contain statistics on browser usage
that can be reviewed. The best source of information on the actual
browsers that are used to view your web site are your own visitor logs.
Check those as they may or may not agree with other published web
statistics.

Obviously Intranets are a special environment and one in which the
pages must be optimized for the particular browser that is in use on
the Intranet machines. This is a much easier situation to have to contend
with.

Unfortunately until the ‘browser wars’ come to an end and an ‘across
the board acceptance’ of the W3C’s guidelines for coding is the ruleScience Articles,
browser incompatibilities will continue to influence web page construction.

Source: Free Articles from ArticlesFactory.com

ABOUT THE AUTHOR

After being a practicing dental specialist for twenty-five years, William J. Tolson became intrigued with the Internet and web page design. Self-taught and initially designing and hand coding his own personal web sites, he now devotes all his time as an independent contractor focusing on web page design, optimization and accessibility for all.










Source: Free Articles from ArticlesFactory.com

ABOUT THE AUTHOR

After being a practicing dental specialist for twenty-five years, William J. Tolson became intrigued with the Internet and web page design. Self-taught and initially designing and hand coding his own personal web sites, he now devotes all his time as an independent contractor focusing on web page design, optimization and accessibility for all.

Javascript basics 01

JavaScript adds simple or sophisticated interactivity to a Web site, enhancing the user’s experience. Like any programming language, you need to understand the building blocks before you can start pro…

JavaScript adds simple or sophisticated interactivity to a Web site, enhancing the user’s experience. Like any programming language, you need to understand the building blocks before you can start programming.

Start at the Beginning

Browsers know to interpret Web pages as HTML because of the tags. Since JavaScript is contained inside an HTML document, it needs to be set apart with the tags.



TITLE< itle></p> <p><script language="JavaScript"><!-- Comment from older browsers YOUR SCRIPT HERE // end commenting out --><br /></script><br />

Don’t forget that last

Instant plugin scripts that help you profit special offer expiry date with a twist

How would you like to add an … sense of … any of your online … … thought so!What I’ve go for you here is the perfect answer in the formof a special piece of JavaSc

How would you like to add an irresistible sense of urgency
to any of your online offers… instantly?

I thought so!

What I’ve go for you here is the perfect answer in the form
of a special piece of JavaScript you can just copy and paste
into your sa’les page.

So what does it do exactly?

It creates an active deadline date counting down the days
until your offer expires.

So where’s the twist?

What’s extra special about this unique code is as soon as
the offer is over the HTML code you placed inside this script
will no longer be seen on your website.

For example inside the HTML code could be an order button
giving your visitors the chance to order at a discount.

As soon as the special offer date has been reached the discount
order button just disappears!

I think this is much more honest way of working than just
adding an advance special offer expiry date that’s never
reached.

Here’s how it all works…

Place the HTML code into the source code of your web page
anywhere between the and tags. The position
you choose is where your special offer will appear:

Set the expiry date you need at string:

var expiry = new Date(2004,0,1);

Note. See the comment below this string.
Month’s numbers begin from 0.

You need to place your special offer HTML-code between string

‘+

and

Then you should quote each your HTML-code line with single
quoting symbol (‘) and add the plus symbol (+) at the end
of each line.

Please note: You shouldn’t use single quoting symbol inside
your HTML-code. (Use double quoting symbol inside your
HTML-code instead.)

You can also place the expiry date inside your special offer.

Use the expiryDate variable. Or you can place the number
of days till the offer expire, just use the expiryDays variable.

That’s all there is to it, if you follow this link:
http://www.icoder.com/pluginscripts/examples/2offer.html
you can see how it should look when you’ve installed it
on your web page.

For a more detailed explanation on what JavaScripts
are and how to install them please send a blank
email here: mailto:jshelp@icoder.com

If you need any help or advice in installing this or
any of my other plug-in scripts just let me know and
I’ll do my best to help 😉

At your service,

Michel Komarov
mailto:michel@icoder.com

Article Tags:
Offer Expiry Date, Plug-in Scripts, Offer Expiry, Expiry Date, Html Code, Special Offer

Source: Free Articles from ArticlesFactory.com

ABOUT THE AUTHOR

Michel Komarov is a fully qualified software engineer with over 5 years experience helping people to automate their online businesses for maximum profits.










Article Tags:
Offer Expiry Date, Plug-in Scripts, Offer Expiry, Expiry Date, Html Code, Special Offer

Source: Free Articles from ArticlesFactory.com

ABOUT THE AUTHOR

Michel Komarov is a fully qualified software engineer with over 5 years experience helping people to automate their online businesses for maximum profits.

Validating numerical input with javascript

What? Make a mistake entering data? Who me? NO WAY! … form of data input by a user should be … in some form or fashion. If you get clean data in, you won’t get garbage out. This tuto

What? Make a mistake entering data? Who me? NO WAY! Right…

Every form of data input by a user should be validated in some form or fashion. If you get

clean data in, you won’t get garbage out. This tutorial is going to explain how to validate

numerical data entered into a form using JavaScript.

First, let us begin with the code to insert the JavaScript into your HTML document.

Place these lines between the and tags.

This line tells the web browser to expect some JavaScript code and signal the beginning of

the script:

So now the format should look something like this:



My Title


Now on to validating the numerical input.

First we will create a function with one arument:

function validate(mydata){

These lines will test for a blank enty then prompt the user for input:

if (mydata == “”){
alert(“Please enter a number.”)
}

Next we will create a for loop which will look at each character in the data until it

reaches the end:

for(var i=0;i < mydata.length;i++){

Now create a variable and assign the counter variable value to it:

var mydigit = mydata.charAt(i)

To screen out symbols, punctuation, and letters, place an if statement in the loop:

if(mydigit < “0” || mydigit > “9”){

The || in the if statement scans for both conditions.

The next line will alert the user to any mistakes he/she has made:

alert(mydigit + ” is not a number.”)

Here is the complete code including HTML:
=============================================


Numerical Validation


Interactive forms

Why … forms? Forms are easy enough to create when they are simple, like search boxes. But what if you need them to be complex? How about changing the forms based on input by the viewer? This

Why interactive forms?

Forms are easy enough to create when they are simple, like
search boxes. But what if you need them to be complex? How
about changing the forms based on input by the viewer? This
is where interactive forms using Javascript and HTML can
help. I’ll use a simple example on how interactive forms can
be useful.

The problem

I am going to use a business project as an example to teach
interactive forms. Imagine that we are creating a ordering
system for flowers. We would like the customer to be able to
order a bouquet of flowers. The customer can choose to have
any number of flowers in the bouqet from 1 to 6. For each
flower, the customer can choose a type of flower, and there
are 3 different kinds of flowers. Now imagine all these
options as a regular form. There would be 18 options to
choose from, even if you only wanted one flower! This would
be ugly! In this tutorial we will learn how we can show and
hide form elements depending on the input by the customer.
Now let’s get started!

Creating the interactive form
-HTML

We are going to create a page where you can enter the
information for ordering flowers. We’ve decided on having a
drop down menu to select the number of flowers, and then for
the number selected, display that number of options to
choose the type of flower. We’ll start by creating the HTML
forms. First we will write the html code for the form.

This will create a menu.

Next we need to create the form where the customer will
choose the type of flower they would like. We will let them
choose between a red rose, a white rose, and a yellow rose.
I am going to use radio buttons for the selection. Here is
the code:

Red

White

Yellow

For this tutorial, I assume you have a basic knowledge of
HTML. All of these pages still need mandatory tags, but I
left them out because of the size they would take up. Notice
how I made all the options the same name. This is so they
are grouped together, and only one option can be choosen.

This is what it will look like: 0 Red 0 White 0 Yellow

Duplicate this code 6 times, for each of the flower. But
every time you see “color1”, change that to a different name
so they are all seperate. I will use “color1”, “color2”,
“color3”, and so on.

Now we need to put all of this together into an ordering
form. But we need to add something so that the forms can
disappear. We will add

tags around each of the flower
type selection rows. Enter the following code around each of
the groups of options. Make sure that for each one, you
label the id tag for the

differently. For example, the
first group will start with

will start with

IMPORTANT. When we pass variables onto the script, the only
thing that should change between the name of the

tags
should be the number. This is because we will use a loop to
go through all the numbers. We will pass through the name of
the

tags to the javascript script, and the script will
add the numbers.

Now we have each option groups surrounded by a

tag.
This will allow us to change their visibility with
javascript. I have put

tags around the options, and
added a submit button. Note: when adding

tags inside a
table, make sure they are contained within a

cell.
Something like

< able>
will not work for the same reason that adding text outside
of

< d>< r>
cells inside a table doesn’t work. If the stuff
inside the

tag is showing up, tables may be your
problem. To fix this, either don’t use tables, or create an
entire seperate table for the information inside the

tag. Here is the code:

Flower Order Form

Select how many flowers you would like:


We used css to hide the

tags. The next step is to use
javascript to show and hide each of the

cells
depending on what is selected in the drop down menu. We will
start out by making a javascript function, then I will
explain the code and link it up with the drop down menu.
Javascript

We are going to create a function that will show and hide
the

cells. There are 3 things we need to pass onto the
script: the number of total options, the name prefix for the

tags, and the number of options(to end the loop). Here
is the script that I wrote:

Add this code inside the section of your page. Now we
have one less step; to call the function from the drop down
box. Here is the code to do that:

ShowMenu(document.getElementById(‘numflowers’).value,’divCo

What this does is when the value is change, it will pass on
the value, the name prefix of the

cells, and the
number of

cells. In the first part, make sure the
getElementById(‘numflowers’) matches the ‘id’ attribute in
the onChange=”javscript:
ShowMenu(document.getElementById(‘numflowers’).value,
‘divColor’, 6);”>

Article Tags:
Drop Down Menu, Interactive Forms, Drop Down, Down Menu

Source: Free Articles from ArticlesFactory.com

ABOUT THE AUTHOR

Brian Zimmer is a graphics and web designer with over 4 years of experience in Paint Shop Pro, HTML, CSS, Javascript, SEO, PHP, and MySQL. His services include professional and affordable freelance web and graphic design. He is the webmaster of http://www.zimmertech.com, and you can contact him through email at brian@zimmertech.com.

How to test for the javascript dom

Browsing the forums, … articles and other resource sites raised an … yet … … … do I test for the Document Object Model (DOM) employed by a … S

Browsing the forums, development articles and other resource sites raised
an interesting yet recurring question: “How do I test for the Document
Object Model (DOM) employed by a browser?”. Strangely enough I was
asking the same question when starting out in Javascript. However, after
enough
time has passed, with the same thing done more than once, I started to
realise that this is a question that begs answering for once and for
all.

A Typical Test

Testing for the DOM in itself is easy enough. A recommended approach is
testing for the support of a DOM, and not for a browser
version. The following describes Boolean variables that indicates the compliance
to
the DOM methods and parameters that you are targeting:

isIE4 = document.all? true : false;

isIE6 = document.getElementById && document.all ? true : false;

isNS4 = document.layers? true : false;

isNS6 = document.getElementById && !document.all ? true : false;

The above items return a set of true or false values for any browser. This
method still requires that you access objects described by the DOM through
that DOM’s methods. In the long run the amount of work you have to do
remains more or less the same.

Javasript is an Object Orientated language

Everyone who is familiar with Javascript knows that the language supports
Object Orientation (OO). Passing objects around in variables is nothing
new, so why do people persist in performing lengthy tests for the DOM
each time we need to access an object?

The item which describes the document’s
referencing structure is nothing more that an object itself. This means
that you
only need
to perform the test once, and then proceed to use an arbitrary object
that describes
the DOM object throughout the remainder of your script. However, since
this approach would require that you define a variable for each and every
object you will be referencing, we need an approach which is more
robust.

A Compromise

Typically you access objects though the DOM for one of two reasons: Get
a value, or Set a value. Previous approaches require that you access
the object through the DOM methods each and every time you need to perform
some action on the object. The same holds true for every other object
accessed by your script. What we need is a method that will:

  1. Access the correct DOM using the relevant methods
  2. Return the object of interest
  3. Not waste time and patience

A practical approach used by myself is described in a function that returns
your object without any hassles.

function getDOMObject (documentID){

if (isIE4){

return document.all[documentID];

}else if(isIE6){

return document.getElementById(documentID);

}else if (isNS4){

return document.layers[documentID];

}else if (isNS6){

return document.getElementById(documentID);

}

}

The above function comprimises by using the typical test defined earlier
to identify our browser DOM, and returns the object identified by its
ID / NAME pair. So whenever you need to do something to an object, this
approach requires that you call the getDOMObeject () function. For example,
the following will set the value attribute of a hypothetical text box
to ‘test value’.

getDOMObject('txtMyTextBoxID').value = "Test Value";

The value of this approach comes to the front in scripts where you need
to access multiple objects in your document. For example:

getDOMObject('txtMyTextBoxID1').value = "Test Value 1";

getDOMObject('txtMyTextBoxID2').value = "Test Value 2";

getDOMObject('txtMyTextBoxID3').value = "Test Value 3";

getDOMObject('txtMyTextBoxID4').value = "Test Value 4";

getDOMObject('txtMyTextBoxID5').value = "Test Value 5";

getDOMObject('txtMyTextBoxID6').value = "Test Value 6";

Looks like a lot less workFree Articles, doesn’t it?

 

Article Tags:
Documentall True False, Documentall True, True False, Test Value

Source: Free Articles from ArticlesFactory.com

ABOUT THE AUTHOR

Riaan Pieterse is the CEO and founder of Kerberos Internet Services CC, South Africa. Having spent a number of years conducting various consulting assignments in the Far East, Middle East, Africa and Europe to businesses and governments alike, Riaan has a solid understanding of the business and technology issues in today’s market.
For more information visit www.kerberosdev.net or www.kerberosb2b.com










Browsing the forums, development articles and other resource sites raised
an interesting yet recurring question: “How do I test for the Document
Object Model (DOM) employed by a browser?”. Strangely enough I was
asking the same question when starting out in Javascript. However, after
enough
time has passed, with the same thing done more than once, I started to
realise that this is a question that begs answering for once and for
all.

Testing for the DOM in itself is easy enough. A recommended approach is
testing for the support of a DOM, and not for a browser
version. The following describes Boolean variables that indicates the compliance
to
the DOM methods and parameters that you are targeting:

The above items return a set of true or false values for any browser. This
method still requires that you access objects described by the DOM through
that DOM’s methods. In the long run the amount of work you have to do
remains more or less the same.

Everyone who is familiar with Javascript knows that the language supports
Object Orientation (OO). Passing objects around in variables is nothing
new, so why do people persist in performing lengthy tests for the DOM
each time we need to access an object?

The item which describes the document’s
referencing structure is nothing more that an object itself. This means
that you
only need
to perform the test once, and then proceed to use an arbitrary object
that describes
the DOM object throughout the remainder of your script. However, since
this approach would require that you define a variable for each and every
object you will be referencing, we need an approach which is more
robust.

Typically you access objects though the DOM for one of two reasons: Get
a value, or Set a value. Previous approaches require that you access
the object through the DOM methods each and every time you need to perform
some action on the object. The same holds true for every other object
accessed by your script. What we need is a method that will:

A practical approach used by myself is described in a function that returns
your object without any hassles.

The above function comprimises by using the typical test defined earlier
to identify our browser DOM, and returns the object identified by its
ID / NAME pair. So whenever you need to do something to an object, this
approach requires that you call the getDOMObeject () function. For example,
the following will set the value attribute of a hypothetical text box
to ‘test value’.

The value of this approach comes to the front in scripts where you need
to access multiple objects in your document. For example:

Looks like a lot less workFree Articles, doesn’t it?

 

Article Tags:
Documentall True False, Documentall True, True False, Test Value

Source: Free Articles from ArticlesFactory.com

ABOUT THE AUTHOR

Riaan Pieterse is the CEO and founder of Kerberos Internet Services CC, South Africa. Having spent a number of years conducting various consulting assignments in the Far East, Middle East, Africa and Europe to businesses and governments alike, Riaan has a solid understanding of the business and technology issues in today’s market.
For more information visit www.kerberosdev.net or www.kerberosb2b.com

Knights going mobile by qarea

Kharkiv, Ukraine — October 4, 2005 — QArea, the leading developer of applications for PDA’s and smart phones also being the originator of the pioneering BugHuntress Test Suite for automated PDA applications testing, announces ending of its Knights J2ME game testing and start of porting it for variety of mobile devices.

Kharkiv, Ukraine — October 4, 2005 — QArea, the leading developer of applications for PDA’s and smart phones also being the originator of the pioneering BugHuntress Test Suite for automated PDA applications testing, announces ending of its Knights J2ME game testing and start of porting it for variety of mobile devices.

The Knights J2ME game will be available for Nokia Series 40 and 60; Siemens Series 55 and 65; SonyEricsson T610, 630, Z600; Motorola V Series; Samsung and Alcatel in the nearest future.

Knights is a unique knights tournament simulator for mobile phones which is quite uncomplicated, yet incorporates tactic and strategic planning elements.

The game parameters can be set via menu. Thus, the strategic core of the game is implemented.

The game goal is to beat the Champion.

The game scenario stipulates 4 successive tournament rounds. During the first round the four Houses fight, during the second one – the three Houses, during the second one – the two Houses, and during the forth one – you fight the Champion. Each House has its Leader and members. The player can move from a round to the successive one by beating the House Leader. By beating a House member the player can improve their fighting capabilities. The fighting is won by beating the Champion or failed after a set number of looses.

The tactics is implemented in a fighting tournament itself. The player can accelerate their Knight yet detriment of hitting accuracy. If both Knights have vitality points left the tournament goes on. The point of this phase is to set the fighting characteristics in the most efficient way.

The score is earned after the following formula: total vitality points taken away from the opponents / tournaments * rounds (4).

Game Controls:
5-accelerate
0-slow down
4-aim left
6-aim right
2-aim top
8-aim bottom

About QArea: QArea is the largest Ukrainian offshore software development company since 2001. Its primary focus is brought upon software development for Palm, WinCE, RIM (Blackberry), Symbian, BrewFind Article, J2ME-enabled devices and related.

http://www.QArea.com

Source: Free Articles from ArticlesFactory.com

ABOUT THE AUTHOR

Kozlov Igor

Importance of web application development j2ee

Because of growing importance of Internet in world wide economic, many investors are interested in its development. So surprising method is how will continuation to play a vital role to communicate world wide.

Because of growing importance of Internet in world wide economic, many investors are interested in its development. So surprising method is how will continuation to play a vital role to communicate world wide. “Web Application Developments” are only the keywords who guide you. There are many companies that require business-to-business interaction via web-services. Outsource projects transfer process is becoming most popular.

A web application developed in 3 tiers stage: User services, business services, & data services. The User service tier creates a visual gateway for the consumer to interact with the application. This can range from basic HTML and DHTML to complex COM components and Java applets.

J2EE Development services for established as well as emerging companies across the world. Zansys development center imparts the right Java development value to clients through its expertise in Java development services; proven project management processes, excellent technical resources, cost effectiveness, timely delivery, J2EE Development Services. Zansys is committed to offer their clients a state-of-the-art in Java development services by integrating technology, innovation and strategy with their business processes.

Advantages of software development in java:

1. Multi platform support language and support for web-services also.

2. Develop dynamic web applications for e commerce, e learning, polls, HTML forms processing, and more.

3. Combine Java technology-based applications or services to create highly customized applications or services.

4. Write powerful and efficient mobile application content, RPC.

5. Low – cost consumer productsScience Articles, and practically any device with a digital heartbeat.

Source: Free Articles from ArticlesFactory.com

ABOUT THE AUTHOR

Sharen writes exclusive article and blogs. For quality resources of J2EE web development application visit at: http://www.kvcindia.com/blog

Sharen writes exclusive article and blogs. For quality resources of J2EE web development application visit at: http://www.kvcindia.com/blog

Biggest ajax problem

AJAX is becoming the new “de facto” standard in the web application industry. Every where you look on the web there are changes and on almost all sites to approach the AJAX world. Gmail and Yahoo Mail…

AJAX is becoming the new “de facto” standard in the web application industry. Every where you look on the web there are changes and on almost all sites to approach the AJAX world. Gmail and Yahoo Mail are some of the biggest web applications implementing AJAX and the results on both are amazing.

Browser world

If you ask a JavaScript developer about what is the biggest problem of JavaScript programming it will probably tell you it’s browsers’ incompatibilities. This is a very big issue and as long as the major players will not come to an understanding (and unfortunately they won’t) and provide a common ground it will remain a big issue.

I will not mention here other problems from the CSS world for example.

Fortunately along with AJAX came a lot of frameworks and libraries that address this problem and hide the ugly details from the programmer.

The PROBLEM

In my opinion there is a worse problem then hacking your way around bugs and differences. That problem is represented by memory leaks.

JavaScript VM comes with a garbage collector and aside from some edge cases you might encounter, it does a pretty good job. Once you close a page a lot of work is done behind the scene to clear unreferenced objects. A lean, mean cleaning machine.

Well… AJAX can mess this up. The page is not closed any more.

The problem is not AJAX in itself as a programming paradigm but in what it can do for the application. With AJAX you can retrieve data from the server without closing the page and rebuilding it. And that data is placed inside the same page and manipulated by JavaScript programs. New DOM objects are created over and over, new JavaScript objects are created based on those data, new events are attached to all this objects. Few programmers destroy those object and unattache the events.

AJAX is still young and most of the people that have done some AJAX implementation for their site are just pulling some HTML parts from the server and using innerHTML to replace the content of a div element. No harm done. As the applications are becoming more and more complex the use case changes. XML or JSON is pulled from the server and DOM objects are created based on them. It is very easy to forget something.

Unfortunately most JavaScript programmers are sloppy. They were taught to be that way by the old browsing habits. There was no need to clean after you. When the page needed some more information, it was regenerated on the server and rendered again by the browser. A clean sheet to work on. Everything that was persistent were the cookies on the browser.

Taking care of your things in JavaScript is harder than you think. Very good programmers missed this. I was using an AJAX application from a well known company (not here to throw the stone) and after heavy usage for about two days without closing my browserHealth Fitness Articles, it reached the respected 700 MB footprint in my laptop’s memory.

Source: Free Articles from ArticlesFactory.com

ABOUT THE AUTHOR

Remus Stratulat is a Technical Product Manager at InterAKT Online company and is involved in projects related to web 2.0 and Ajax and to JSEclipse editor, one of the most successful JavaScript editors for Eclipse.

 

http://www.stratulat.com/blogs/

Remus Stratulat is a Technical Product Manager at InterAKT Online company and is involved in projects related to web 2.0 and Ajax and to JSEclipse editor, one of the most successful JavaScript editors for Eclipse.

 

http://www.stratulat.com/blogs/

The mystery surrounding internet marketing is there one or do they want you to think there is

Everyone these days wants to become an internet “Guru”, which I’m not disputing is a fine ambition, but the information out there created by these “Gurus” is undoubtedly complex and mind boggling.

Everyone these days wants to become an internet “Guru”, which I’m not disputing is a fine ambition, but the information out there created by these “Gurus” is undoubtedly complex and mind boggling.

For the ambitious beginner, following a course that was written by someone who has been in the business for many a year can be a frustrating process.

Promises are made of wealth beyond your wildest dreams and you only need spend an hour or two a day to achieve everything you ever dreamed of! Well, this may be the case further down the road, but we all have to start somewhere.

So what is the big mystery, the big secret behind making those millions?

NEVER GIVE UP!

It may not be what you want to hear, we all want something to drop in our laps and make us a fortune, but the reality is with internet marketing you need to build on solid foundations as with any other business.

The biggest hurdle you face is separating the good material from the hype!

So many internet marketing newbie’s fail because they try something that has been recommended and very often (due to lack of experience) fall at the first hurdle and very often lose money into the bargain.

But take heart. If you’re really serious about this business and are prepared to put some serious time and effort in, you can not only build a solid business but also make some serious money!

The “Gurus” had to start somewhere.

There are the select few who have been lucky enough to make money overnight but they are “the select few” so I’ll let you into a little secret………Even the big earners base their business on the same simple techniques that you can so easily learn and apply yourself.

Every internet marketer has a “list”. This is a list of people that they have gathered through promotions over time and they sell to this list time and time again. It’s at this stage that you can spend an hour per day on your internet marketing business and watch the money roll in because you put the hard work in to start with!

So where do I start?

Well most of us don’t have our own product to sell and the start up costs of producing and manufacturing can be astronomical. So sell someone else’s product for them! You may be thinking that’s ok but I wouldn’t make as much money as if I owned my own product. Wrong! If you become an affiliate (That’s marketing someone else’s product for them) they will pay you a commission and you would have no handling costs, no shipping costs and no after sales care to deal with. All you have to do is bank the cheques they send you on a regular basis. The commissions that many affiliate marketers offer is very generous, up to 70% of the price of the product! Well worth a go……….

Choosing the right product depends on you. When promoting a product I strongly recommend that you choose something that you have some knowledge about or are genuinely interested in. The reason I say this is because when people read your sales letter it will stand out a mile if you don’t come across as genuine. They will not buy from you because they don’t TRUST you!

Why is trust so important?

Joe public is sceptical at the best of times and never more so than when they are about to part with money. This is why you need to build a good relationship with your potential customers. If they trust you and are happy, they will buy from you over and over again!

Will it cost me a lot to get started?

Well that depends on your own finances. A lot to one person is not a lot to another. You can start this business with a relatively small budget, you can get free advertising and you don’t have to buy traffic, but you will need a domain name and web hosting etc. These things are a necessity but not expensive.

The biggest pieces of advice I can give you is think BIGFind Article, have a plan and NEVER GIVE UP!

Source: Free Articles from ArticlesFactory.com

ABOUT THE AUTHOR

You can get more quality information in this free 5 part mini course called “How to crack the internet code and profit instantly”- http://www.cracktheinternetcodeonline.com

You can get more quality information in this free 5 part mini course called “How to crack the internet code and profit instantly”- http://www.cracktheinternetcodeonline.com

Page 1 of 2

Powered by WordPress & Theme by Anders Norén