Application Servers G22.3033-011. Session 2 - Main Theme Page-Based Application Servers. Dr. Jean-Claude Franchitti



Similar documents
Agenda. Summary of Previous Session. Application Servers G Session 3 - Main Theme Page-Based Application Servers (Part II)

Web Pages. Static Web Pages SHTML

Adobe ColdFusion 11 Enterprise Edition

Apache Jakarta Tomcat

ICS 434 Advanced Database Systems

Modern Software Development Tools on OpenVMS

PHP. Introduction. Significance. Discussion I. What Is PHP?

Bring the power and speed of RAD to your Web application development with WebSnap

Glassfish, JAVA EE, Servlets, JSP, EJB

Web Technologies Week 4 Hosting, Servers and Databases. Context. Contents. MSc in Computing Computing - IBITE Liverpool Hope University College

Web Programming Languages Overview

Syllabus INFO-UB Design and Development of Web and Mobile Applications (Especially for Start Ups)

-8*6-DYD6HPLQDU 6HUYOHW$UFKLWHFWXUHV 5DLQHU+LVV$QGUHDV.DSS 6<6725$*

Jitterbit Technical Overview : Microsoft Dynamics CRM

Short notes on webpage programming languages

Accessing Data with ADOBE FLEX 4.6

Syllabus INFO-GB Design and Development of Web and Mobile Applications (Especially for Start Ups)

Pemrograman Web. 1. Pengenalan Web Server. M. Udin Harun Al Rasyid, S.Kom, Ph.D

Web Hosting Features. Small Office Premium. Small Office. Basic Premium. Enterprise. Basic. General

Rapid application development for JEE using Adobe ColdFusion 9

Efficiency of Web Based SAX XML Distributed Processing

Credits: Some of the slides are based on material adapted from

Chapter 13 Computer Programs and Programming Languages. Discovering Computers Your Interactive Guide to the Digital World

Agenda. Java Features Review. Extreme Java G Session 1 - Main Theme Introducing Extreme Java

LAMP Server A Brief Overview

Talking to Databases: SQL for Designers

ActiveX AJAX ASP. AudioMP3

Seamless Web Data Entry for SAS Applications D.J. Penix, Pinnacle Solutions, Indianapolis, IN

For Course Details, visit:

WEB APPLICATION DEVELOPMENT. UNIT I J2EE Platform 9

A Performance Comparison of Web Development Technologies to Distribute Multimedia across an Intranet

MEGA Web Application Architecture Overview MEGA 2009 SP4

Jitterbit Technical Overview : Microsoft Dynamics AX

SKILLS HIGHLIGHTS: W e b a n d G r a p h i c D e s i g n e r

Improve application performance and scalability with Adobe ColdFusion 9

PHP and XML. Brian J. Stafford, Mark McIntyre and Fraser Gallop

Internet Engineering: Web Application Architecture. Ali Kamandi Sharif University of Technology Fall 2007

Web Development with the Eclipse Platform

REVIZE WEB CONTENT MANAGEMENT SYSTEM The Common Sense Approach To Content Management. Informational Brief. Value Proposition

IBM Rational Web Developer for WebSphere Software Version 6.0

Adobe ColdFusion (2016 release) Enterprise Edition

Workshop for WebLogic introduces new tools in support of Java EE 5.0 standards. The support for Java EE5 includes the following technologies:

Equipment Room Database and Web-Based Inventory Management

A Comparative Study of Web Development Technologies Using Open Source and Proprietary Software

What Is the Java TM 2 Platform, Enterprise Edition?

PHP Skills and Techniques

Xtreeme Search Engine Studio Help Xtreeme

4D as a Web Application Platform

Extreme Java G Session 3 Main Theme Java Core Technologies (Part I) Dr. Jean-Claude Franchitti

EVALUATION OF SERVER-SIDE TECHNOLOGY FOR WEB DEPLOYMENT

ColdFusion 8. Performance Tuning, Multi-Instance Management and Clustering. Sven Ramuschkat MAX 2008 Milan

