Social Network in 30 days : Day 4


Warning: Undefined array key "layout" in /home/bateeqjg/public_html/news/wp-content/plugins/wp-about-author/wp-about-author.php on line 94

Day 4. I didn’t complete any of the task because I didn’t give myself enough time to program.
Today I only spent 3 hours planning, researching and programming for the login functionality.
After spending sometime trying to finish the login feature, it turns out that I was flawed in thinking that the login was a page and not a service. Since the users will be logging in with Mozilla Persona, `/login` will verify a hash value produced from Persona and then redirect the url to the referrer url.

Here’s a video for a brief introduction to Mozilla Persona

Goal for Day 5:
– Finish the login feature
– Start with the creation of a detailed design document

Larry Battle

Larry Battle

I love to program, and discover new tech. Check out my <a href="http://stackoverflow.com/users/527776/larry-battle">stackoverflow</a> and <a href="https://github.com/LarryBattle">github</a> accounts.

More Posts - Website

Follow Me:Add me on XAdd me on LinkedInAdd me on YouTube

Social Network in 30 days : Day 3


Warning: Undefined array key "layout" in /home/bateeqjg/public_html/news/wp-content/plugins/wp-about-author/wp-about-author.php on line 94

Day 3 is up and I’ve only managed to completed the mock-ups for the site. I had a lot home maintenance to take care of.
The mock ups were developed using a free account from Gomockingbird.com

gomockingbird.com
gomockingbird.com

ltm-accountActivity
ltm-accountActivity

ltm-courses
ltm-courses

ltm-course-topic
ltm-course-topic

ltm-homepage
ltm-homepage

ltm-profile
ltm-profile

I’ll going a pdf print out on day 10 to see how I did when compared to the pre-alpha site.

Goal for day 4:
– Create a login page
– Create a DB connection test page.
– Update https://github.com/LarryBattle/nonce-golang to include demo and documentation
– Create a sample unit test
– Create a profile setup page.

Larry Battle

Larry Battle

I love to program, and discover new tech. Check out my <a href="http://stackoverflow.com/users/527776/larry-battle">stackoverflow</a> and <a href="https://github.com/LarryBattle">github</a> accounts.

More Posts - Website

Follow Me:Add me on XAdd me on LinkedInAdd me on YouTube

Social Network in 30 days : Day 2


Warning: Undefined array key "layout" in /home/bateeqjg/public_html/news/wp-content/plugins/wp-about-author/wp-about-author.php on line 94

Friday just past, so here’s an report.

Day 2 Report:
Finished 3/4 tasked that were scheduled yesterday. I only had around 4-5 hours of programming time after work but I think I got a lot done.
The site is now hosted on heroku.com at http://linksteach.me.

Feature List:
The goal of the site is now to create a reddit-like site for school. This idea seems more like a social bookmarking website, rather than a social network.
A social bookmarking site values the content of the links more than the user.
A social network is values the user more than the content.
Here’s a brief and general overview of the features

Views (Non-registered user) can;
– View Posted content
– Search/Browse/Filter for posted content

Registered Users can;
– Has the same abilities as a viewer
– Post content relating to school material
– Vote on other’s posted content
– Leave comments on posted content
– Report content
– Request new features and material

Moderators;
– Ban users
– CRUD user’s content

Admin;
– Has all priveleges
– Ban Users, Moderators
– CRUD any posted content

Milestones (Dates):
– Oct 24, 2013 – Start of 30 day challenge
– Nov 5th – Alpha release
– Nov 7th – Collect feedback from at least 5 users and find out where to improve
– Nov 14 – Beta release
– Nov 15 – Collect feedback from at least 5 users and find out where to improve
– Nov 23 – Final Release, 30 day challenge complete.

HomePage:
Setting up Golang with Heroku was quick and simple after reading this guide. Getting Started with Go on Heroku by Mark McGranaghan. I decided on sticking with Heroku, instead of Google App Engine because using Google App Engine for hosting requires to many architectural changes.

Here’s the result.

On the homepage I hosted some of the content on Amazon S3 storage but converting all the URLs to point to it is a HUGE hassle. So I don’t think I’m going to be using them until the traffic demands for a CDN.
A major problem I had with Heroku was finding out how to point to the correct filepath for static content on the file system. The answer is simple. The base directory is where `.git` is hosted.

Login:
I got stuck on this part because I needed to figure out how to properly make a nonce (one time token).
https://github.com/LarryBattle/nonce-golang
More information here about nonce. Chapter 4.4 of “Building Web Applications with Golang”

Goals for tomorrow:
– Create mock up screen shots
– Create a login page
– Create a DB connection test page.
– Update https://github.com/LarryBattle/nonce-golang to include demo and documention
– Create a sample unit test
– Create a profile setup page.

Done with day 2

Larry Battle

Larry Battle

I love to program, and discover new tech. Check out my <a href="http://stackoverflow.com/users/527776/larry-battle">stackoverflow</a> and <a href="https://github.com/LarryBattle">github</a> accounts.

More Posts - Website

Follow Me:Add me on XAdd me on LinkedInAdd me on YouTube

Social Network in 30 days: Day 1


Warning: Undefined array key "layout" in /home/bateeqjg/public_html/news/wp-content/plugins/wp-about-author/wp-about-author.php on line 94

Hey guys and gals.
You know, I haven’t built anything in a while.
So today, I decided to challenge myself to build a social network within 30 days.
For the next 30 days, I’ll provide short blog post about my process and lessons learned.

Day 1:

Project Overview:
After some thought I decided to go with creating a site similar to Stackoverflow.com and chegg.com for online learning targeted for college students. Students post questions and peers help answer their questions about a course.

Tech:
Hosting: Heroku (Cloud Hosting)
Server Side: Google Go 1.x
Database: Redis 2.x(Caching), MySQL 5.x
Front-end: jQuery 2.x, Bootstrap.js 3.x and Angular.js 1.x

Budget:
cost < $1,000 Team Right now, just me. Might out-source a few parts. Here's my resume if you're curious about my background. http://www.indeed.com/me/larry_battle Also, I'm following this guide for learning Google Go, https://github.com/Unknwon/build-web-application-with-golang_EN Risks - Finding the time to work on this is going to hard. Time management is going to be crucial. - Learning curve. Expect for jQuery, I'm not an expert in any of the technologies I'm using. That's it for day 1. Plans for tomorrow: - Developer a feature list - Plan out milestones. - Create a homepage. - Create a login page.

Larry Battle

Larry Battle

I love to program, and discover new tech. Check out my <a href="http://stackoverflow.com/users/527776/larry-battle">stackoverflow</a> and <a href="https://github.com/LarryBattle">github</a> accounts.

More Posts - Website

Follow Me:Add me on XAdd me on LinkedInAdd me on YouTube