Skip to content
This repository has been archived by the owner on Feb 5, 2019. It is now read-only.

Commit

Permalink
added all files
Browse files Browse the repository at this point in the history
  • Loading branch information
Greg Dingle committed Dec 5, 2008
1 parent b51713a commit b201fbe
Show file tree
Hide file tree
Showing 100 changed files with 45,829 additions and 0 deletions.
72 changes: 72 additions & 0 deletions API.json
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,72 @@
{

"record.goal": {
"endpoint": "recorder.php",
"params": {
"domain": "", /*document.domain*/
"page": "", /*genetify.config.NAMESPACE*/
"goal": "", /*name of goal*/
"pageview_xid": 0, /*unique random ID of pageview*/
"value": 0 /*relative value of goal*/
},
},

"record.pageview": {
"endpoint": "recorder.php",
"params": {
"domain": "", /*document.domain*/
"page": "", /*genetify.config.NAMESPACE*/
"pageview_xid": 0, /*unique random ID of pageview*/
"genome": "", /*gene variants expressed for this pageview*/
},
"options": {
"referrer": "", /*query encoded string containing variety of referrer info*/
"vary_call": "", /*type of stuff genetify was asked to vary*/
"load_time": 0, /*time it took to parse genetify.js*/
"init_time": 0, /*time it took to initialize genetify.js*/
"results_time": 0, /*time it took to get the results from the server*/
"idle_time": 0, /*time between when the results were received and genetify.vary was called*/
"vary_time": 0 /*time it took to vary the page*/
}
},

"_requestResults": {
"endpoint": "reader.php",
"params": {
"domain": "", /*document.domain*/
"page": "", /*genetify.config.NAMESPACE*/
"callback": "", /*name of callback function*/
},
"returns": {} /*returns a dict of dict of variant probabilities*/
},

"record.error": {
"endpoint": "recorder.php",
"params": {
"domain": "", /*document.domain*/
"page": "", /*genetify.config.NAMESPACE*/
"error": "", /*error message*/
},
"options": {
"line_number": 0 /*line number of javascript error*/
}
},

"record.reset": {
"endpoint": "delete.php",
"params": {
"domain": "", /*document.domain*/
"page": "", /*genetify.config.NAMESPACE*/
"delete": true
},
},

"test.viewGraphs": {
"endpoint": "graphs.php",
"params": {
"domain": "", /*document.domain*/
"page": "", /*genetify.config.NAMESPACE*/
},
},

}
Empty file modified README
100644 → 100755
Empty file.
18 changes: 18 additions & 0 deletions TODO
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,18 @@
test without firebug

Rewrite demo not to use graph.py

Set up live reference implementation

Write tutorial with screenshots

get graphs.php working
Update pygooglechart

Factor out algorithm

Spec reporting API?
Spec visitor info API?

Decide on packer
Write note about PostGres
1 change: 1 addition & 0 deletions benchmark.sh
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1 @@
ab -n10 "http://localhost.com/genetify/recorder.php?domain=localhost.com&page=%2Fgenetify%2F&pageview_xid=$RANDOM&genome=mygene%3D__original__%2Cmyothergene%3DC&referrer=&return=text"
12 changes: 12 additions & 0 deletions deploy.sh
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,12 @@
# TODO: use git instead of svn

# svn co http://genetify.com/svn/genetify ./
svn revert *
svn up

# cat genetify.js | python jsmin.py > temp.js
# mv temp.js genetify.js

cd packer
perl jsPacker.pl -e62 -f -i ../genetify.js -o ../genetify.js
cd ..
Loading

0 comments on commit b201fbe

Please sign in to comment.