ASP, PHP辅导、讲解Java程序、辅导ASP.NET、Java/Python编程讲解
- 首页 >> Java编程Instructions
1.You do not have to include header or body comments – but if you are not sure how to do something, or have an incomplete / non-working solution, you may want to comment your ideas about how the solution may work and what you intended to do … it might be worth part marks.
2.You will be marked on your ability to demonstrate:
a.How a multi-page web application works
b.State management
c.Input validation
d.Server-side programming
e.Styling within an application
3.You may choose your own application filenames.
4.You must choose one server technology (either ASP, PHP or ASP.NET) to demonstrate the server-side programming.
5.Please read the entire set of requirements before you begin to code.
6.When complete, please ZIP up all source code (web pages, style sheets, VS projects, etc.) and submit to the Final Exam - Submission drop-box in eConestoga.
a.If you are working on the final exam with a partner – name your ZIP file by including both of your names. For example, let’s say John Smith and Sally Jones are working together on the practical component of the final exam – their ZIP file would be called jSmith-sJones.zip
Your solution is due by 11:00pm on Friday December 14, 2018. This 11:00pm deadline is firm and there is no room for any late submissions. The drop-box will disappear at 11:01pm and no late submissions will be accepted.
Requirements
The program you are to create is a simple “SET Pizza Shop” online ordering application. It consists of the following:
1.There must be four pages to this application. For the purposes of this description, they are called Page1, Page2, Page3 and Page4 – you may call them whatever you like. Please ensure that the starting page is appropriately named
2.Page1 asks for the user’s name only (first and last names). Your prompt will gather this information all at once. The only validation required is to make sure the entry is not blank and is comprised of alphabetic letters only
3.As long as the name is valid, Page2 is presented with
a.A greeting saying “Ciao name” where name is the first name entered on Page1
b.And a list of items you can order on the pizza. There are five allowable items – pepperoni, mushrooms, green olives, green peppers and double cheese
4.The user can choose as many of the toppings as they wish.
a.As the toppings are selected, a total price is updated dynamically on the page
b.This is to be done through an AJAX or jQuery/AJAX interaction with the server
c.The server performs the price calculation as described in the next requirement.
d.A submit button exists on Page2 to complete the order – the button is to be labeled Make It!
… continued on next page …
5.The information selected in Page2 is processed by the server (in the AJAX call) as follows:
a.The base price for the pizza is $10
b.The pepperoni, mushrooms, green olives and green peppers each add an additional $1
c.The double cheese adds an additional $1.50
6.Once Page2 is submitted a summary of the order is presented in Page3 (a confirmation page)
a.Page3 has the same greeting as Page2. It also has buttons to either confirm or cancel the order
b.Make sure that this page displays the order that the user has placed
c.The User can review their order here so they know what they are confirming or canceling
7.Page4 thanks the user (by their full name) and mentions the cancellation or confirmation.
8.Each page has an identical centered heading – “SET Pizza Shop” (white bold font on an orange background)
a.Each page must also have the same background colour (not white) and/or images (your choice).
9.Your application will also be marked based on the style, neatness and professionalism
a.You must use (and include) an external CSS style sheet
b.Use this style sheet to define the appearance of the heading and the background for the entire site. Perhaps even the font used …
说明
1.您不必包含标题或正文注释 - 但如果您不确定如何做某事,或者有不完整/不可行的解决方案,您可能想要评论您对该解决方案如何工作以及您的解决方案的想法打算做...可能值得部分标记。
2.你将证明你有能力证明:
a。多页Web应用程序如何工作
b。国家管理
c。输入验证
d。服务器端编程
e。在应用程序中定义
3.您可以选择自己的应用程序文件名。
4.您必须选择一种服务器技术(ASP,PHP或ASP.NET)来演示服务器端编程。
5.在开始编码之前,请阅读整套要求。
6.完成后,请填写所有源代码(网页,样式表,VS项目等)并提交至eConestoga的期末考试 - 提交下拉框。
a。如果您正在与合作伙伴一起进行期末考试 - 请通过包含您的两个姓名来命名您的ZIP文件。例如,让我们说约翰史密斯和莎莉琼斯正在合作研究期末考试的实际部分 - 他们的ZIP文件将被称为jSmith-sJones.zip
要求
您要创建的程序是一个简单的“SET Pizza Shop”在线订购应用程序。它包括以下内容:
1.此申请必须有四页。出于本说明的目的,它们被称为Page1,Page2,Page3和Page4 - 您可以随意调用它们。请确保起始页面已正确命名
2.Page1仅询问用户名(姓和名)。您的提示将立即收集所有信息。唯一需要的验证是确保条目不是空白,仅由字母组成
3.只要名称有效,就会出现Page2
a。问候语“Ciao name”,其中name是在Page1上输入的第一个名字
b。您可以在比萨饼上订购的物品清单。有五种允许的项目 - 意大利辣香肠,蘑菇,青橄榄,青椒和双层奶酪
4.用户可以根据需要选择尽可能多的浇头。
a。在选择浇头时,总价格会在页面上动态更新
b。这是通过AJAX或jQuery / AJAX与服务器的交互来完成的
c。服务器执行下一个要求中描述的价格计算。
d。第2页上有一个提交按钮来完成订单 - 按钮标记为Make It!
5.在Page2中选择的信息由服务器处理(在AJAX调用中),如下所示:
a。披萨的基本价格是10美元
b。意大利辣香肠,蘑菇,青橄榄和青椒各增加1美元
c。双层奶酪增加了1.50美元
6.一旦提交Page2,订单摘要将在第3页(确认页面)中显示
a.Page3与Page2具有相同的问候语。它还具有确认或取消订单的按钮
b。确保此页面显示用户已下订单
c。用户可以在这里查看他们的订单,以便他们知道他们确认或取消的内容
7.Page4感谢用户(全名)并提及取消或确认。
8.每个页面都有一个相同的中心标题 - “SET Pizza Shop”(橙色背景上的白色粗体字体)
a。每个页面也必须具有相同的背景颜色(不是白色)和/或图像(您的选择)。
9.您的申请也将根据风格,整洁和专业性进行标记
a。您必须使用(并包含)外部CSS样式表
b。使用此样式表定义标题的外观和整个站点的背景。甚至可能使用的字体......