Managing Complexity in Mobile Application Deployment Using the OSGi Service Platform

1. Digital Literacy - Computer Security and Privacy 2. Partners in Learning: Organize and Manage the Use of ICT in Your Classroom 3.

DTWMS Required Software Engineers. 1. Senior Java Programmer (3 Positions) Responsibilities:

Preface. Motivation for this Book

Equipment Room Database and Web-Based Inventory Management

Jitterbit Technical Overview : Salesforce

InstallAware for Windows Installer, Native Code, and DRM

Understanding Application Servers

Architecture and Mode of Operation

SQL Server Training Course Content

Instructor: Betty O Neil

<Insert Picture Here> Michael Hichwa VP Database Development Tools Stuttgart September 18, 2007 Hamburg September 20, 2007

Release 1. ICAPRG604A Create cloud computing services

Oracle Identity Analytics Architecture. An Oracle White Paper July 2010

COURSE CONTENT FOR WINTER TRAINING ON Web Development using PHP & MySql

Service Oriented Architectures

Internet Technologies_1. Doc. Ing. František Huňka, CSc.

4D and SQL Server: Powerful Flexibility

Architecture and Mode of Operation

Communiqué 4. Standardized Global Content Management. Designed for World s Leading Enterprises. Industry Leading Products & Platform

Oracle9i Application Server: Options for Running Active Server Pages. An Oracle White Paper July 2001

ASP &.NET. Microsoft's Solution for Dynamic Web Development. Mohammad Ali Choudhry Milad Armeen Husain Zeerapurwala Campbell Ma Seul Kee Yoon

Course Number: IAC-SOFT-WDAD Web Design and Application Development

Using MySQL for Big Data Advantage Integrate for Insight Sastry Vedantam

Data Sheet VISUAL COBOL WHAT S NEW? COBOL JVM. Java Application Servers. Web Tools Platform PERFORMANCE. Web Services and JSP Tutorials

ASP.NET: THE NEW PARADIGM FOR WEB APPLICATION DEVELOPMENT

Log Analyzer Reference

Web Development News, Tips and Tutorials

White paper. IBM WebSphere Application Server architecture

WEB DATABASE PUBLISHING

A Java proxy for MS SQL Server Reporting Services

Nanda Kishor K N. nandakishorkn@gmail.com

CrownPeak Playbook CrownPeak Hosting with PHP

Chapter 1 Programming Languages for Web Applications

MCTS Self-Paced Training Kit (Exam ): Configuring Windows Server 2008 Application Platform

4.2 Understand Microsoft ASP.NET Web Application Development

SUN COBALT RaQ 4 Server Appliance FAQ

Transcription:

Application Servers G22.3033-011 Session 2 - Main Theme Page-Based Application Servers Dr. Jean-Claude Franchitti New York University Computer Science Department Courant Institute of Mathematical Sciences 1 Agenda ColdFusion 5.0- MX 6.1 Environment PHP 4.3.3 Environment XML-Based Application Servers Summary Class Project Overview Readings Assignment #2 2

Application Servers for Enhanced HTML (a.k.a., Page-Based Application Servers) Examples Macromedia ColdFusion 5.0 MX 6.1 Server Microsoft IIS with ASP WithEnterprise Pty Ltd Tango 2000/WiTango http://www.witango.com etc. Typically less expensive than Servers for standalone use, and servers with IDEs Technology stays within the familiar HTML confines See Session 2 Sub-Topic 1 Slides on HTML Review 3 The Web Application Platform 4

Rapid Web Application Development 5 System Differentiators Visual InterDev (ASP) Management of site development process Scripting Macromedia s Drumbeat or NetObjects Fusion can be used as alternative IDEs ColdFusion Studio 4.5 MX 2004 HTML coding Basic database integration UltraDev 4 or Fusion can be used as alternative IDE (4.5) Dreamweaver, Flash, Fireworks, FreeHand (MX 2004) 6

