{"title":"科学网关使用Pylons Web框架","authors":"M. P. Thomas","doi":"10.1109/GCE.2008.4738447","DOIUrl":null,"url":null,"abstract":"Science portals and gateways are built using a variety of tools ranging from elementary customized tools to existing frameworks that bring both greater capabilities (authentication, account management, interfaces, logging etc) and more complexity (resulting in long learning curves and complex code bases). For gateways, it is important to identify frameworks that can be easily adapted to the specialized environments needed for accessing the required cyberinfrastructure. In this paper we present our experiences in developing a basic gateway portal using the Pylons Web framework, Python tools, the Globus Core Python Toolkit including pyWSRF (Web Services-Resource Framework) and pyGlobus, developing Web service clients to TeraGrid information services, and Google code tools. We have found that the Pylons Web framework, which utilizes WSGI (WS-gateway interface) and AJAX (asynchronous JavaScript and XML), is easy to use and learn, is very flexible and has the ability to dynamically reload services without restarting the server (which dramatically reduces development and testing time). Additionally, Pylons components can be published as services, widgets and gadgets, and desktop applications.","PeriodicalId":351214,"journal":{"name":"2008 Grid Computing Environments Workshop","volume":"19 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2008-11-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"4","resultStr":"{\"title\":\"Using the Pylons Web Framework for Science Gateways\",\"authors\":\"M. P. Thomas\",\"doi\":\"10.1109/GCE.2008.4738447\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Science portals and gateways are built using a variety of tools ranging from elementary customized tools to existing frameworks that bring both greater capabilities (authentication, account management, interfaces, logging etc) and more complexity (resulting in long learning curves and complex code bases). For gateways, it is important to identify frameworks that can be easily adapted to the specialized environments needed for accessing the required cyberinfrastructure. In this paper we present our experiences in developing a basic gateway portal using the Pylons Web framework, Python tools, the Globus Core Python Toolkit including pyWSRF (Web Services-Resource Framework) and pyGlobus, developing Web service clients to TeraGrid information services, and Google code tools. We have found that the Pylons Web framework, which utilizes WSGI (WS-gateway interface) and AJAX (asynchronous JavaScript and XML), is easy to use and learn, is very flexible and has the ability to dynamically reload services without restarting the server (which dramatically reduces development and testing time). Additionally, Pylons components can be published as services, widgets and gadgets, and desktop applications.\",\"PeriodicalId\":351214,\"journal\":{\"name\":\"2008 Grid Computing Environments Workshop\",\"volume\":\"19 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2008-11-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"4\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2008 Grid Computing Environments Workshop\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/GCE.2008.4738447\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2008 Grid Computing Environments Workshop","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/GCE.2008.4738447","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
Using the Pylons Web Framework for Science Gateways
Science portals and gateways are built using a variety of tools ranging from elementary customized tools to existing frameworks that bring both greater capabilities (authentication, account management, interfaces, logging etc) and more complexity (resulting in long learning curves and complex code bases). For gateways, it is important to identify frameworks that can be easily adapted to the specialized environments needed for accessing the required cyberinfrastructure. In this paper we present our experiences in developing a basic gateway portal using the Pylons Web framework, Python tools, the Globus Core Python Toolkit including pyWSRF (Web Services-Resource Framework) and pyGlobus, developing Web service clients to TeraGrid information services, and Google code tools. We have found that the Pylons Web framework, which utilizes WSGI (WS-gateway interface) and AJAX (asynchronous JavaScript and XML), is easy to use and learn, is very flexible and has the ability to dynamically reload services without restarting the server (which dramatically reduces development and testing time). Additionally, Pylons components can be published as services, widgets and gadgets, and desktop applications.