world wide networking university of wollongong 2004 - lecture 12

Post on 17-Jul-2016

221 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

DESCRIPTION

World Wide Networking University of Wollongong 2004 - Lecture 12

TRANSCRIPT

WEEK12 - IACT303/ITCS923/MCS9303WEEK12 - IACT303/ITCS923/MCS9303

Web Services, .NET and Subject Wrap-up

Peter Eklund

Materials used in the production of these slides are suitably acknowledged and/or where appropriate © the author, the intended use is for educational purposes not for publication or public broadcast or profit.

Last Week, Week 11• SVG• RDF• OWL• RSS

• Forgot to say that a major point of the semantic Web is (in many senses) to have “more than one type of HREF”

This time: .NET is built on the following Internet standards:• HTTP: the communication protocol

between Internet Applications • XML: the format for exchanging data

between Internet Applications (includes DTD XML Schema, XSL etc)

• SOAP: the standard format for requesting Web Services

• UDDI: the standard to search and discover Web Services

Web Services

http://www-106.ibm.com/developerworks/library/ws-best10/Figure3.gif

WSDL – Web Services DL• WSDL is a document written in XML.

The document describes a Web service. It specifies the location of the service and the operations (or methods) the service exposes.

WSDLDOC

URI’s

URI’s

URI’s

SOAP envelops

Web Services are Extensible

WSDL provides a way (in this case) to add another server to the service list that deals provides another service site

ASP.NET or ASP+ • Currently all .NET stuff is proprietary although MS

claim that Python, PHP and Perl etc will be incorporated (eventually).

• This means you need to have the Internet Information Services (IIS) to do .NET, i.e. you can’t be running Apache and you need the IDE. To run ASP .NET you need a computer capable of running Windows.

• Currently .NET supports C++, C#, Visual Basic, and JScript (The Microsoft version of JavaScript).

• For these reasons we look at the .NET idea as ASP.NET

ASP.NET - How Does it Work?• When a browser requests an HTML

file, the server returns the file • When a browser requests an ASP file,

IIS passes the request to ASP • ASP engine reads the file, line-by-line,

and executes the scripts in the file • Finally, the ASP file is returned to the

browser as plain HTML • So what?

ASP example in-line script

HTML Server controls: Event trapping and dynamic services resolution

Server controls (3 types) • HTML Server Controls - Traditional HTML tags • Web Server Controls - New ASP .NET tags • Validation Server Controls - For input validation

Server controls (3 types) • HTML Server Controls - Traditional HTML tags • Web Server Controls - New ASP .NET tags • Validation Server Controls - For input validation

Catch and throw events: In the above a Button server is declared in an .aspx file. An event handler for the Click event changes the text on the button.http://www.w3schools.com/aspnet/showasp.asp?filename=demo_button

Server controls (3 types) • HTML Server Controls - Traditional HTML tags • Web Server Controls - New ASP .NET tags • Validation Server Controls - For input validation

Events, Validation, Data Binding• Pageload: http://www.w3schools.com/aspnet/showasp.asp?

filename=demo_pageload • First pageload: http://www.w3schools.com/aspnet/showasp.asp?

filename=demo_pageispostback• Radio button input:

http://www.w3schools.com/aspnet/showasp.asp?filename=demo_xml_radio1

.NET Summary• .NET is Microsoft's new Internet and Web strategy • .NET is NOT a new operating system • .NET is a new Internet and Web based

infrastructure • .NET delivers software as Web Services • .NET is a framework for universal services • .NET is a server centric computing model • .NET will run in any browser on any platform but

you must run IIS and Windows on your server • .NET is based on the newest Web standards

IACT303 – Lecture Summary

IACT303 – Tutorial Summary

IACT303 – Tutorial Summary

IACT303 – Tutorial Summary

IACT303 – Tutorial Summary

IACT303 – Lab Summary• Lab 1 = HTML Forms• Lab 2 = JavaScript and data validation• Lab 3 = Accessing a Database via CGI• Lab 4 = PHP + Database → HTML• Lab 5 = Content Management and XML

IACT303 – Lab Summary• Lab 1 = HTML Forms• Lab 2 = JavaScript and data validation• Lab 3 = Accessing a Database via CGI• Lab 4 = PHP + Database → HTML• Lab 5 = Content Management and XML

IACT303 – Lab Summary• Lab 1 = HTML Forms• Lab 2 = JavaScript and data validation• Lab 3 = Accessing a Database via CGI• Lab 4 = PHP + Database → HTML• Lab 5 = Content Management and XML

IACT303 – Lab Summary• Lab 1 = HTML Forms• Lab 2 = JavaScript and data validation• Lab 3 = Accessing a Database via CGI• Lab 4 = PHP + Database → HTML• Lab 5 = Content Management and XML

IACT303 – where to now?

IACT303

CSCI262 System Security

CSCI361 Computer Security

CSCI368 Network Security

More Security

IACT303 – where to now?

IACT303

CSCI213 Java Programming & the Internet

CSCI214 Distributed Systems

CSCI262 System Security

CSCI361 Computer Security

CSCI368 Network Security

CSCI407 Corba and Enterprise Java

CSCI408 Distributed Java

CSCI445 Parallel Computing

More Programming

ITCS431 Advance Web Application Development

IACT303 – where to now?

IACT303

CSCI213 Java Programming & the Internet

CSCI214 Distributed Systems

CSCI262 System Security

CSCI361 Computer Security

CSCI368 Network Security

CSCI407 Corba and Enterprise Java

CSCI408 Distributed Java

CSCI445 Parallel Computing

IACT304 E-Business

Fundamentals

IACT305 E-Business Technologies

IACT405 Information Technology and Innovation

IACT406 Strategic e-Business Solutions

IACT418 Corporate Network Management

IACT417 Information Management

IACT424 Corporate Network Design and Management

ITCS431 Advance Web Application Development

ITCS432 Web Design

ITCS436 Detailed Design of Integrated Solutions to e-business

ITCS450 Patterns for e-Business

ITCS451 Web Services for Dynamic e-Business

ITCS301 Mark up

languages

More ofEverything!

References• http://www.w3schools.com/aspnet/

• Good luck!

top related