diff --git a/.README.md.swo b/.README.md.swo new file mode 100644 index 0000000000000000000000000000000000000000..0c7b5b69b2242675729ce2ad8fd1c1b34e82061b Binary files /dev/null and b/.README.md.swo differ diff --git a/.README.md.swp b/.README.md.swp new file mode 100644 index 0000000000000000000000000000000000000000..23eb2f8aab7d216de78fa9bdf7aa3bb114ee2c6c Binary files /dev/null and b/.README.md.swp differ diff --git a/README.md b/README.md index d4bab5a4f467f65cb740739521fcf9192ccd9c7f..b63a077d222b33fdee0337a9689ec27b4618760f 100644 --- a/README.md +++ b/README.md @@ -10,20 +10,20 @@ Doing this is another way of showing that you understand the code you wrote! | Checklist point | Evidence (filename(s) and line number(s) and/or short desciption) | |-------------|------------| -| write a simple server script which is capable of serving a web application written in Python | | -| retrieve one or more documents or rows from one or more collections or tables | | -| iterate over documents returned in a results cursor object | | -| filter and/or sort documents in the result set based on some simple criteria | | +| write a simple server script which is capable of serving a web application written in Python | |mysimpleServer.py +| retrieve one or more documents or rows from one or more collections or tables | |cgi-bin/myserve_cat.py,line 43&44,counts flucks&nice +| iterate over documents returned in a results cursor object | |cgi-bin/myserve_cat.py,line 36,iterates through results and pulls out the img url and text +| filter and/or sort documents in the result set based on some simple criteria | |cgi-bin/myserve_cat.py,line 43&44,if id matches it will count flucks&nice | perform more advanced filtering and/or aggregation operations in a database query | | -| handle a POST request made via an HTML form in a server-side script | | -| demonstrate consideration for Separation of Concerns through the modularisation (separation) of related code | | -| demonstrate an awareness of how related data is modelled in the database | | -| design and implement an original functional feature in a Python web app | | -| other relevant extension of the taught material (if applicable) | | -| make a Python script self-executable | | -| utilise a range of Python's built-in functions and methods | | -| make use of user-defined functions | | -| design and implement reuseable functions | | +| handle a POST request made via an HTML form in a server-side script | |mysimpleServer.py,line 19,handles a request +| demonstrate consideration for Separation of Concerns through the modularisation (separation) of related code | |cgi-bin/myutils.py,line 12,split in a separate function that can be reused +| demonstrate an awareness of how related data is modelled in the database | |cgi-bin/myserve_cat.py,lines 14,29-31,43-44,63,70,77 +| design and implement an original functional feature in a Python web app | |new field in flucks document 'is_nice'(works like flucks) +| other relevant extension of the taught material (if applicable) | |new is nice Button lines 76-82 +| make a Python script self-executable | |mysimpleServer.py, line 1, she-bang +| utilise a range of Python's built-in functions and methods | |cgi-bin/myserve_cat.py line 8 datetime +| make use of user-defined functions | |cgi-bin/myserve_cat.py line 3 import db_connect, line 14 executes +| design and implement reuseable functions | |cgi-bin/myutils.py line 12 | write readable, well-presented code | Everywhere?! | ## Installation instructions