TAILIEUCHUNG - Web to py enterprise web framework - p 7

SAY HELLO 45 • An admin application, the one you are using right now. • An examples application, with the online interactive documentation and a replica of the web2py official website. • A welcome application. This is the basic template for any other web2py application. It is referred to as the scaffolding application. This is also the application that welcomes a user at startup. Ready-to-use web2py applications are referred to as web2py appliances. You can download many freely available appliances from [33]. web2py users are encouraged to submit new appliances, either in open-source or closed-source (compiled and packed) form. From the admin application’s. | SAY HELLO 45 An admin application the one you are using right now. An examples application with the online interactive documentation and a replica of the WEB2py official website. A welcome application. This is the basic template for any other WEB2py application. It is referred to as the scaffolding application. This is also the application that welcomes a user at startup. Ready-to-use WEB2py applications are referred to as WEB2py appliances. You can download many freely available appliances from 33 . WEB2py users are encouraged to submit new appliances either in open-source or closed-source compiled and packed form. From the admin application s site page you can perfom the following operations install an application by completing the form on the bottom right of the page. Give a name to the application select the file containing a packaged application or the URL where the application is located and click submit . uninstall an application by clicking the corresponding button. There is a confirmation page. create a new application by choosing a name and clicking submit . package an application for distribution by clicking on the corresponding button. A downloaded application is atarfile containing everything including the database. You should never untar this file it is automatically unpackaged by WEB2py when one installs it using admin. clean up an application s temporary files such as sessions errors and cache files. EDIT an application. Say Hello Here as an example we create a simple web app that displays the message Hello from MyApp to the user. We will call this application myapp . We will also add a counter that counts how many times the same user visits the page. 46 OVERVIEW You can create a new application simply by typing its name in the form on the top right of the site page in admin. After you press submit the application is created as a copy of the built-in welcome application. To run the new application visit 1 http 8000 myapp Now you have a

TỪ KHÓA LIÊN QUAN
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.