{"id":16,"date":"2014-12-06T11:12:30","date_gmt":"2014-12-06T10:12:30","guid":{"rendered":"https:\/\/mokrzycki.eu\/blog\/?p=16"},"modified":"2018-12-04T15:49:19","modified_gmt":"2018-12-04T14:49:19","slug":"graduation-work-project-panstwa-miasta-206-days-left","status":"publish","type":"post","link":"https:\/\/mokrzycki.eu\/blog\/2014\/12\/06\/graduation-work-project-panstwa-miasta-206-days-left\/","title":{"rendered":"Graduation Work &#8211; Project Pa\u0144stwa Miasta 206 days left"},"content":{"rendered":"<p>My graduation work is a project called Pa\u0144stwa Miasta as a big base with words for specific categories.<\/p>\n<p>Name Pa\u0144stwa Miasta is from the paper game, very popular in many youth. One player says one letter from alphabet. In example L and the rest of the playing players (having on their papers columns with names: cities, countries, flowers, cars..) is trying get one word per column starting with that letter.<\/p>\n<p>My project is about android app where user will be able preview big list of categories. When he enters in any of them, he will see from A to Z words connected with that category.<br \/>\nI decided to make this project because I have created first version of panstwa miasta app before. It wasn&#8217;t so flexible to manage it from other place like php\/server.<\/p>\n<p><!--more--><\/p>\n<p>User using my app should be able to<\/p>\n<ol>\n<li>search items by giving one letter<\/li>\n<li>add suggestion to add his item to the existing category<\/li>\n<li>add suggestion to create a new category<\/li>\n<\/ol>\n<p>Android app is also going to have an engine for downloading categoreis from my server and also update user&#8217;s when any of his categories has a new version.<\/p>\n<p>The main aim for now is to design and start creating android part. Php part was created in about 4hours. I am not going to comment it till I get better version not vulnerable for simple php attacks. Filling with new data into database on my server took me another 4h. At least, I can say, php has been already mocked..<br \/>\nI have now methods for:<\/p>\n<ol>\n<li>returning only categories in json format<\/li>\n<li>returning category and items in json format<\/li>\n<li>returning all(wtf?)<\/li>\n<li>simple post for adding suggestion(for future work, I must split it to categories and items)<\/li>\n<\/ol>\n<p>It works, however it&#8217;s not still perfect..<\/p>\n<p><a href=\"https:\/\/mokrzycki.eu\/blog\/wp-content\/uploads\/2014\/12\/nice.jpg.gif\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-17 size-full\" src=\"https:\/\/mokrzycki.eu\/blog\/wp-content\/uploads\/2014\/12\/nice.jpg.gif\" alt=\"nice\" width=\"540\" height=\"300\" \/><\/a><\/p>\n<p>Till the end of this weekend I am planning to finish drawer for side navigation, content provider for storing data and maybe any &#8220;engine&#8221; for downloading categories.<\/p>\n<p>Today I should be able show some working result, maybe with drawer and some code with content provider.<\/p>\n<p>It will be a big adventure with Android, again!<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>My graduation work is a project called Pa\u0144stwa Miasta as a big base with words&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[502],"tags":[5,10,11,224,12,9,8,6,7],"_links":{"self":[{"href":"https:\/\/mokrzycki.eu\/blog\/wp-json\/wp\/v2\/posts\/16"}],"collection":[{"href":"https:\/\/mokrzycki.eu\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mokrzycki.eu\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mokrzycki.eu\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mokrzycki.eu\/blog\/wp-json\/wp\/v2\/comments?post=16"}],"version-history":[{"count":15,"href":"https:\/\/mokrzycki.eu\/blog\/wp-json\/wp\/v2\/posts\/16\/revisions"}],"predecessor-version":[{"id":81,"href":"https:\/\/mokrzycki.eu\/blog\/wp-json\/wp\/v2\/posts\/16\/revisions\/81"}],"wp:attachment":[{"href":"https:\/\/mokrzycki.eu\/blog\/wp-json\/wp\/v2\/media?parent=16"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mokrzycki.eu\/blog\/wp-json\/wp\/v2\/categories?post=16"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mokrzycki.eu\/blog\/wp-json\/wp\/v2\/tags?post=16"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}