Archive for August, 2009

How to use FrontPage

Tuesday, August 18th, 2009

FrontPage is one of the best what-you-see-is-what-you-get-type HTML editor? available today. The basic purpose of creating a simple webpage with text, images, and videos can be fulfilled very easily.

Even though it is an “HTML editor”, you can use it very easily, even if you are not at all familiar with HTML. The simple interface gives you everything at your fingertips.

Views:

Before starting with FrontPage, you need to be familiar with the 4 views in it. These views can be switched from the left-bottom of the page.

·         Design View: On this page, you can add your layers, text, images etc by simple drag n drop.

You can design your page pretty easily without worrying about the HTML code (Let FrontPage take care of that). The toolbar above, which is pretty much the same as the one in Microsoft Word or Excel, can be used to format text and other objects on your page.

·         Code View: This Page gives you the HTML code of what you designed on the design page. You can edit your code just like in any text editor and the changes will reflect in your design or preview view.

·         Preview View: Selecting the preview view shows you how your webpage will look in a web browser. The preview view will be pretty much the same as you designed it in the design page. That’s why we call it the what-you-see-is-what-you-get-type editor.

·         Split view: Split view just splits the screen into two portions, the top portion shows the code view and the bottom portion shows the design page, just in case you need to keep an eye on both simultaneously.

Hyperlinks:

After you have designed a few pages, you will need to link them to make it look like a website. Hyperlinks can be made easily by just selecting the object you want to link to and pressing Ctrl+k (or selecting the HyperLink option in the Insert Menu). Now you just need to give the address of the destination page or file which opens when you click on the link.

Layers:

It is always advisable to create a webpage in layers. This way you can divide each section of the webpage into a different layer. You can insert a layer by clicking on Layer in the Insert Menu. Adjust the position and size of the layer by simply dragging it and pulling it across the design page. Editting a layer is the same as editing the page.

Interactive Buttons:

Even if you are not so good at Photoshop or photo editing, you need not worry. Frontpage provides you with attractive interactive buttons to be used as hyperlinks. Click on Interactive Buttons in the Insert Menu and just select the button design which suits your page. Provide the name to be displayed on the button in the ‘Text’ field and the address of the page or file to be linked with the button in the ‘Link’ field. You can easily adjust the position of the button now, by dragging it on the page.

Forms:

You can easily insert a form on your webpage with Frontpage. Select the form item you want to insert from the Form group under the Insert Menu. You can insert Checkboxes, Radio buttons, Text Fields, Drop down boxes etc. pretty easily and adjust their properties by simply clicking on them and a professional looking form is ready within minutes without any kind of coding.

FrontPage makes webpage creation child’s play. No wonder the internet is over-flooded with web sites.

Popularity: 11% [?]

Share and Enjoy:
  • email
  • del.icio.us
  • TwitThis
  • Reddit
  • StumbleUpon
  • Sphinn
  • Facebook
  • MySpace
  • Live
  • Google Bookmarks
  • LinkedIn
  • Technorati
  • Mixx
  • Yahoo! Buzz
  • Propeller
  • NewsVine
  • Slashdot

Understand Web Hosting Industry Before You Buy

Friday, August 7th, 2009

To first understand web hosting lets define it before we go on. Web hosting is basically renting data storage and bandwidth on the web for you to be able to publish a website. There are thousands of different companies around the world offering hosting with a variety of different packages offered at most sites.

Cost of Web Hosting

You can find web hosting for free to hundreds of dollars a month. You might be asking, what is the reason for these varied costs? It is all dependent on the resources your website requires. Of course they will try to sell you a package which is more than you need, so you need to be on top of your hosting requirements. Finding a company that has a number of differing packages is the first step for success. Popular companies online such as Cirtex are often the best place to start.

Hosting Reliability

The first thing you need to look into with web hosting is the reliability of the provider. I’m sure you have been frustrated in the past when you have gone to a website and it has been down. If your hosting goes down, so does your site and then so do your sales. There are enough web hosting providers that guarantee uptime of 99.9% of the time. There is no reason to go with a company that does not. Before you jump in because of the guarantee, ask for a record of uptime history. This can give you peace of mind.

Variations on Web Hosting

You need to understand the different types of servers that web hosting companies provide. In basic terms you are offered shared servers and dedicated servers. Shared servers are when people share a server with other people to host their sites. You will not see any other people’s site and it will be like a partition on your HD. These packages usually have low costs and can be great for new sites that do not have a lot of traffic yet.

When you get a dedicated server you often have more options. You usually can pick the software and the operating system it will run. You also should expect a higher level of support from the web hosting company. As you would expect, these costs are higher than with shared servers. You will not need a dedicated server unless you have large bandwidth concerns or substantial traffic. It is recommended to start with a shared server then move to dedicated in time. Many companies offer a seamless transition to dedicated hosting. Cirtex Hosting offers one of the best seamless transitions that can be found online these days, at a very competitive price.

