Main Page: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
(36 intermediate revisions by 5 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. "It's the anti-framework framework. web.py doesn't get in your way." explained founder Steve Huffman.
* [[Expertiza documentation]]


The web.py slogan is: "Think about the ideal way to write a web app. Write the code to make it happen.". The goal of web.py is to build the ideal way to make web apps. In web.py, Instead of exposing Python objects, it allows you to build HTTP responses. Instead of trying to make the database look like an object, web.py makes the database easier to use. And instead of coming up with yet another way to write HTML, the web.py template system tries to bring Python into HTML.
==Course-Specific Topics==


Some of the sites which uses web.py are
* [[CSC/ECE 517 Summer 2008]]
* [http://frinki.com/ Frinki], a new social network in spanish.
* [[CSC/ECE 517 Fall 2010]]
* [http://www.oyster.com/ oyster.com], a website that reviews hotels uses web.py for the entire website.
* [[CSC/ECE 517 Fall 2011]]
* [http://makehistory.national911memorial.org/ Make History], a project of the 9/11 memorial museum.
* [[CSC/ECE 517 Fall 2012]]
* [[CSC/ECE 517 Fall 2013]]
* [[CSC/ECE 517 Fall 2014]]
* [[CSC/ECE 517 Fall 2015]]
* [[CSC/ECE 517 Fall 2016]]
* [[CSC/ECE 517 Spring 2014]]
* [[CSC/ECE 517 Spring 2015]]
* [[CSC/ECE 517 Spring 2016]]
* [[CSC/ECE 517 Spring 2017]]
* [[CSC 456 Spring 2011|CSC 456 Spring 2012]]
* [[ECE 633]]
* [[KCU]]
* [[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 36: Line 40:
* [[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 22:17, 6 April 2017