凌雪
2018-11-08
来源 :网络
阅读 1546
评论 0
摘要:本文将带你了解WEBAPP开发教程CS253: WEB APPLICATION ENGINEERING,希望本文对大家学WEBAPP有所帮助。
本文将带你了解WEBAPP开发教程CS253: WEB APPLICATION ENGINEERING,希望本文对大家学WEBAPP有所帮助。
Course: Web Develpment (@Udacity)
Teacher: Steve Huffman (founder of Reddit), David Evans
第一单元:
1 介绍HTML编程基础(doctype,form,input等)。
2 网络前端http协议交互的基础(get/post解析和比较)。
3 webapp框架上手,创建GAE、建立webapp的过程。
笔记:
central concept: web, html, url, http, webapp
<b> - bold (inline)
<em> - emphasis (inline)
<TAG ATTR="value">contents</TAG>
<a href="www.reddit.com">derp</a> - anchor
<img src="<url>" alt="description_text"> - image (inline)
<span>text</span> (block)
<div>text</div> (block)
<!DOCTYPE HTML>
<html>
<head>
<title> Title </title>
</head>
<body>
<b> content </b>
</body>
</html>
//example.com/foo?name=value_of_name &q=1 #fragment
//localhost:8000/
telnet www.udacity.com 80
GET / HTTP:/1.1
Host:www.udacity.com
<form action="//www.google.com/search">
<input name="q">
<input type="submit">
</form>
这四行html保存为q.html文本,用浏览器打开。在编辑框中输入的字符在点击“submit”之后会提交给google进行搜索。
<form action="/test" method="post">GET用途: in URL, fetch docs, max URL length limit, OK to cache, not change the server
POST用途: in body, update data, no max URL length, not OK to cache, change the server
<input type="text" name="q" value="default_value">
<input type="password" name="q" value="default_value">
<input type="checkbox" name="q" value="default_value">
<input type="radio" value="one">
<input type="radio" value="two">
<input type="radio" value="three">
<label>
One
<input ....>
</label>
<label>
Two
<input ....>
</label>
<label>
Three
<input ....>
</label>
<form action>
<select name="q">
<option>one</option>
<option value="2">two</option>
<option>three</option>
</select>
<input type="submit">
</form>
escape characters:
>
>
<
<
"
"
&
&
第二单元:
1 html网页编码(escape),将‘<’、‘>’转义等。
2 用户注册并登录的交互设计(html结合python编程格式化输出)。
3 网页重定向(redirect)。
本文由职坐标整理并发布,希望对同学们有所帮助。了解更多详情请关注职坐标移动开发之WebApp频道!
喜欢 | 0
不喜欢 | 0
您输入的评论内容中包含违禁敏感词
我知道了

请输入正确的手机号码
请输入正确的验证码
您今天的短信下发次数太多了,明天再试试吧!
我们会在第一时间安排职业规划师联系您!
您也可以联系我们的职业规划师咨询:
版权所有 职坐标-一站式AI+学习就业服务平台 沪ICP备13042190号-4
上海海同信息科技有限公司 Copyright ©2015 www.zhizuobiao.com,All Rights Reserved.
沪公网安备 31011502005948号