Web Development Methodologies Yuan Wang(yw2326). Basic Concepts Browser/Server (B/S) Structure Keywords: Browser, Server Examples: Websites Client/Server.

Slides:



Advertisements
Similar presentations
/ department of mathematics and computer sciencedepartment of mathematics and computer science / architecture of information systems.
Advertisements

Web Applications Development Using Coldbox Platform Eddie Johnston.
Languages for Dynamic Web Documents
Server-Side vs. Client-Side Scripting Languages
What is it? –Large Web sites that support commercial use cannot be written by hand What you’re going to learn –How a Web server and a database can be used.
Introduction to ASP.NET. 2 © UW Business School, University of Washington 2004 Outline Static vs. Dynamic Web Pages.NET Framework Installing ASP.NET First.
Creating WordPress Websites. Creating a site on your computer Local server Local WordPress installation Setting Up Dreamweaver.
Apache Tomcat Server – installation & use Server-side language-- use Java Server Pages Contrast Client-side languages HTML Forms Servers & Server-side.
Outline IS400: Development of Business Applications on the Internet Fall 2004 Instructor: Dr. Boris Jukic Server Side Web Technologies: Part 2.
Multiple Tiers in Action
Introduction to Web Based Application. Web-based application TCP/IP (HTTP) protocol Using WWW technology & software Distributed environment.
Active Server Pages Chapter 1. Introduction Understand how browsers and servers interacted when the Web was young Understand what early Internet and intranet.
Apache Tomcat Server Typical html Request/Response cycle
1 CS6320 – Why Servlets? L. Grewe 2 What is a Servlet? Servlets are Java programs that can be run dynamically from a Web Server Servlets are Java programs.
Computer Science 101 Web Access to Databases Overview of Web Access to Databases.
1 CS428 Web Engineering Lecture 18 Introduction (PHP - I)
UNIT-V The MVC architecture and Struts Framework.
DAT602 Database Application Development Lecture 15 Java Server Pages Part 1.
Server Side Scripting Norman White. Where do we do processing? Client side – Javascript (embed code in html) – Java applets (send java program to run.
1 Web Database Processing. Web Database Applications Static Report Publishing a report is prepared from a database application and exported to HTML DB.
Dj(T)ango with Python Ritika Virmani. What is Django? It’s not a Hawaiian dance Developed by Adrian Holovaty and Simon Willison Rapid Web Development.
ITIS 1210 Introduction to Web-Based Information Systems Chapter 24 How Websites Work with Databases How Websites Work with Databases.
Introduction to ASP.NET. Prehistory of ASP.NET Original Internet – text based WWW – static graphical content  HTML (client-side) Need for interactive.
Chapter 1: Introduction to Web
Basics of Web Databases With the advent of Web database technology, Web pages are no longer static, but dynamic with connection to a back-end database.
Web Application Programming Carol Wolf Computer Science.
Chapter 6 The World Wide Web. Web Pages Each page is an interactive multimedia publication It can include: text, graphics, music and videos Pages are.
School of Computing and Information Systems CS 371 Web Application Programming PHP - Basics Serving up web pages.
Chapter 17 - Deploying Java Applications on the Web1 Chapter 17 Deploying Java Applications on the Web.
Lecture 19 Web Application Frameworks Boriana Koleva Room: C54
Creating Dynamic Web Pages Using PHP and MySQL CS 320.
Putting it all together Dynamic Data Base Access Norman White Stern School of Business.
Kingdom of Saudi Arabia Ministry of Higher Education Al-Imam Muhammad Ibn Saud Islamic University College of Computer and Information Sciences Chapter.
Introduction to ASP.NET1. 2 Web applications in general Web applications are divided into two parts –The server part –The client part The server part.
1 © Netskills Quality Internet Training, University of Newcastle HTML Forms © Netskills, Quality Internet Training, University of Newcastle Netskills is.
Django 101 By: Jason Sumner. Django Overview Django was started in 2003, released under BSD in 2005, and the Django Software Foundation was established.
CS 4720 Dynamic Web Applications CS 4720 – Web & Mobile Systems.
ASP (Active Server Pages) by Bülent & Resul. Presentation Outline Introduction What is an ASP file? How does ASP work? What can ASP do? Differences Between.
CITA 310 Section 7 Installing and Testing a Programming Environment (Textbook Chapter 7)
 Previous lessons have focused on client-side scripts  Programs embedded in the page’s HTML code  Can also execute scripts on the server  Server-side.
Scripting Languages Client Side and Server Side. Examples of client side/server side Examples of client-side side include: JavaScript Jquery (uses a JavaScript.
Introduction and Principles Web Server Scripting.
MVC WITH CODEIGNITER Presented By Bhanu Priya.
Form Processing Week Four. Form Processing Concepts The principal tool used to process Web forms stored on UNIX servers is a CGI (Common Gateway Interface)
ASP. ASP is a powerful tool for making dynamic and interactive Web pages An ASP file can contain text, HTML tags and scripts. Scripts in an ASP file are.
The basics of knowing the difference CLIENT VS. SERVER.
Website Design Best Practices. Topics  Navigation  Readability  Portability  Frameworks for Web Design  Model View Architecture MVC  SEO  Performance.
COSC 2328 – Web Programming.  PHP is a server scripting language  It’s widely-used and free  It’s an alternative to Microsoft’s ASP and Ruby  PHP.
Web Page Designing With Dreamweaver MX\Session 1\1 of 9 Session 1 Introduction to PHP Hypertext Preprocessor - PHP.
Introduction to ASP.NET development. Background ASP released in 1996 ASP supported for a minimum 10 years from Windows 8 release ASP.Net 1.0 released.
The Django Web Application Framework zhixiong.hong
JavaScript Invented 1995 Steve, Tony & Sharon. A Scripting Language (A scripting language is a lightweight programming language that supports the writing.
National College of Science & Information Technology.
Dive into web development
4166 Review.
ASP.NET developing web applications based on Microsoft.NET Framework.
Web Applications Security What are web Applications?
Haritha Dasari Josue Balandrano Coronel -
PHP / MySQL Introduction
MapServer In its most basic form, MapServer is a CGI program that sits inactive on your Web server. When a request is sent to MapServer, it uses.
Web App vs Mobile App.
Secure Web Programming
Back end Development CS Programming Languages for Web Applications
ASP.NET MVC Web Development
Architecture of the web
Lecture 21 More On Django.
Client-Server Model: Requesting a Web Page
Back end Development CS Programming Languages for Web Applications
Web Application Development Using PHP
Presentation transcript:

Web Development Methodologies Yuan Wang(yw2326)

Basic Concepts Browser/Server (B/S) Structure Keywords: Browser, Server Examples: Websites Client/Server (C/S) Structure Keywords: Client, Server Examples: MSN, Skype

Model-View-Controller(MVC) Basic Process of a B/S application: A user wants to look at a page using a browser. He sends a request to the server, then logical co des on the server begin to execute based on th e user ’ s request. They get some data from data base and do some logical execution, then return a dynamic page to the web browser so that the user can see it. Page: View Logical Codes: Controller Model: Database

Technologies in B/S development Technologies in View tier: HTML, Javascript(JS), CSS, etc. JS: A scripting language, using in the browser-sid e Libraries: Yahoo User Interface, EXT, Prototype, J Query CSS: DIV+CSS instead of Clear, Easier to change an interface apperance

Frameworks Why it appears CGI, JSP, ASP Mix 3 tiers together Simple, easy to learn Not easy to extend There are really a lot of frameworks, which one we need to choose?

Frameworks 1. ASP.NET using C# Not totally free 2. Struts in J2EE platform using Java Difficult, too many codes to write 3. Some other frameworks using PHP, Perl Not very powerful

Is there a language and a framework Free Easy Powerful Python Python on Django

Python on Django Model-Template-View(MTV) Template: describes how the data is presented Template: View in MVC View: describes which data is presented View: Controller in MVC URL matches one controller in Django Other MVC matches one view, such as.asp,.jsp

How to use it Django-admin.py in Python site-packages Using django-admin.py startproject newproject to create a directory for your application Settings.py and urls.py Settings: configuration file tell Django where you put your pages in Template _ Dirs = {./templates } Helloworld.html---print helloworld--page Urls: tell Django Server which controller each url matches

How to use it Create a controller file called Helloworld.py From django.shortcuts import render_to_response def index(request): return render_to_response(“helloworld.html”) Add it into urls.py: Urlpatterns= patterns(‘’, (r’^helloworld/’, ‘newproject.helloworld.index’), ) Then when you input It will match function index in helloworld.py

Test on Django Start Django Server In the command line, C:\python25\newproject>manage.py runserver

Remember Multidisciplinary field

Thank You!