<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://tools.usyvl.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Mobile_Site_Structure</id>
	<title>Mobile Site Structure - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://tools.usyvl.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Mobile_Site_Structure"/>
	<link rel="alternate" type="text/html" href="https://tools.usyvl.org/wiki/index.php?title=Mobile_Site_Structure&amp;action=history"/>
	<updated>2026-05-14T13:06:18Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.3</generator>
	<entry>
		<id>https://tools.usyvl.org/wiki/index.php?title=Mobile_Site_Structure&amp;diff=65&amp;oldid=prev</id>
		<title>Aaron: 1 revision imported: Hopefully full import</title>
		<link rel="alternate" type="text/html" href="https://tools.usyvl.org/wiki/index.php?title=Mobile_Site_Structure&amp;diff=65&amp;oldid=prev"/>
		<updated>2023-06-21T00:25:40Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported: Hopefully full import&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 00:25, 21 June 2023&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Aaron</name></author>
	</entry>
	<entry>
		<id>https://tools.usyvl.org/wiki/index.php?title=Mobile_Site_Structure&amp;diff=64&amp;oldid=prev</id>
		<title>Aaron: /* Steps through the mobile site */</title>
		<link rel="alternate" type="text/html" href="https://tools.usyvl.org/wiki/index.php?title=Mobile_Site_Structure&amp;diff=64&amp;oldid=prev"/>
		<updated>2013-05-20T04:38:08Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Steps through the mobile site&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:Mobile]]&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
This page will be used to work out some of the details of the expected requirements for the Mobile site.&lt;br /&gt;
&lt;br /&gt;
==Design Tools/Thoughts==&lt;br /&gt;
===Platform===&lt;br /&gt;
*Use Mobile Web Framework (MWF) open source mobile platform driven by UCLA&lt;br /&gt;
**Opensource&lt;br /&gt;
**Will be using it for other projects&lt;br /&gt;
**Cross platform - dont have to develop specific apps for iphone, android, and others&lt;br /&gt;
===Data Source(s)===&lt;br /&gt;
*Data driven from Scheduling system&lt;br /&gt;
**scheduling system will build the required databases during its processing&lt;br /&gt;
**should then correspond to main web site&lt;br /&gt;
**can reference PDFs on main site if needed&lt;br /&gt;
&lt;br /&gt;
===Layout===&lt;br /&gt;
Initially start off allowing user to drill down to info.  &lt;br /&gt;
Eventually would like to use location and time to determine the possible starting point.&lt;br /&gt;
Time could be used already to provide a good starting point once down to site&lt;br /&gt;
&lt;br /&gt;
==Goals==&lt;br /&gt;
Provide a mechanism to get schedules on the field:&lt;br /&gt;
&lt;br /&gt;
===Get a teams schedule for a tournament===&lt;br /&gt;
Information:&lt;br /&gt;
*Pool X&lt;br /&gt;
**game x - time - court x&lt;br /&gt;
**game x - time - court x&lt;br /&gt;
**game x - time - court x&lt;br /&gt;
**game x - time - court x&lt;br /&gt;
&lt;br /&gt;
====What we will need====&lt;br /&gt;
*data from xml file...&lt;br /&gt;
*Associate the team in question with its number within the pool&lt;br /&gt;
*poollayout string&lt;br /&gt;
*courts string&lt;br /&gt;
*times string&lt;br /&gt;
&lt;br /&gt;
====Possible Approachs====&lt;br /&gt;
Use session variables to track progress?&lt;br /&gt;
&lt;br /&gt;
=====One=====&lt;br /&gt;
*User selects ??&lt;br /&gt;
*User selects tournament&lt;br /&gt;
*Get list of teams - all for tournament?  all for division?  all for the users site?&lt;br /&gt;
*User selects team - do we drill down through division?&lt;br /&gt;
&lt;br /&gt;
=====Two=====&lt;br /&gt;
*select state&lt;br /&gt;
*select program&lt;br /&gt;
**From here we can get all events for this program&lt;br /&gt;
*select team&lt;br /&gt;
**with some work we can get all events for this team&lt;br /&gt;
*select date&lt;br /&gt;
&lt;br /&gt;
===Instructional Summary for Practices===&lt;br /&gt;
&lt;br /&gt;
===Get team matchups on Intra-Site Gamedays===&lt;br /&gt;
*Time X - Court X - Team X vs Team Y&lt;br /&gt;
*Time X - Court X - Team X vs Team Y&lt;br /&gt;
*Time X - Court X - Team X vs Team Y&lt;br /&gt;
&lt;br /&gt;
==Data Sources==&lt;br /&gt;
The plan is to see if we can get all the info we need from the two reports produced by Rainier for the Scheduling system.&lt;br /&gt;
Those can get dumped directly into tables in a sqlite db.&lt;br /&gt;
&lt;br /&gt;
The Scheduling system will produce some additional tables with information derived from processing the data.&lt;br /&gt;
&lt;br /&gt;
===Event data from scheduling report:===&lt;br /&gt;
 Program Season, Type, LocationName, BegTime, EndTime, Address,,City,State, Zip,ID,IDq&lt;br /&gt;
 Calabasas Fall 2012,Practice,Chaparral Elementary School,9/11/2012 5:30:00 PM,9/11/2012 6:30:00 PM,22601 LIBERTY BELL RD,,CALABASAS,CA,91302,9823,147413&lt;br /&gt;
