PHP代做编程辅导:CPT270 Cinemas

Web的裸写大作业,做一个Cinemas,包括Image Gallery,Movies Selection,Movies Reservation,Shopping Cart等等功能页面

简单粗暴耗时,做了整整两天。30个得分点,每个一分,再加上bonus那滋味真是酸爽。

LE PHUONG撰写

Requirement

1. PHP Conversion, Modularisation and SESSION

×

现在提到了代写服务,肯定很多人都不会觉得陌生,就算是国内也是有着专业代写作业的服务行业的,能够为有需求的学生提供很多的帮助,不过其实代写机构在国外会更获得学生的支持,这是因为国外的学校对于平时的作业要求比较严格,为了获得更高的分数顺利毕业,不少留学生就会让代写机构帮忙完成作业,比较常见的作业代写类型,就是计算机专业了,因为对于留学生来说这个技术对于Machine Learning或者AI的代码编程要求更高,所以找代写机构完成作业会简单轻松很多,那么代写机构的水平,要怎么选择才会比较高?

1、代写机构正规专业

不论是在什么情况下,选择正规合法经营的机构肯定是首要的操作,这也是为了避免自己在找机构的时候,出现上当受骗的现象,造成自己的经济出现损失,带来的影响还是非常大的,所以需要注意很多细节才可以,所以在这样的情况下,代写机构的选择,也要选择在经营方面属于正规合法的类型,这样才可以保证服务进行的时候,不会出现各种问题,也可以减少损失的出现,而且正规合法也是代写机构的合格基础。

2、代写机构编程能力

作业的难度相信很多人都很熟悉,特别是对于AI深度学习或者是人工神经网络这种算法来说,因为要对SVM、Design Tree、线性回归以及编程有很高的要求,可以说作业的完成要求非常高,因此才会带动代写机构的发展,找专业的代写机构,一般都是会有专业的人员帮忙进行作业的完成,因为这类型的作业对专业要求比较高,因此代写机构也要具备专业能力才可以,否则很容易导致作业的完成出现问题,出现低分的评价。

3、代写机构收费情况

现在有非常多的留学生,都很在意作业的完成度,为了保证作业可以顺利的被完成,要进行的相关操作可是非常多的,代写机构也是因为如此才会延伸出来的,在现在发展也很迅速,现在选择代写机构的时候,一定要重视收费情况的合理性,因为代写作业还是比较费精力的,而且对于专业能力要求也高,所以价格方面一般会收取几千元至万元左右的价格,但是比较简单的也只需要几百元价格。

4、代写机构完成速度

大部分人都很在意代写机构的专业能力,也会很关心要具备什么能力,才可以展现出稳定的代写能力,其实专业的代写机构,对于作业完成度、作业完成时间、作业专业性等方面,都是要有一定的能力的,特别是在完成的时间上,一定要做到可以根据客户规定的时间内完成的操作,才可以作为合格专业的代写机构存在,大众在选择的时候,也可以重视完成时间这一点来。

现在找专业的CS代写机构帮忙完成作业的代写,完全不是奇怪的事情了,而且专业性越强的作业,需要代写机构帮忙的几率就会越高,代写就发展很好,需求量还是非常高的,这也可以很好的说明了,这个专业的难度以及专业性要求,才可以增加代写机构的存在。



You were recommended to use fragments for Assignment 1, but this is now compulsory. Please make sure you have implemented fragments for Assignment 2.

All of your main pages must be converted to PHP and each page must be broken up into modules using functions such as include_once() ( or include() , require() , require_once() ).
You may elect to move common (ie repeated) sections of the website, such as the header, navigation, footer and even sidebar into a separate file.
The session must be running (ie available) on every page, ie session_start() should be near the top.


Note: At this stage you may not know what a Session is?- but this will become clearer as we proceed ahead and study more PHP.

2. jQuery Image Gallery on Home Page

Add an animated image gallery on the home page (index.php). The image gallery must be implemented using jQuery. The images featured in the image gallery should be contextual. Several implementations ( in terms of code and style ) exist on the Internet, please read about these and then implement one on the home page. An example will be covered during week 7’s collaborate chat.

3. Movies Selection Page

The client has selected set movies for the website. Your page should include content using jQuery OR Ajax to get the title, movie poster, movie trailer, plot summary, description, ratings information and times playing. Ideally, there should be Read More button next to each movie. When the user clicks on this button , a movie trailer and showtimes should be displayed.


python岭回归、Lasso、随机森林、XGBoost、Keras神经网络、kmeans聚类链家租房数据地理可视化分析

阅读文章


Design hint: you may choose to list your movies in a few different methods. They may be in a row or column to make it responsive. Below is an example of what happens when you click the ‘Read More’ button for a certain movie, It will use use JavaScript / jQuery to show (.show()) further information about the movie. Another advanced idea would be to direct users to another page to see the further information, and use parameters in the url to get the movie ID.


随时关注您喜欢的主题


4. Movies Reservation Page or Facility

Some of you may wish to build this facility into a modal window or another page. It is up to you how you implement this part. You will not lose marks if this is not a separate page.

It is recommended that you design this page or facility to process the MovieID, day and time of the movie from the movie service page (ie do not allow customers to pick the movie, day and time here a it will lead to logical complications).
A customer should be able to add reservations to their cart as follows:

  1. Multiple screenings (restrict to next 7 days no need for actual dates)
  2. Multiple seat types (ie adult, child, first class, bean bag types etc…)
  3. Multiple seats (you can restrict this to reasonable numbers, eg less than 10)

