Computer, Technology Community
+ PCLIFE
Username:
Password:
  Show Posts
Pages: 1 [2] 3 4
16  Webmasters Home / Web Design Help / VBScript Tutorial on: October 08, 2008, 10:47:40 AM
VBScript stands for Visual Basic Script, a scripting language developed by Microsoft to be used with Microsoft products, mainly Internet Explorer. It has gone through many changes over the years and is now mainly used as the default scripting language of ASP.

VBScript: Client Side Scripting

VBScript was created to allow web page developers the ability to create dynamic web pages for their viewers who used Internet Explorer. With HTML, not a lot can be done to make a web page interactive, but VBScript unlocked many tools like: the ability to print the current date and time, access to the web servers file system, and allow advanced web programmers to develop web applications.
VBScript: Why Learn and Use It?

VBScript is a prerequisite for ASP developers and should be learned thoroughly before attempting any sophisticated ASP programming. Programmers who have used Visual Basic in the past will feel more at home when designing their dynamic web pages with VBScript, but it should be known that only visitor's using Internet Explorer will be able to access your code, while other browsers will not be able to process the VBScript code.
Tizag's VBScript Learning: Do's & Don'ts
DO Learn VBScript

    * If you have a solid understanding of HTML
    * If you want to program successfully in ASP
    * If you already know Visual Basic and would like to experiment with VBScript
    * If you are a hobbyist that enjoys knowing many programming

DON'T Learn VBScript

    * If you are developing a web page for the general public
    * If your site has visitors who use a browser other that Internet Explorer
    * If prefer to avoid dying languages. If you want something more supported, you should learn Javascript

If you still want to learn VBScript then let's get started.
17  Webmasters Home / Web Design Help / SEO Tutorial on: October 08, 2008, 10:46:59 AM
You've finished your web design, uploaded your files, and set up your blog, but you're still not getting as many visitors as you hoped for. What gives? Chances are you haven't started working on one of the most important ways to market your site, Search Engine Optimization (SEO).

What SEO Is

Search Engine Optimization refers to the collection of techniques and practices that allow a site to get more traffic from search engines (Google, Yahoo, Microsoft). SEO can be divided into two main areas: off-page SEO (work that takes place separate from the website) and on-page SEO (website changes to make your website rank better). This tutorial will cover both areas in detail! Remember, a website is not fully optimized for search engines unless it employs both on and off-page SEO.
What SEO Is Not

SEO is not purchasing the number #1 sponsored link through Google Adwords and proclaiming that you have a #1 ranking on Google. Purchasing paid placements on search engines is a type of Search Engine Marketing (SEM), and is not covered in this tutorial.

SEO is not ranking #1 for your company's name. If you're reading this tutorial, you probably already know that ranking for popular terms is darn near impossible, but specific terms, such as a company name, is a freebie. The search engines usually are smart enough to award you that rank by default (unless you are being penalized).
Who Uses SEO

If a website is currently ranked #10 on Google for the search phrase, "how to make egg rolls," but wants to rise to #1, this websites needs to consider SEO. Because search engines have become more and more popular on the web, nearly anyone trying to get seen on the web can benefit from a little SEO loving.
18  Webmasters Home / Web Design Help / Flash Tutorial on: October 08, 2008, 10:46:05 AM
Macromedia's popular application Flash has redefined the way web developers approach web design. With flash the web developer is now able to create a user experience that is rich in media and relatively quick loading, especially compared to traditional methods like GIF animations. Websites made up of music, videos, and custom, graphic intensive interfaces are all possible with Macromedia Flash.

Flash Uses

In flash you can create unique text, animations, movies, web applications, games and more. Although flash is somewhat more complex than traditional web development technologies like HTML and CSS, this tutorial will give you the basics you need to immediately get started with designing your own flash projects.
Flash Pros

With flash you can entertain your users like never before. Your web site can transform from a bland text based web site into a graphical playground. Many companies that are based primarily on image and appearance have flash web sites to help show their company in the best light.
Flash Cons

