tailieunhanh - Web to py enterprise web framework - p 34

JYTHON 315 Even though web2py runs with Jython out of the box, there is some trickery involved in setting up Jython and in setting up zxJDBC (the Jython database adaptor). Here are the instructions: • Download the file "jython " (or ) from • Install it: 1 java -jar • Download and install "" from • Download and install the file "" from • Add zxJDBC and sqlitejdbc to the java CLASSPATH • Start web2py with Jython 1 /path/to/jython You will be able to use only. DAL(’sqlite://.’) and DAL(’postgres://.’) References 1. 2. 3. 4. 5. 6. 7. 8. 9 | JYTHON 315 Even though WEB2py runs with Jython out of the box there is some trickery involved in setting up Jython and in setting up zxJDBC the Jython database adaptor . Here are the instructions Download the file from Install it 1 java -jar Download and install from http projects zxj dbc Download and install the file from http sqlitejdbc Add zxJDBC and sqlitejdbc to the java CLASSPATH Start WEB2py with Jython 1 path to jython You will be able to use DAL sqlite . . and DAL postgres . . only. References 1. http 2. http 3. http wiki SQL 4. http 5. http 6. http 7. http sqlserver 8. http 9. http database 10. http software data db2 11. http software data informix 12. http appengine 13. http wiki HTML 14. http TR REC-html40 15. http 16. http browser trunk cherrypy wsgiserver init .py 17. http wiki Web Server Gateway Interface WEB2PY Enterprise Web Framework 2nd Ed. By Massimo Di Pierro Copyright 2009 .

TỪ KHÓA LIÊN QUAN