首页 > 其他分享 >COM6034 网站工程

COM6034 网站工程

时间:2023-07-06 09:14:20浏览次数:40  
标签:search Resource 工程 网站 lv see COM6034 table book


COM6034 Website Engineering

Assignment 1: Programming with jQuery, Ajax and the Laravel Framework
Version 1.0, updated May 15, 2023

Assignment objectives

Restructure the lv-bookstore application (provided in Lab 3A) based on the HTML5
standard. Enhance the application by using CSS3, jQuery and AJAX. Implement an
AJAX book search function with results displayed in a locally-sortable HTML table.
Enable user authentication and implement a BookRequest module for
authenticated users to request books. Data validation must be performed during the
form submission at the server side.

Due date

July 12, 2023 (Wednesday), 23:59

Standards/Technologies involved

HTML5, CSS, jQuery, AJAX, PHP, Laravel Framework

Specifications

Part A: the following tasks (1-8) are related to Labs 1, 2 and 3A only.

1. Before you begin, download the lv-bookstore application (Lab 3A model answer)
and use it as a starting point of your application. Please unzip the file and rename
the folder from lv-bookstore3A to lv-bookstore. In the resources/views/books
folder, replace index.blade.php with the content of index2.blade.php, and replace
show.blade.php with the content of show3.blade.php.

2. Apply the CSS3 template provided in Lab 1B to the lv-bookstore application.
Restructure the HTML to make full use of the HTML5 semantic elements (header,
nav, section, article, aside and footer). You may need to modify layout.blade.php
and other view scripts.

3. Fine tune the CSS3 代做COM6034程序 with anything you like and make it visually different from the
original template; specifically, please change the color, font size, fonts, and
shadow.

4. Include a “Search Box” for books as an aside section (you may place it either on
the right side or on the left side) in index.blade.php. Implement the book search
function: instead of showing the search results on another page, use the jQuery
ajax function to load the results and display it in the main article section of the
index page. You may need to implement a search method in the application
controller to handle search requests (see Resource 1).
Page 2 of 4

5. The search results should be shown in an HTML with the following
columns: title, author, publisher, price and book cover image.

6. Make the search results table locally-sortable at the client side, which is similar to
the home exercise of Lab 2. (see Resource 6).

7. When a user clicks on a book cover image, there should be a pop up window
showing a larger image. There should also be a link or button shown in that
window for closing the window. Use jQuery statements.

8. The table rows should be in zebra striping colors (3 colors to be used). (see
Resource 7).


Part B: part of the following tasks (9-13) is related to Lab 3B. You may wait until
Lab 3B before doing these.

9. Implement a BookRequest module for users to request a book and specify a
pickup date. Create a BookRequestController for this function (see Resource 2).

10. Create a BookRequest model, with migration. Customize the generated
migration and use it to create the database table. Information required for the
BookRequest model is: aliasname, mobile, email, book_name, pickup_date. Use
appropriate data types.

11. Design a Book Request form (see Resource 2). Perform form validations in the
Store action of BookRequestController before saving the data into the database
(see Resource 3). The validation rules are as below:
a. aliasname: required and at least 8 alphanumeric characters
b. mobile: required and equal to 8 numbers
c. email: required and must be a valid email pattern
d. book_name: required and at least 10 alphanumeric characters
e. pickup_date: required and must be a date format

12. Use jQuery UI DatePicker plugin for the pickup_date field of Book Request
form. (see Resource 4)

13. Enable user authentication (see Resource 5) for this application. Only
authenticated users can access the BookRequest module and submit a book
request to the server. Guests attempting to load the Book Request form should be
redirected to the user login page. For simplicity, you do not need to establish a
relationship between the users table and the book request table.

*Make sure that your HTML markup conforms to the HTML5 standard.
Page 3 of 4

Resources


Deliverables

The final lv-bookstore.zip file with all html, php, css, js and media files you have
used.
JPG files of screenshots. Sometimes, there are misalignments on the machine we
use for grading due to different screen resolutions.
WX:codehelp

 

