Bookmark and Share

Web Development Information

Functions and Subroutines in ASP


If you read our Tutorial on Include Files (SSI) then you learned how to encapsulate ASP code within include files and the benefits it brings us. As developers, we should endeavour to make our lives easier wherever possible... no one wants to re-invent the wheel after all. Functions and Subroutines exist to not only save us time, but to bring power to our ASP. They are just another way of encapsulating code, but have a lot more functionality than just 'saving some code for later'. First, let's look at Functions... Imagine a balloon salesman in the street. We've all seen them they require one piece of information when you buy a balloon, the colour. Let say we asked for a red balloon... The balloon salesman armed with this 'information' then does a pretty basic action... he hands you the balloon. The balloon you received is a direct result of the information you gave the balloon seller. Functions are just the same... they return to you a value based on the information you provided. Lets look at an example Function: - <% Function getBalloon(strColour) Dim Tempstr strColour = lcase(strColour) 'This converts the value lowercase. Select Case strColour Case "red" Tempstr = "Here is your red balloon" Case "yellow" Tempstr = "Here is your yellow balloon" Case "green" Tempstr = "Here is your green balloon" Case "blue" Tempstr = "Here is your blue balloon" Case Else Tempstr = "Sorry, we have sold out of that Colour" End Select getBalloon = Tempstr End Function%>

Server Side Includes (SSI) with ASP


People often have identical sections of code spread throughout many ASP pages, typically code at the top of the page (usually referred to as the header) and the lower part of the page (the footer). Similarly, you may have code that performs a certain set of instructions that you are repeating across multiple pages. Consider an example:-

The Topic Of Your Website


The first thing you will have to deal building your website has nothing to do with the web design itself, it's me related to content writing but it must be defined and will effect the rest of your actions. So first of all you need to decide what the topic of your future website is. Topic is very closely connected to another web design issue: keywords. The keywords you select will depend upon the topic you have chosen. When thinking about website topic ask yourself a few questions: What is the goal of the site you are making? What are you trying to achieve with your site. Specify a goal, preferably in one short sentence.

Ecommerce for Beginners


Like most average persons, I wanted some extra money to supplement my regular income. I had considered a part time second job at times, but hated that option because it would take me away from the family, make me more tired and probably just pay minimum wage. I also wanted to be able to work from home.

What is The Google Toolbar?


No matter what browser you may want to use, you should consider using Google?s toolbar. Google.com, the innovative, stripped-down, add-free search engine that has taken the web by storm has provided an innovative interface through most web browsers; mainly Internet Explorer. This toolbar has many great features for searching around the Internet as well as blocking those annoying Pop-up ads that scream ?BUY ME!? every twenty seconds.

What is Blogger.com?


In the late 1990?s three San Francisco based web developers came up with the idea of being able to share information about anything on the web. The terminology they used was called blog. It's use was considered a mix of web page / personal journal. It's original usages were vast and wide, but more and more people came to use them as a personal tool that is available anywhere the Internet is. The three friends would eventually create Blogger.com one of the largest blogger sites on the Internet today. Blogger, which stands for Web Logger, has increased in popularity over the past three years. There has been so much interest in what capabilities it holds Google.com purchased them. Eventually, Google assimilated their technologies and imported them into the popular plug-in, The Google Toolbar.

How To Write More Powerful Online Text


Although there are significant differences among the various types of online communication, there all have one critical thing in common - they're read off a screen. There are substantial benefits, too, in that while your message is on someone's screen usually it has their undivided attention. You are genuinely "one-to-one" with them and that's something you must respect - you are literally "in their face" and encroaching on very personal territory. The bad news about online communications is that your message can be "disappeared" faster from a screen than with any other medium.

What Hosting Companies Dont Tell You, Could Hurt You?


Did you know that hosting companies overcrowd their servers despite all the issues caused by servers running hundreds of accounts? Are you aware of what happens if your website is hosted on a server that?s overcrowded? You?re probably thinking to yourself, ?what do you mean overcrowd their servers?? Overcrowded servers mean big money for your hosting company, but also big problems for your website.

Effective Webdesign


Optimal Website Design


Optimal website design is the art of logical navigation.

Adding Word Rich Content to Your Website


You have permission to publish this article electronically, in print, in your ebook or on your web site, free of charge, as long as the author bylines are included.

Making Your Websites More Compelling


The Internet is a remarkable publishing medium. With just a little effort, you can make your web pages visually irresistible by playing with color, shapes and text. Whether your websites are already launched or you're ready to create your first few, use the 3 simple steps below to kick things up a notch and make your sites professional and appealing.

The Power Is In The Pipes: How To Get Maximum Leverage From Your Website


What is the most important part of your online business?Many people would say: "my website". And that?sunderstandable ? it?s the most visible part of an internetbusiness.

Things to Consider Before Starting a Website


In the time that I have been using the Internet, (since 1996) I have seen a lot of websites.  I have seen a lot of good websites and I have seen a lot that were just plain awful.  Here are some things to think about before you start a website.

Web Designer? You Dont Need No Stinkin Web Designer!


RIVERSIDE, CA August 4, 2004 ?- ?Historically, small business owners have had a limited number of options to choose from when it comes to the development of an on-line presence,? says Pat Spinelli, owner of The Web Site Tutor, a Riverside, California 1. web site design and training firm.

More Articles from Web Development Information:
2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25



could not open XML input