If you are designing a site that you want to rank well in search engines, chances are a pure flash design will not be beneficial to you. Although search engines are getting better all the time, they still have trouble spidering and gathering information from flash sites. This difficulty usually results in flash pages performing below that of normal text based HTML web sites.

Not everyone has the Macromedia Flash player installed, so it is a possibility that you will alienate some of your potential audience if you go with a pure flash design. Often web developers will create two sites: flash and normal HTML to prevent losing any visitors.

Flash can also be very computationally intensive making animations and videos look great on your top of the line computer, but visitors with older technology may only see a choppy, slugglish slideshow that leaves them with a bad feeling.
Need to Know

Basic knowledge of HTML will be beneficial to you for following this tutorial. If you would like to review HTML check out our HTML Tutorial.

Knowledge of graphics programs like Adobe Photoshop and Illustrator will make creating graphics in flash much easier, but this experience is not required. Also, if you have used WYSIWYG (what you see is what you get) editors like FrontPage and DreamWeaver, then flash will be much easier to learn.

This tutorial was written using Macromedia Flash 8, but if you have an earlier version of Flash you should still be able to follow along the tutorial without a problem.
19  Webmasters Home / Web Design Help / XML Tutorial on: October 08, 2008, 10:45:15 AM
XML is a markup language. The mighty ones who created this acronym cheated a little, as XML stands for eXtensible Markup Language. XML was released in the late 90's and has since received a great amount of hype. The XML standard was created by W3C to provide an easy to use and standardized way to store self-describing data (self-describing data is data that describes both its content and its structure).

Communication Between Application

XML is nothing by itself. XML is more of a "common ground" standard. The main benefit of XML is that you can use it to take data from a program like MSSQL (Microsoft SQL), convert it into XML, then share that XML with a slough of other programs and platforms. Each of these receiving platforms can then convert the XML into a structure the platform uses normally, and presto! You have just communicated between two platforms which are potentially very different!

What makes XML truly powerful is the international acceptance it has received. Many individuals and corporations have put forth their hard work to make XML interfaces for databases, programming, office application, mobile phones and more. It is because of this hard work that the tools exist to do these conversion from whatever platform into standardized XML data or convert XML into a format used by that platform.

In the past, attempts at creating a standardized format for data that could be interpreted by many different platforms (or applications) failed miserably. XML has largely succeeded in doing this.
Applications of XML

Although there are countless numbers of applications that use XML, here are a few examples of the current platforms and applications that are making use of this technology:

    * Cell Phones - XML data is sent to some cell phones. The data is then formatted by the specification of the cell phone software designer to display text or images, and even to play sounds!
    * File Converters - Many applications have been written to convert existing documents into the XML standard. An example is a PDF to XML converter.
    * VoiceXML - Converts XML documents into an audio format so that you can listen to an XML document.
20  Webmasters Home / Web Design Help / Perl Tutorial on: October 08, 2008, 10:44:40 AM
This tutorial will be covering the PERL syntax and should provide you with a very solid foundation of PERL for you to build upon. It is recommended that before you start walking through our tutorial that you have a general understanding of Web Development as well as some background knowledge of HTML and CSS as our tutorial is directed toward Web programming.

We will be incorporating our PERL scripts with HTML, CSS, and PHP so if you are unfamiliar with any of these languages, it may be a good idea to touch base with the tutorials offered here, or elsewhere for that matter to familiarize yourself with the code we offer.
PERL - Practical Extraction and Report Language

Created in 1987 by Larry Wall, the UNIX based language has evolved into a powerful tool for the internet. It was designed as a quick-fix patch program for UNIX based systems. The language is very simplistic, offering optimum flexibility, perfect for short, straightforward scripting.

Since then its popularity has increased due to its flexibility, portability, usefulness, and its varied features. To get started, load a simple text editor program and follow along in our examples.
PERL - Getting Started

