|
Chinacyber.com
|
Web Basics Web Servers O'reilly Web Site Pro HTML Editors Image Editors Cascading Style Sheets
: Enable you to precisely control the position and
appearance of all the elements on dozens or even hundreds of pages on your
site. In addition to letting you apply a consistent look and feel to all
your pages, CSS enables you to quickly change this aesthetic scheme in the
future. Can manipulate and control the text, layout, and graphics of your
pages so that they will look attractive in both Netscape Communicator and
Microsoft Internet Explorer. VBScript : Scripting languageused to develop interactive applications for the Web. It's Microsoft's answer to JavaScript. Dynamic HTML : An extended version of HTML and JavaScript. It includes improved animation. Allows the content of a page to change each time the user clicks, drags, or points to elements on the page.XML : An extension to HTML that gives more control of content. Formats data by using document tags to catalog information. Used in EDI (Electronic Data Interchange) Internet systems. Server Scripting
Languages Web Data Access SQL BASICS SQL can be broken into three categories: QML [Query Manipulation Language]->Select command e.g., select * from myTable DML [Data Manipulation Language]->Insert, Update, Delete
commands delete from
student_enroll DDL [Data Definition Language]->Create, Drop commands drop table employee A Perl ODBC example: use Win32 :: ODBC; /* This sample shows how to list all the names from the EMP table * It uses the JDBC OCI8 driver. See the same program in the * thin or oci7 samples directories to see how to use the other drivers.*/ // You need to import the java.sql package to use JDBC import java.sql.*; class Employee { public static void main (String args []) throws SQLException, ClassNotFoundException { // Load the Oracle JDBC driver Class.forName ("oracle.jdbc.driver.OracleDriver"); // Connect to the database // You can put a database name after the @ sign in the connection URL. Connection conn = DriverManager.getConnection ("jdbc:oracle:oci8:@", "scott", "tiger"); // Create a Statement Statement stmt = conn.createStatement (); // Select the ENAME column from the EMP table ResultSet rset = stmt.executeQuery ("select ENAME from EMP"); // Iterate through the result and print the employee names while (rset.next ()) System.out.println (rset.getString (1)); }}
|