All reservation information should be stored in the SESSION array until the customer is ready to complete their order and “checkout” (more information in Section 5).

HINT: Use an associative array called ‘cart’ to store reservation information inside the SESSION. Look at Section 5 for an example of a good associative array structure.

5. Shopping Cart Page or Facility

Some of you may wish to build this facility into a modal window or another page. It is up to you how you implement this part. You will not lose marks if this is not a separate page.
The cart page must display a list of all the tickets that have been reserved, along with the quantity, pricing information, and with subtotals and total prices. Ideally, the client should be able to add seats and/or delete their reservations before finalising their bookings.
The total price for the cart must be calculated on the server side (ie using PHP) and the total price must be displayed on the cart page. This will ensure that the client can’t hack the price and give themselves cheap tickets or free tickets if the ticket price is calculated clientside.
At this stage, online purchasing is not required. The customers are only reserving the tickets, they must pay for them over the counter when they come to the cinema. There is also no need to check whether there are seats available in each session.

OPTIONAL: There are a number of extra marks available if you develop a seat reservation system that allows customers to pick their seats (row and number), or design a more sophisticated GUI system that makes sure that there are seats available for each session and stops customers from double reservation seats.

6. Meal and Movie Deal Voucher

The client has teamed up with a local restaurant for a meal & movie deal. Vouchers have already been printed and will be delivered to all the people in the town. Voucher codes are in the format:
12345 – 67890 – Z I ← These 2 letters are a “checksum” for each group of 5 digits
When a correct code is entered into a single reservation, a 20% discount is applied to applied to all reservations. All prices must be updated, eg on the cart page.
When an incorrect code is entered, no discount is applied and an error message is displayed. The client would like the the code to be checked clientside
for the correct format of digits, dashes and letters (using regular expression either by the HTML5’s input pattern, or by javascript / jQuery); but for security reasons would like the full validation checked serverside (ie away from the view of the public) according to the following algorithm:
CHK = ((1 x 2 + 3) x 4 + 5) % 26 = 25 [1st letter is ‘Z’]
CHK = ((6 x 7 + 8) x 9 + 0) % 26 = 8 [2nd letter is ‘I’]

Recommendation: Write both PHP function that takes a voucher code and returns true or false on the server side, and a regular expression that can check on the client’s side.

7. Customer Details

Before the customer can complete the reservation process, they are required to fill out their personal information in text and email inputs. The customer must provide their name in a text field (ie the field cannot be blank), an australian mobile phone number in a text field (use the regular expression you were discussed in TuteLab 7) and a valid email address in an email field.
All information must include client side validation, either via HTML5 Input Patterns or using Javascript / jQuery.
You can use different different HTML5’s input types and attributes such as pattern, required etc to achieve client side validation.
Server side validation of these fields is not a requirement for this assignment.
As a guide, a name should contain only azAZ characters with spaces, and the odd punctuation character for those Irish O’Really names etc. Australian mobile numbers begin with +614 or (04) or just 04 and may have spaces as well as numbers. Email addresses … just get the input type right!

8. Checkout and Reservation Completion

Once the seat reservation has been completed and the customer has entered their details, the following information must be stored in a flat text file, JSON or XML File.
Information that must be stored per reservation must include:

  • Customer information (Name, Email and Phone Number)
  • Each Screening Information (Movie Code, Day, Time)
  • Seat information (Ticket Type, Price, Seat Number* for xFactor only ) for each session
  • Total price per screening and the grand total for the reservation
  • Voucher code if it is valid
  • Barcode or unique ID are optional

Once tickets are booked, the customer should be presented with a confirmation message and printable tickets (can be DIVs displayed as part of a responsive page on a phone).
The first ticket for each session should contain the user details and the reservation summary information, the remaining tickets for each session should look like actual cinema tickets (a basic example can be found on next page).
Once the tickets are displayed, the user’s cart should be emptied so they can’t double book seats by mistake.

There is an extra mark available for designers, if your ticket design is of a very high standard, using different sized fonts, business logos, nice colours and backgrounds etc.

9 and 10. BONUS and xFactor Activities

View Ticket

Once a customer has finished the checkout process, they are given a unique ID (this can be a randomly generated number, at least 5 digits long and hard to guess) to view their tickets. For the users to view their tickets, they need to use their email address AND the randomly generated number to gain access to their tickets.
It is up to yourself how you want to build this system, but one idea is to use a GET request, where the URL parameters include the email and a token that is a 5 digit random number.
This also allows the user to bookmark the page for future use.

Reservation System

The concept of the seating reservation system is that a customer can reserve / allocate seats of their choosing (based upon the type of seats they have purchased). Once that seat for that allocated movie has been reserved, no one else can book it.
You can use a database (or something similar if you like).
You will also get extra mark for the design and another extra mark if the system remembers previously booked seats. Please refer to the marking allocation guide for further information.


关于分析师

在此对LE PHUONG对本文所作的贡献表示诚挚感谢,她在山东大学完成了计算机科学与技术专业的硕士学位,专注数据分析、数据可视化、数据采集等。擅长Python、SQL、C/C++、HTML、CSS、VSCode、Linux、Jupyter Notebook。

 
QQ在线咨询
售前咨询热线
15121130882
售后咨询热线
0571-63341498

关注有关新文章的微信公众号


永远不要错过任何见解。当新文章发表时,我们会通过微信公众号向您推送。

技术干货

最新洞察

This will close in 0 seconds