Changes

Jump to: navigation, search

Mozilla Metrics Server Collection

665 bytes added, 03:46, 16 December 2007
no edit summary
backinblakk - Mac 10.5 Patch test.
dominic - waiting.[[User:Jay'em| Andrew]]
== Project Details ==
==OVERVIEW==
The basis of my 0.2 release, was to create a database infrastructure for the xml data being sent to the server from the Metrics extension. Once this is done, my 0.3 Release would require me to create a script (or use some other functionality in the framework some guy was trying to explain to me on Django Google Groups) that will receive the data and use the Django
models already created to parse the data into each table. Currently, the database infrastructure is done for all the elements
I am aware the Metrics extension can send. There have been a few complications trying to figure out what the proper config element
==SAMPLE DATA==
*[http://octopuppy.dreamhosters.com/metrics/datasample.JPG Sample Data on AdminSS]*[http://octopuppy.dreamhosters.com/metrics/search.JPG Search function SS]
*[http://octopuppy.dreamhosters.com/metrics/dbsync.JPG Databases Created]
*[http:///octopuppy.dreamhosters.com/metrics/sql_transaction .txt automated SQL Statements]*[http://octopuppy.dreamhosters.com/metrics/mserver.zip Full Source & Build]
=== Metrics Models.py ===
==Project COMPLICATIONS & SOLUTIONS==
**[http://code.djangoproject.com/ticket/24 Bug Ticket 24] This bug doesn't allow any objects that have One to One Relationships to be shown in the admin; there are no solutions because its resolved with WON'T FIX. Only way around it was to use Foreign Keys and restrict it in admin mode.
**[http://http://code.djangoproject.com/ticket/1939 Bug Ticket 1939] Once again, another Won't fix bug that won't allow me to use proper Multiple Foreign Keys.
**There was a problem setting up Django which was not copying all the proper files needed to build a project. The only solution that worked for me was to copy all the contents from the ''trunk/django'' to ''Python25\Lib\site-packages''.
**Although I can't find the exact bug right now, Django has some complications using Many to Many relationships too. Once again, I resolved it by using Foreign Keys. However, these solutions can only be temporary.
 
==PROJECT SPECIFICATIONS V0.3==
 
*Design and Implement a working metrics collector
*Design and Implement a Python script that parses data into the database using the Django Framework
*Design and Implement Django models for all the data being received by the client.
*Create a Admin Login/Page to view the data from the database.
 
All information can be found on my matrix site:
[http://matrix.senecac.on.ca/~sljung/collector/ Metrics Collector 0.3 Information]
== Project News ==
1
edit

Navigation menu