Main Page: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
(Undo revision 100646 by Ndhanir (talk))
(32 intermediate revisions by 4 users not shown)
Line 1: Line 1:
=='''Web.py Introduction'''==
==Expertiza==
Web.py is a [https://en.wikipedia.org/wiki/Free_and_open_source free and open source] [https://en.wikipedia.org/wiki/Web_application_framework web application framework] that is as simple as it is powerful. Web.py was originally published while Aaron swartz worked at [http://reddit.com/ reddit.com], where the site used it ass it grew to become one of the top 1000 sites according to Alexa and served millions of daily page views.
* [[Expertiza documentation]]


The web.py slogan is: "Think about the ideal way to write a web app. Write the code to make it happen."
==Course-Specific Topics==


Some of the sites which uses web.py are
* [http://frinki.com/ Frinki], a new social network in spanish.
* [http://www.oyster.com/ oyster.com], a website that reviews hotels uses web.py for the entire website.
* [http://makehistory.national911memorial.org/ Make History], a project of the 9/11 memorial museum.
* [[CSC/ECE 517 Summer 2008]]
* [[CSC/ECE 517 Summer 2008]]
* [[CSC/ECE 517 Fall 2010]]
* [[CSC/ECE 517 Fall 2010]]
Line 15: Line 11:
* [[CSC/ECE 517 Fall 2014]]
* [[CSC/ECE 517 Fall 2014]]
* [[CSC/ECE 517 Fall 2015]]
* [[CSC/ECE 517 Fall 2015]]
* [[CSC/ECE 517 Fall 2016]]
* [[CSC/ECE 517 Spring 2014]]
* [[CSC/ECE 517 Spring 2014]]
* [[CSC/ECE 517 Spring 2015]]
* [[CSC/ECE 517 Spring 2015]]
Line 23: Line 20:
* [[Progress reports]]
* [[Progress reports]]


==Python==
==Application Behavior==
* [[Grading]]
* [[Grading]]


=='''Installation'''==
==Metaprogramming==
To install web.py,
* [[CSC/ECE_517_Spring_2013/ch1b_1k_hf|Lecture on Metaprogramming]]
* Firstly, download the following tar file:
wget http://webpy.org/static/web.py-0.37.tar.gz
* Extract the downloaded tar file
tar -zxvf web.py-0.37.tar.gz
* tar -zxvf web.py-0.37.tar.gz
cd web.py-0.37/
* Install and make it accessible to all the applications
sudo python setup.py install


==Features of web.py==
==Development==


''Expertiza now has a Java dependency, so the machine you are using to develop Expertiza on should have the JVM installed.''
''Expertiza now has a Java dependency, so the machine you are using to develop Expertiza on should have the JVM installed.''
Line 50: Line 39:
* [[Debugging Rails]]
* [[Debugging Rails]]


==Hello world example==
==Production==
* [[Deploying to Production]]
* [[Deploying to Production]]
* [[Downloading Production Data]]
* [[Downloading Production Data]]
* [[Accessing the Production Server]]
* [[Accessing the Production Server]]


==Conclusion==
==Testing==
* [[Using Cucumber with Expertiza]]
* [[Using Cucumber with Expertiza]]
* [[Rails Testing Overview]]
* [[Rails Testing Overview]]

Revision as of 19:28, 8 September 2016