Scripts In Web Design And Development – How They Perform Specific Functions

Scripts In Web Design And Development – How They Perform Specific Functions

The reason why I love to attend meetings is the potential to learn something new and different from the experts. The guys from Perth Web Design were very generous in sharing some of their ideas on web design and development and that is why I am now sharing what I learned from them.

Scripts in web design

Scripts are small bits of code used in web design so that web browsers can do something different instead of just displaying static results. JavaScript and ActiveX are some of the most popular scripts used in web design to create dynamic pages. However, you can write scripts in any scripting language that includes Microsoft Visual Basic, Scripting Edition (VBScript) and ECMA Script. Because scripting language is interpreted, it is important to ensure that when a user requests a page, the browser or the server (if in case you are using server script) will be able to use the language that you have scripted. For example, if the scripts are written using VBScript, the user’s browser must have the capability to interpret VBScript. Microsoft Internet Explorer supports VBScript but it is not so for all browsers.

Different scripting languages can be used on the same page if required. For example, if you are using your own scripts to scripts that have been generated through design-time control, you need to specify a target scripting platform whether it is a client or server to determine by default what language to script in. If in case you are scripting outside of design-time controls, you will usually work in one language so that you can specify a default language for every new page that will be created and if there is a need, for individual scripts, too.

If your server is Microsoft Internet Information Server (IIS) .asp files can be created that contains both the client and server scripts. The two types of scripts can appear on the same page. Client scripts are usually part of a page which are sent to and run by the browser whenever a user requests for a page. Server scripts are not part of the page, instead they are sent by IIS after the page has been requested but this is before it is passed to the browser. Once the page has been sent to the browser, the server has run the server script and removed it from the page.

A Brief Insight On How To Use PHP In Website Design

A Brief Insight On How To Use PHP In Website Design

Creating web design through PHP is basic stuff for website developers. However, there are individuals who are starting on projects that need a simple tutorial on how a website can be built using PHP. PHP is a server-side scripting language that is widely used for web development because it is free with an open source license. As of January 2013, there are about 240 million websites using PHP and 2.1 million servers. However, in spite of its popularity there have been no written specifications for PHP language but the PHP interpreter as de facto standard.

WordPress is a good example of a CMS based on the PHP language. So WordPress sites like uglychristmassweater.com can be edited by the use of PHP plugins or hardcode modifications. This allows the developer to have more control of the website. The Ugly Christmas Sweater website is even equipped with many PHP based plugins that provides different functionalities, but can be further modified with a bit of PHP coding.

Guidelines in using PHP

  • One rule of thumb is to ensure that all files related to a specific website are organized into the same folder. This will prevent any dead links or linking errors that may crop up later on when the website becomes large. Another tip would be to keep all filenames created for pages in lowercase.
  • Open up the HTML editor and create a new page that can be saved as template.php inside the folder that has been created for the files. Any extensions of the page that have been created has to end with .php and not .html to allow PHP to parse the pages and include the “includes”.
  • Individual pages can be created by opening a new blank page in the editor and calling it as header.php. The process is repeated for footer.php and menu.php. These will form the basis for the website before adding color format and style.
  • On header.php, you can add text or logo and on the footer.php you can include a copyright notice. The footer.php can also be used to add more links later. On the menu.php, you can add home, about us and contact us.
  • On the template.php, you will notice that it is blank and it will remain so. This template page will only be used to create other pages. With this page, open the HTML editor and save the page as index.php as the new main index page.
  • Now that the foundation and pages have been created, add text to all the pages that have been created and open up the menu.php again. You now have the number of links and pages that can be added to this file.
  • View all the pages that have been created before you upload to the PHP-enabled web server.
Free Webmail Scripts For PHP/MYSQL

Free Webmail Scripts For PHP/MYSQL

If you want a mail client interface such as Google and Yahoo, webmail’s softwares are great scripts which you could run on your server. This article will give you a list of some of the free webmail scripts for php/mysql. If you are always on the go, then it will be easier for you to check your e-mails. The great thing is if you have several employees, you can create e-mails for each of them but still under the same domain which makes it easier for all of them to login.

Your storage limit will depend on your host’s limit since you’ll be using your very own server. You need not worry about getting a lot of e-mails and attachments with big file sizes since you can’t find a free a-mail service that will give you that much space.

Here’s the list:

1. Round Cube – This web based email client is compatible for PHP/MySQL and it is multilingual as well. Round Cube is open source and it comes with a lot of features.

2. Xeams – This mail server is sure to deliver security and power. It supports a variety of Operating Systems such as Windows, MacoSX, Linux, Unix or Solaris. It has a mechanism that can filter all the Spam. Plus, it is totally free!

3. Claros inTouch – This ajax communication suite is open source and comes with a built-in messenger and RSS. It has its own calendar and a support for post-it. You need to install Java 2 SDK on your server because Claros inTouch was created using Java technology.

4. Conjoon – This application for webmail is web based and offers a full feature. It comes with folder management, an editor, a feed reader. You can browse using tabs and it has a web 2.0 mashups. It is completely free and it comes with a built-in Extjs and a framework for Zend.

5. At mail – This open source webmail is free and is written using PHP. This application is meant to be light weight yet powerful. At mail is multilingual and it has video mail.

6. Xuheki – This is an IMAP based client which is suitable for your e-mail server. It has a complete ajax interfaced and is licensed by GNU GPL. The only con in using this is that it has no support for POP3.