Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
loading up a slightly cleaned version of app
- Loading branch information
David Olsen
committed
Jul 11, 2009
1 parent
9754a7e
commit 5186012
Showing
1,061 changed files
with
354,461 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
Copyright (c) 2008 Massachusetts Institute of Technology | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in | ||
all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
THE SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
The MIT Mobile Web is a modular framework for creating and hosting web services optimized for mobile devices. | ||
|
||
It includes specialized modules for searching and browsing LDAP and ArchGIS, as well as more MIT specific services like Stellar and the Events Calendar. It also includes generic modules like 3Down and Emergency Info, which could be modified to present any RSS feed in a mobile-friendly manner. | ||
|
||
MIT Mobile Web is written with PHP, Python, Javascript, HTML, and CSS. It uses Python with the open source Wireless Universal Resource File (WURFL) to categorize devices, allowing for an experience tailored to each device's capabilities. It uses PHP to dynamically generate pages and also handles the parsing and quering of external services, such as LDAP and ArchGIS. Javascript is used for more modern devices to provide a more dynamic experience, such as the special behavior of the Shuttle Schedule when an iPhone's orientation changes. | ||
|
||
There is currently a lot of duplicated effort among schools looking to implement their own mobile web, and most schools don't even have the resources to start from scratch. Many educational institutions have similar infrastructure to MIT, so adapting the MIT Mobile Web to work with their services would be relatively simple. Opening up the source to the MIT Mobile Web will garner goodwill and prestige among educational institutions. |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<VirtualHost *> | ||
ServerName m.yourhostname.edu | ||
DocumentRoot /path/to/MIT-Mobile-Web/web | ||
Alias /wurfl/api /path/to/MIT-Mobile-Web/wurfl/mobile_detect.py | ||
|
||
<Directory /path/to/MIT-Mobile-Web/web/> | ||
Options Indexes FollowSymLinks MultiViews | ||
AllowOverride None | ||
Order allow,deny | ||
Allow from all | ||
</Directory> | ||
|
||
<Directory /path/to/MIT-Mobile-Web/wurfl/> | ||
AddHandler python-program .py | ||
PythonHandler mobile_detect | ||
PythonDebug On | ||
</Directory> | ||
|
||
</VirtualHost> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<? | ||
|
||
# display which PDO drivers are installed | ||
# run at command line by typing 'php pdo_drivers.php' | ||
foreach (PDO::getAvailableDrivers() as $driver) { | ||
echo($driver."\r\n"); | ||
} | ||
|
||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
CREATE TABLE Schedule | ||
( | ||
day_scheduled CHAR(3), | ||
day_real CHAR(3), | ||
route VARCHAR(50), | ||
place VARCHAR(50), | ||
hour INTEGER, | ||
minute INTEGER | ||
) | ||
; | ||
|
Oops, something went wrong.