What You Need to Get Started
Once the CodeCharge Studio setup is complete you are almost ready to start generating and viewing dynamic database driven web pages. To use CodeCharge Studio to produce web applications you will need the following:
Database
CodeCharge Studio works in concert with a database, which should be put in place before creating an application with CodeCharge Studio. If you have a Windows web server, the database is usually MS Access or MS SQL. If your production web server is hosted on Linux, Sun, or another UNIX flavor, then you will most likely use the popular and free database-MySQL. Although MySQL can be accessed remotely you can also install it locally on your Windows computer for testing your programs.
Test Web Server
The test web server is usually installed on the same desktop computer as CodeCharge Studio. It is used to test web pages during the web application development process. For example, when you create a new page go to Live Page to see how it works; CodeCharge Studio will generate and open the web page. You can use an externally hosted web server for testing but it's much quicker to generate programs to your local hard drive and then have a local web server run them.
Obtaining a web server is quite easy since many Windows operating system come with free IIS, while PWS (Personal Web Server) is also freely available for Windows 95, 98 and Me. Refer to "Web Servers" for more information.
Note: Some organizations also use a staging web server that allows end-users or customers to perform the final testing before approving the launch of the site. This also gives developers the ability to continue making changes and testing on the test web server. A staging web server is especially useful if there is already an existing live web site that you don't want to replace until your customer or users approve the new web site.
Production or Live Web Server
This is the main web server where you will publish your final application.
In some cases this can be the same server as the test Web Server; in most cases you'd have a separate, externally hosted Web server that is publicly accessible. There are various web hosting companies that offer Windows-based web hosting from anywhere between $10 and $50 (or more for advanced needs).
Scripting Engine
Scripting Engines, such as ASP or PHP, are usually pre-installed on most systems that have a web server. If you use a web hosting service it consists of a web server and one or more scripting engines. Check with your web hosting provider to obtain the list of supported web technologies or refer to "Choosing Web Technology" if you need help making this decision.
Wednesday, November 11, 2009
Choosing Web Technology
Choosing Web Technology
Making technology choices is one of the most difficult and critical decisions facing any organizations. After the web application is built future developments may require that the application to be converted to another programming language or integrated with software that utilizes a different technology. CodeCharge Studio makes it easier to convert a web application created with it from one language to another.
Technology decisions are often based on the available budget, the operating system preference and available database. Here we describe how these factors influence your decision. Note that the following subsections are meant for informative purposes to those who are new to web development and do not yet have a technology preference. The final decision is up to you and you should always perform proper research before making long-term decisions.
Cost
If you're looking for the most inexpensive solution then you've probably heard that Linux with the Apache web server, MySQL database, and PHP scripting engine can be obtained and installed for free. This is also the technology of choice for many small web sites, though it is also used with large web projects, such as parts of the Yahoo web site. Some flavors of Java for Linux can also be obtained at no cost, as well as PERL.
Another popular alternative is Windows with IIS and MS Access running ASP or .NET programs. This environment can be installed at a cost below $500, but at some point you could outgrow MS Access as it is a limited database sufficient for a small number of users. The CodeCharge community Website, http://www.gotocode.com successfully used MS Access for over a year. However, we found that the server occasionally crashed when more than 10 users submitted information at exactly the same time. Thus the recommended alternative for Windows users is to use MS SQL database, although this brings the cost of the system to over $1,000 and even much more if you plan on implementing a scalable, multi-server solution. If you're willing to spend the extra money then you can also consider obtaining ColdFusion or Java for either Linux or Windows.
If you do not require to have your own dedicated server, then you can easily find many web hosting companies that offer both Linux and Windows Web hosting plans for anywhere between $10 and $50, or more, for advanced needs. The price usually covers support for a variety of technologies, including PHP, Java, PERL, and ColdFusion for the Linux platform as well as ASP, .NET, Java, and ColdFusion for the Windows platform.
Operating System Preference
If you love the Linux operating system or your management requires the use of Linux for web hosting then you are most likely to use the Apache web server and a MySQL database running PHP, Java, or ColdFusion applications. Choose PHP if you're new to the web and do not have specific requirements. Otherwise, if you need to make a long-term decision, then it is important that you research all available technologies.
If you prefer the Windows operating system, or Windows is your organization's standard, then you'll most likely use it with the IIS web server and MS SQL database running ASP or .NET (C# or VB) programs. Choose ASP if you need a technology that is easy to understand and learn, but keep in mind that Microsoft's current focus is on .NET technologies, thus you should strongly consider using it sooner rather than later. It is also possible that ASP will be slowly phased out and not available in future versions of Windows. If you're already familiar with any object-oriented technologies, then .NET is probably the best choice for you anyway. C# is derived from C++, while VB.NET is derived from Visual Basic but adapted to support object-oriented programming constructs similar to C#.
Database
If you already have an existing database and want to create a web interface for it, then your technology decision may be related to the type of database. For example, if you use a Windows compatible database, such MS Access or MS SQL, you should probably consider using the ASP or .NET technology on a Windows-hosted IIS server.
If your existing database is MySQL, then you are probably already familiar with Linux and you may want to consider using it with PHP. If you do not have a database yet, then you should first become familiar with the database concepts and create your database for use with CodeCharge Studio. Choose MS Access if a visual interface and ease of use is important to you, or choose MySQL if you need better scalability and don't mind learning a little bit of SQ
Making technology choices is one of the most difficult and critical decisions facing any organizations. After the web application is built future developments may require that the application to be converted to another programming language or integrated with software that utilizes a different technology. CodeCharge Studio makes it easier to convert a web application created with it from one language to another.
Technology decisions are often based on the available budget, the operating system preference and available database. Here we describe how these factors influence your decision. Note that the following subsections are meant for informative purposes to those who are new to web development and do not yet have a technology preference. The final decision is up to you and you should always perform proper research before making long-term decisions.
Cost
If you're looking for the most inexpensive solution then you've probably heard that Linux with the Apache web server, MySQL database, and PHP scripting engine can be obtained and installed for free. This is also the technology of choice for many small web sites, though it is also used with large web projects, such as parts of the Yahoo web site. Some flavors of Java for Linux can also be obtained at no cost, as well as PERL.
Another popular alternative is Windows with IIS and MS Access running ASP or .NET programs. This environment can be installed at a cost below $500, but at some point you could outgrow MS Access as it is a limited database sufficient for a small number of users. The CodeCharge community Website, http://www.gotocode.com successfully used MS Access for over a year. However, we found that the server occasionally crashed when more than 10 users submitted information at exactly the same time. Thus the recommended alternative for Windows users is to use MS SQL database, although this brings the cost of the system to over $1,000 and even much more if you plan on implementing a scalable, multi-server solution. If you're willing to spend the extra money then you can also consider obtaining ColdFusion or Java for either Linux or Windows.
If you do not require to have your own dedicated server, then you can easily find many web hosting companies that offer both Linux and Windows Web hosting plans for anywhere between $10 and $50, or more, for advanced needs. The price usually covers support for a variety of technologies, including PHP, Java, PERL, and ColdFusion for the Linux platform as well as ASP, .NET, Java, and ColdFusion for the Windows platform.
Operating System Preference
If you love the Linux operating system or your management requires the use of Linux for web hosting then you are most likely to use the Apache web server and a MySQL database running PHP, Java, or ColdFusion applications. Choose PHP if you're new to the web and do not have specific requirements. Otherwise, if you need to make a long-term decision, then it is important that you research all available technologies.
If you prefer the Windows operating system, or Windows is your organization's standard, then you'll most likely use it with the IIS web server and MS SQL database running ASP or .NET (C# or VB) programs. Choose ASP if you need a technology that is easy to understand and learn, but keep in mind that Microsoft's current focus is on .NET technologies, thus you should strongly consider using it sooner rather than later. It is also possible that ASP will be slowly phased out and not available in future versions of Windows. If you're already familiar with any object-oriented technologies, then .NET is probably the best choice for you anyway. C# is derived from C++, while VB.NET is derived from Visual Basic but adapted to support object-oriented programming constructs similar to C#.
Database
If you already have an existing database and want to create a web interface for it, then your technology decision may be related to the type of database. For example, if you use a Windows compatible database, such MS Access or MS SQL, you should probably consider using the ASP or .NET technology on a Windows-hosted IIS server.
If your existing database is MySQL, then you are probably already familiar with Linux and you may want to consider using it with PHP. If you do not have a database yet, then you should first become familiar with the database concepts and create your database for use with CodeCharge Studio. Choose MS Access if a visual interface and ease of use is important to you, or choose MySQL if you need better scalability and don't mind learning a little bit of SQ
Architecture of Web Applications
Architecture of Web Applications
In general, web applications use the client/server architecture (i.e., two-tier) where the browser acts as a thin client. The three-tier architecture is becoming more popular and even necessary when implementing enterprise systems that require better scalability.
Application Servers
An application server is the middle tier in the three-tier architecture. Application servers process the business logic on the Web server and communicate between the web browser and the database or another system.
Web Services
Web Services are programs that do not output information to the screen or Web browser but instead send the output to other programs in the form of XML. They do not take input from users via the keyboard, but rather read the information sent to them by other Web services in XML format. Web services allow programs to exchange information across the internet and run remote applications as part of a local software system.
Cookies
Cookies are small amounts of data sent by a program to the browser and stored on the user's machine to be retrieved later. They are usually used to recognize users who come back to visit the same Website after several hours, days or months.
Session Variables
Session variables are similar to standard local variables, but are used to store information that can be retrieved by other pages during the course of a user session. Session variables usually store information in a special session file on the server. You would usually create a session variable to store the ID of users when they log in. In fact, the action of logging in often consists of creating a session variable by the server program.
Application Variables
Application variables are also available to all pages in one Web application. They can be accessed by all users, not just the current session. They are cleared when the server is restarted.
GET and POST methods
When you create Web pages that contain data entry fields, the fields should appear between the tags which make up a form. The form tag has additional attributes, one of them being Method="GET" or Method="POST". This method indicates how the information entered on the form should be submitted to the server when the user clicks the "Submit" button. The "POST" method causes the information to be sent via a data stream, invisible to the user. If "GET" method is used, the browser will redirect the page to a new URL, which will be constructed from the base URL (also specified by a form parameter), followed by a question sign (?) and all form information separated by an ampersand sign (&).
For example, if a form asks the user to provide the first name and the last name, after submitting the form, the user would be redirected to a URL like this one: http://www.mysite.com/page1.asp?first_name=James&last_name=Bond.
Users can manually emulate form submission by entering a URL into their browser that contains information similar to the one submitted via a form. The server program that is being executed should accept and process only the information that it uses. ________________________________________
In general, web applications use the client/server architecture (i.e., two-tier) where the browser acts as a thin client. The three-tier architecture is becoming more popular and even necessary when implementing enterprise systems that require better scalability.
Application Servers
An application server is the middle tier in the three-tier architecture. Application servers process the business logic on the Web server and communicate between the web browser and the database or another system.
Web Services
Web Services are programs that do not output information to the screen or Web browser but instead send the output to other programs in the form of XML. They do not take input from users via the keyboard, but rather read the information sent to them by other Web services in XML format. Web services allow programs to exchange information across the internet and run remote applications as part of a local software system.
Cookies
Cookies are small amounts of data sent by a program to the browser and stored on the user's machine to be retrieved later. They are usually used to recognize users who come back to visit the same Website after several hours, days or months.
Session Variables
Session variables are similar to standard local variables, but are used to store information that can be retrieved by other pages during the course of a user session. Session variables usually store information in a special session file on the server. You would usually create a session variable to store the ID of users when they log in. In fact, the action of logging in often consists of creating a session variable by the server program.
Application Variables
Application variables are also available to all pages in one Web application. They can be accessed by all users, not just the current session. They are cleared when the server is restarted.
GET and POST methods
When you create Web pages that contain data entry fields, the fields should appear between the tags which make up a form. The form tag has additional attributes, one of them being Method="GET" or Method="POST". This method indicates how the information entered on the form should be submitted to the server when the user clicks the "Submit" button. The "POST" method causes the information to be sent via a data stream, invisible to the user. If "GET" method is used, the browser will redirect the page to a new URL, which will be constructed from the base URL (also specified by a form parameter), followed by a question sign (?) and all form information separated by an ampersand sign (&).
For example, if a form asks the user to provide the first name and the last name, after submitting the form, the user would be redirected to a URL like this one: http://www.mysite.com/page1.asp?first_name=James&last_name=Bond.
Users can manually emulate form submission by entering a URL into their browser that contains information similar to the one submitted via a form. The server program that is being executed should accept and process only the information that it uses. ________________________________________
Benefits of Using Web Technologies
Benefits of Using Web Technologies
Web technologies confer many benefits over other technologies, including client/server. These include:
• Less Expensive Infrastructure:
Since every desktop can be equipped with a free browser, the users only need inexpensive, low maintenance computers that run the browser software.
• Rapid Software Distribution:
Thanks to the web, there is no need to distribute new software to any of the client browsers. Once programs are updated on the server, users can instantly see the changes the next time they load the page into their browser. Troubleshooting is also improved since most issues can be investigated and resolved on the server.
• Low Network Usage:
In a web environment, the client application (browser) doesn't access the database over the network to retrieve or update the data. The browser only sends instructions to the server with as much information as necessary to execute the server program. The server software is responsible for communicating with and retrieving any content from the database and composing the page to be sent back to the client; there is no need to exchange large amounts of data. This is why web applications often run faster than applications based on fat clients.
• Platform Independence:
Most web applications can be accessed through a variety of web browsers like Internet Explorer, Firefox, Netscape Navigator, Opera, and Lynx. Web browsers exist for virtually any operating system. Since they receive only the HTML document it is irrelevant if the document is being viewed on Windows, Linux/UNIX, Mac, or any other system. Additionally, certain web applications are accessible through wireless devices equipped with a browser and Internet connection.
• Usage Accounting:
Developers can find out how many times the web application is accessed, something which may not be possible when distributing standalone applications to customers. The vendor can also offer a per-usage fee structure.
Web technologies confer many benefits over other technologies, including client/server. These include:
• Less Expensive Infrastructure:
Since every desktop can be equipped with a free browser, the users only need inexpensive, low maintenance computers that run the browser software.
• Rapid Software Distribution:
Thanks to the web, there is no need to distribute new software to any of the client browsers. Once programs are updated on the server, users can instantly see the changes the next time they load the page into their browser. Troubleshooting is also improved since most issues can be investigated and resolved on the server.
• Low Network Usage:
In a web environment, the client application (browser) doesn't access the database over the network to retrieve or update the data. The browser only sends instructions to the server with as much information as necessary to execute the server program. The server software is responsible for communicating with and retrieving any content from the database and composing the page to be sent back to the client; there is no need to exchange large amounts of data. This is why web applications often run faster than applications based on fat clients.
• Platform Independence:
Most web applications can be accessed through a variety of web browsers like Internet Explorer, Firefox, Netscape Navigator, Opera, and Lynx. Web browsers exist for virtually any operating system. Since they receive only the HTML document it is irrelevant if the document is being viewed on Windows, Linux/UNIX, Mac, or any other system. Additionally, certain web applications are accessible through wireless devices equipped with a browser and Internet connection.
• Usage Accounting:
Developers can find out how many times the web application is accessed, something which may not be possible when distributing standalone applications to customers. The vendor can also offer a per-usage fee structure.
Publishing Web Content
Publishing Web Content
You will need to publish content to your web site to be viewed on the web. You can do this by copying the files you create to a specific location on your web server that is used specifically for web pages. Each web server has a configuration screen or a file where you can specify the main disk folder that maps to the root of your web site.
The files placed in the folder, or its subfolders, automatically become available on the web. For example, if you copy a file Page.html to the test sub-folder on your web server, this page should be accessible via a URL such as http://www.mydomain.com/test/Page.html, where www.mydomain.com can be replaced with your own domain name, or the IP address if desired. When users request the URL in their browser, the browser will contact the web server, which will send the contents of the corresponding file back to the browser.
You will need to publish content to your web site to be viewed on the web. You can do this by copying the files you create to a specific location on your web server that is used specifically for web pages. Each web server has a configuration screen or a file where you can specify the main disk folder that maps to the root of your web site.
The files placed in the folder, or its subfolders, automatically become available on the web. For example, if you copy a file Page.html to the test sub-folder on your web server, this page should be accessible via a URL such as http://www.mydomain.com/test/Page.html, where www.mydomain.com can be replaced with your own domain name, or the IP address if desired. When users request the URL in their browser, the browser will contact the web server, which will send the contents of the corresponding file back to the browser.
Web Servers
Web Servers
Now that you have a better understanding of Internet connectivity, you should understand how an actual web site functions on the Internet.
When you surf the Internet, your browser acts as the client that connects to various web servers and displays the information returned from a server. Your computer can also act as a web server if you install and run a web server application, such as Personal Web Server (PWS), IIS Internet Information Services) or Apache.
The web server listens for incoming Hypertext Transfer Protocol (HTTP) requests and responds by sending back the appropriate information. HTTP is an Internet protocol that defines the format used to exchange information over the Internet. HTTP requests usually come from browsers in the form of a URL, which is then used by the web server to determine which file should be sent back to the browser, such as an HTML page or an image.
Many popular web servers are freely available. You can download Apache for Linux, Windows, or another platform from http://httpd.apache.org/. IIS is included in Windows 2000 and Windows XP Professional. PWS is available for Windows 95/98 and Windows NT. Although Windows XP Professional comes with a web server, unfortunately the Standard Windows XP doesn't come with a web server and setting one up is very tricky.
Once your web server is up and running, you should be able to access it by starting the browser on the same computer and using the URL http://localhost. You can also test the server from another browser by typing your computer's IP address as the URL. If your computer is on a local network within a company, you can ask your colleagues to try typing your computer's name into the address field in their browser. This should work as well and display the default web
Now that you have a better understanding of Internet connectivity, you should understand how an actual web site functions on the Internet.
When you surf the Internet, your browser acts as the client that connects to various web servers and displays the information returned from a server. Your computer can also act as a web server if you install and run a web server application, such as Personal Web Server (PWS), IIS Internet Information Services) or Apache.
The web server listens for incoming Hypertext Transfer Protocol (HTTP) requests and responds by sending back the appropriate information. HTTP is an Internet protocol that defines the format used to exchange information over the Internet. HTTP requests usually come from browsers in the form of a URL, which is then used by the web server to determine which file should be sent back to the browser, such as an HTML page or an image.
Many popular web servers are freely available. You can download Apache for Linux, Windows, or another platform from http://httpd.apache.org/. IIS is included in Windows 2000 and Windows XP Professional. PWS is available for Windows 95/98 and Windows NT. Although Windows XP Professional comes with a web server, unfortunately the Standard Windows XP doesn't come with a web server and setting one up is very tricky.
Once your web server is up and running, you should be able to access it by starting the browser on the same computer and using the URL http://localhost. You can also test the server from another browser by typing your computer's IP address as the URL. If your computer is on a local network within a company, you can ask your colleagues to try typing your computer's name into the address field in their browser. This should work as well and display the default web
Introduction to Web Programming
Introduction to Web Programming
Many developers and programmers face the dilemma of how to begin a web development project. While many developers can create extensive desktop applications with ease, they are not well versed in creating web applications. Most developers have some level of familiarity with HTML and the deployment of static pages on web servers.
The Internet has an increased role in most application development efforts and it can be expected that there will be an increasing need for web applications. Sometimes legacy systems require the creation of a web-interface, for example, to allow a company's customers to lookup their order status online.
To assist in the transition and to understand the general architecture of the web and web applications, the following information provides an introduction to the realm of web application development for developers who are new to this field.
Many developers and programmers face the dilemma of how to begin a web development project. While many developers can create extensive desktop applications with ease, they are not well versed in creating web applications. Most developers have some level of familiarity with HTML and the deployment of static pages on web servers.
The Internet has an increased role in most application development efforts and it can be expected that there will be an increasing need for web applications. Sometimes legacy systems require the creation of a web-interface, for example, to allow a company's customers to lookup their order status online.
To assist in the transition and to understand the general architecture of the web and web applications, the following information provides an introduction to the realm of web application development for developers who are new to this field.
Friday, October 23, 2009
Affordable Web Hosting
Affordable Web Hosting
Here at thetop10bestwebhosting.com we like to use the term affordable when looking for budget web hosting. Cheap makes you think you will opt for the lowest price solution whereas affordable has an element of comparison i.e. low cost for that amount of space etc. So we wouldn’t say the cheapest host is the most affordable as the cheapest host might have a lower spec.
Regardless of the size of your budget, we will help to guide you on affordable web hosting. The plans listed above are perfect for any personal, hobby, or small business websites in need of both affordable as well as high quality, reliable hosting
Here at thetop10bestwebhosting.com we like to use the term affordable when looking for budget web hosting. Cheap makes you think you will opt for the lowest price solution whereas affordable has an element of comparison i.e. low cost for that amount of space etc. So we wouldn’t say the cheapest host is the most affordable as the cheapest host might have a lower spec.
Regardless of the size of your budget, we will help to guide you on affordable web hosting. The plans listed above are perfect for any personal, hobby, or small business websites in need of both affordable as well as high quality, reliable hosting
The Top 10 Best Web Hosting Companies
The Top 10 Best Web Hosting Companies
If you are looking to transfer your hosting to a new cheap web hosting provider, or if you are new to web hosting and need help on which web hosts to go for and who to avoid, our reviews are easy to follow, so you can guarantee you choose the best web hosting company to suit your hosting needs. Here at the top 10 best web hosting we are dedicated to creating honest independent reviews on the best web hosts in the industry. Our reviews and scoring system takes into account all the important factors required when choosing a web hosting provider like ease-of-use, uptime, support, cost and control panel.
www.hostmonster.com
www.godaddy.com
www.hostexcellence.com
www.supergreen.com
www.hostclear.com
www.justhost.com
but many other hosting companies are still available .
FREE WEB HOSTING COMPANIES:
www.freewebspace.net
www.ohest.com
www.homstead.com
www.webmania.com
www.funpic.org
www.brinker.com
www.100webspace.com
www.propercomfy.co.uk
If you are looking to transfer your hosting to a new cheap web hosting provider, or if you are new to web hosting and need help on which web hosts to go for and who to avoid, our reviews are easy to follow, so you can guarantee you choose the best web hosting company to suit your hosting needs. Here at the top 10 best web hosting we are dedicated to creating honest independent reviews on the best web hosts in the industry. Our reviews and scoring system takes into account all the important factors required when choosing a web hosting provider like ease-of-use, uptime, support, cost and control panel.
www.hostmonster.com
www.godaddy.com
www.hostexcellence.com
www.supergreen.com
www.hostclear.com
www.justhost.com
but many other hosting companies are still available .
FREE WEB HOSTING COMPANIES:
www.freewebspace.net
www.ohest.com
www.homstead.com
www.webmania.com
www.funpic.org
www.brinker.com
www.100webspace.com
www.propercomfy.co.uk
Web hosting
What is web hosting ?
It is just coping ur web page to the control panel of webcompany of ur choice
It is just coping ur web page to the control panel of webcompany of ur choice
What is Dreamweaver CS4?
What is Dreamweaver CS4?
Dreamweaver is a powerful but easy-to-use web site development program that bridges the gap between designer and developer. Although it includes advanced features for developing complex data-driven applications, Dreamweaver’s intuitive interface and extensive libraries let even the novice web designer develop a professional web site quickly and easily.
The latest version, Dreamweaver CS4, includes extensive Cascading Style Sheet (CSS) support and conforms more clearly to the CSS design process by eliminating layers in favor of div tags, which can be controlled through CSS rules, and AP elements (which are equivalent to layers in previous versions). If you’re new to CSS, Dreamweaver includes a large number of predefined CSS layout pages, which make it possible to create professional-looking layouts that conform to the latest in web standards
Dreamweaver is a powerful but easy-to-use web site development program that bridges the gap between designer and developer. Although it includes advanced features for developing complex data-driven applications, Dreamweaver’s intuitive interface and extensive libraries let even the novice web designer develop a professional web site quickly and easily.
The latest version, Dreamweaver CS4, includes extensive Cascading Style Sheet (CSS) support and conforms more clearly to the CSS design process by eliminating layers in favor of div tags, which can be controlled through CSS rules, and AP elements (which are equivalent to layers in previous versions). If you’re new to CSS, Dreamweaver includes a large number of predefined CSS layout pages, which make it possible to create professional-looking layouts that conform to the latest in web standards
Wednesday, October 14, 2009
World Wide Web
World Wide Web
It was not designed as a programming or logic processing plat form. It was originally all about sending specially formatted text files from one computer to another, using web browser to display it to the screen.
Getting html of web page
Telnet www.Domain name 80 port number you screen may go blank for some time before you will see ‘connected’ message type the following command spacing accurately.
GET/HTTP/1.0
Don’t miss the spaces surrounding the first slash. Follow this command with two Enter key. This command asks the remote system to send the default web page at the top of that server’s web hierarchy.
When the client asked for a web page ending with the extension. Cgi, the web server process ran a separate script that generated the content.
This led to Active Server Pages (ASP), a solution that allowed developers to the embed server-side script right in the HTML content, and have it adjust the content before it was sent to the client.
It was not designed as a programming or logic processing plat form. It was originally all about sending specially formatted text files from one computer to another, using web browser to display it to the screen.
Getting html of web page
Telnet www.Domain name 80 port number you screen may go blank for some time before you will see ‘connected’ message type the following command spacing accurately.
GET/HTTP/1.0
Don’t miss the spaces surrounding the first slash. Follow this command with two Enter key. This command asks the remote system to send the default web page at the top of that server’s web hierarchy.
When the client asked for a web page ending with the extension. Cgi, the web server process ran a separate script that generated the content.
This led to Active Server Pages (ASP), a solution that allowed developers to the embed server-side script right in the HTML content, and have it adjust the content before it was sent to the client.
Active Documents
Active Documents
A program or a script that run at the client site is called active documents. For example, suppose we want to run a program that creates animated graphics on the screen or a program that interacts with the user. The program definitely needs to be run at the client site where the animation or interaction takes place.
One way to create an active document is to use Java applets. The browser can directly request the Java applet program in the URL and receive the applet in binary form. The browser can retrieve and run an HTML file that has embedded the address of the applet as a tag.
Java script is also can be used to scripts an active docume
A program or a script that run at the client site is called active documents. For example, suppose we want to run a program that creates animated graphics on the screen or a program that interacts with the user. The program definitely needs to be run at the client site where the animation or interaction takes place.
One way to create an active document is to use Java applets. The browser can directly request the Java applet program in the URL and receive the applet in binary form. The browser can retrieve and run an HTML file that has embedded the address of the applet as a tag.
Java script is also can be used to scripts an active docume
Technologies Involved in Creating Dynamic Documents Using Scripts
Technologies Involved in Creating Dynamic Documents Using Scripts: Hypertext preprocessor (PHP), which uses the perl language; Java Server Pages (JSP); Active Server pages (ASP), which uses Visual Basic, and Cold Fusion, were embeds SDL database queries in the HTML document.
Dynamic documents are sometimes referred to as server-site dynamic documents.
Dynamic documents are sometimes referred to as server-site dynamic documents.
web document
WEB DOCUMENTS
The documents in the www can be grouped into three broad categories: static, dynamic, and active. The category is based on the time at which the contents of the document are determined.
(1) Static documents: are fixed-content documents that are created and stored in a server. The client can get only a copy of the document. (HTML) Hypertext Markup Language is a language for creating web pages. Web page are formatted by a markup language for interpretation by a browser.
Tags (marks)
//Bold
A web page is made up of two parts the head and the body.
/The head contains the title while the body contains the actual contents of a page.
Every HTML tag is a name followed by an optional list of attributes.
Beginning tag or mark
ending tag or mark.
HREF (hyperlink
(2) Dynamic Documents
A dynamic document is created by a web server whenever a browser requests the document. When a request arrives, the web server runs an application program or a script that creates the dynamic document. The server returns the output of the program or script as a response to the browser that requested the document.
Common Gateway Interface (CGI) is a technology that creates and handles dynamic documents. CGI is a set of standards that defines how a dynamic document is written, how data are input to the program, and how the output result is used. CGI is not a new language: instead, it allows programmers to use any of several languages such as C, C++, Bourne shell, C shell, Tel, or perl. The only thing that CGI defines is a set of rules and terms that the programmer must follow.
Scripting Technologies for Dynamic Documents
The problem with CGI technology is the inefficiency that results if part of the dynamic document that is to be created is fixed and not changing from request to request. If we use CGI, the program must create an entire document each time a request is made. The solution is to create a file containing the fixed part of the document using HTML and embed a script, a source code.
The documents in the www can be grouped into three broad categories: static, dynamic, and active. The category is based on the time at which the contents of the document are determined.
(1) Static documents: are fixed-content documents that are created and stored in a server. The client can get only a copy of the document. (HTML) Hypertext Markup Language is a language for creating web pages. Web page are formatted by a markup language for interpretation by a browser.
Tags (marks)
//Bold
A web page is made up of two parts the head and the body.
/The head contains the title while the body contains the actual contents of a page.
Every HTML tag is a name followed by an optional list of attributes.
Beginning tag or mark
ending tag or mark.
HREF (hyperlink
(2) Dynamic Documents
A dynamic document is created by a web server whenever a browser requests the document. When a request arrives, the web server runs an application program or a script that creates the dynamic document. The server returns the output of the program or script as a response to the browser that requested the document.
Common Gateway Interface (CGI) is a technology that creates and handles dynamic documents. CGI is a set of standards that defines how a dynamic document is written, how data are input to the program, and how the output result is used. CGI is not a new language: instead, it allows programmers to use any of several languages such as C, C++, Bourne shell, C shell, Tel, or perl. The only thing that CGI defines is a set of rules and terms that the programmer must follow.
Scripting Technologies for Dynamic Documents
The problem with CGI technology is the inefficiency that results if part of the dynamic document that is to be created is fixed and not changing from request to request. If we use CGI, the program must create an entire document each time a request is made. The solution is to create a file containing the fixed part of the document using HTML and embed a script, a source code.
domain name
DOMAIN
Domain
Root
Sub domainA domain is a subtree of the domain name space. The name of the domain is the domain name of the node at the top of the subtree. Note that a domain may itself be divided into domains (or subdomains).
Zone is a contiguous part of the entire tree. It a server accepts responsibility for a domain and does not divide the domain into smaller domains, the domain and the zone refer to the same thing.
WWW and HTTP
The WWW project was initiated by CERN (European Laboratory for particle Physics).
Client
Request t
Site/server
Wed page
Response The WWW today is a distributed client/server service, in which a client using a browser can access a service using a server.
A browser is a program that is designed to fetch web documents.
Each browser usually contains of three parts: a controller, client protocol, and interpreters.
The controller receives input from the keyboard or the mouse and uses the client programs to access the document. After the document has been accessed, the controller uses one of the interpreters to display the document pm the screen. The client protocol can be one of the protocols ‘FTP, HTTP etc. The interpreter can be HTML, Java, or Java script, depending on the type of document.
Server always store requested files in a cache in memory; memory is faster to access than disk.
Uniform Resource Locator (URL) is a standard for specifying any kind of information on the internet. The URL defines four things; protocol, host computer, port, and parth.
URL
Protocol: //Host: Port/Path
The protocol is the client/saver program used to retrieve the document eg FTP/HTTP. The host is the computer on which the information is located.
The URL can optionally contain the port number of the server.
Path is the path name of the file where the information is located.
Cookies are used by server to know old client and to restrict access to unauthorized client.
The site that restricts access to registered clients only sends of cookie to the client when the client registers for the first time. For any repeated access, only those clients that send the appropriate cookie are allowed.
Note that the contents of the cookie are never read by the browser or disclosed to the user. It is a cookie made by the server and eaten by the server.
Domain
Root
Sub domainA domain is a subtree of the domain name space. The name of the domain is the domain name of the node at the top of the subtree. Note that a domain may itself be divided into domains (or subdomains).
Zone is a contiguous part of the entire tree. It a server accepts responsibility for a domain and does not divide the domain into smaller domains, the domain and the zone refer to the same thing.
WWW and HTTP
The WWW project was initiated by CERN (European Laboratory for particle Physics).
Client
Request t
Site/server
Wed page
Response The WWW today is a distributed client/server service, in which a client using a browser can access a service using a server.
A browser is a program that is designed to fetch web documents.
Each browser usually contains of three parts: a controller, client protocol, and interpreters.
The controller receives input from the keyboard or the mouse and uses the client programs to access the document. After the document has been accessed, the controller uses one of the interpreters to display the document pm the screen. The client protocol can be one of the protocols ‘FTP, HTTP etc. The interpreter can be HTML, Java, or Java script, depending on the type of document.
Server always store requested files in a cache in memory; memory is faster to access than disk.
Uniform Resource Locator (URL) is a standard for specifying any kind of information on the internet. The URL defines four things; protocol, host computer, port, and parth.
URL
Protocol: //Host: Port/Path
The protocol is the client/saver program used to retrieve the document eg FTP/HTTP. The host is the computer on which the information is located.
The URL can optionally contain the port number of the server.
Path is the path name of the file where the information is located.
Cookies are used by server to know old client and to restrict access to unauthorized client.
The site that restricts access to registered clients only sends of cookie to the client when the client registers for the first time. For any repeated access, only those clients that send the appropriate cookie are allowed.
Note that the contents of the cookie are never read by the browser or disclosed to the user. It is a cookie made by the server and eaten by the server.
What is webdesigning ?
WED DESIGNING
The client/server programs can be divided into two categories: those that can be directly used by the user, such as e-mail, and those that support other application programs. The Domain Name system (DNS) is a supporting program that is used by other programs such as e-mail.
People prefer to use names instead of numeric addresses. Therefore, we need a system that can map a name to an address vice versa. To identify an entity, TCP/IP protocols use the IP address, which uniquely identifies the connection of a host to the internet.
Name space is a unique name assigned to a machine.
TWO TYPES
Flart and Hierarchy name space.
(1) Fully Qualified Domain Name (FDDN). An FDDN is a domain name that contains the full name of a host. It contains all the label from the most specific to the root in a domain tree. ADNS server can only match an FDDN to an address.
(2) Partially Qualified Domain Name (PDDN) starts from a node, but it does not reach the root. It is used when the name to be resolved belong to the same site as the client.
The client/server programs can be divided into two categories: those that can be directly used by the user, such as e-mail, and those that support other application programs. The Domain Name system (DNS) is a supporting program that is used by other programs such as e-mail.
People prefer to use names instead of numeric addresses. Therefore, we need a system that can map a name to an address vice versa. To identify an entity, TCP/IP protocols use the IP address, which uniquely identifies the connection of a host to the internet.
Name space is a unique name assigned to a machine.
TWO TYPES
Flart and Hierarchy name space.
(1) Fully Qualified Domain Name (FDDN). An FDDN is a domain name that contains the full name of a host. It contains all the label from the most specific to the root in a domain tree. ADNS server can only match an FDDN to an address.
(2) Partially Qualified Domain Name (PDDN) starts from a node, but it does not reach the root. It is used when the name to be resolved belong to the same site as the client.
Subscribe to:
Posts (Atom)