JSP ??????? - PowerPoint PPT Presentation

About This Presentation
Title:

JSP ???????

Description:

... – PowerPoint PPT presentation

Number of Views:27
Avg rating:3.0/5.0
Slides: 33
Provided by: thaiallCo
Category:
Tags: jsp

less

Transcript and Presenter's Notes

Title: JSP ???????


1
????????????????????
???????????????
??????????????? ???????????? ?????????????????????
?????????????? http//www.yonok.ac.th
?.???????? ??????????? . ???????? 30 ????????
2550
2
??????????????? (Computer Language)
??????????????? (Computer Language) ???
?????????? ????????????????????????????
???????????????????????????? ?????????????????????
??????????????????????? ??????????????????????????
?????????? ????????????????????????????? HTML
???? SQL ????????????????? ???????????????????????
?????
3
??????????? (Program Language)
??????????? (Program Language) ???
??????????????????????????????????????????????????
???????? ?????????????????????????????????????????
????????????????????????????????
??????????????????????????????????????????????????
????????????????????????????? ????????????????????
?????????????????????????????
4
???????????????????????
????????? http//dmoz.org/Computers/Programming/La
nguages/ 143 ???? ????????? http//people.ku.edu/
nkinners/LangList/Extras/langlist.htm 2500 ????
????????? http//www.levenez.com/lang/ 50 ????
(Computer Languages Timeline)
ABC, Ada, ADL, Algol 60, Algol 68, APL,
AppleScript_at_, Assembly, Awk, BASIC, Befunge,
BETA, Bigwig, Bistro_at_, Blue, Brainfuck, C, C,
Caml_at_, Cecil, CHILL, Clarion, Clean, Clipper,
CLU, Cobol, CobolScript, Cocoa, Component
Pascal_at_, C-sharp, Curl, D, DATABUS, Delphi, DOS
Batch_at_, Dylan, E, Eiffel, ElastiC, Erlang,
Euphoria, Forth, Fortran, Fortress, FP, Frontier,
Goedel, Groovy_at_, Haskell, HTML_at_, HTMLScript_at_,
HyperCard_at_, ICI, Icon, IDL, Intercal, Io, Jal_at_,
Java, JavaScript, Jovial, LabVIEW, Lagoona_at_,
LaTeX_at_, Leda, Limbo, Lisp, Logo_at_, Lua, m4,
Maple_at_, Mathematica_at_, MATLAB_at_, Mercury, Miranda,
Miva, ML, Modula-2, Modula-3, Moto, Oberon,
Objective Caml_at_, Objective-C, Obliq, Occam, Oz,
Pascal, Perl, PHP, Pike, PL, Pliant, PL-SQL,
POP-11, PostScript_at_, PowerBuilder_at_, Prograph,
Prolog, Proteus, Python, R_at_, REBOL, Refal, Rexx,
Rigal, RPG, Ruby, SAS, Sather, Scheme_at_, Self_at_,
SETL, SGML_at_, Simkin, Simula, Sisal, S-Lang,
Smalltalk, Snobol, SQL, Squeak_at_, Tcl-Tk, Tempo,
TeX_at_, TOM, TRAC, Transcript, Turing, T3X, UML_at_,
VBScript_at_, Verilog_at_, VHDL_at_, Visual Basic, Visual
DialogScript, Visual FoxPro, Water, XML_at_, XOTcl_at_,
YAFL, Yorick, Z
5
???????????????????????
Augusta Lovelace Ada ??? ???????????????????????
??? Edsger Wybe Dijkstra ???????? ????????????
(Programmer) ?????????????????????????????
????????? http//www.twoguru.com/playground/articl
e/dijkstra.htm ????????? http//www.cs.utexas.edu/
users/dahlin/Classes/GradOS/papers/p341-dijkstra.p
df ????????? http//www.twoguru.com/playground/art
icle/dijkstra.htm ????????? http//www.thaiall.com
/article/teachpro.htm
6
??????? Batch File
BAT file (BATch file) A file of DOS or OS/2
commands, which are executed one after the other.
It has a .BAT extension and is created with a
text editor. A file of DOS commands that are
"batch" processed one after the other. Windows
also supports batch files, which are mostly
identical to the DOS commands. To create a DOS
batch file, use a text editor such as Edit. If
you use a word processor, save your batch file as
an ASCII text file, not as a standard document.
Always include a .BAT extension with your batch
file name.
????????? http//www.techweb.com/encyclopedia/defi
neterm.jhtml?termDOSbatchfile ?????????
http//www.thaiall.com/assembly/batch.htm
7
???????? Batch file (j.bat)
DOSgtj.bat x _at_echo off rem j x javac 1.java java
1
8
???????? Batch file (x.bat)
DOSgtx.bat _at_echo off rem copyto.bat c\x .doc
b.ppt c.xls set destdir1 start shift if "1"
"" goto end copy 1 destdir goto
start end echo bye
????????? http//www.thaiall.com/assembly/
9
??????????? GW-BASIC
GW ????? GW ???????? "Gee Whiz"
???????????????? ? ???????????????????????????????
??????????????? ?????????? PC ?????????????????
?????????????? Interpreter ???????????????????????
?????? ???????????????????? ??????????????????????
?? ??????????? ??.????????? ?????????????
?????????????????????????????? ? ??????
????????????????????? 20 ????? ???????????????????
??? ??????????????????????????????
??????????????????????.?. 1963 (?.?.2506)
????????? http//www.thaiall.com/gwbasic/
10
???????????? GW-BASIC (1/2)
10 dim a 20 a a 1 30 print a 40 if a lt 5 then
go to 20
?????????? http//www.geocities.com/KindlyRat/GWBA
SIC.html ????????? http//www.thaiall.com/gwbasic/
11
???????????? GW-BASIC (2/2)
10 FOR I 1 TO 5 15 PRINT TAB(40 - I) 20 FOR J
1 TO I 30 PRINT RIGHT(STR(J),1) 40 NEXT J 50
PRINT 60 NEXT I
?????????? http//www.geocities.com/KindlyRat/GWBA
SIC.html ????????? http//www.thaiall.com/gwbasic/
12
??????????? HTML
HTML (HyperText Markup Language) ???
??????????????????????????????????????????????????
? ??????????????????????????? ????????????? ???
??????????? ?? (Tim Berners Lee) ?????.?.1990
(?.?.2533) HTML ??????????????????????? World
Wide Web Consortium ??????????? W3C ??????? XHTML
?????? XML ??????? HTML ???? 4.01
????????? http//inventors.about.com/od/computerso
ftware/a/html.htm
13
???????????? HTML (1/3)
DOSgtexplorer x.htm lthtmlgt ltheadgt lttitlegthellolt/tit
legt lt/headgt ltbodygt altbrgtb cltbrgtd lt/bodygt lt/htmlgt
14
???????????? HTML (2/3)
DOSgtexplorer y.htm lthtmlgt ltheadgtlttitlegthellolt/titl
egtlt/headgt ltbody bgcoloryellowgt My name is
burinltbrgt lta hrefhttp//google.comgtgooglelt/agt ltbr
gtlta hrefx.htmgtx.htmlt/agt ltbrgtltimg
srcx.jpggt lt/bodygt lt/htmlgt
15
???????????? HTML (3/3)
DOSgtexplorer z.htm ltbody bgcoloryellowgt My name
is burinltbrgt I am working at YONOK
Universityltbrgt lta hrefhttp//google.comgtgooglelt/a
gt ltbrgtlta hrefx.htmgtx.htmlt/agt ltbrgtltimg srcx.jpggt
16
??????????? PERL
Perl is a dynamic programming language created
by Larry Wall and first released in 1987. Perl
borrows features from a variety of other
languages including C, shell scripting (sh), AWK,
sed and Lisp. Structurally, Perl is based on
the brace-delimited block style of AWK and C, and
was widely adopted for its strengths in string
processing and lack of the arbitrary limitations
of many scripting languages at the time
????????? http//en.wikipedia.org/wiki/Perl_progra
mming_language
17
???????????? PERL (x.pl)
DOSgtexplorer http//127.0.0.1/cgi-bin/x.pl !/usr/
bin/perl !c/thaiabc/php/perl.exe print
"Content-type text/html\n\n" print
"ltpregtHello, World...\n" foreach key
(keys(ENV)) print "key ENVkey\n"
18
??????????? SQL
????????? (SQL Structured Query Language) ???
???????????????? ?????????????????????????????????
??? ????????????????????????? ????????????????????
?????????????? ????????????????????????
??????????????????? Donald D. Chamberlin and
Raymond F. Boyce ??? IBM ????????????? 1970
MySQL ???? SQL Server ??? ????????????????
???????????????????????????????? ???????????? SQL
(Structured Query Language) ??????????????????????
???????? ?????????????????????????????????????????
??? ????????????????????????????????????????????
???? ????????????????? (Web Server)
??????????????????????????????????? (Server-Side
Script)
????????? http//en.wikipedia.org/wiki/SQL
19
???????????? SQL
1. create table a (a1 int, a2 char(20)) 2.
insert into a values (1, "abc") 3. insert into
a (a2, a1)values("a",1) 4. select from a 6.
delete from a where a11 7. update a set
a2"def" where a11 8. select from a order by
a2
????????? http//en.wikipedia.org/wiki/SQL ???????
?? http//www.thaiall.com/mysql
20
??????????? PHP
PHP (Professional HomePage) ??????????????????
.?.1994 (?.?.2537) ??? Mr.Rasmus Lerdorf
?????????????????????????????????????????
???.?.1995 ???????????? ???????????? PHP/FI ????
PHP ???? 2 ?????????????????????? ???????.?.1996
??????????????? ????? Mr.Zeev Suraski ??? Mr.Andi
Gutmans ??????? ?????? PHP ???? 3
21
???????????? PHP (x.php)
DOSgtexplorer http//127.0.0.1/x.php lt? for(x1x
lt5x) echo "hello".x."ltbrgt" ?gt ltbgtbyelt/
bgt
22
??????????? ASP
ASP (Active Server Page) ???? ASP
??????????????????? Internet Information Server
(IIS) ???????????????????????????? ASP
??????????? 2540 ????????????????????????????????
???????????????????????? ????????? 2541
?????????? ASP 2.0 ?? WindowsNT4 ??? ASP 3.0 ??
Windows 2000
23
???????????? ASP (x.asp)
DOSgtexplorer http//localhost/x.asp lt for x 1
to 5 response.write("hello"
x) next gt ltbgtbyelt/bgt
24
??????????? JAVA
Java is a programming language originally
developed by Sun Microsystems and released in
1995. Java applications are typically compiled to
bytecode, although compilation to native machine
code is also possible. At runtime, bytecode is
usually either interpreted or compiled to native
code for execution, although direct hardware
execution of bytecode by a Java processor is also
possible. The language, widely considered to be
the most popular platform for web development,
derives much of its syntax from C and C but has
a simpler object model and fewer low-level
facilities. JavaScript, a scripting language,
shares a similar name and has similar syntax, but
is not directly related to Java.
????????? http//en.wikipedia.org/wiki/Java_(progr
amming_language)
25
???????????? JAVA (x.java)
DOSgt javac x.java DOSgt java x class x
public static void main(String a)
System.out.println(test)
26
??????????? JSP
JSP (Java Server Page) ???? JSP
??????????????????????????????? HTML, XML
?????????????????????? ??????????????? Tomcat
Apache ??? Java Compiler ???????? James Duncan
Davidson ?.?.2000 ????????????????? Servlet
?????????????? Byte Code ?????????????????????????
?? ??? JSP Source Code
????????? http//java.sun.com/products/jsp/faq.htm
l ????????? http//www.apl.jhu.edu/hall/java/Serv
let-Tutorial/
27
???????????? JSP (x.jsp)
DOSgtexplorer http//localhost8080/x.jsp lt for
(int i1ilt10i) out.println(i) gt ltbgtbye
lt/bgt
28
??????????? PASCAL
?????????????????? Niklaus Wirth ?????.?. 1970
???????????????????????? ?????????????????????????
????????????? ???? ???????????????????????????????
?????? ??????????????? ??????????
???????????????????????????????????????????
(Structure Programing) ???????????????
????????????(Compiler) ????????????????????
??????????????????????????????????????????????
??????????????????????????????????????????????
??????(Pascal)?????????????????????????????
Blaise Pascal ????????????????????????????????????
????? ????????????????????????????????????????????
?????????????? ???????????????????????????????????
??????
????????? http//en.wikipedia.org/wiki/Pascal_prog
ramming_language
29
???????????? PASCAL (x.pas)
Short Sample uses crt begin clrscr for
i0 to 7 do begin writeln("hello")
end readln end.
????????? http//www.thaiall.com/pascal/indexo.htm
l
30
??????????? COBOL
????????? (COBOL Common Business Oriented
Language) ????????????????????????????????????????
? ??????????.?. 1962 ???????????????????? (The
Conference on Data Systems Languages - CODASYL)
???????????? ????????????????????????????????
???????????????????????????? ?????????????????????
?? ?????????????????????? ????????????????????????
?????????????
????????? http//www.thaiall.com/cobol/indexo.html
31
???????????? COBOL (x.cbl)
DOSgt cobol test,test,test,nul DOSgt link
test,test,nul,,nul DOSgt test working-storage
section. 77 x pic 99. procedure division.
move 0 to x. perform cal-para until x gt 10.
stop run. cal-para. add 1 to x. display x.
32
??????????????? ???????????????????
  • http//www.thaiall.com/assembly
  • http//www.thaiall.com/assembly/batch.htm
  • http//www.thaiall.com/assembly/debugcmd.htm
  • http//www.thaiall.com/gwbasic
  • http//www.thaiall.com/pascal
  • http//www.thaiall.com/tc
  • http//www.thaiall.com/clipper
  • http//www.thaiall.com/cobol
  • http//www.thaiall.com/perl
  • http//www.thaiall.com/php
  • http//www.thaiall.com/asp
  • http//www.thaiall.com/jsp
  • http//www.thaiall.com/class
  • http//www.thaiall.com/java
  • http//www.thaiall.com/teachaccess
  • http//www.thaiall.com/vb
Write a Comment
User Comments (0)
About PowerShow.com