&lt;br /&gt;
===Team data from scheduling report:===&lt;br /&gt;
 SearchString, program Season,TeamName,Program Season,Division,??,??,TeamNumber,CoachName&lt;br /&gt;
 Teams with Program Name like %Fall 2012%,Team 01,Agoura Hills Fall 2012,7-8,1,,1,Ian Goldey&lt;br /&gt;
&lt;br /&gt;
==sqlite DB structure==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
CREATE TABLE ev (evid integer primary key,season text ,program text ,name text ,date text ,ds text ,time_beg text ,time_end text ,dow text ,location text ,addr text ,city text ,state text ,zip text );&lt;br /&gt;
CREATE TABLE gm (gmid integer primary key,tmid1 integer ,tmid2 integer ,evid integer ,court integer ,game integer ,pool text ,time text );&lt;br /&gt;
CREATE TABLE tm (tmid integer primary key,season text ,program text ,num integer ,name text ,div text ,court integer ,coach text ,tshirt text );&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Data Harvesting into DB==&lt;br /&gt;
The data for the mobile app is currently harvested from the scheduling system as part of the routine processing.&lt;br /&gt;
&lt;br /&gt;
The usyvlInputData.php script has routines that prep and create the ev and tm tables in the database.&lt;br /&gt;
&lt;br /&gt;
The xmlHarvest.php script harvests the game information and dumps it into the sched db &amp;#039;gm&amp;#039; table.&lt;br /&gt;
It derives information from the XML files produced.  team id and event id is added to scheduling entries to track through the system.&lt;br /&gt;
The info is added to the XMLfiles to be harvested to get team matches.&lt;br /&gt;
&lt;br /&gt;
==Some useful selects from the db that we will use for the mobile site==&lt;br /&gt;
 select distinct season from ev;&lt;br /&gt;
 select distinct state from ev;    # get states that have evs&lt;br /&gt;
 select distinct state from ev where season = &amp;#039;Spring 2013&amp;#039;;  # get states that have evs for the given season&lt;br /&gt;
 select distinct program from ev where state=&amp;#039;CA&amp;#039;;  # get California programs&lt;br /&gt;
 select distinct tm.name from tm left join ev on ev.program = tm.program where ev.program = &amp;#039;Goleta&amp;#039;;   # get Goleta teams&lt;br /&gt;
 select * from gm left join ev on gm.evid = ev.evid where tmid1 = 20 or tmid2 = 20;  # select all matches for tmid = 20;&lt;br /&gt;
&lt;br /&gt;
==Steps through the mobile site==&lt;br /&gt;
*season&lt;br /&gt;
*state&lt;br /&gt;
*program&lt;br /&gt;
*team&lt;br /&gt;
*day&lt;br /&gt;
*schedule for that day&lt;br /&gt;
&lt;br /&gt;
==Thoughts==&lt;br /&gt;
We currently do no map teams through on practice events (ie: mapping to an event description and a particular court).  This could be useful.&lt;/div&gt;</summary>
		<author><name>Aaron</name></author>
	</entry>
</feed>