Technology IDE + Application Server IDE Creates pages with mixture of HTML and proprietary tags or script code Visual page creation (textual creation possible as well) Application Server Evaluates the code upon user requests and provides HTML pages 7 Tagging v.s. Scripting ColdFusion Easy tag-oriented dynamic pages for simple tasks Script use when more complex coding is required Example arrays, case & switch statements, and error handling Simple phone directory application: 2 custom tags + 1 SQL statement Same would take 100 lines of ASP code... 8

Part I ColdFusion 5.0-6.1 & MX Environment Also See Session 2 Handouts on: ColdFusion CFML Tags, Functions, and Variables The ColdFusion Integrated Web Development Environment 9 The ColdFusion Development Platform 10

ColdFusion Web Applications 11 How ColdFusion Works 12

The ColdFusion Development Process Write some code Save it as a page (use.cfm extension) View it in a browser Write some more code Save the page again View it in a browser etc. 13 Sample ColdFusion Application <HTML> <HEAD> <TITLE>My First Page</TITLE> </HEAD> <BODY> <STRONG>ColdFusion</STRONG> <CFSET ProductName = "ColdFusion"> </BODY> </HTML> 14

Outputting a Variable Value <HTML> <HEAD> <TITLE>My First Page</TITLE> </HEAD> <BODY> <STRONG>ColdFusion</STRONG> <CFSET ProductName = "ColdFusion"> <CFOUTPUT> #ProductName# </CFOUTPUT> </BODY> </HTML> 15 Querying a Data Source <HTML> <HEAD> <TITLE>Course List</TITLE> </HEAD> <BODY> <H1>Course List</H1> <CFQUERY NAME="CourseList" DATASOURCE="cfsnippets"> SELECT CORNUMBER, CORNAME FROM CourseList </CFQUERY> <CFOUTPUT QUERY="CourseList" > #CORNUMBER# #CORNAME#<BR> </CFOUTPUT> </BODY> </HTML> 16

Coldfusion Features Rapid Development Powerful and intuitive tag-based server scripting language Two-way visual programming and database tools Remote interactive debugging Web application wizards & tag-based component architecture Source control integration Secure file and database access via HTTP 17 ColdFusion Rapid Development 18

ColdFusion Server Architecture (5.0) 19 ColdFusion Features Scalable Deployment Multi-threaded service architecture Database connection pooling JIT page compilation and caching Dynamic load balancing Automatic server recovery and fail-over 20

ColdFusion Features Open Integration Database connectivity (ODBC, OLE-DB, native database drivers) Embedded support for full text indexing and searching Standards-based integration (directory, mail, etc.) CORBA and COM+ connectivity Open extensibility with C/C++ 21 ColdFusion Features Complete Security Integration with existing authentication systems (NT/Win 2000 domains, LDAP directory servers) Advanced access control to files and data sources Support for existing database security Server sandbox security Support for Web server authentication, security, and encryption 22

ColdFusion Studio s IDE 23 ColdFusion Studio s WorkSpace 24

ColdFusion Studio Supports other languages than HTML Handled Device Markup Language Synchronized Multimedia Integration Language Visual Tool Markup Language Support the inclusion of tag editing dialogs Support the addition of XML capabilities CSS integration is clumsy (separate editor) Link management utility limited to page by page (no site diagramming) 25 ColdFusion Homesite Editor HomeSite editor Supports on-the-fly typing validation DTD conformance Basic syntax checking Can categorize tag attributes by version and types Can add custom tags and attributes 26

ColdFusion App Server Supports clustering Addresses performance and scalability issues at most levels Supports ODBC, OLE, and native drivers for Oracle and Sybase Also supports stored procedures Supports server load balancing (Bright Tiger Technologies ClusterATS) and failover 27 Server Platforms ColdFusion Windows Solaris Linux ASP Windows Use ChiliSoft for other servers 28

ColdFusion Features Summary Advanced Editor Visual Database Tools Two-way Visual Programming Web Application Wizards Code Re-Use Interactive Debugging Dynamic Page Quality Assurance Tag Property Inspection 29 ColdFusion Features Summary (continued) Code Sweeper Extensible Tag Editors Custom Wizards Visual Tool Object Model Customizable Workspace Server-Side Source Control Shared Project Management One-Step Deployment R t T D l t 30

