作者: ckarea 時間: 2008-12-12 23:41 標題: 呢間咩大學, 出d咁既題
而家做緊個assignments
個科係 web publish
完全唔知要點做... 有無人係到知佢講咩, 可以教教我, thanks
AssignmentsFor this course you are to develop a photo annotating website. The website will allow you to upload a JPEG image and annotate it with lines and camera lense flares. The annotations will be stored as a Scalable Vector Graphics-like (SVG) file. As SVG files do not support flares, GNU Image Manipulation Program (Gimp) will be used to construct a JPEG incorporating the lines and flares. For the first assignment you are to setup the basic website structure and the development environment. For the second assignment you will code the photo annotator. Assignment 1TasksThe tasks you are required to complete are: Transparent Logo Construct a logo to include on every page. The logo should have a transparent background. Map Function Write a C program to generate a client side image map consisting of an array of rectangles, e.g., 10x10, for an image of an arbitary size. I.e., write the function void map(int width, int height, int step). This function will output to stdout XHTML code similar to the following: <map name="map"> <area shape="rect" coords="0,0,9,9" href="point.cgi?point=yes&x=0&y=0" alt="Point (0,0)" title="Point (0,0)" /> ... </map>Photo Annotator Construct an XHTML page that will become the photo annotating page:
- Provide an introduction to the website on this page.
- The page should contain an image that uses an image map generated by your map function.
- The page should have at least two columns formatted using CSS or CSS2, not HTML tables.
- Avoid the top ten mistakes in Web Design as discussed in the studybook. As such, provide navigation support, e.g., a menu.
- Mature browser support of SVG images in XHTML is not yet widespread. One way to include an SVG file in XHTML is to use the embed element: <embed data="ass.svg" src="ass.svg" type="image/svg+xml" width="100px" height="10px" />
- Use the z-index CSS property to layer an SVG on top of an image file to form a preview. (More CSS properties are required for positioning.) <embed style="z-index:2" data="ass.svg" src="ass.svg" type="image/svg+xml" width="100px" height="10px" />
- As flares are not standard SVG, also incorporate the SVG XML code directly into the XHTML and use CSS rules to indicate the presence of a flare using an asterisk, e.g., ass.svg <svg xmlns="http://www.w3.org/2000/svg"> <polyline points="0,0 100,10" stroke="white" stroke-width="2" fill="none"/> <flare point="50,10"/> <flare point="0,0"/> </svg>should be rendered as Flares: ** to denote the presence of two flares.
- All pages in the website should be consistent in design. Write all pages to use the same CSS file for layout and design.
- Uncompress ass_2008.tgz in your DocumentRoot.
- Compile the program point.cgi using make (Use make linux if developing on decius).
- Install Gimp if not developing on decius.
- Start the Gimp server Filters->Script-Fu->Start Server if developing on Windows XP. (Change USE_GIMP_SERVER_ON_CYGWIN in ass.h if you do not wish to leave GIMP running.)
- Run the program
- Copy the resulting image.jpg file to your assignment folder.
- List the software you used and the steps you took to create the transparent logo.
- List the map function code and about five lines of output from the function.
- A link to your CSS file
.- Explain how you used CSS[2] to layout your pages.
- Explain how you used CSS[2] to layer and position the SVG and an image to form the preview.
- Explain how you used CSS[2] to render the SVG code as Flare: **.
- Include image.jpg
- Discuss the results of validating your website using W3C's services, e.g., HTML Validation Service and CSS Validation Service.
| Transparent Logo | approx. 10 |
| Map Function, e.g., coding style, correctness | approx. 10 |
| Photo Annotator, e.g., image map, XHTML (readability, validity, coding style, use of relative links and links work) and use of CSS. | approx. 15 |
| Preview, e.g., layered SVG, XHTML, and use of CSS (rendering of SVG code as Flare: **). | approx. 15 |
| image.jpg | approx. 10 |
| CSS, e.g., multi-columned layout, readability, coding style (IDs vs classes, variable names), comments, uncluttered [td]approx. 20[/td] | |
| Documentation | approx. 20 |
[ 本帖最後由 ckarea 於 2008-12-12 23:47 編輯 ]
作者: jzu 時間: 2008-12-13 01:11
除左個len flare唔識之外其他都唔難
作者: ckarea 時間: 2008-12-13 12:25
可唔可以教下我~
作者: katon808 時間: 2008-12-13 12:55
你咁即係叫人幫你做........呢個題目唔係咁難喎
作者: ckarea 時間: 2008-12-13 15:12
我完全未學過SVG
淨係學過好基本既C program, 同埋html css
SVG係咩我都唔知
我連c同html既運用都唔識
有無人可以幫到我><...
我連要係邊到開始都唔識
作者: hdvd-rom 時間: 2008-12-13 15:21
http://www.w3schools.com/svg/default.asp
連w3c都唔去就係度嘈,呢間係咩野大學,出呢d咩野大學生.
作者: bunch 時間: 2008-12-13 15:41
原帖由 ckarea 於 2008-12-13 15:12 發表
我完全未學過SVG
淨係學過好基本既C program, 同埋html css
SVG係咩我都唔知
我連c同html既運用都唔識
有無人可以幫到我>
點解要教左先出得題?
我間野果d prac成日都走先過lecture都照樣做la...
web方面ge野唔識的話...好多時去w3c睇完會清楚哂...
而且上網都大把tut.
作者: thinkpanda 時間: 2008-12-13 15:44
一切由google.com開始。。。
作者: jzu 時間: 2008-12-13 17:38
咁樣其實係想令你係過程中學到野, 唔再好似中小學咁
要開始自學啦
作者: allenkwc 時間: 2008-12-13 20:10
問左google 先
個時我final year project 都無人教過svg 就用喇...
乜都要人教
作者: ckarea 時間: 2008-12-13 22:42
我係distance learning
間u係外國
學習既環境都幾多困難
又無人可以問
send mail問回覆又慢, 又好多野get唔到
而家最難係將c,svg,html,xml,css一次過所有野整埋一齊可以work到
上到黎無人幫
而家我c都未識就叫我寫咁多野work埋一齊
而家我岩岩學識企, 就叫我去踩單車...
起碼都show比我睇要做咩step
學c學svg無所謂, d野work埋一齊就唔係好識
所以先上黎問大家
個個整係叫我上網查, 自己學
有無人可以比d link我
唔好比google我, 係人都識
有無d link係有關以上既野
C, SVG, html image annotating 既tut
我整係搵到c或者svg
有無一齊既tut?
作者: Wai 時間: 2008-12-13 23:25
讀得it 你都預左,仲要外國大學,你夠我間衰,我個間,讀完考完得3成pass都唔知有冇(仲要份卷180滿分總算計150,另外再由50% 改40%pass),出之後走去投訴佢,佢答案係,其實e科d 程度算係master 課程架(我地緊學位之喎),所以來年我地cut左e 科
作者: jzu 時間: 2008-12-14 02:06
原帖由 ckarea 於 2008-12-13 22:42 發表
我係distance learning
間u係外國
學習既環境都幾多困難
又無人可以問
send mail問回覆又慢, 又好多野get唔到
而家最難係將c,svg,html,xml,css一次過所有野整埋一齊可以work到
上到黎無人幫
而家我c都未識就叫我 ...
講真呀, 我當係local d U啦, 有邊間U的professor/lecture/tutor會真係教到你去寫program呢
佢地頂多教你D concept野架咋(自己睇書仲好)
就算第時出黎工作都好啦, 預到一D問題, 有邊個可以幫到你呢, 唯一答到你的就係......google
我唔係話踩你, 你如果連呢D小事都過唔到, 你會好難涯一去的, IT......係咁架啦, 辛苦得黎仲要不斷去upgrade自己, 呢個先係main point
[ 本帖最後由 jzu 於 2008-12-14 02:06 編輯 ]
作者: $$$ 時間: 2008-12-14 02:43
我個陣做svg 要搭javascriat整game.....
作者: Ronail 時間: 2008-12-14 04:02
你估淨係你既assignment係未教就要你做咩...
讀得IT既有邊個唔駛自己上網搵料自學架?
大學生黎架喇....
既然係人都識你唔自己搵?
作者: thinkpanda 時間: 2008-12-14 14:45
原帖由 ckarea 於 2008-12-13 22:42 發表
我係distance learning
間u係外國
學習既環境都幾多困難
又無人可以問
send mail問回覆又慢, 又好多野get唔到
而家最難係將c,svg,html,xml,css一次過所有野整埋一齊可以work到
上到黎無人幫
而家我c都未識就叫我 ...
你遇到既亦都係你他日係呢行工作既典型情況。有D野你連個term 都未聽過,但係又有人要求你去用。
簡單既答案當然就係叫你去google 啦。
咁你去google 搵D乜野呢?唔係Tutorial, HOWTO, 教學之類,而應該係搞清楚你面對既名詞係乜野,呢樣野係整個技術之海中扮演乜野角色,應用係邊個範圍,然後先搵下有乜野工具,Library等可以幫你應用呢種技術,係呢個過程中你或者會遇到更多唔識既野,咁重覆以上步驟直到你對整件事有全整理解。
我地日常就係咁做野,因為遇到既問題大多數情況都無人可以問。係未知中探索係令人興奮既事。
作者: licgfg 時間: 2008-12-14 14:50
唔知係咪我冇sense
我覺得透過google由零開始學一種language係十分困難
作者: heartshare 時間: 2008-12-14 14:55
原帖由 thinkpanda 於 2008-12-14 14:45 發表
你遇到既亦都係你他日係呢行工作既典型情況。有D野你連個term 都未聽過,但係又有人要求你去用。
簡單既答案當然就係叫你去google 啦。
咁你去google 搵D乜野呢?唔係Tutorial, HOWTO, 教學之類,而應該係 ...
學習...................謝謝
作者: heartshare 時間: 2008-12-14 14:58
其實google就係最好的一本畫..想學it的野....只係睇doc....研究...試...再試.....再試...就會識....時間者
作者: jzu 時間: 2008-12-14 15:20
give you some tips
if you are looking for vb tutorial
just search for "vb tutorial", many many related materials
why you think it's difficult
[ 本帖最後由 jzu 於 2008-12-14 15:20 編輯 ]
作者: licgfg 時間: 2008-12-14 22:49
原帖由 jzu 於 2008-12-14 15:20 發表
give you some tips
if you are looking for vb tutorial
just search for "vb tutorial", many many related materials
why you think it's difficult![]()
我識識地C++
曾經嘗試學silverlight
發現要首先識asp.net先真正做到互動野
咁我又去睇下asp.net係點
最後直接改人地tutorial先做到少少野
我發覺最大問題係好多句野係唔知點解,雖然有時tutorial都係略略講下
不過我又睇唔明,咁唔完全明白每句程式既用意,做到既改變就係非常有限
結果當然咩都學唔識
諗番起都頭痛
作者: katon808 時間: 2008-12-14 23:00
慢慢學啦, 係咁果喎.........而家有GOOGLE算好好架啦, 以前下下要去搵書睇.....
作者: jzu 時間: 2008-12-14 23:12
原帖由 licgfg 於 2008-12-14 22:49 發表
我識識地C++
曾經嘗試學silverlight
發現要首先識asp.net先真正做到互動野
咁我又去睇下asp.net係點
最後直接改人地tutorial先做到少少野
我發覺最大問題係好多句野係唔知點解,雖然有時tutorial都係略略講下
不過我又睇唔明,咁唔完全明白每句程式既用意,做到既改變就係非常有限
結果當然咩都學唔識
諗番起都頭痛
咁我建議你由vb.net學起好D
正常呀, 我有好多時都唔明人地寫乜, 有時亦唔需要明, 只係需要有咩outcome
如果係好初學的話, 都係正正經經買返本書去學好D
google係for advanced少少的programmer的
作者: licgfg 時間: 2008-12-14 23:31
原帖由 jzu 於 2008-12-14 23:12 發表
咁我建議你由vb.net學起好D
正常呀, 我有好多時都唔明人地寫乜, 有時亦唔需要明, 只係需要有咩outcome
如果係好初學的話, 都係正正經經買返本書去學好D
google係for advanced少少的programmer的![]()
我覺得係同冇web programming認識有關
因為我連php都唔識
不過件事都過左去
而家冇需要再學
作者: ckarea 時間: 2008-12-15 00:59
我地個course寫明係學html, css, set apache server
佢d html,css 既tut有齊哂
有好多人完全未識c就黎上呢個course
而家變左係學svg,C...
作者: thinkpanda 時間: 2008-12-15 01:14
原帖由 ckarea 於 2008-12-15 00:59 發表
我地個course寫明係學html, css, set apache server
佢d html,css 既tut有齊哂
有好多人完全未識c就黎上呢個course
而家變左係學svg,C...
我傾向於上course 係學理念學思考,技術性既野上堂講係浪費時間。所以我覺得你份assignment 要你自己學SVG 都好正路。
作者: LEVIN 時間: 2008-12-15 02:03
原帖由 thinkpanda 於 2008-12-14 14:45 發表
你遇到既亦都係你他日係呢行工作既典型情況。有D野你連個term 都未聽過,但係又有人要求你去用。
簡單既答案當然就係叫你去google 啦。
咁你去google 搵D乜野呢?唔係Tutorial, HOWTO, 教學之類,而應該係搞清楚你面對既名詞係乜野,呢樣野係整個技術之海中扮演乜野角色,應用係邊個範圍,然後先搵下有乜野工具,Library等可以幫你應用呢種技術,係呢個過程中你或者會遇到更多唔識既野,咁重覆以上步驟直到你對整件事有全整理解。
我地日常就係咁做野,因為遇到既問題大多數情況都無人可以問。係未知中探索係令人興奮既事。
總括黎講 學習係 學習如何學習~
[ 本帖最後由 LEVIN 於 2008-12-15 02:10 編輯 ]
作者: 電腦玩家 時間: 2008-12-15 09:28
原帖由 ckarea 於 2008-12-12 23:41 發表
而家做緊個assignments
個科係 web publish
完全唔知要點做... 有無人係到知佢講咩, 可以教教我, thanks
AssignmentsFor this course you are to develop a photo annotating website. The website will allow you ...
咩大學先? 咩名 ??
作者: 電腦玩家 時間: 2008-12-15 09:29
原帖由 ckarea 於 2008-12-13 22:42 發表
我係distance learning
間u係外國
學習既環境都幾多困難
又無人可以問
send mail問回覆又慢, 又好多野get唔到
而家最難係將c,svg,html,xml,css一次過所有野整埋一齊可以work到
上到黎無人幫
而家我c都未識就叫我 ...
你間學校叫咩名???
作者: 電腦玩家 時間: 2008-12-15 09:29
原帖由 ckarea 於 2008-12-13 22:42 發表
我係distance learning
間u係外國
學習既環境都幾多困難
又無人可以問
send mail問回覆又慢, 又好多野get唔到
而家最難係將c,svg,html,xml,css一次過所有野整埋一齊可以work到
上到黎無人幫
而家我c都未識就叫我 ...
香港都有distance learning , 點解你要讀外國呢 ??
作者: bunch 時間: 2008-12-15 09:54
原帖由 thinkpanda 於 2008-12-15 01:14 發表
我傾向於上course 係學理念學思考,技術性既野上堂講係浪費時間。所以我覺得你份assignment 要你自己學SVG 都好正路。
my lecturer never teach us syntext but sth else.(e.g. sex, AV
作者: 必思 時間: 2008-12-15 11:19
其實關大學咩野事
作者: 阿寶尼爾 時間: 2008-12-15 11:54
大學一向都係教理論~
點寫呢個問題係要靠自己....
google係一個好好的幫手~
不過如果真係唔得的話搵本書睇下可能會易d follow~
做電腦呢一行~
唔只讀書~
出黎做野都係一路學一路做....
vs又出2010......asp.net又出4.0...
作者: ckarea 時間: 2008-12-15 11:59
其實個標題係想吸引大家入黎...
佢要我地整c 同svg
不如叫我地整php flash仲實用
搵資料都易d
作者: bunch 時間: 2008-12-15 12:27
I don't think it is hard to find tut. for svg and c...
And it is good to learn more languages if you study IT...
作者: ckarea 時間: 2008-12-15 20:13
原帖由 bunch 於 2008-12-15 12:27 發表
I don't think it is hard to find tut. for svg and c...![]()
And it is good to learn more languages if you study IT...![]()
而家整係想知點樣用css將<svg></svg> 變成 "*****"
作者: sk2k 時間: 2008-12-16 12:34
其實問人問老師打電話問同學問書本問 forum 問 yahoo 問 google , 都係問啫, 只係對象唔同, 都唔洗下下一問就比人插做乜唔 search google o既 ...
作者: ckarea 時間: 2008-12-24 14:36
原帖由 sk2k 於 2008-12-16 12:34 發表
其實問人問老師打電話問同學問書本問 forum 問 yahoo 問 google , 都係問啫, 只係對象唔同, 都唔洗下下一問就比人插做乜唔 search google o既 ...
問題話直接一D, 有效率
如果SEARCH, 可能幾日都搵唔到ANSWER
作者: little_keung 時間: 2008-12-24 16:08
你明唔明咩叫幫你係人情, 唔幫你係道理先 ??
你又明唔明我地答你又為o左乜先 ??
再講, 如果直接問, 係有可能好快有結果, 亦可能好耐過你自己上網搵.
你上網搵就算搵好耐, 都叫做每睇一篇文, 都收窄你搵o既範圍.
起碼有進度睇下.
咁你會唔會為o左等有人一句點醒你, 自己停晒手唔搵料丫 ??
[ 本帖最後由 little_keung 於 2008-12-24 16:09 編輯 ]
作者: Katecca 時間: 2008-12-25 13:34
個post條link有寫: University of Southern Queensland


