{"id":191,"date":"2007-09-21T14:12:27","date_gmt":"2007-09-21T19:12:27","guid":{"rendered":"\/cgi\/wp\/?p=191"},"modified":"2019-12-09T10:39:35","modified_gmt":"2019-12-09T15:39:35","slug":"web-parts-yaml-washington-dc","status":"publish","type":"post","link":"http:\/\/williamsportwebdeveloper.com\/cgi\/wp\/?p=191","title":{"rendered":"Web Parts, YAML, Washington DC"},"content":{"rendered":"<p>This blog post is going to wrap up a week of activity that didn&#8217;t give me time to blog. This week I worked on an important web part that creates a parent \/ child relationship between two database tables. I based it on the Northwinds sample database and used some code from my book on web parts but without its particular database access methods because that was not a standard approach. This gave me a lot of trouble because there is little sample code to be found on the Internet for this type of web part connection. I found this rather surprising because you can&#8217;t use web parts for any serious web application work without using them to interact with a database. I created one web part to show a list of departments and another web part to show the department&#8217;s employees based on the selected department.<\/p>\n<p>Today I discovered YAML <strong>Yet Another Markup Language<\/strong> which I found in a PHP web application&#8217;s scripts (i.e. SPYC &#8211; <em>Simple PHP YAML Class<\/em>). I added some info on this to my notes even though I may never use it.<\/p>\n<p>Next week I will be going to the <strong>National Book Festival<\/strong> in Washington DC. This means I won&#8217;t get any work done next Saturday.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This blog post is going to wrap up a week of activity that didn&#8217;t give me time to blog. This week I worked on an important web part that creates a parent \/ child relationship between two database tables. I &hellip; <a href=\"http:\/\/williamsportwebdeveloper.com\/cgi\/wp\/?p=191\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,7,1,12],"tags":[],"_links":{"self":[{"href":"http:\/\/williamsportwebdeveloper.com\/cgi\/wp\/index.php?rest_route=\/wp\/v2\/posts\/191"}],"collection":[{"href":"http:\/\/williamsportwebdeveloper.com\/cgi\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/williamsportwebdeveloper.com\/cgi\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/williamsportwebdeveloper.com\/cgi\/wp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/williamsportwebdeveloper.com\/cgi\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=191"}],"version-history":[{"count":1,"href":"http:\/\/williamsportwebdeveloper.com\/cgi\/wp\/index.php?rest_route=\/wp\/v2\/posts\/191\/revisions"}],"predecessor-version":[{"id":3247,"href":"http:\/\/williamsportwebdeveloper.com\/cgi\/wp\/index.php?rest_route=\/wp\/v2\/posts\/191\/revisions\/3247"}],"wp:attachment":[{"href":"http:\/\/williamsportwebdeveloper.com\/cgi\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=191"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/williamsportwebdeveloper.com\/cgi\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=191"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/williamsportwebdeveloper.com\/cgi\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=191"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}