{"id":4333,"date":"2014-10-12T16:24:46","date_gmt":"2014-10-12T21:24:46","guid":{"rendered":"http:\/\/www.thejuliagroup.com\/blog\/?p=4333"},"modified":"2014-10-12T16:25:51","modified_gmt":"2014-10-12T21:25:51","slug":"php-rambling","status":"publish","type":"post","link":"https:\/\/www.thejuliagroup.com\/blog\/php-rambling\/","title":{"rendered":"PHP Rambling"},"content":{"rendered":"<p>I was reading a book on PHP just to get some ideas for a re-design I&#8217;m doing for a client, when I thought of this.<\/p>\n<p>Although I think of PHP as something you use to put stuff into a database and take it out &#8211; \u00a0data entry of client records, reports of total sales &#8211; it is possible to use without any SQL intervention.<\/p>\n<p>You can enter data in a form, call another file and use the data entered to determine what you show in that file. The basic examples used to teach are trivial &#8211; a page asks what&#8217;s your name and the next page that pops up says, &#8220;Howdy&#8221; \u00a0+ your name .<\/p>\n<p>We make games that teach math using Unity 3D, Javascript, PHP, MySQL and C# .<\/p>\n<p>Generally, when a player answers a question, the answer is written to our database and the next step depends on whether the answer was correct. Correct, go on with the game. Incorrect, pick one of these choices to study the concept you missed. Because schools use our games, they want this database setup so they can get reports by student, classroom, grade or school.<\/p>\n<p>What about those individual users, though? They can tell where they\/ their child is by just looking at the level in the game. \u00a0So, I could drop the PHP altogether in that case and just use Javascript to serve the next step.<\/p>\n<p>I could also use PHP.<\/p>\n<p><strong>In the case where we drop out the database interface altogether, is there a benefit to keeping PHP? I couldn&#8217;t think of one.<\/strong><\/p>\n<p>Still thinking about this question.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I was reading a book on PHP just to get some ideas for a re-design I&#8217;m doing for a client, when I thought of this. Although I think of PHP as something you use to put stuff into a database and take it out &#8211; \u00a0data entry of client records, reports of total sales &#8211;&#8230;<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[17,9],"tags":[],"class_list":["post-4333","post","type-post","status-publish","format-standard","hentry","category-computer-games","category-software"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.thejuliagroup.com\/blog\/wp-json\/wp\/v2\/posts\/4333","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.thejuliagroup.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.thejuliagroup.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.thejuliagroup.com\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.thejuliagroup.com\/blog\/wp-json\/wp\/v2\/comments?post=4333"}],"version-history":[{"count":2,"href":"https:\/\/www.thejuliagroup.com\/blog\/wp-json\/wp\/v2\/posts\/4333\/revisions"}],"predecessor-version":[{"id":4335,"href":"https:\/\/www.thejuliagroup.com\/blog\/wp-json\/wp\/v2\/posts\/4333\/revisions\/4335"}],"wp:attachment":[{"href":"https:\/\/www.thejuliagroup.com\/blog\/wp-json\/wp\/v2\/media?parent=4333"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.thejuliagroup.com\/blog\/wp-json\/wp\/v2\/categories?post=4333"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.thejuliagroup.com\/blog\/wp-json\/wp\/v2\/tags?post=4333"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}