Web Programming 網際網路程式設計 1 Darby Chang 張天豪 Web Programming 網際網路程式設計.

Slides:



Advertisements
Similar presentations
Social Web Design 1 Darby Chang Social Web Design.
Advertisements

Client-server practices DSC340 Mike Pangburn. Agenda Overview of client-server development Editing on client (e.g., Notepad) or directly on server (e.g.,
Molecular Biomedical Informatics 分子生醫資訊實驗室 Social Web Design & Research 社群網站設計 & 研究 Social Web Design & Research 1.
Molecular Biomedical Informatics 分子生醫資訊實驗室 Web Programming 網際網路程式設計 1.
Molecular Biomedical Informatics 分子生醫資訊實驗室 Web Programming 網際網路程式設計 1.
Molecular Biomedical Informatics 分子生醫資訊實驗室 Web Programming 網際網路程式設計 1.
Web Programming 網際網路程式設計 1 Darby Chang 張天豪 Web Programming 網際網路程式設計.
Molecular Biomedical Informatics 分子生醫資訊實驗室 Web Programming 網際網路程式設計 1.
Molecular Biomedical Informatics 分子生醫資訊實驗室 Web Programming 網際網路程式設計 1.
The Client-Server Model for the Web 1. A Web Client (usually in the form of a web browser) makes an HTTP request to a specific web server. 2. The Web Server.
Molecular Biomedical Informatics 分子生醫資訊實驗室 Web Programming 網際網路程式設計 1.
Molecular Biomedical Informatics 分子生醫資訊實驗室 Web Programming 網際網路程式設計 1.
Molecular Biomedical Informatics 分子生醫資訊實驗室 Web Programming 網際網路程式設計 1.
Molecular Biomedical Informatics 分子生醫資訊實驗室 Web Programming 網際網路程式設計 1.
Web Programming 網際網路程式設計 1 Darby Chang 張天豪 Web Programming 網際網路程式設計.
CPSC 203 Introduction to Computers Tutorial 59 & 64 By Jie (Jeff) Gao.
Molecular Biomedical Informatics 分子生醫資訊實驗室 Web Programming 網際網路程式設計 1.
Social Web Design 社群網站設計 1 Darby Chang 張天豪 Social Web Design 社群網站設計.
CNA 2008 Project 1 TA: 徐志偉 Office: EA Grading policy: Total (100%) Report (20%) Socket Programming: (80%) –Basic (60%) –Advanced (20%)
1 Configuring Web services (Week 15, Monday 4/17/2006) © Abdou Illia, Spring 2006.
Jun-15 1 Management Information Systems Class Web Server Usage Instructions.
George Blank University Lecturer. Creating A Web Site at NJIT Professor Blank.
Working Environment - - Linux - -.
Its easy to be an information provider Tutorial: Web Publishing.
CS1020: Intro Workshop. Topics CS1020Intro Workshop Login to UNIX operating system 2. …………………………………… 3. …………………………………… 4. …………………………………… 5. ……………………………………
Publishing a Web Page at the University of DE FREC 135.
Molecular Biomedical Informatics 分子生醫資訊實驗室 Web Programming 網際網路程式設計 1.
Social Web Design 社群網站設計 1 Darby Chang 張天豪 Social Web Design 社群網站設計.
SYST Web Technologies SYST Web Technologies Installing a Web Server (XAMPP)
A crash course in njit’s Afs
Linux Operations and Administration
Molecular Biomedical Informatics 分子生醫資訊實驗室 Social Web Design & Research 社群網站設計 & 研究 Social Web Design & Research 1.
Accessing the Internet with Anonymous FTP Transferring Files from Remote Computers.
Web Development 311 Fall : Fall Why web pages? Most companies have intranets, extranets, and web sites Content can be changed quickly and.
Week 11 Further Web Design Concepts and Tools FTP, CMS, Wordpress and Responsive Web Design.
What is Web Authoring? Web Authoring Tools Use Text Editors HTML Editors Web-based Authoring Tools Integrated Web Authoring Tools 8Basic Understanding.
BIF713 Operating Systems & Project Management Instructor: Murray Saul
Help session: Unix basics Keith 9/9/2011. Login in Unix lab  User name: ug0xx Password: ece321 (initial)  The password will not be displayed on the.
CSE 390a Editing and Moving Files
CNIT 132 Intermediate HTML and CSS Publish Web Page.
Accessing Barney Off- Campus How can I get my H: files when I am not on the GU network? Business 111 Edward Mitchell Fall 2006.
Connecting to USF Network for Web Site SSH Secure Shell is the FTP program you will use to download your http files onto the USF server. To get the SSH.
XP New Perspectives on Browser and Basics Tutorial 1 1 Browser and Basics Tutorial 1.
CIM6400 CTNW (04/05) 1 CIM6400 CTNW Lesson 6 – More on Windows 2000.
CENT 305 Information Systems Security Linux Introduction.
Computer Programming for Biologists Oct 30 th – Dec 11 th, 2014 Karsten Hokamp  Fill out.
| nectar.org.au NECTAR TRAINING Module 5 The Research Cloud Lifecycle.
CSCI-A110 Lab Welcome!. Overview: a busy 1 st day Welcome – Introduction Purpose of the lab Course Structure/Grading Online Course Material (Oncourse)
CPSC 203 Introduction to Computers Lab 23 By Jie Gao.
EE 積體電路設計導論 Introduction to work station Tutor : Yuah-Shen Lee 2014/10/7.
HTML Hyper Text Markup Language A simple introduction.
COP3502: Introduction to Computer Science Yashas Shankar.
Creating a Web Site Using 000webhost.com The 000webhost.com Site You will be required to create an account in order to use their host computer 000webhost.com.
Social Web Design 社群網站設計 1 Darby Chang 張天豪 Social Web Design 社群網站設計.
City Cluster Quickstart Lien-Chi Lai, COLA Lab, Department of Mathematics, NTU 2010/05/11.
Tools: SSH, SFTP, dunx1, Nvu David Tristano Drexel IRT Dept.
Extra – Web Hosting/Server Intro Informatics Department Parahyangan Catholic University.
Free Powerpoint Templates Page 1 Free Powerpoint Templates Users and Documents.
1 Day 2 Logging in, Passwords, Man, talk, write. 2 Logging in Unix is a multi user system –Many people can be using it at the same time. –Connections.
Remote Access Usages. Remote Desktop Remote desktop technology makes it possible to view another computer's desktop on your computer. This means you can.
Unix Servers Used in This Class  Two Unix servers set up in CS department will be used for some programming projects  Machine name: eustis.eecs.ucf.edu.
Configuring and Deploying Web Applications Lesson 7.
Web programming Part 1: environment 由 NordriDesign 提供
Integrity Check As You Well Know, It Is A Violation Of Academic Integrity To Fake The Results On Any.
CS 120 Extra: The CS1 Server Tarik Booker CS 120.
CS1010: Intro Workshop.
3.02H Publishing a Website 3.02 Develop webpages..
FTP - File Transfer Protocol
CGS 3175: Internet Applications Fall 2009
Presentation transcript:

Web Programming 網際網路程式設計 1 Darby Chang 張天豪 Web Programming 網際網路程式設計

Environment 環境 2 Web Programming 網際網路程式設計

3

Linux vs. Windows Interface kernel/GUI-based target users Business open source pirate copy Popularity users habits Support developers drivers/games/virus Web Programming 網際網路程式設計 4 Functionality reliability flexibility

Apache vs. IIS Web Programming 網際網路程式設計 5 Functionality reliability flexibility

Various web servers in Linux Apache, nginx, lighttpd (lighty), Google, etc… –scale, flexibility, community support… –Apache 2.4 Faster Than Nginx?Apache 2.4 Faster Than Nginx? –you can use tools like this to test famous web sitesthis They are usually easy to install –apt-get install lighttpd  why you choose Windows? In this course, you don’t have to worry about these details. However, if you are interested, welcome to discuss with me. Web Programming 網際網路程式設計 6

Do you Web Programming 網際網路程式設計 7 need to learn Linux?

Web Programming 網際網路程式設計 8 Don’t resist because of resistance 不要為反而反

Then, what to worry about 那麼,要煩惱什麼呢 9 Web Programming 網際網路程式設計

It is not that scary Download PieTTY and loginPieTTY –just like any BBS client (even journalists can use them) with secure shell (SSH) –actually, this is the remote desktop ( 遠端桌面 ) of Linux Make the directory, or folder, to store your web site –$ mkdir public_html  this name is just a configuration of Apache Write a HTML file –$ vi public_html/index.html –vi is a legend text editor, see the appendix –you may use any FTP client with SFTP support, such as WinSCPWinSCP Now you can see your web site via browsers –ttp://merry.ee.ncku.edu.tw/~xxx/ttp://merry.ee.ncku.edu.tw/~xxx/ Web Programming 網際網路程式設計 11

Any Questions? Web Programming 網際網路程式設計 12

Today’s assignment 今天的任務 Web Programming 網際網路程式設計 13

Design an about me page Request an account and put a web site online –contact TAs via or Facebook Reference –see the 11th slidethe 11th slide –passwd  remember to change your password / 別忘了先改密碼 –cd public_html; mkdir ex1; ln -s ex1 cur –Showcase of Inspiring “About Me” PagesShowcase of Inspiring “About Me” Pages –The Essence Of About Us Page With 12 Captivating ShowcasesThe Essence Of About Us Page With 12 Captivating Showcases –Great Examples of ‘About Us’ Page Design: A showcase for InspirationGreat Examples of ‘About Us’ Page Design: A showcase for Inspiration Your web site ( will be checked not before 23:59 9/30 (Sun). You may send a report (such as some important modifications) to me in case I did not notice your features. Web Programming 網際網路程式設計 14

In class demo Web Programming 網際網路程式設計 15 I’ll demo a few (depending on the time) exercises in each class. However, you can see others’ exercises anytime. If you found some techniques interesting, welcome to propose them in class.

Appendix 附錄 16 Web Programming 網際網路程式設計

17 vi Regular text editors such as Notepad ( 記事本 ) –cursor movement/selection (mouse) –add/delete/edit text (keyboard) –copy/paste (menu or hotkey) –easy to learn (learnability) –hard to forget (memorability) –won’t annoy users (satisfaction) –Everything looks well? The only problem is the efficiency. vi –Two modes, like gears in car. The most frustration for rookies is mode error. –Regular editors actually use ‘temporary’ modes. –Split a command into small units, such as character, word, line, screen… –w (jump to the next word) –} (jump to the next paragraph) –Too complicated! What’s the benefit?

More vi vi separates actions and units –dwdelete a word –y}yank (copy) a paragraph –d2wdelete two words –think about how many hotkeys are required for regular text editors for all these combinations… vi has all should-have functionalities –split screen, search (regular expression, find previous/next), diff Web Programming 網際網路程式設計 18

Web Programming 網際網路程式設計 19

Web Programming 網際網路程式設計 20

Reference for vi [HCI] 淺談模式 "mode" 與文字編輯的技術 與學習 [HCI] 淺談模式 "mode" 與文字編輯的技術 與學習 給程式設計師的 Vim 入門圖解說明 給程式設計師的 Vim 入門圖解說明 Vimcasts - free screencasts about the text editor Vim Vimcasts - free screencasts about the text editor Vim Web Programming 網際網路程式設計 21