标签:search,Resource,工程,网站,lv,see,COM6034,table,book
From: https://www.cnblogs.com/javanew/p/17531141.html

相关文章

  • aconvert 一个支持多 音视频、多文档格式、压缩包格式转换在线网站
    一个支持多音视频、多文档格式、压缩包格式转换在线网站地址web截图......
  • springcloud - 工程相关步骤以及提取公共部分
    1.创建父工程 配置pom文件删除src文件2.创建子模块配置pom文件3.配置yml文件4.创建启动类5.业务实现当出现公共代码时可以进行提取 例如实体类或者通用工具类等,如下图,提取成一个单独的模块先点击clean  然后点击install,最后将包导入到需要的子模块中实现相互......
  • Windows应急响应--网站被入侵后的排查【跟随安全狍老师学习总结】
    #网站被入侵该怎么办一般的网站被入侵分为三种类型 1.**web入侵**具体事件体现为:* 网页挂马* 主页篡改* webshell (一般网页被webshell入侵后会留下webshell.php文件) (写CTF的签......
  • iframe嵌套其它网站页面 全屏设置
    背景:今天在使用iframe时,发现嵌套页面中有个【全屏】功能,不好使,查了一下,发现iframe还有1个属性allowfullscreen设置,可以设置是否支持全屏,默认是false,现在把iframe的基础属性整理一下。iframe基本属性通常我们使用iframe主要设置 src,宽、高,是否滚动,其实有一些不常用的属性<if......
  • 从事工程、OSPO 或开发者关系领域工作人员为什么一定要会写文档?
    我是Postman开放技术计划办公室的负责人,最近,在一次PostmanOpenTechnologies团队会议上,我提出了一个非常笼统的方向:我们必须成为以文档著称的团队,并需要个人和团队共同记录所有内容。虽然还有更多背景信息,比如我们与产品团队的协作等等,但这也是我给自己以及其他从事工程、OS......
  • 17需求工程概述
    软件需求指用户在系统功能、行为、设计约束、性能等的期望需求工程主要活动划分为5个阶段需求获取需求分析形成需求规格需求确认与验证形成需求基线,就是经过评审的需求规格需求管理:变更控制、允许变更后就是版本控制,接着式需求跟踪,最后是需求状态跟踪需求管理是对需求基线......
  • 16净室软件工程
    净室软件工程是软件通过形式方法进行分析设计,并强调统计正确性验证替代测试的方法来交付软件,为了避免人为的错误。技术手段有:控制迭代:统计过程控制下的增量式开发盒子结构:黑盒、状态盒、明盒。行为视图、有限状态机视图、过程视图正确性验证:净室工程的核心统计测试和软件认证......
  • 认知负担的挑战与平台工程的机遇
    开发人员与DevOps不断增加的认知负担被认为是软件工程中最大的问题之一。随着越来越多的工具、框架和方法可以选择,以及“Youbuildit,yourunit”的DevOps思想的发展,我们可以看到为了提供面向客户的产品和服务,认知负担也随之大幅增加。 在今天的文章中,我们将初步了解认......
  • 15逆向工程
    对现有系统再工程后产生新系统,再工程的流程是逆向工程、新需求、正向工程。而逆向工程的流程是从底层向上到需求阶段的设计恢复分以下几个级:先实现级:恢复程序的符号、语法、设计的表示结构级:恢复程序分量之间的关系,比如调用关系、数据结构等功能级:恢复程序段之间的功能关系,如......
  • 云原生之K8S与Docker,阿里云工程师工作笔记流出,还不收藏
    容器,毫无疑问是近年来的又一个技术热词。容器化技术的诞生和兴起,以及它所催生的微服务架构、DevOps、云原生等技术理念,都对软件行业产生了深远的影响。容器的优点有很多了,完善的封装、便捷的部署、轻量的启动和调度,这些都是容器技术受到欢迎的原因。与编排系统配合后,它能让我们......