This assignment will also help you create better HTML/CSS documents for "web apps".
academics.html
to one of them. For Part 1 of this assignment you must create a
"landing page" that a user can use to choose the stylesheet to
apply.
Your implementation of Part 2 must satisfy the following requirements.
Note that you should not need to make major changes to the
HTML or JavaScript you wrote for the earlier assignments. The
required functionality can, and must, be added using server-side PHP
scripts. Of course, you may need to make minor changes and may need
to rename some files. For example, since academics.html
may need to perform some server-side processing it will need to be
(modified appropriately and) renamed to .php
(to run
correctly on stu
).
Note also that, since the purpose of this assignment is to help you acquire PHP skills/knowledge, you must not use an existing localization/internationalization library -- you must write the code yourself.
Finally, note that, as always, you should avoid code duplication. This includes the duplication of HTML, CSS, JavaScript, and PHP code. In other words, think about the elegance of your solution -- it will help you become both a better web app designer and a better designer in general and, hence, a more secure programmer.
stu
as the production environment,
not the development environment. Current installations of
PHP
include
a simple HTTP server that you
can use during development. This will greatly facilitate
debugging.
part1.zip
containing all of the files you wrote
for Part 1.part2.zip
containing all of the files you wrote for
Part 2.
In addition, your apps must be publicy
available from
your stu
account. The landing page for Part 1 must be named
landing.html
and must be in
your www/h3/part1
directory and the landing page for
part 2 must be named caloricount.php
and must be in
your www/h3/part2
directory.
Copyright 2016