First things first, you go over to perl.org and download the latest version of Perl (currently 5.10) or check that your web host has it installed. We suggest you direct any installation questions or perl problems to the Perl Forum (might want to bookmark this).

This tutorial will be web based, working with and creating files over the internet. File management is the bread and butter of the PERL language, and as you will discover, it's absolutely perfect for doing so.
PERL File Extension

A PERL script can be created inside of any normal simple-text editor program. There are several programs available for every type of platform. There are many programs designed for programmers available for download on the web.

Regardless of the program you choose to use, a PERL file must be saved with a .pl (.PL) file extension in order to be recognized as a functioning PERL script. File names can contain numbers, symbols, and letters but must not contain a space. Use an underscore (_) in places of spaces.

PERL - First Script

With PERL installed we are ready to dive into our first script. There are a few elements every PERL script must contain in order to function. Open up your favorite simple text editor, the file extension for PERL scripts is .pl. Save your files with this extension.

The first line of every PERL script is a commented line directed toward the PERL interpreter. This line is generally the same from one instal of PERL to the next, it might look something like this if you were running it on linux:
firstscript-linux.pl:
Code:
#!/usr/bin/perl

And on a windows operating system it may resemble:
firstscript-windows.pl:
Code:
#!D:\Perl\bin\perl

In this tutorial we will assume you are running on a linux server (the most common web server), but if you are on windows make sure you use the correct path! The comment points to the installation path of Perl, usually /usr/bin/perl. You can locate the directory tree to Perl somewhere in the documentation of your web server, or email your web host and they can specify your Perl installation directory.
Perl - HTTP Headers

Because we are working in a web environment we are sort of jumping ahead of the game. We have to introduce some HTTP headers so that Perl understands we are working with a web browser. To do this we have to run another line of strange code called an HTTP header as you may have guessed. It looks something like this:
firstscript.pl:
Code:
#!/usr/bin/perl

print "content-type: text/html \n\n";


Bookmark and Share
PERL - First Script

With PERL installed we are ready to dive into our first script. There are a few elements every PERL script must contain in order to function. Open up your favorite simple text editor, the file extension for PERL scripts is .pl. Save your files with this extension.
Advertise on Tizag.com

The first line of every PERL script is a commented line directed toward the PERL interpreter. This line is generally the same from one instal of PERL to the next, it might look something like this if you were running it on linux:
firstscript-linux.pl:

#!/usr/bin/perl

And on a windows operating system it may resemble:
firstscript-windows.pl:

#!D:\Perl\bin\perl

In this tutorial we will assume you are running on a linux server (the most common web server), but if you are on windows make sure you use the correct path! The comment points to the installation path of Perl, usually /usr/bin/perl. You can locate the directory tree to Perl somewhere in the documentation of your web server, or email your web host and they can specify your Perl installation directory.
Perl - HTTP Headers

Because we are working in a web environment we are sort of jumping ahead of the game. We have to introduce some HTTP headers so that Perl understands we are working with a web browser. To do this we have to run another line of strange code called an HTTP header as you may have guessed. It looks something like this:
firstscript.pl:

#!/usr/bin/perl

print "content-type: text/html \n\n";

At this point our script still has no real functionality, all we have done thus far is locate our PERL interpreter and tell it that we are going to be working with a web browser or in a web environment.
PERL - Hello, Perl! Script

Now that we have located the interpreter and told PERL we are working with the web, we can print text to the browser with the print function.
helloperl.pl:

#!/usr/bin/perl

print "content-type: text/html \n\n";

print "Hello, Perl!";

Display:
Hello, Perl!

You should see "Hello, Perl!" in the top left corner of your browser. If you have a problem, ask about it on the Perl Forum
Perl - Execute Your First Script

Now it is time to upload your firstscript-linux.pl to your web server and execute it. After you upload your file be sure to CHMOD the script file and allow anonymous execution priviledge, generally a setting of 0755 works perfectly.

