{"id":5266,"date":"2017-05-03T14:01:45","date_gmt":"2017-05-03T18:01:45","guid":{"rendered":"http:\/\/www.dr-chuck.com\/csev-blog\/?p=5266"},"modified":"2017-05-03T14:01:45","modified_gmt":"2017-05-03T18:01:45","slug":"upcoming-tsugi-things-and-a-switch-to-version-0-4-x","status":"publish","type":"post","link":"https:\/\/www.dr-chuck.com\/csev-blog\/2017\/05\/upcoming-tsugi-things-and-a-switch-to-version-0-4-x\/","title":{"rendered":"Upcoming Tsugi things &#8211; and a switch to version 0.4.x"},"content":{"rendered":"<p>I am moving towards a non-upwards compatible change in Tsugi\/Koseu if you are using it for a web site like <a href=\"http:\/\/www.py4e.com\" target=\"_blank\">www.py4e.com<\/a><\/p>\n<p>As I increasingly move towards defining and developing new Tsugi tools and UI with Silex, I am moving functionality like badges.php, login.php, etc into Silex Controllers.  The new URLs are sooo pretty and can be mounted at any point in a web hierarchy.<\/p>\n<p>At this moment in the code base, I have duplicated nearly all of the Koseu functionality in the tsugi folder into Silex Controllers and Templates &#8211; but I have not yet removed the old files.<\/p>\n<p>The problem is that to use Twig 2.0, I am forced to host in a PHP 7.0 environment.  At this point all the legacy files (badges.php, etc) work fine in PHP 5 &#8211; but the fancy new &#8220;pretty URL&#8221; controllers demand PHP 7.<\/p>\n<p>I am going to go for a while with both in the code base &#8211; but at some point I will tag the \u201clegacy included\u201d code and then wipe out the legacy code &#8211; and at that point Koseu and Tsugi will demand PHP 7.<\/p>\n<p>Like always, when this happens, before anything is deleted, I will snap a 0.3.x tag and then increment the version of tsugi-php, tsugi, and koseu-php to 0.4 and you can switch to a tag and if need be, we can even do a \u201clegacy branch\u201d later if we need to back-port stuff later.<\/p>\n<p>At this moment, my timing is stuck behind getting a PHP 7 environment from UMich &#8211; which might be a month or so :(<\/p>\n<p>More later and comments welcome.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I am moving towards a non-upwards compatible change in Tsugi\/Koseu if you are using it for a web site like www.py4e.com As I increasingly move towards defining and developing new Tsugi tools and UI with Silex, I am moving functionality like badges.php, login.php, etc into Silex Controllers. The new URLs are sooo pretty and can [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-5266","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/posts\/5266","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/comments?post=5266"}],"version-history":[{"count":1,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/posts\/5266\/revisions"}],"predecessor-version":[{"id":5267,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/posts\/5266\/revisions\/5267"}],"wp:attachment":[{"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/media?parent=5266"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/categories?post=5266"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dr-chuck.com\/csev-blog\/wp-json\/wp\/v2\/tags?post=5266"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}