== README
Fictious is a Ruby on Rails + Backbone.js clone of Medium.
Custom, hand-written user authentication and session management, utilizing BCrypt for secure password storage. Facebook login with OAuth.
Extensive JavaScript manages posts, scanning content for paragraph tags and assigns each paragraph a unique, randomly generated hex-code upon submission. On the post show page, the comments and comment form are associated with this unique identifier, and are revealed when the user clicks the comment-reveal ("+") button. Additionally, these hex-IDs maintain comment associations even after the post has been edited, where they would otherwise be lost.
Nav and comment reveal animations are handled by custom JavaScript and CSS.
All pages have Backbone.js integration, allowing for snappier UI/UX. Custom JSON serializers on the post and collection models allow for image uploading and instant image preview. A custom parse method on the post model pulls comment data.
Hand-written CSS, with hover, click, focus, and transition effects.
A custom SQL query handles the "Top 100" section on the home page, ordering posts by number of likes without adding a "likes_count" column to the posts table.
Polymorphic notifications that notify users when they gain either a subscriber or a like. These notifications disappear from the notification dropdown after a user follows the note-link.
TODO
- Fix javascript event-related bugs in Firefox (Chrome and Safari handle events properly)
- Add missing.png
- Beautify error handling
- Add stats page
- Action Mailer integration