E-COMMERCE:
E- Commerce stand for electronic commerce E-
commerce is trading through electronic means. We
can define E-Commerce as method of imparting
business information through electronic means like
internet, satellite, Mobile phone, Telephone, Far
E-Commerce has following types.
B to B:
Stand for business to business commerce It is
type of outline business in which on business deal
with other business at line.
B to C:
Stand for business to customer a type of business in
which business deal with its customer directly on
line.
C to C:
Customer to customer .A type of e-commerce in
which a customer directly sells or purchase with
anther customer
HTML
DHTML
CSS
JAVA SCRIPT
JAVA LANGUAGE
FRONT PAGE
HTML
Html is stand for hyper text markup language .Html
is a part of SGML (standard Graphics manipulation
language) html is used to create web page.
It is called hyper text because we use text effects in
html. It is called mark up because we use marks or
tags in HTML
Program structure of html
Code
Are main starting and closing tag
are optical tags to define website title
Used to define program body which
consist whole code pf program
HTML editors
Notepad
Dos editors
How to save HTML program
(1) file
(2) save
(3) name.html
(4) save
SUB TAG:
A tag with in a tag is called a sub tag
Sub tag of body tags
Bgcolor=color name or color code
Used for background color
Background=URL (universal recourses locator)
Used to add a picture as background
Text =color name /color code
Used for text color
FONT TAG:
Used for font size / color and style
Syntax
text
Sub tag:
Size =1 to 7
For font size
Color = color name or color code (For font color)
Face =
“Style name” used for font style
Bold tags
Used to make a text bold
text
Italic tag:
Used to make text italic
Syntax
text
text
Under line tag:
Used to under line a text
Syntax
text
Strike tag:
Used to make text strike through
Syntax
text
Break tag:
Used to break a line
no closing
Horizontal tag:
Used to draw a horizontal row
no closing
Center tag:
Used to center align text
text
Image tag:
PICT Computer Center
Background color
This is my first website
Text color:
This is my first website
Back ground and text:
This is my first website
Background color picture
Background =URL (universal resource locator)
This is my first web site
Font picture
Pict Computer Center
Pict Computer Center
Pict Computer Center
STYLE:
PICT
PICT
PICT
PICT
PICT
Marquee Tag:
Used to more text on page
Syntax:
text
Sub tags:
Directions = left, right, bottom for text direction
BG color = color name (for background color
Text = color name (for text color)
Behavior Scroll / Slide/ Alternate
Image tag:
Used to set an image on page
Syntax
text
Sub tag:
Border =1 to 10
For image border
Width = 1 to 1000
For image width
Height =1 to 1000
For image width
Select tag:
Used to create a select list
Syntax
text
Program:
Picture
(Option> sat
(Option> sun
(Option> Mon
(Option> Tue
(Option> Wen
(Option> Thu
(Option> Fri
Table tag:
Used to create a table on web page
Syntax
Sub tag:
Used to create a table row
text
Used to create table caption
Used to create table heading
Used to create table columns
Menu list tag:
Used to create a list of element
Syntax
text
Ordered list:
Used to create an ordered list of element
Syntax
type= 1, A, a
text
UN order list:
Used to create an ordered list of element
text
Definition list:
Used to create a definition
Syntax
computer
Computer is an electronic machine
Program:
Dit course contents
semester 1
semester 2
introduction to it
System analysis and design
data structure and C language
introduction to Oracle
Financial Accounting
E-Commerce
Ms Office
project
operating System
Visual basic
Data communication
Business communication
DIT
PGD
HW
SW
NW
DIT
PGD
SW
HW
NW
DIT
PGD
SW
HW
NW
Computer
Computer is an electronic device
HTML form Tag:
Used to create a form which can be used for
admission form, feed back from order form etc
Syntax
Sub tag:
Check box
Used to create or check box
Comments window
Used to create a comment window
Syntax
Text
Submit or reset
ADMISSION FORM:
Admission form
Name
F Name
Address
Phone no
font size= 5 color = blue>
Qualification
Matric
FA/FSC
BA/BSC
MA/MSC
font size= 5 color = blue>
Gender
Male
Female
Password
your comments
Java Script
Is a script language it is a part of DHTML Jave
script is used to make web pages dynamic by
programming statement
DHTML consist of
Java script
CSS
Event Programing
Java Script Syntax
Title 1
coding
var name;
name= prompt (“enter your name”);
alter(“hello welcome Mr Name”);
Document. write (“do you want to proceed” +name);
java Script input statement
java script uses two ways of input
input Through variable
syntax
var_ variable name=& value;
var x =&5;
var y=&7;
input using from statement
syntax
Prompt(message );
Java script output statement
Those statement use to display output is known as
output statement
Java script support followings out put statement
Document.write
Used to display output on web page
Syntax
Document.write (“message”);
Alter statement
Used to display a message box output
Syntax
Alter(“message “);
Java script variables
Variable are those memory location who’s values
change during the execution of program
Java script support variable like all other languages
java script used single statements to define every type
of variable that is var or variant statement
Variant
It is used flexible data type that can store every type
of variable
Syntax
Var variable name;
Or
Var variable name=value;
Java script operator
Java script support followings types of operator
Arithmetic operator
Used to perform mathematically operations like + , - ,
* , / reminder.
Arithmetic assignment operator
+=
-=
*=
/=
%=
Equality operator
==
!=
Assignment operator
=
Comparison operator
>
=
Var a, b
Var sum, sub, mul, div,
a = prompt (“enter value of a”);
b= prompt (“enter value of b”);
Sum = a+b;
Document. Write (“the sum is” + sum);
Sub = a-b;
Document. Write (“the subtraction is” + sub);
Mul = a*b;
Document. Write (“the multiple is” +mul);
Div = a/b;
Document. Write (“the division is” +div);
Java script loop
Those statement that repeat the floe of execution of
the program on the bases of logical condition Java
script also support three types of loops
For loop
Do while loop
While loop
For loop:
Is a top testing reparative statement that first checked
logical condition then repeat flow of execution?
Syntax:
For (initial; final; Inc or dec)
{
Statements
}
Example
Example # 2
For (i= 10; i
Var i, no, fact
Fact=1;
No= prompt (“enter no for fact”);
For (i=1; i
Math’s tables
While loop:
While is also top testing loop like for loop
Syntax:
Initial value;
While (final value)
{
Statement
Inc
Or
Dec
}
Do while loop:
Is a bottom testing loop it first execute then checks
logical condition
Syntax
Initial value;
Do
{
Statement
Inc
Or
Dec
}
While (final value);
Java language
Java language was introduced by James gosling in
1991. Java was developed to make website dynamic
Now a days java has to become most popular in
Advanced web designing
Game programming
Hardware programming
Java is slang of term of coffee java is an object
oriental language that uses objects, modules, classes
to develop a program
JVM (Java Virtual Machine)
Is used to develop java code. To install we use JDK
(java development kit) software
Sun micro system on pc
We use
Dos editor
Notepad to write
Java code is first phase of java program
Execute able image:
When java program is develop then java exe for
program is created by Jvm which is execute able file
of java program
To make exe user writes following command
C: / Jdk 1.3> Javac class name. Java
After pressing enter the file is compiled and errors
are removing finally exe file is ready
Execution of java program
To run a java program the user goes to third phase
and type the following commands
C: / Jdk 1.3> class name java
After pressing the enter the java application is
executed and desired output is shown on screen
Modules in java program
Modules and java are called classes and method
Package:
Combination of related classes is called a package
The java API provides a rich collection of classes and
methods for performing common mathematical
calculation, string, input, output errors checking
useful operation
Java API is a part of JDK
A method is involved to perform a typical task
Method is called by its name followed by its
parameters
Syntax:
Whenever a package is written all its words are in
lower case
E-g
javax. Swing
Class:
Class name the first letter of name is kept constant
e-g
J Option Pane:
Method
Every word of name is initial cap except first word
E-g
Show message dialog
Structure of program
Public class Welcome
{
Public static void main (string avgs [ ])
{
System. Out .println (“Welcome to java”);
}
}
Java application:
Is a program that runs our computer under operating
system?
Java applet
Is a program that runs independent of operating
system?
Import statement
Complier uses import statement to identify and load
classes required to complete a java program
Data types in Java:
Java support different data types
Integer
This data type is further divided in to four categories
Byte
Single (short)
Integer
Long
Byte
Byte is a single integer data type that consist of 8 bits
Range is -127 to +127
Syntax
Byte a, b;
Short data type
Is used to store short integer of 16 bits having range
between -32768 to 32767
Syntax
Short a, b;
Integer:
Most commonly data type can store 32 bit data type
range from -2147483 to 2147483647
Syntax
Int a, b;
Long
Is used to store 64 bit long integer range from -
92233372063854755808 to
922333720638554755807
Syntax
Long a, b;
Float data type
Divides in to categories
Float
It store 32 bit decimal
Syntax
Float a;
Double
It store 64 bit decimal value
Syntax
Double a;
Character
It is divided in to two categories
Char
Used to store a single character
Syntax
Char a;
String
Used to store more then one character
Syntax
Str a;
Boolean:
Used to store yes/ no or true/false type of value
Syntax
Boolean a;
Java operators
Arithmetic operators
Those operators which are used to perform
mathematical operation
+ Addition
- Subtraction
* Multiplication
/ Division
% remainder
Arithmetic operator:
That is used to assign mathematical operations to
variable
++ Increment
-- Decrement
+=addition assignment
-=sub assignment
*=multiply assignment
/=division assignment
%=remainder assignment
e-g
Public class math {
Public static void main (string avgs []) {
Int x = 42;
Double y = 42.3
System.out.println (“x mode 10=” + x%10);
System.out.println (“y mode 10=”+ y %10);
Relation operators:
Used to show relation between two variable
== Equal to
Not equal to
>greater
= greater equal to
<= less equal to
Assignment operator:
Used to assign any value to a variable
“=”
Logical operator:
Used to create logical expression
&& and
Or
! Not
Program
public class cals{
public static void main (string avgs [] ){
int x= 5, y= 10;
Add =x+y;
System.out.println (“the addition “add);
Sub = x-y;
System.out.println (“the subtraction “sub);
Mul = x*y;
System.out.println (“the multiply “mul);
Div = x/y;
System.out.println (“the division “div);
Rem =x%y;
System.out.println (“the remainder “rem);
}
}