Your script is working perfectly if you are staring at a blank screen and didn't recieve a 500 or 404 error message.
Perl - Debugging Your Script(s)

If you are using an FTP program to upload your scripts, set the upload type to ASCII or "Text". This setting prevents the mysterious addition of random characters that sometimes happens when copying files across different operating systems. Learning to do this prevents hours of headaches and frustration.

Another great debugging technique is to isolate the code you are currently working on. To do this you can temporarily comment out lines of code to isolate only the section that is returning an error message.


Bookmark and Share


    * Go Back
    * Continue



Found Something Wrong in this Lesson?

Report a Bug or Comment on This Lesson - Your input is what keeps Tizag improving with time!

Code:
#!/usr/bin/perl

print "content-type: text/html \n\n";

print "Hello, Perl!";

Display:
Code:
Hello, Perl!

You should see "Hello, Perl!" in the top left corner of your browser. If you have a problem, ask about it on the Perl Forum
Perl - Execute Your First Script

Now it is time to upload your firstscript-linux.pl to your web server and execute it. After you upload your file be sure to CHMOD the script file and allow anonymous execution priviledge, generally a setting of 0755 works perfectly.

Your script is working perfectly if you are staring at a blank screen and didn't recieve a 500 or 404 error message.
Perl - Debugging Your Script(s)

If you are using an FTP program to upload your scripts, set the upload type to ASCII or "Text". This setting prevents the mysterious addition of random characters that sometimes happens when copying files across different operating systems. Learning to do this prevents hours of headaches and frustration.

Another great debugging technique is to isolate the code you are currently working on. To do this you can temporarily comment out lines of code to isolate only the section that is returning an error message.
21  Webmasters Home / Web Design Help / Ajax Tutorial on: October 08, 2008, 10:42:27 AM
Ajax is a catchy name for a type of programming made popular in 2005 by Google and other big web developers. Ajax loosely stands for Asynchronous Javascript And XML, but that just sounds like techno jargon to many people.

Ajax - Javascript on Steroids

When javascript was released, people loved all the cool things you could do with the web browser to make a more user-friendly experience. You could do form validation, quirky popup messages, make cool web tools and more. However, Javascript had no way of sending information between the web browser and the web server.

If you wanted to get any information from a database on the server, or send user information to a server-side script like PHP, you had to make an HTML form to GET or POST data to the server. The user would then have to click "Submit", wait for the server to respond, then a new page would load with the results. I'm sure we have all gotten slightly annoyed when having to wait for especially slow websites!

Ajax attempts to remedy this problem by letting your Javascript communicate directly with the server, using a special Javascript object XMLHttpRequest. With this object, your Javascript can get information from the server without having to load a new page!
Ajax - Is That It?

Pretty much. By using the programming practice termed "Ajax" you will be able to trade data, with a web server, without having to load a new page. Instead of Ajax being seen as "The New Way to Develop Websites", it should instead be seen as another weapon to add to your programming arsenal.

This tutorial will introduce you to the basics of Ajax and show you how to send and receive data from a server without using a "Submit" button approach.
Ajax - Recommended Knowledge

Ajax can be quite confusing to someone with little web programming experience. It is highly recommended that you are familiar with HTML and Javascript before attempting this tutorial.

Ajax - Creating an HTML Form


Before we can start getting to the exciting new stuff, we must first make a standard HTML form (no submit button though!). This form will be spiced up in later with a hint of Ajax, but for now let's just make a solid, basic HTML form with a couple inputs.

Ajax - Do You Have the Time?


To keep this Ajax easy to understand, we are going to be creating an HTML form that has two text fields: name and time. The name field will be filled in by the user, while the time field will be filled in using Ajax.

Below is the HTML code for your "order.html" webpage. If you would like to refresh your knowledge of forms, then check out our HTML forms lesson.

order.html HTML Code:

Code:
<html>
<body>

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

</body>
</html>

Save this file as "order.html"
Ajax - Where's the Submit Button?

