Scott's Recipes Logo

NewsRadio Overview

NewsRadio Overview
Last updated: 6/5/2002; 8:34:15 AM
 
The FuzzyBlog!

Marketing 101. Consulting 101. PHP Consulting. Random geeky stuff. I Blog Therefore I Am.

NewsRadio Overview

An Overview of the "NewsRadio" Application

The more I use Radio, the more impressed I am with the thoughtfulness of its design.  However, and there's always a however, it seems that certain features need expansion to improve their overall usefulness.   Right now I'm thinking a lot about News. The name "NewsRadio" is humorous, not intended to infringe trademarks, etc.  It just felt right as a development name.

My Problems with the News Application

I really like the News aggregator in Radio.  However, I see some problems:

Relational Schema

Listed below are starting table schema for user and item tables. create table newradio_items (
item_id INT(7) NOT NULL PRIMARY KEY AUTO_INCREMENT,
-- writer or router if I can figure it out
type INT(2),
source char(75),
sourceurl CHAR(75),
url CHAR(75),
domain CHAR(50),
date CHAR(10),
time CHAR(10),
title CHAR(75),
content TEXT,
)
-- Note, need to allow for this table defining pushes as well as pulls create table newsradio_users (
user_id INT NOT NULL PRIMARY KEY AUTO_INCREMENT,
username char(30) UNIQUE,
password char(25),
emailaddress char(75),
language CHAR(2),
hintquestion char(50),
hintanswer, char(50),
type int(2),
date datetime,
radiourl CHAR(75),
radiopassword CHAR(30)
)

Approach

Hack together a workable prototype implementing persistence.  Get that running and then pull in functionality bit by bit.  Never go dark, never break it if possible.  Clearly I don't have all the time for this but ...

Revised DB Schema

– items for the feed
create table newradio_items (
  item_id INT(7) NOT NULL PRIMARY KEY AUTO_INCREMENT,
  – writer or router if I can figure it out, 0=writer,1=router,2=both
  type INT(2),
  source_id INT,
  user_id INT,
  itemurl CHAR(75),
  date CHAR(10),
  time CHAR(10),
  title CHAR(75),
  content TEXT,
)

– table definition for sources that you are subscribed to on a per user basis
create table newradio_sources (
  source_id INT(7) NOT NULL PRIMARY KEY AUTO_INCREMENT,
  user_id INT,
  – writer or router if I can figure it out.  0=writer, 1=router, 2=both
  type INT(2),
  source char(75),
  sourceurl CHAR(75),
  title CHAR(75),
)

– Tabel definition for tracking which items a user has followed
create table newsradio_itemtrackers (
  tracker_id INT NOT NULL PRIMARY KEY AUTO_INCREMENT,
  source_id INT,
  item_id INT,
  date DATETIME,
)

 

 

 

 

 

 
Copyright 2002 © The FuzzyStuff