See ColdFusion 5.0 vs. MX 6.1 http://www.macromedia.com/software/coldfusion/whitepapers/pdf/6_1/cfmx61_feature_com parison_matrix.pdf http://www.macromedia.com/devnet/mx/coldfusion/articles/cfcmethodology.pdf MX Features See: http://www.macromedia.com/software/coldfusion/productinfo/overview/ Server Scripting (CFML, XML, JSPs/custom tags) Integrated Application Services (Flash, Web services) Flexible Application Deployment High Performance Architecture Advanced Development Capabilities (CFCs) Enterprise Systems Integration Advanced Server Management 31 Using CFCs As A Façade (keep code that invokes Java objects out of CFML) See http://www.macromedia.com/devnet/mx/coldfusion/articles/intro_cfcs.html 32

Part II PHP 4 Environment 33 PHP Technology Server-side, cross-platform HTML embedded scripting language PHP is an open source project of the Apache Software Foundation See http://www.php.net/index2.php Example (hello.php): <html><head><title>php Test</title></head> <body> <?php echo "Hello World<p>";?> </body></html> 34

PHP Examples Showing variables <?php echo $HTTP_USER_AGENT;?> Getting a list of web server variables <?php phpinfo();?> Checking for Internet Explorer <?php if(strstr($http_user_agent,"msie")) { echo "You are using Internet Explorer<br>"; }?> 35 PHP Examples (continued) Jumping in and out of PHP mode <?php if(strstr($http_user_agent,"msie")) {?> <center><b>you are using Internet Explorer</b></center> <? } else {?> <center><b>you are not using Internet Explorer</b></center> <? }?> 36

PHP Examples (continued) Flexible HTML Forms Handling Typical HTML form: <form action="action.php" method="post"> Your name: <input type="text" name="name"> You age: <input type="text" name="age"> <input type="submit"> </form> Action.php is as follows: Hi <?php echo $name;?>. You are <?php echo $age;?> years old. 37 PHP Software Source and binaries downloadable from: http://www.php.net/downloads.php Includes CGI binary plus server API versions for Apache, AOLserver, ISAPI and NSAPI MySQL support built-in Many other extensions 38

Part III XML-Based Application Servers 39 XML Application Server Architecture. (HP Bluestone XML Server 1.0/Visual-XML) 40

. XML Application Server At Work (HP Bluestone XML Server 1.0/Visual-XML) See Session 2 handout on XML MOM Application Server Frameworks 41. XML Application Server At Work (Binary Evolution Velocigen) 42

Part IV Conclusion 43 Summary Page-Based Application Servers are either based on HTML tagging or scripting Page-Based Application Servers are less expensive to use and simpler than Servers for standalone use, and servers with IDEs ColdFusion is based on HTML extensions, and supports the development of tag-oriented dynamic pages for simple tasks PHP is a server-side cross-platform HTML embedded scripting language XML Application Servers are either MOM- or POP-oriented and rely on server-side processing of XML documents 44

Readings Readings Handouts posted on the course web site Explore the ColdFusion 5.0-6.1/MX and PHP 4.3.3 Environments Read white papers under technical resources at ColdFusion, and PHP related whitepapers on vendors sites Review Web/network programming, and HTML Project Frameworks Setup (ongoing) Apache Web Server (version 1.3.28/2.0.47, www.apache.org) Perl (version 5.8.0, www.perl.org) ColdFusion 5.0-MX 6.1 (www.macromedia.com) PHP 4.3.3 45 Assignment Assignment: Explore references to Application Server technology (cont.) #2a: Investigate page-based application server development environments. Write a short report that documents your findings and recommendations with respect to selection criteria in support of page-based development environments for application server technology #2b: See homework #2 specification 46

Next Session: Page-Based Application Servers (Part II) ASP Environment (i.e., IIS with COM+/.Net & ASP) Servlets and Servlet Engines JSPs and JSP Engines TomCat/JRun Cocoon 2/XSPs 47