That's the great thing about Ajax, you do not need a form submit button to send the user's data to the server. We are going to be using our "Javascript on Steroids" to get and submit data with the server.

Now that we have our HTML form, we can dive deeper into the Ajax jungle and try to discover what we're facing.

22  Webmasters Home / Web Design Help / HTML on: October 08, 2008, 10:39:51 AM
To start off with copy the following HTML code into notepad. Be sure to copy the code exactly, otherwise your web page may not function correctly.
HTML Code:

Code:
<html>

<head>
</head>

<body>

<h2>My first webpage!</h2>

</body>
</html>


The above code is all that is required to create a basic web page! Now save your file in notepad by selecting Menu and then Save. Click on the Save as Type drop down box and select the option All Files.

When asked to name your file, type "index.html", without the quotes. Double check that you did everything correctly and then press save. Remember where it was saved to because you will need to open this file, soon!
Viewing Your Web Page - Web Browsers

To view your web page, you are going to have to use a web browser (of course). Web browsers are programs that interpret HTML, like what you have just copied into notepad, and transform that code into a visual representation, or a web page. Common web browsers include:

    * Internet Explorer
    * FireFox
    * Opera
    * Netscape Navigator - R.I.P.

Viewing your page

To view your web page, you must open the "index.html" file inside of a web browser. Open up another browser window and then follow these instruction.

   1. In the new browser window, select File then Open
   2. Then click Browse to enter Windows Explorer
   3. Do you remember where you file is? Good, then navigate to its location
   4. When you find your file, index.html, double-click the file to open it inside your web browser

Success! You have just viewed your very first webpage.

If this did not work for you, please go through the steps again and follow the directions closely. If you still can't get this to work, please Contact Us and we will get you up and running.
First Web Page - Review

Very good! Now let's be sure that you remember what you learned in this lesson.

   1. how to copy some weird looking text (HTML) into notepad
   2. how to correctly save this weird text in notepad
   3. how to open your saved file and view the your webpage
23  Computer Software / Web Browsers & FTP Clients / Re: Which is ure Favourite Browser on: September 07, 2007, 03:50:05 AM
i prefer firefoxxx
24  The Computer Forums / General Computer Chat / Re: What screen resolution do you use? on: September 07, 2007, 03:49:03 AM
1280 1024 i prefer....
25  Computer Software / Anti-virus & Spyware / Re: How to Remove Spyware on: September 07, 2007, 03:48:22 AM
yes i like adaware
26  Computer Software / Operating Systems / Re: Why Do U Hate Vista ??? on: September 07, 2007, 03:47:41 AM
it is so slowwwww
27  Computer Software / Multimedia, Drivers & Codecs / Philips SPC520NC/00 webcam driver download on: September 07, 2007, 03:46:49 AM

Philips SPC520NC/00 webcam driver download

http://www.p4c.philips.com/files/s/spc520nc_00/spc520nc_00_dxp_eng.exe
28  Computer Hardware / Networking, Modems & VoIP / I want to share my printer on the net on: August 29, 2007, 02:04:05 AM
i want to share my printer on the net. how can i install it. please help me guyzzz
29  Computer Software / Multimedia, Drivers & Codecs / Geforce 256 graphic card driver on: August 25, 2007, 12:01:20 PM
Hello. i need Geforce 256 graphic card driver please
30  Computer Software / Multimedia, Drivers & Codecs / HP Pavilion zx5000 CTO Notebook PC driver download on: August 10, 2007, 06:54:29 PM
HP Pavilion zx5000 CTO Notebook PC

Audio; ftp://ftp.hp.com/pub/softpaq/sp28501-29000/sp28552.exe

Modem; http://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?softwareitem=ob-31015-1&lc=en&cc=us&dlc=en&product=385151&os=228&lang=en

Network; http://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?softwareitem=ob-31559-1&lc=en&cc=us&dlc=en&product=385151&os=228&lang=en

Pages: 1 [2] 3 4
CE5 Design by PCLIFE