{"id":617,"date":"2015-08-17T10:03:45","date_gmt":"2015-08-17T10:03:45","guid":{"rendered":"http:\/\/assignmenttask.com\/tutorhelp\/?p=617"},"modified":"2022-10-13T05:01:23","modified_gmt":"2022-10-13T05:01:23","slug":"world-wide-web-technology-with-individual-assignment","status":"publish","type":"post","link":"https:\/\/assignmenttask.com\/tutorhelp\/world-wide-web-technology-with-individual-assignment\/","title":{"rendered":"World Wide Web Technology With Individual Assignment Help"},"content":{"rendered":"<p>CRICOS Provider No. 00103D Insert file name here Page 1 of 4<br \/>\nITECH3224\/6224 World Wide Web Technology 2<br \/>\n1517\/1520 Assignment 1 \u2013 &#8220;Microblog&#8221;<\/p>\n<p>Introduction<\/p>\n<p>This is an individual assignment in which you are required to develop a dynamic web application as described below using PHP, MySQL, JavaScript and CSS.<br \/>\nDetails of the weight of the assignment and due date are given in the course description.<br \/>\nTask Description<br \/>\nApplication<br \/>\nFor this assignment, you will create a web-based microblogging platform, similar in functionality to &#8220;Twitter&#8221;. You will have to come up with your own fancy name.<br \/>\nDatabase Structure<br \/>\nThe web application uses a relational database to create a micro-blogging platform. The database has the following structure:<br \/>\nUser(id, name, email, password) Post(id, user_id, post_date, in_reply_to, text) Follow(user_id, follower_id)<br \/>\nEach record in the Post table refers to a single post made by a user. Primary keys are indicated with underlines or bold formatting, and foreign keys are italicized.<br \/>\nThe following constraints should be applied in implementing the application:<br \/>\n\u2022 The user_id and follower_id fields in the Follow table form a compound primary key, and both refer to the id field in the User table. The user id field should be an integer primary key, and should automatically increment.<br \/>\n\u2022 The post_date field may be stored as either strings, or using MySQL datetime types, and must include time as well as date.<br \/>\nCRICOS Provider No. 00103D ITECH3224 6224 Assignment 1 1517-1520.docx Page 2 of 4<br \/>\n\u2022 The text field in the Post table should be limited to 160 characters.<br \/>\n\u2022 The in_reply_to field in the Post table is a nullable foreign key that refers to the id field on the same table. If this field is null, then the post is not a reply to another post \u2013 if it is non-null then the post is a reply to the post with the matching id.<br \/>\n\u2022 The password field should be a VARCHAR field of at least 125 characters. The name and email fields should be VARCHAR of a length that you determine to be reasonable and sufficient.<br \/>\nInitial data<br \/>\nWhen the database is created it should be populated with data of your own invention. Include this data as part of your written report. Each table should have between 3 and 6 records initially.<br \/>\nInclude yourself as a user, using your student id as the name, and your real email address. Invent other users as necessary \u2013 perhaps use characters from your favourite movie or band.<br \/>\nCreating the database<br \/>\nCreate an SQL file that creates a database on the server, creates the three tables above, and populates them with your initial data.<br \/>\nPassword data should be hashed using, at minimum, the crypt() PHP function. If available, prefer to use the PHP password_hash() function to generate password hashes. It is acceptable for all initial User records to share the same password for testing. Use of MD5 is not acceptable.<br \/>\nInclude a user that can login as \u2018tutor\u2019 with password \u2018guest\u2019.<br \/>\nTest your database by writing queries on the command line that display all initial data using SELECT statements, and include the queries in your report.<br \/>\nUser accounts<br \/>\nWrite an HTML form that allows new users to sign up. The form should request a username, email address and password. The password must be hashed before storing it in the database.<br \/>\nUsing PHP, validate that the username is unique, and the password is at least 5 characters.<br \/>\nWrite PHP code to allow users to log in and log out. This will require the use of sessions or cookies.<br \/>\nGlobal timeline<br \/>\nWrite PHP and HTML code to display a list of the last 10 posts from all users, sorted in descending date order \u2013 that is, the most recent posts are at the top. This timeline of posts should be visible to anybody without logging in.<br \/>\nIf posts are in reply to another post, include a link to the original.<br \/>\nCreating posts<br \/>\nLogged-in users should be able to create new posts. Write PHP code to support this. Use both PHP and Javascript to limit the length of the post to 160 characters.<br \/>\nFollowing<br \/>\nWrite HTML and PHP code to allow logged-in users to follow other users. This should create a new entry in the Follow table. This may require you to create a way to view an individual user, or list of all users.<br \/>\nCRICOS Provider No. 00103D ITECH3224 6224 Assignment 1 1517-1520.docx Page 3 of 4<br \/>\nUsers who are logged in should see posts only from users that they follow, instead of the global timeline. This list should again be limited to the last 10 posts.<br \/>\nReplying<br \/>\nCreate a link on each post that allows a logged-in user to reply to a post. This should allow them to create a new entry in the Post table, with the in_reply_to foreign-key field set appropriately.<br \/>\nAggregate data<br \/>\nComplete the following using SQL aggregation such as COUNT and SUM, subqueries or nested SELECT statements, inner joins and (left or right) outer joins.<br \/>\n\u2022 Create a page that contains a list of the top 10 most-followed users, with their number of followers ordered in descending order. Similarly create a page that contains a list of the top 20 most popular posts by number of replies.<br \/>\n\u2022 For each post in the timeline that has replies, display the number of replies with the post.<br \/>\n\u2022 Display the number of posts that have been made in the last 24 hours at the top of the global timeline.<br \/>\nAdditional task for ITECH6224 Students<br \/>\nOn the topic of \u201cDatabase Sharding\u201d identify four (4), relevant, independent resources. Use these resources to write a discussion of the advantages and limitations of database sharding, where it is appropriate to use, and alternatives. Write this in your own words, and take care to cite appropriately. Word count should be about 500 words.<\/p>\n<p>Note: Wikipedia is not a suitable resource, but may be used to get an overview of the subject<br \/>\nFurther details<br \/>\nDocumentation<br \/>\nInclude a written report containing:<br \/>\n\u2022 Initial data details<br \/>\n\u2022 The SQL queries you used to test your database<br \/>\n\u2022 A list of parts of the assignment you have completed or not completed.<br \/>\n\u2022 Details of specific assistance you received from people other than your lecturer or tutor, and the names of those assisting.<br \/>\nAssignment support<br \/>\nThis assignment is supported by the first 5 lectures and the first 6 labs. Work on the assignment should be spread over a number of weeks after the relevant lab has been mastered.<br \/>\nRefer to the Course Description for details of submission to Moodle, late assignments, extensions, special consideration, plagiarism, student support, presentation of academic work and adopted reference style.<br \/>\nSubmission<br \/>\nAll files should be zipped and uploaded to Moodle by the due date and time. Check with your tutor as to whether a hard copy is required in addition to the electronic submission.<br \/>\nCRICOS Provider No. 00103D ITECH3224 6224 Assignment 1 1517-1520.docx Page 4 of 4<br \/>\nITECH3224\/6224 World Wide Web Technology 2<br \/>\nAssignment 1 Marking Guide<br \/>\nName ID Marker<br \/>\nCriterion<br \/>\nMaximum<br \/>\nObtained<br \/>\nInitial data \u2013 Requirements satisfied<br \/>\n1<br \/>\nCreating the database: Table structure, data types, field lengths, initial data entry<br \/>\n1<br \/>\nUser accounts<br \/>\n&#8211; Sign-up form is well designed and functional<br \/>\n&#8211; Server-side validation or username and password<br \/>\n&#8211; Appropriate password hashing<br \/>\n3<br \/>\n1<br \/>\n1<br \/>\n1<br \/>\nGlobal timeline<br \/>\n&#8211; Most recent 10 posts listed in descending order.<br \/>\n2<br \/>\n2<br \/>\nCreating posts<br \/>\n&#8211; Users can create new posts<br \/>\n&#8211; Use of PHP and JavaScript to limit post length<br \/>\n2<br \/>\n1<br \/>\n1<br \/>\nFollowing and Replying<br \/>\n&#8211; Logged-in users can follow others, and see only posts from those they follow<br \/>\n&#8211; Users can reply to other users&#8217; posts<br \/>\n3<br \/>\n2<br \/>\n1<br \/>\nAggregate data<br \/>\n&#8211; Most followed, most popular posts<br \/>\n&#8211; Replies per post, total in last 24 hrs<br \/>\n3<br \/>\n1<br \/>\n2<br \/>\n&#8211;<br \/>\nWritten task (ITECH6224 only)<br \/>\n&#8211; Content<br \/>\n&#8211; Writing style<br \/>\n&#8211; Adherence to academic standards<br \/>\n5<br \/>\n3<br \/>\n1<br \/>\n1<br \/>\nDocumentation<br \/>\n&#8211; Initial data<br \/>\n&#8211; Completion of tasks<br \/>\n&#8211; Assistance statement<br \/>\n3<br \/>\n1<br \/>\n1<br \/>\n1<br \/>\nQuality of code \u2013 layout, naming scheme, etc. HTML is valid<br \/>\n2<br \/>\nTotals<br \/>\n&#8211; ITECH3224<br \/>\n&#8211; ITECH6224<br \/>\nFinal scaled mark (correct to 1 decimal place)<br \/>\n20<br \/>\n25<br \/>\n20<br \/>\nComments:<\/p>\n<p><a href=\"http:\/\/assignmenttask.com\/order_now.html\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-442\" src=\"http:\/\/assignmenttask.com\/tutorhelp\/wp-content\/uploads\/2015\/06\/service3.png\" alt=\"Assignment Help from Experts Australia - UK &amp; US\" width=\"807\" height=\"275\" srcset=\"https:\/\/assignmenttask.com\/tutorhelp\/wp-content\/uploads\/2015\/06\/service3.png 807w, https:\/\/assignmenttask.com\/tutorhelp\/wp-content\/uploads\/2015\/06\/service3-300x102.png 300w\" sizes=\"auto, (max-width: 807px) 100vw, 807px\" \/><\/a><\/p>\n<p style=\"text-align: center;\">&nbsp;===========<strong>ABOUT ASSIGNMENT TASK<\/strong> ===========<\/p>\n<p>&nbsp;<a href=\"http:\/\/assignmenttask.com\/\"><strong>AssignmentTask.com<\/strong><\/a> provides high-quality <a href=\"http:\/\/assignmenttask.com\/assignment-help.html\">assignments help<\/a> at wide range from Australia \u2013 UK &amp; USA academic experts and also guarantees to make sure delivery assignments on time @ reasonable rate. <em><strong>OUR ASSIGNMENT EXPERT WRITERS MAKES EFFORTS TO DELIVER BEST QUALITY ASSIGNMENT HELP, <\/strong><\/em><a href=\"http:\/\/assignmenttask.com\/essay-help\/\"><strong>ESSAY HELP<\/strong><\/a><em><strong>, CASE STUDY HELP AND DISSERTATION EDITING HELP<\/strong><\/em> on each Order. 100% satisfaction is our primary motto. Our customers get 24 x 7 hours live chat supports.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CRICOS Provider No. 00103D Insert file name here Page 1 of 4 ITECH3224\/6224 World Wide Web Technology 2 1517\/1520 Assignment 1 \u2013 &#8220;Microblog&#8221; Introduction This is an individual assignment in which you are required to develop a dynamic web application <a href=\"https:\/\/assignmenttask.com\/tutorhelp\/world-wide-web-technology-with-individual-assignment\/\" class=\"read-more\">Read More &#8230;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[305],"tags":[451,479,363,485,486,487,453,488,283,452],"class_list":["post-617","post","type-post","status-publish","format-standard","hentry","category-science","tag-assignment-help-tasks","tag-computer-science","tag-federation-university","tag-germany","tag-heidelberg","tag-itech32246224-world-wide-web-technology","tag-sample-assignment-report","tag-science-tech","tag-undefined","tag-writing-assignment-topics"],"_links":{"self":[{"href":"https:\/\/assignmenttask.com\/tutorhelp\/wp-json\/wp\/v2\/posts\/617","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/assignmenttask.com\/tutorhelp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/assignmenttask.com\/tutorhelp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/assignmenttask.com\/tutorhelp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/assignmenttask.com\/tutorhelp\/wp-json\/wp\/v2\/comments?post=617"}],"version-history":[{"count":3,"href":"https:\/\/assignmenttask.com\/tutorhelp\/wp-json\/wp\/v2\/posts\/617\/revisions"}],"predecessor-version":[{"id":1020,"href":"https:\/\/assignmenttask.com\/tutorhelp\/wp-json\/wp\/v2\/posts\/617\/revisions\/1020"}],"wp:attachment":[{"href":"https:\/\/assignmenttask.com\/tutorhelp\/wp-json\/wp\/v2\/media?parent=617"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/assignmenttask.com\/tutorhelp\/wp-json\/wp\/v2\/categories?post=617"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/assignmenttask.com\/tutorhelp\/wp-json\/wp\/v2\/tags?post=617"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}