{"id":1233,"date":"2013-10-29T01:16:22","date_gmt":"2013-10-29T07:16:22","guid":{"rendered":"http:\/\/bateru.com\/news\/?p=1233"},"modified":"2013-10-29T01:19:16","modified_gmt":"2013-10-29T07:19:16","slug":"social-network-in-30-days-day-5","status":"publish","type":"post","link":"https:\/\/bateru.com\/news\/2013\/10\/social-network-in-30-days-day-5\/","title":{"rendered":"Social Network in 30 days : Day 5"},"content":{"rendered":"<p>After working for 3 hours, I&#8217;m still on the login feature. This will be third day now.<br \/>\nIt seems when I&#8217;m trying to solve one problem, it leads to 2 other issues to fix.<br \/>\nHere&#8217;s the part I&#8217;m stuck on, (until after work tomorrow).<br \/>\nI&#8217;m trying to create a session after the user logs in using <a href=\"https:\/\/github.com\/astaxie\/beego\/tree\/master\/session\">beego<\/a> and a free cloud instance of redis db from <a href=\"http:\/\/redistogo.com\/\">Redis to Go<\/a>. At first I was having syntax and runtime exceptions. Now, it&#8217;s just figuring out how to format the login properties to obtain an connection to the db instance.<\/p>\n<p>On the bright side of things, I gained a better understanding of <a href=\"http:\/\/getbootstrap.com\">Bootstrap.js 3.0<\/a> by recreating the sample examples <a href=\"http:\/\/getbootstrap.com\/getting-started\/\">here<\/a> without viewing the source.<\/p>\n<p>Goal for Day 6:<br \/>\n&#8211; Create basic version of the Login feature<br \/>\n&#8211; Connect to a Redis DB and perform basic crud operations.<\/p>\n<p>I leave you all with this comic called &#8220;Why you shouldn&#8217;t interrupt a programmer&#8221;<br \/>\n<img decoding=\"async\" src=\"http:\/\/heeris.id.au\/sites\/default\/files\/ProgrammerInterrupted.png\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>After working for 3 hours, I&#8217;m still on the login feature. This will be third day now. It seems when I&#8217;m trying to solve one problem, it leads to 2 other issues to fix. Here&#8217;s the part I&#8217;m stuck on, (until after work tomorrow). I&#8217;m trying to create a session after the user logs in &hellip; <a href=\"https:\/\/bateru.com\/news\/2013\/10\/social-network-in-30-days-day-5\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Social Network in 30 days : Day 5<\/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":[157],"tags":[],"class_list":["post-1233","post","type-post","status-publish","format-standard","hentry","category-sn_in_30_days"],"_links":{"self":[{"href":"https:\/\/bateru.com\/news\/wp-json\/wp\/v2\/posts\/1233","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bateru.com\/news\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bateru.com\/news\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bateru.com\/news\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bateru.com\/news\/wp-json\/wp\/v2\/comments?post=1233"}],"version-history":[{"count":2,"href":"https:\/\/bateru.com\/news\/wp-json\/wp\/v2\/posts\/1233\/revisions"}],"predecessor-version":[{"id":1235,"href":"https:\/\/bateru.com\/news\/wp-json\/wp\/v2\/posts\/1233\/revisions\/1235"}],"wp:attachment":[{"href":"https:\/\/bateru.com\/news\/wp-json\/wp\/v2\/media?parent=1233"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bateru.com\/news\/wp-json\/wp\/v2\/categories?post=1233"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bateru.com\/news\/wp-json\/wp\/v2\/tags?post=1233"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}