Informing Yourself in Terms of Bandwidth

To understand the level of hosting you need to estimate the disk space you will need and the bandwidth that your site will require. For people that have built sites in the past it is easier to determine.  If you are not going to be hosting video or large downloads you will probably not use anything near your initial thoughts. Look at the size of your site and it probably does not take up more than a Meg or two. With this fact you do not need to purchase 1 gig of space to start. Often times it is best to start off with the most basic plan and then move up.

Quality web hosting is key for a successful site. Look for reviews and then make an informed decision.

Popularity: 11% [?]

Share and Enjoy:
  • email
  • del.icio.us
  • TwitThis
  • Reddit
  • StumbleUpon
  • Sphinn
  • Facebook
  • MySpace
  • Live
  • Google Bookmarks
  • LinkedIn
  • Technorati
  • Mixx
  • Yahoo! Buzz
  • Propeller
  • NewsVine
  • Slashdot

How to use ACTIONSCRIPT

Wednesday, August 5th, 2009

Introduction

Based upon ECMA Script, Actionscript is the scripting language of Macromedia Flash. A scripting language is a way to communicate with a program; you can use it to instruct the Flash what to do and to ask it to interact with other programs. Hence it opens Vista to create interactive movies.

Actionscript finds a wide amount of uses in the industry of website and software development. Besides, Actionscript is also quite handy in database applications and elementary robotics.

Programming Fundamentals

  • Ø Variables and constants

In ActionScript, a variable is composed of three different parts:

  • variable name
  • type of data that the variable can store
  • actual value stored in the computer’s memory
E.g. var value1:Number = 19;
In this case, we’ve created a variable named value1, which will hold only Number data=19

On the similar lines we have a constant .The difference between a constant and a variable is that a constant can only be assigned a value only once in a program. The syntax for declaring a constant is almost the same as that of a variable, the only change being the use of keyword const in spite of var.

E.g. const Pie:Number = 3.14;
Ø Data Types
ActionScript is rich in data types. For Example: number, int, uint, Boolean
A few complex types are: Movieclip, TextField, SimpleButton and Date.

How to make an application in ActionScript

The creation of an application through ActionScript can be best gasped by an illustration. Although you may find it hard to comprehend it at once, a repeated insight will help you to understand the process quite easily.

  • Ø Here we are going to illustrate an animation portfolio piece in which we will add interactive behavior to animation. This will be done by adding two buttons which the user can click: one of them is to start the animation, and the other to navigate to a separate URL. The process of creating this piece can be divided into these main sections:
  1. Prepare an FLA file
  2. Creation and addition of the buttons.
  3. Write the code.

Prepare an FLA File: Open the FLA file and chose where you want the buttons on the screen. Now place a new layer for addition of buttons, above the other layers in the Timeline; name it as buttons. Now add a new layer on similar lines but this time add actionscript code, above the buttons layer, and name it actions.

Creation and addition of the buttons: Create and add two buttons and name them as playButton and homeButton.

Write the ActionScript code:

Code to cease the play head when it enters Frame 1:

  1. Select the key frame on Frame 1 of the actions layer.
  2. To open the Actions panel, from the main menu, choose Window > Actions.
  3. Enter the following code in the script pane:
                  Stop ();

Code to start the animation when the play button is clicked:

Enter the following code at the bottom of the script:

function startMovie(event:MouseEvent):void
{
    this.play();
      }
Now add
            playButton.addEventListener(MouseEvent.CLICK, startMovie);

Code to send the browser to a URL when the home page button is clicked:

Enter the following code at the bottom of the script:

function gotoDesiredPage(event:MouseEvent):void
{
    var targetURL:URLRequest = new URLRequest("http://example.com/");
    navigateToURL(targetURL);
}

The above code defines a function called gotoDesiredPage(). This function first creates a URLRequest instance representing the URL http://example.com/, and then passes that URL to the navigateToURL() function, causing the user’s browser to open that URL.

Now enter this line of code:

homeButton.addEventListener(MouseEvent.CLICK, gotoDesiredPage);
Thus with the use of functions you can split your program into various sub problems and programming becomes easy.
It is the same with any other programming language. It also reduces the redundancy in the code.

The bottom-line is- ActionScript runs on similar lines as that of other Object Oriented Programming Languages with similar class structures, flow control, packages and so on.

Popularity: 6% [?]

Share and Enjoy:
  • email
  • del.icio.us
  • TwitThis
  • Reddit
  • StumbleUpon
  • Sphinn
  • Facebook
  • MySpace
  • Live
  • Google Bookmarks
  • LinkedIn
  • Technorati
  • Mixx
  • Yahoo! Buzz
  • Propeller
  • NewsVine
  • Slashdot